joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ae8cc
Capabilities:
Check if file exists
Delete file
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push 0x234
mov eax, 0x5e9363
call fcn.00593b07
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x240], eax
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4ae8f6
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ae9e3
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4ae90f
mov eax, dword [esi]
push eax
call fcn.0042667e
pop ecx
test eax, eax
je 0x4ae9e3
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4ae928
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4ae9e1
push 0x65e41c
push str.DBGHELPDAT
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x234], eax
test eax, eax
je 0x4ae9da
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push dword [ebp - 0x234]
mov dword [ebp - 0x238], eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [ebp - 0x238], 0
mov dword [ebp - 0x234], eax
je 0x4ae9da
test eax, eax
jle 0x4ae9da
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x4ae990
mov ecx, dword [edi]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4ae9a1
mov eax, dword [edi]
push 0x62a1d0
push eax
call fcn.005baaba
mov dword [ebp - 0x23c], eax
pop ecx
pop ecx
test eax, eax
je 0x4ae9da
push eax
push 1
push dword [ebp - 0x234]
push dword [ebp - 0x238]
call fcn.005bae68
push dword [ebp - 0x23c]
call fcn.005babb0
add esp, 0x14
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor ebx, ebx
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4ae9ed
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4aeaaa
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005aa3d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040b0d5
push 0x62aa1c
mov dword [ebp - 4], ebx
call fcn.005baec0
pop ecx
push eax
push 0x62aa1c
lea ecx, [ebp - 0x230]
call fcn.0040b220
lea edx, [ebp - 0x230]
mov ecx, edi
call fcn.00425998
mov eax, dword [ebp - 0x240]
cmp dword [eax + 0x14], 8
jb 0x4aea6f
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
movzx ebx, bl
push 1
pop eax
cmovne ebx, eax
cmp dword [edi + 0x14], 8
jb 0x4aea89
mov edi, dword [edi]
mov ecx, edi
call fcn.004257cd
cmp dword [esi + 0x14], 8
jb 0x4aea98
mov esi, dword [esi]
mov ecx, esi
call fcn.004257cd
lea ecx, [ebp - 0x230]
call fcn.0040b67e
mov al, bl
call fcn.00593ab1
ret 0x10

