joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49c799
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push 0x9c
mov eax, 0x5964e9
call fcn.004fed86
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xa4], ebx
lea esi, [ebp - 0x90]
mov dword [ebp - 4], ebx
call fcn.00406670
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49c912
push ebx
push 0x80
push 3
push ebx
push 1
push bind
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xa0], eax
cmp eax, 0xffffffff
je 0x49c912
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 4
push 0x1000
mov esi, eax
push esi
push ebx
mov dword [ebp - 0xa4], ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x9c], eax
cmp eax, ebx
je 0x49c8f4
push esi
push ebx
push eax
call fcn.004fe380
add esp, 0xc
push ebx
lea eax, [ebp - 0xa4]
push eax
push esi
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x49c8f4
lea eax, [ebp - 0x8c]
call fcn.004aa69b
push dword [ebp - 0x9c]
mov eax, esi
lea esi, [ebp - 0x8c]
call fcn.004aa6bf
pop ecx
mov eax, esi
call fcn.004aa743
lea esi, [ebp - 0x34]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x94], ebx
lea esi, [ebp - 0x98]
call fcn.00406670
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 2
movzx eax, byte [ebp + eax - 0x24]
push eax
push 0x5f65cc
mov edi, esi
call fcn.00407710
mov eax, dword [ebp - 0x98]
pop ecx
pop ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00409a20
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00406760
inc dword [ebp - 0x94]
cmp dword [ebp - 0x94], 0x10
jl 0x49c895
mov edi, dword [ebp - 0xa8]
push 0x8000
push ebx
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push dword [ebp - 0xa0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x90]
add eax, 0xfffffff0
call fcn.004073f0
add eax, 0x10
lea ecx, [ebp - 0x90]
mov dword [edi], eax
call fcn.00406760
lea ecx, [ebp + 0xc]
call fcn.00406760
mov eax, edi
call fcn.004fedd0
ret
Function at 0x49ce82
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x49cf45
cmp dword [ebp + 0xc], esi
je 0x49cf45
cmp dword [ebp + 0x10], esi
je 0x49cf45
push esi
push 0x80
push 3
push esi
push 1
push bind
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x49cf45
push ebx
push edi
push esi
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edi, [ebx + 1]
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x49cf11
and dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x49cf11
cmp dword [ebp - 8], ebx
jne 0x49cf11
mov byte [edi + esi - 1], 0
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x49cf20
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jne 0x49cf33
test esi, esi
je 0x49cf33
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x49cf3e
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
dec edi
mov dword [eax], edi
mov eax, dword [ebp - 4]
pop edi
pop ebx
jmp 0x49cf47
xor eax, eax
pop esi
leave
ret
Function at 0x49d036
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push 0x838
mov eax, 0x596457
call fcn.004fed86
xor ebx, ebx
inc ebx
test byte [0x660ef8], bl
jne 0x49d079
or dword [0x660ef8], ebx
xor esi, esi
mov ebx, 0x660d80
mov dword [ebp - 4], esi
call fcn.0049d28b
push 0x5a6407
call fcn.004f735c
or dword [ebp - 4], 0xffffffff
xor ebx, ebx
pop ecx
inc ebx
jmp 0x49d07b
xor esi, esi
cmp dword [0x65e0fc], esi
jne 0x49d0a3
cmp dword [0x660d80], esi
je 0x49d27f
push dword [0x660d84]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49d27f
xor eax, eax
push 0x7fe
mov word [ebp - 0x814], ax
lea eax, [ebp - 0x812]
push esi
push eax
call fcn.004fe380
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea edi, [ebp - 0x814]
call fcn.0049e3d1
mov eax, dword [0x660cdc]
cmp eax, esi
jne 0x49d0f6
push 0x5f6768
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x660cdc], eax
cmp eax, esi
je 0x49d27f
push 0x12c
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x49d27f
cmp dword [0x660ce0], esi
jne 0x49d139
mov eax, dword [0x660d84]
push ecx
add eax, 0xfffffff0
mov dword [0x660ce0], ebx
mov dword [ebp - 0x834], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
mov dword [esi], eax
call fcn.0049cfc2
pop ecx
inc dword [0x660ce4]
lea eax, [ebp - 0x844]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea esi, [ebp - 0x834]
call fcn.00406670
mov dword [ebp - 4], ebx
push dword fs:[0x10]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [0x660ce4]
movzx eax, word [ebp - 0x836]
push eax
movzx eax, word [ebp - 0x838]
push eax
movzx eax, word [ebp - 0x83a]
push eax
movzx eax, word [ebp - 0x83c]
push eax
movzx eax, word [ebp - 0x83e]
push eax
movzx eax, word [ebp - 0x842]
push eax
movzx eax, word [ebp - 0x844]
push eax
push str._04d__02d__02d__02d:_02d:_02d:_04d__d_process__08x_thread__08x_fiber:__08x
mov edi, esi
call fcn.00407710
add esp, 0x30
push dword [ebp - 0x834]
lea ecx, [ebp - 0x830]
call fcn.0048dc40
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x830]
mov byte [ebp - 4], 2
call fcn.0049dc66
push 0x5e07c0
lea ecx, [ebp - 0x830]
call fcn.0049dc66
push 0x5f682c
push dword [0x660d84]
call fcn.004f9299
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x49d25d
cmp dword [ebp - 0x818], 8
mov edi, dword [ebp - 0x82c]
jae 0x49d220
lea edi, [ebp - 0x82c]
test edi, edi
je 0x49d233
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x49d237
xor eax, eax
jmp 0x49d24d
lea esi, [eax + eax]
mov eax, esi
call fcn.00503a00
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00434910
push ebx
push eax
call fcn.004fab04
push ebx
call fcn.004f9951
add esp, 0xc
push dword [0x660cdc]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [ebp - 0x830]
call fcn.00407f70
lea ecx, [ebp - 0x834]
call fcn.00406760
lea esp, [ebp - 0x854]
call fcn.004fedd0
ret
Function at 0x49d28b
Capabilities:
Read .ini file