Function at 0x4aeceb
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x6e2a0e
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4aed1b
push dword [ebp + 8]
push 0x62b1f8
push 0x104
push 0x6e2c18
call fcn.0040ceee
add esp, 0x10
inc esi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x4aed9a
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0xc
push 0x68b820
call fcn.00593f90
and dword [ebp - 0x1c], 0
push dword [ebp + 0xc]
push 0x62b200
mov esi, 0x104
push esi
mov ebx, 0x6e2a0e
push ebx
call fcn.00412a08
add esp, 0x10
push dword [ebp + 8]
call fcn.004aeceb
test eax, eax
je 0x4af02c
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4af02c
mov dword [ebp - 0x1c], 1
push ebx
push esi
push 0x6ddce4
mov edi, 0x62a4ac
push edi
push str.pdtname
mov ebx, 0x6e2c18
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call esi
push 0x6e2a0e
push 0x63
push 0x6e2ef8
push edi
push str.proctype
push ebx
call esi
push 0x6e2a0e
push 0x104
push 0x6dd8cc
push edi
push str.crashtype
push ebx
call esi
push 0x6e2a0e
push 0x104
push 0x6ddad6
push edi
push str.trycatchcnt
push ebx
call esi
push 0x6e2a0e
push 0x104
push 0x6de302
push edi
push 0x62add0
push ebx
call esi
push 0x6e2a0e
push 0x104
push 0x6ddeee
push edi
push str.pdtver
push ebx
call esi
push 0x6e2a0e
push 0x104
push 0x6dfa38
push edi
push 0x62adf0
push ebx
call esi
push 0x6e2a0e
push 0x3ff
push 0x6e2fc0
push edi
push str.cururl
push ebx
call esi
push 0x6e2a0e
push 0
push 0x62ad2c
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x6e37c0], eax
push 0x6e2a0e
push 0x103
push 0x6dd4b4
push edi
push 0x62ae30
push ebx
call esi
push 0x6e2a0e
push 0x104
push 0x6de50c
push edi
push str.module
push ebx
call esi
push 0x6e2a0e
push 0x104
push 0x6df624
push edi
push str.osver
push ebx
call esi
push 0x6e2a0e
push 0x104
push 0x6df82e
push edi
push str.iever
push ebx
call esi
push 0x6e2a0e
push 0x104
push 0x6def3e
push edi
push str.modulever
push ebx
call esi
push 0x6e2a0e
push 0x104
push 0x6e25fa
push edi
push str.dump
push ebx
call esi
push 0x6e2a0e
push 0x1f
mov edi, 0x6e4d44
push edi
push 0x62a4ac
push str.ExcptCode
push ebx
call esi
xor esi, esi
push str.0x80000003
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
call edi
test eax, eax
jne 0x4aefa2
push 0x62ad24
push 0xa
push 0x6e37c4
call fcn.005bc370
add esp, 0xc
xor ebx, ebx
inc ebx
mov esi, ebx
jmp 0x4aefb9
push 0x62ad28
push 0xa
push 0x6e37c4
call fcn.005bc370
add esp, 0xc
xor ebx, ebx
inc ebx
push dword [ebp + 8]
push 0x62b1f8
push 0x6dd6bc
call fcn.0041282c
add esp, 0xc
push str.unknown
push 0x6de50c
call edi
xor edx, edx
test eax, eax
cmove edx, ebx
xor eax, eax
mov word [0x6dfc42], ax
and dword [ebp - 4], eax
push 0x6def3e
push 0x6dd4b4
test edx, edx
mov edx, 0x6dfc42
je 0x4af006
push 0x6de50c
jmp 0x4af008
push 0
push esi
push ecx
mov ecx, 0x6e25fa
call fcn.004aca12
add esp, 0x14
jmp 0x4af025
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4af8f7
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x6e25fa
xor edi, edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4afa4b
push 0x62a9d0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], edi
push esi
push eax
call fcn.005baad1
add esp, 0xc
cmp dword [ebp - 0xc], edi
je 0x4afa4b
push dword [ebp - 0xc]
call fcn.005c1236
pop ecx
push eax
call fcn.005bdd63
mov dword [ebp - 8], eax
mov dword [esp], 0x6e3934
call fcn.005baec0
mov ebx, eax
mov dword [esp], 0x62aa20
call fcn.005baec0
add ebx, dword [ebp - 8]
add ebx, eax
pop ecx
lea eax, [ebx + 1]
push eax
call fcn.00592e78
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
je 0x4afa42
push dword [ebp - 0xc]
push 1
push dword [ebp - 8]
push esi
call fcn.005bc14b
add esi, dword [ebp - 8]
push 0x6e3934
mov dword [ebp - 8], esi
call fcn.005baec0
add esp, 0x14
inc eax
cmp eax, 0x3fffffff
jle 0x4af9b4
mov eax, edi
jmp 0x4af9d0
lea esi, [eax + eax]
mov eax, esi
call fcn.00593a70
mov ecx, esp
mov edx, 0x6e3934
push 3
push esi
call fcn.004115f5
mov esi, dword [ebp - 8]
push eax
mov edx, ebx
mov ecx, esi
call fcn.00422b02
push 0x6e3934
call fcn.005baec0
add esi, eax
mov dword [esp], 0x62aa20
mov dword [ebp - 8], esi
call fcn.005baec0
inc eax
pop ecx
cmp eax, 0x3fffffff
jg 0x4afa1c
lea esi, [eax + eax]
mov eax, esi
call fcn.00593a70
mov ecx, esp
mov edx, 0x62aa20
push 3
push esi
call fcn.004115f5
mov esi, dword [ebp - 8]
mov edi, eax
push edi
mov edx, ebx
mov ecx, esi
call fcn.00422b02
mov esi, dword [ebp - 0x10]
mov edx, ebx
push ecx
push dword [ebp + 8]
mov ecx, esi
call fcn.004271da
xor edi, edi
push esi
inc edi
call fcn.00592945
add esp, 0xc
push dword [ebp - 0xc]
call fcn.005babb0
pop ecx
mov eax, edi
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005926d8
leave
ret 0xc
Function at 0x4afb4c
Capabilities:
Check if file exists
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, 0x6e25fa
mov dword [ebp - 0x58], eax
push ebx
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
inc ecx
test eax, eax
je 0x4afbb8
push esi
push 0x80
push 4
push esi
push ecx
push accept
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4afbb8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x4afbb8
push 1
cmp ebx, 0x500000
pop eax
cmovb esi, eax
xor ebx, ebx
test esi, esi
je 0x4afd53
push 4
push 0x1000
push 0x500000
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
je 0x4afd53
push str._____________________________7d9114302a0cb6___r_n
call fcn.005ae8e0
mov dword [esp], 0x500000
mov esi, eax
push 0
push ebx
mov dword [ebp - 0x54], esi
call fcn.005aa3d0
add esp, 0xc
mov ecx, 0x500000
sub ecx, esi
mov edi, 0x65e4bc
mov dword [ebp - 0x50], ecx
push edi
call fcn.005baec0
inc eax
pop ecx
cmp eax, 0x3fffffff
jle 0x4afc22
xor eax, eax
jmp 0x4afc3b
lea esi, [eax + eax]
mov eax, esi
call fcn.00593a70
mov ecx, esp
mov edx, edi
push 3
push esi
call fcn.004115f5
mov esi, dword [ebp - 0x54]
push 0
push eax
push 0x643748
lea eax, [ebp - 0x50]
push eax
push ebx
call fcn.004b0ade
mov edi, dword [ebp - 0x50]
mov eax, ebx
add edi, ebx
sub eax, edi
sub eax, esi
add eax, 0x500000
push 0x6e3934
mov dword [ebp - 0x50], eax
call fcn.005baec0
inc eax
pop ecx
cmp eax, 0x3fffffff
jle 0x4afc77
xor eax, eax
jmp 0x4afc93
lea esi, [eax + eax]
mov eax, esi
call fcn.00593a70
mov ecx, esp
mov edx, 0x6e3934
push 3
push esi
call fcn.004115f5
mov esi, dword [ebp - 0x54]
push 0
push eax
push 0x633e58
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.004b0ade
add edi, dword [ebp - 0x50]
mov eax, ebx
sub eax, edi
sub eax, esi
add eax, 0x500000
push 0x6e25fa
mov dword [ebp - 0x50], eax
call fcn.005baec0
inc eax
pop ecx
cmp eax, 0x3fffffff
jle 0x4afccd
xor eax, eax
jmp 0x4afce9
lea esi, [eax + eax]
mov eax, esi
call fcn.00593a70
mov ecx, esp
mov edx, 0x6e25fa
push 3
push esi
call fcn.004115f5
mov esi, dword [ebp - 0x54]
push 1
push eax
push str.file
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.004b0ade
add edi, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
push 0x40
push 0
push eax
call fcn.005aa3d0
pop ecx
lea eax, [ebp - 0x4c]
push eax
call fcn.004af8f7
mov eax, ebx
sub eax, edi
sub eax, esi
add eax, 0x500000
push 0
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x4c]
push eax
push str.cverify
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.004b0ade
add edi, dword [ebp - 0x50]
push esi
push str._____________________________7d9114302a0cb6___r_n
push edi
call fcn.005aa530
mov eax, dword [ebp - 0x58]
sub edi, ebx
add esp, 0xc
add edi, esi
mov dword [eax], edi
mov eax, ebx
lea esp, [ebp - 0x64]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005926d8
leave
ret 0xc
Function at 0x4b03e7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10a4
call fcn.005933d0
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x14]
mov esi, 0x65ea54
mov dword [ebp - 0x10a4], 1
push 0x40
lea eax, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
push esi
xor edi, edi
push edi
push eax
call fcn.005aa3d0
add esp, 0xc
mov dword [ebp - 0x10a0], esi
lea eax, [ebp - 0x10a0]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x10a4]
push eax
push 0x62a514
push str.Software360360se6chrome
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0x1048
lea eax, [ebp - 0x109c]
push edi
push eax
call fcn.005aa3d0
lea eax, [ebp - 0x54]
mov ecx, 0x6dfa38
push eax
push 0x6e2ef8
push ecx
push 0x6df82e
push 0x6df624
push 0x6dd4b4
push 0x6e4d44
mov eax, 0x6def3e
push eax
push 0x6de50c
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push edi
push 0x6ddeee
push ecx
push str.http:__pvstat.qihoo.com_dimana.gif__pdt360se6bq_dim_kpid__guid__ver_dim_v360hb___s___sm_dmts_diname_sifver_simod_simodver_sicode_sioff_sios_siie_smid_spt_spid_s
lea ecx, [ebp - 0x109c]
push 0x823
push ecx
call fcn.00412a08
add esp, 0x54
lea ecx, [ebp - 0x109c]
push ecx
push 0x824
push ebx
call fcn.005bc370
mov ecx, dword [ebp - 4]
add esp, 0xc
xor eax, eax
xor ecx, ebp
inc eax
pop edi
pop esi
pop ebx
call fcn.005926d8
leave
ret 8
Function at 0x4b0ade
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x14]
push 0x824
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x828]
push 0
push eax
mov dword [ebp - 0x830], ebx
call fcn.005aa3d0
add esp, 0xc
cmp dword [ebp + 0x18], 0
push edi
je 0x4b0c22
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
push dword [ebp - 0x82c]
lea eax, [ebp - 0x828]
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_n_r_n
push 0x823
push eax
call fcn.00420045
lea eax, [ebp - 0x828]
push eax
call fcn.005ae8e0
add esp, 0x1c
mov ebx, eax
cmp byte [edi], 0
mov dword [ebp - 0x82c], ebx
je 0x4b0c6d
push 0x62d8e0
push edi
call fcn.005bab23
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4b0c6d
push 2
push 0
push edi
call fcn.005bb97b
push edi
call fcn.005bbf74
push 0
push 0
push edi
mov dword [ebp - 0x834], eax
call fcn.005bb97b
mov ecx, dword [ebp - 0x834]
add esp, 0x1c
add ecx, 2
add ebx, ecx
cmp ebx, dword [esi]
jae 0x4b0c15
push dword [ebp - 0x82c]
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x830]
call fcn.005aa530
mov eax, dword [ebp - 0x830]
add eax, dword [ebp - 0x82c]
push edi
push 1
push dword [ebp - 0x834]
push eax
call fcn.005bc14b
mov eax, dword [ebp - 0x830]
add eax, dword [ebp - 0x834]
add eax, dword [ebp - 0x82c]
push 2
push 0x62d0c4
push eax
call fcn.005aa530
add esp, 0x28
jmp 0x4b0c17
xor ebx, ebx
push edi
mov dword [esi], ebx
call fcn.005babb0
pop ecx
jmp 0x4b0c70
push dword [ebp - 0x82c]
lea eax, [ebp - 0x828]
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s__r_n_r_n_s_r_n
push 0x823
push eax
call fcn.00420045
lea eax, [ebp - 0x828]
push eax
call fcn.005ae8e0
mov edi, eax
add esp, 0x1c
cmp edi, dword [esi]
jae 0x4b0c6d
push edi
lea eax, [ebp - 0x828]
push eax
push ebx
call fcn.005aa530
add esp, 0xc
mov dword [esi], edi
jmp 0x4b0c70
and dword [esi], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005926d8
leave
ret 0x14
Function at 0x4b0d0b
Capabilities:
Link many functions at runtime

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