Disassembly:
push 0x210
mov eax, 0x5944eb
call fcn.004fed86
lea esi, [ebx + 4]
mov dword [ebp - 0x21c], ebx
call fcn.00406670
and dword [ebp - 4], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004fe380
add esp, 0xc
mov eax, str.mobileadapt.ini
call fcn.00404000
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x5d74e0
push str.ctrl
push 0x5f6834
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x49d30f
lea eax, [ebp - 0x218]
push eax
call fcn.004f7d3f
dec eax
neg eax
sbb eax, eax
inc eax
pop ecx
mov dword [ebx], eax
push str.mobilemgrlog.ini
call fcn.0041a070
push eax
push 0x5d7fec
mov edi, esi
call fcn.00407710
add esp, 0xc
mov eax, ebx
call fcn.004fedd0
ret

Function at 0x49d331
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
xor ebx, ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
jne 0x49d351
xor eax, eax
jmp 0x49d3a4
push edi
push esi
call fcn.004f6dde
mov edi, eax
pop ecx
cmp edi, ebx
jne 0x49d363
xor eax, eax
jmp 0x49d3a3
push edi
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x49d39a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x5d7f4c
push edi
call sub.VERSION.dll_VerQueryValueW
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push edi
call fcn.004f6d01
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x49d3a8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x18
mov eax, 0x5944c2
call fcn.004fed1d
xor edi, edi
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
call fcn.00406670
xor eax, eax
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
push ecx
mov ecx, esp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
push ecx
mov dword [ecx], eax
mov eax, esp
lea esi, [ebp - 0x24]
mov dword [ebp - 0x18], esp
mov dword [eax], 0x10
call fcn.00407b80
push dword [ebp - 0x24]
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_LockResource]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0x5d7f4c
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x49d436
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0xc]
mov edi, dword [ebp + 8]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push 0x5d7f50
call fcn.00407710
add esp, 0x14
lea esi, [ebp - 0x24]
call fcn.00407b60
mov eax, dword [ebp + 8]
call fcn.004fedbc
ret
Function at 0x49d495
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0x10
mov eax, 0x5a02ee
call fcn.004fed1d
mov esi, str...360util.dll
lea edi, [ebp - 0x10]
call fcn.00407de0
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49d557
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
call fcn.0049d331
mov eax, 0x10000
add esp, 0xc
cmp dword [ebp - 0x18], eax
jb 0x49d557
jne 0x49d4ec
cmp dword [ebp - 0x14], 0x3f5
jb 0x49d557
lea esi, [ebp - 0x18]
call fcn.00406670
push dword [ebp + 8]
mov edi, esi
push 0x5f6758
mov byte [ebp - 4], 1
call fcn.00407710
push dword [ebp - 0x10]
call fcn.0049e385
add esp, 0xc
lea ecx, [ebp - 0x14]
mov eax, 0x624590
mov dword [ebp - 0x14], ebx
call fcn.0049e824
cmp dword [ebp - 0x14], ebx
je 0x49d52f
push dword [ebp - 0x18]
call dword [ebp - 0x14]
jmp 0x49d531
xor eax, eax
cmp eax, ebx
jne 0x49d54d
call fcn.0049c537
test eax, eax
je 0x49d54d
push 1
push ebx
push ebx
push dword [ebp + 8]
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x18]
call fcn.00406760
jmp 0x49d566
push 1
push ebx
push ebx
push dword [ebp + 8]
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x10]
call fcn.00406760
call fcn.004fedbc
ret