Disassembly:
push 0x69c
mov eax, 0x5e945d
call fcn.00593b07
mov esi, ecx
call fcn.004b0f9a
lea ecx, [ebp - 0x688]
call fcn.004b0ce3
lea eax, [esi + 0x38]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040b155
sub esp, 0x18
mov dword [ebp - 4], ebx
mov ecx, esp
lea eax, [ebp - 0x28]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040b155
lea ecx, [ebp - 0x40]
call fcn.004b188c
add esp, 0x18
push eax
mov byte [ebp - 4], 1
call fcn.004b18f8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00404812
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b1296
push 0x84
call fcn.005926f7
pop ecx
mov dword [ebp - 0x68c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.004b0d0b
mov byte [ebp - 4], bl
mov dword [esi + 0xc], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x4b1225
push ebx
call eax
pop ecx
lea eax, [esi + 0x20]
cmp dword [eax + 0x14], 8
jb 0x4b1230
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, esi
call fcn.004b1d52
push dword [0x6d2c98]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x6a8]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x4b1283
cmp dword [ebp - 0x6a4], 0x12
je 0x4b1293
lea eax, [ebp - 0x6a8]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x6a8]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x6a8]
push eax
call edi
test eax, eax
jne 0x4b1260
mov dword [esi + 0xc], ebx
lea ecx, [ebp - 0x28]
call fcn.0040b67e
call fcn.00593ab1
ret
Function at 0x4b194b
Capabilities:
Create thread

Disassembly:
push 0x288
mov eax, 0x5e9571
call fcn.00593b07
mov ebx, ecx
xor eax, eax
lea edi, [ebx + 4]
push eax
push eax
push eax
push eax
mov dword [ebx], eax
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x208
mov dword [0x6d2c98], eax
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.005aa3d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x260]
call fcn.004cba9c
push 0x62aa1c
mov edx, eax
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x248]
call fcn.0041151f
pop ecx
mov esi, eax
mov byte [ebp - 4], 1
call fcn.004c35c2
push eax
mov ecx, esi
call fcn.004114f9
xor ecx, ecx
mov byte [ebp - 0x294], cl
push dword [ebp - 0x294]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ecx
lea ecx, [ebp - 0x230]
push eax
call fcn.0040b632
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebx + 0x20]
call fcn.0040b0ac
lea ecx, [ebp - 0x230]
call fcn.0040b67e
lea ecx, [ebp - 0x248]
call fcn.0040b67e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.0040b67e
lea ecx, [ebp - 0x290]
call fcn.004c3629
push str.pdown.dll
mov edx, eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x278]
call fcn.0041151f
pop ecx
push eax
lea ecx, [ebx + 0x38]
call fcn.0040b0ac
lea ecx, [ebp - 0x278]
call fcn.0040b67e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x290]
call fcn.0040b67e
mov eax, dword [ebp + 8]
mov dword [ebx + 0x50], eax
xor eax, eax
push edi
push eax
push eax
push 0x4b100c
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebx + 0x50]
mov dword [ebx], eax
test ecx, ecx
je 0x4b1aa8
mov edx, dword [ecx]
push eax
call dword [edx + 4]
call fcn.00593ab1
ret 4
Function at 0x4b217e
Capabilities:
Check if file exists