Function at 0x49d61b
Capabilities:
Enumerate processes

Disassembly:
push 0x230
mov eax, 0x592a5b
call fcn.004fed86
xor edi, edi
push edi
push 2
mov dword [ebp - 4], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, edi
je 0x49d686
lea eax, [ebp - 0x23c]
push eax
push esi
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x49d676
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x218]
call fcn.00406810
test eax, eax
je 0x49d67c
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x49d656
jmp 0x49d67f
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.00406760
mov eax, edi
call fcn.004fedd0
ret
Function at 0x49d696
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59640b
mov eax, dword fs:[0]
push eax
mov eax, 0x28ac
call fcn.00515150
mov eax, dword [0x61e69c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x28b8], 0
mov eax, str.mobileadapt.ini
mov dword [ebp - 4], 1
call fcn.00404000
lea ecx, [ebp - 0x28b4]
push ecx
mov ecx, eax
call fcn.004066b0
mov byte [ebp - 4], 2
push dword [ebp - 0x28b4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49d70c
push esi
mov ecx, 0x5d74e0
call fcn.004066b0
jmp 0x49d782
xor eax, eax
push 0x289e
push eax
mov word [ebp - 0x28b0], ax
lea eax, [ebp - 0x28ae]
push eax
call fcn.004fe380
add esp, 0xc
push dword [ebp - 0x28b4]
lea eax, [ebp - 0x28b0]
push 0x1450
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x49d6ff
lea eax, [ebp - 0x28b8]
push eax
lea ecx, [ebp - 0x28b0]
call fcn.004066b0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28b8]
add eax, 0xfffffff0
call fcn.004073f0
add eax, 0x10
lea ecx, [ebp - 0x28b8]
mov dword [esi], eax
call fcn.00406760
lea ecx, [ebp - 0x28b4]
call fcn.00406760
lea ecx, [ebp + 8]
call fcn.00406760
lea ecx, [ebp + 0xc]
call fcn.00406760
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f673f
leave
ret
Function at 0x49d7b6
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5963bd
mov eax, dword fs:[0]
push eax
mov eax, 0x28ac
call fcn.00515150
mov eax, dword [0x61e69c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, str.mobileadapt.ini
mov dword [ebp - 4], 1
call fcn.00404000
lea ecx, [ebp - 0x28b8]
push ecx
mov ecx, eax
call fcn.004066b0
mov byte [ebp - 4], 2
push dword [ebp - 0x28b8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49d853
lea ecx, [ebp - 0x28b8]
call fcn.00406760
lea ecx, [ebp + 8]
call fcn.00406760
lea ecx, [ebp + 0xc]
call fcn.00406760
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f673f
leave
ret
xor eax, eax
push 0x289e
push eax
mov word [ebp - 0x28b0], ax
lea eax, [ebp - 0x28ae]
push eax
call fcn.004fe380
add esp, 0xc
push dword [ebp - 0x28b8]
lea eax, [ebp - 0x28b0]
push 0x1450
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x49d8b7
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x28b8]
call fcn.00406760
lea ecx, [ebp + 8]
call fcn.00406760
lea ecx, [ebp + 0xc]
call fcn.00406760
mov eax, esi
jmp 0x49d839
lea eax, [ebp - 0x28b0]
push eax
call fcn.004f7d3f
pop ecx
lea esi, [ebp - 0x28b4]
mov ebx, eax
call fcn.00406670
push ebx
push 0x5d7fe4
mov edi, esi
mov byte [ebp - 4], 3
call fcn.00407710
pop ecx
pop ecx
mov eax, esi
push eax
lea ecx, [ebp - 0x28b0]
call fcn.00406810
mov ecx, esi
test eax, eax
jne 0x49d901
call fcn.00406760
mov esi, ebx
jmp 0x49d898
call fcn.00406760
jmp 0x49d895

Function at 0x49d908
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0x214
mov eax, 0x59636f
call fcn.004fed86
and dword [ebp - 0x220], 0
mov eax, str.Config.ini
mov dword [ebp - 4], 1
call fcn.00404000
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, eax
call fcn.004066b0
mov byte [ebp - 4], 2
push dword [ebp - 0x21c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49d95e
push esi
mov ecx, 0x5d74e0
call fcn.004066b0
jmp 0x49d9d4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004fe380
add esp, 0xc
push dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x49d951
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x218]
call fcn.004066b0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.004073f0
add eax, 0x10
lea ecx, [ebp - 0x220]
mov dword [esi], eax
call fcn.00406760
lea ecx, [ebp - 0x21c]
call fcn.00406760
lea ecx, [ebp + 8]
call fcn.00406760
lea ecx, [ebp + 0xc]
call fcn.00406760
mov eax, esi
call fcn.004fedd0
ret
Function at 0x49daf3
Capabilities:
Create process on windows

Disassembly:
push 0x680
mov eax, 0x5a0739
call fcn.004fed86
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x630], eax
xor edi, edi
inc edi
xor esi, esi
mov dword [ebp - 4], edi
cmp dword [ebp + 0x10], esi
je 0x49db55
mov eax, dword [ebp + 8]
push esi
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x634], esp
mov ebx, esp
call fcn.004073f0
add eax, 0x10
mov dword [ebx], eax
call fcn.0049da57
pop ecx
pop ecx
cmp eax, esi
jne 0x49db55
lea ecx, [ebp + 8]
call fcn.00406760
lea ecx, [ebp + 0xc]
call fcn.00406760
mov eax, esi
call fcn.004fedd0
ret
lea eax, [ebp - 0x68c]
push eax
mov dword [ebp - 0x68c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov ax, word [ebp + 0x14]
mov word [ebp - 0x65c], ax
xor eax, eax
push 0x616
mov word [ebp - 0x62c], ax
lea eax, [ebp - 0x62a]
push esi
push eax
mov dword [ebp - 0x660], edi
call fcn.004fe380
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [eax - 0xc], esi
je 0x49dbc2
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x62c]
push str.__s___s
push 0x30c
push eax
call fcn.004f6c2e
add esp, 0x14
jmp 0x49dbde
push dword [ebp + 8]
lea eax, [ebp - 0x62c]
push 0x5f6758
push 0x30c
push eax
call fcn.004f6c2e
add esp, 0x10
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x68c]
push eax
push dword [ebp - 0x630]
lea eax, [ebp - 0x62c]
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
cmp edi, esi
je 0x49dc21
push dword [ebp - 0x640]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x644]
call esi
mov esi, edi
jmp 0x49db3d
Function at 0x49f68b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
jne 0x49f6b2
push 0x607c0c
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 0x5f6924
call fcn.004fe8eb
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PPInit
push eax
call edi
push str.PPInit2
push dword [esi]
mov dword [esi + 4], eax
call edi
push str.PPClose
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.PPSetConfig
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.PPGetConfig
push dword [esi]
mov dword [esi + 0x10], eax
call edi
push str.PPDownload
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.PPStopTask
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.PPRestart
push dword [esi]
mov dword [esi + 0x1c], eax
call edi
push str.PPRemoveTask
push dword [esi]
mov dword [esi + 0x20], eax
call edi
push str.PPStopSeed
push dword [esi]
mov dword [esi + 0x24], eax
call edi
push str.PPCloseHandle
push dword [esi]
mov dword [esi + 0x28], eax
call edi
push str.PPQueryTask
push dword [esi]
mov dword [esi + 0x2c], eax
call edi
push str.PPQueryTaskEx
push dword [esi]
mov dword [esi + 0x30], eax
call edi
push str.PPStartTask
push dword [esi]
mov dword [esi + 0x34], eax
call edi
push str.PPStartTaskEx
push dword [esi]
mov dword [esi + 0x38], eax
call edi
push str._GetTasks
push dword [esi]
mov dword [esi + 0x3c], eax
call edi
push str._StartRun
push dword [esi]
mov dword [esi + 0x44], eax
call edi
push str._StopRun
push dword [esi]
mov dword [esi + 0x48], eax
call edi
push str._Run
push dword [esi]
mov dword [esi + 0x4c], eax
call edi
push str._EnableP2P
push dword [esi]
mov dword [esi + 0x50], eax
call edi
push str._SetKeep
push dword [esi]
mov dword [esi + 0x54], eax
call edi
push str._SetKeepEx
push dword [esi]
mov dword [esi + 0x58], eax
call edi
push str._IsStopped
push dword [esi]
mov dword [esi + 0x5c], eax
call edi
push str._PPQueryTask2
push dword [esi]
mov dword [esi + 0x60], eax
call edi
push str.__PPSetModulePath2
push dword [esi]
mov dword [esi + 0x64], eax
call edi
push str.StartLan
push dword [esi]
mov dword [esi + 0x68], eax
call edi
push str.StopLan
push dword [esi]
mov dword [esi + 0x6c], eax
call edi
push str._PPQueryIPPort
push dword [esi]
mov dword [esi + 0x70], eax
call edi
push str._PPSetLocalLog
push dword [esi]
mov dword [esi + 0x74], eax
call edi
push str._P2SPUpdateRegInfo
push dword [esi]
mov dword [esi + 0x78], eax
call edi
push str._P2SPCheckProxy
push dword [esi]
mov dword [esi + 0x7c], eax
call edi
push str._P2SPCancelCheckProxy
push dword [esi]
mov dword [esi + 0x80], eax
call edi
push str._P2SPSetOption
push dword [esi]
mov dword [esi + 0x84], eax
call edi
push str.PPSetOption
push dword [esi]
mov dword [esi + 0x88], eax
call edi
mov dword [esi + 0x40], eax
mov eax, esi
pop edi
pop ebp
ret 4
Function at 0x49f8cf
Capabilities:
Check if file exists