Disassembly:
push 0x38
mov eax, 0x5e9667
call fcn.00593b07
mov esi, dword [ebp + 8]
push 0x2de
mov edi, str.P2PDownLoad::UnzipPackage
xor ebx, ebx
push edi
push str.__s__d___UnzipPackage
mov dword [ebp - 4], ebx
call fcn.0040a649
add esp, 0xc
mov dword [ebp - 0x34], ebx
lea eax, [esi + 0x64]
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x44]
push eax
call fcn.0040b155
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004251b3
mov esi, str.360browser_bkinfo
mov byte [ebp - 4], 2
push esi
call fcn.005baec0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040b220
push 0x2e2
push edi
push str.__s__d___UnzipPackage_begin
call fcn.0040a649
add esp, 0xc
lea eax, [ebp - 0x2c]
push 8
pop esi
cmp dword [ebp - 0x18], esi
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b221f
cmp dword [ebp - 0x18], esi
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
cmp dword [ebp - 0x18], esi
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
cmovae edx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], esi
cmovae ecx, dword [ebp - 0x44]
call fcn.004b34d8
test eax, eax
lea ecx, [ebp - 0x2c]
setne bl
call fcn.0040b67e
lea ecx, [ebp - 0x44]
call fcn.0040b67e
lea ecx, [ebp + 0xc]
call fcn.00404812
mov al, bl
call fcn.00593ab1
ret 0x1c