Disassembly:
push 0xc
mov eax, 0x5a19cb
call fcn.004fed50
xor ebx, ebx
cmp dword [0x65e130], ebx
jne 0x49f9ff
cmp dword [0x65e12c], ebx
je 0x49f8f8
xor eax, eax
jmp 0x49fa02
mov eax, str...PDown.dll
mov dword [0x65e12c], 1
call fcn.00404000
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.004066b0
mov dword [ebp - 4], ebx
push dword [ebp - 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
jne 0x49f950
call fcn.0049f633
mov edx, eax
lea edi, [ebp - 0x14]
call fcn.00406780
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x49f950
call fcn.0049f8b7
lea ecx, [ebp - 0x14]
call fcn.00406760
jmp 0x49f8f1
mov eax, dword [ebp - 0x14]
push ebx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
mov dword [esi], eax
call fcn.0049da57
pop ecx
pop ecx
cmp eax, ebx
je 0x49f946
push 0x8c
mov byte [ebp - 4], 1
call fcn.004f78be
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 2
cmp esi, ebx
je 0x49f998
push dword [ebp - 0x14]
call fcn.0049f68b
jmp 0x49f99a
xor eax, eax
mov dword [0x65e130], eax
mov dword [ebp - 4], ebx
call fcn.00456fb0
mov ecx, dword [0x65e130]
mov ecx, dword [ecx + 8]
cmp ecx, ebx
je 0x49f9c4
push 0x5dee70
push eax
push str.360mobilemgr
call ecx
add esp, 0xc
push 0x10
call fcn.004f78be
pop ecx
cmp eax, ebx
je 0x49f9e5
mov dword [eax], 0x41a020
mov dword [eax + 4], ebx
mov dword [eax + 8], 0x113
mov dword [eax + 0xc], eax
jmp 0x49f9e7
xor eax, eax
push 0xc8
push eax
mov dword [0x65e134], eax
call fcn.0041a3e0
lea ecx, [ebp - 0x14]
call fcn.00406760
xor eax, eax
inc eax
call fcn.004fedbc
ret

Function at 0x49fb55
Capabilities:
Move file

Disassembly:
push 4
mov eax, 0x5962fb
call fcn.004fed1d
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
mov dword [esi], eax
call fcn.0049fb01
pop ecx
cmp eax, edi
je 0x49fbb6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
sub eax, 4
lea ecx, [ebp - 0x10]
lea edx, [ebp + 8]
call fcn.004098d0
mov edi, dword [ebp - 0x10]
call fcn.0049bd8c
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.00406760
lea ecx, [ebp + 8]
call fcn.00406760
mov eax, edi
call fcn.004fedbc
ret