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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x6ee66a
xor edi, edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b731e
push 0x633b20
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], edi
push esi
push eax
call fcn.005c2ba1
add esp, 0xc
cmp dword [ebp - 0xc], edi
je 0x4b731e
push dword [ebp - 0xc]
call fcn.005c9306
pop ecx
push eax
call fcn.005c5e33
mov dword [ebp - 8], eax
mov dword [esp], 0x6ef9a4
call fcn.005c2f90
mov ebx, eax
mov dword [esp], 0x633b70
call fcn.005c2f90
add ebx, dword [ebp - 8]
add ebx, eax
pop ecx
lea eax, [ebx + 1]
push eax
call fcn.0059af42
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
je 0x4b7315
push dword [ebp - 0xc]
push 1
push dword [ebp - 8]
push esi
call fcn.005c421b
add esi, dword [ebp - 8]
push 0x6ef9a4
mov dword [ebp - 8], esi
call fcn.005c2f90
add esp, 0x14
inc eax
cmp eax, 0x3fffffff
jle 0x4b7287
mov eax, edi
jmp 0x4b72a3
lea esi, [eax + eax]
mov eax, esi
call fcn.0059bb40
mov ecx, esp
mov edx, 0x6ef9a4
push 3
push esi
call fcn.00411600
mov esi, dword [ebp - 8]
push eax
mov edx, ebx
mov ecx, esi
call fcn.00422d64
push 0x6ef9a4
call fcn.005c2f90
add esi, eax
mov dword [esp], 0x633b70
mov dword [ebp - 8], esi
call fcn.005c2f90
inc eax
pop ecx
cmp eax, 0x3fffffff
jg 0x4b72ef
lea esi, [eax + eax]
mov eax, esi
call fcn.0059bb40
mov ecx, esp
mov edx, 0x633b70
push 3
push esi
call fcn.00411600
mov esi, dword [ebp - 8]
mov edi, eax
push edi
mov edx, ebx
mov ecx, esi
call fcn.00422d64
mov esi, dword [ebp - 0x10]
mov edx, ebx
push ecx
push dword [ebp + 8]
mov ecx, esi
call fcn.004276bc
xor edi, edi
push esi
inc edi
call fcn.0059aa0f
add esp, 0xc
push dword [ebp - 0xc]
call fcn.005c2c80
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.0059a7a2
leave
ret 0xc
Function at 0x4b741f
Capabilities:
Check if file exists
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, 0x6ee66a
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 0x4b748b
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 0x4b748b
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 0x4b748b
push 1
cmp ebx, 0x500000
pop eax
cmovb esi, eax
xor ebx, ebx
test esi, esi
je 0x4b7626
push 4
push 0x1000
push 0x500000
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
je 0x4b7626
push str._____________________________7d9114302a0cb6___r_n
call fcn.005b69b0
mov dword [esp], 0x500000
mov esi, eax
push 0
push ebx
mov dword [ebp - 0x54], esi
call fcn.005b24a0
add esp, 0xc
mov ecx, 0x500000
sub ecx, esi
mov edi, 0x668d7c
mov dword [ebp - 0x50], ecx
push edi
call fcn.005c2f90
inc eax
pop ecx
cmp eax, 0x3fffffff
jle 0x4b74f5
xor eax, eax
jmp 0x4b750e
lea esi, [eax + eax]
mov eax, esi
call fcn.0059bb40
mov ecx, esp
mov edx, edi
push 3
push esi
call fcn.00411600
mov esi, dword [ebp - 0x54]
push 0
push eax
push 0x64d6d8
lea eax, [ebp - 0x50]
push eax
push ebx
call fcn.004b83b1
mov edi, dword [ebp - 0x50]
mov eax, ebx
add edi, ebx
sub eax, edi
sub eax, esi
add eax, 0x500000
push 0x6ef9a4
mov dword [ebp - 0x50], eax
call fcn.005c2f90
inc eax
pop ecx
cmp eax, 0x3fffffff
jle 0x4b754a
xor eax, eax
jmp 0x4b7566
lea esi, [eax + eax]
mov eax, esi
call fcn.0059bb40
mov ecx, esp
mov edx, 0x6ef9a4
push 3
push esi
call fcn.00411600
mov esi, dword [ebp - 0x54]
push 0
push eax
push 0x63dc28
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.004b83b1
add edi, dword [ebp - 0x50]
mov eax, ebx
sub eax, edi
sub eax, esi
add eax, 0x500000
push 0x6ee66a
mov dword [ebp - 0x50], eax
call fcn.005c2f90
inc eax
pop ecx
cmp eax, 0x3fffffff
jle 0x4b75a0
xor eax, eax
jmp 0x4b75bc
lea esi, [eax + eax]
mov eax, esi
call fcn.0059bb40
mov ecx, esp
mov edx, 0x6ee66a
push 3
push esi
call fcn.00411600
mov esi, dword [ebp - 0x54]
push 1
push eax
push str.file
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.004b83b1
add edi, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
push 0x40
push 0
push eax
call fcn.005b24a0
pop ecx
lea eax, [ebp - 0x4c]
push eax
call fcn.004b71ca
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.004b83b1
add edi, dword [ebp - 0x50]
push esi
push str._____________________________7d9114302a0cb6___r_n
push edi
call fcn.005b2600
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.0059a7a2
leave
ret 0xc
Function at 0x4b7cba
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10a4
call fcn.0059b4a0
mov eax, dword [0x6d35ac]
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, 0x669140
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.005b24a0
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 0x633664
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.005b24a0
lea eax, [ebp - 0x54]
mov ecx, 0x6ebaa8
push eax
push 0x6eef68
push ecx
push 0x6eb89e
push 0x6eb694
push 0x6e9524
push 0x6f0db4
mov eax, 0x6eafae
push eax
push 0x6ea57c
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push edi
push 0x6e9f5e
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.00412a13
add esp, 0x54
lea ecx, [ebp - 0x109c]
push ecx
push 0x824
push ebx
call fcn.005c4440
mov ecx, dword [ebp - 4]
add esp, 0xc
xor eax, eax
xor ecx, ebp
inc eax
pop edi
pop esi
pop ebx
call fcn.0059a7a2
leave
ret 8
Function at 0x4b83b1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x6d35ac]
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.005b24a0
add esp, 0xc
cmp dword [ebp + 0x18], 0
push edi
je 0x4b84f5
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.00420276
lea eax, [ebp - 0x828]
push eax
call fcn.005b69b0
add esp, 0x1c
mov ebx, eax
cmp byte [edi], 0
mov dword [ebp - 0x82c], ebx
je 0x4b8540
push 0x636a80
push edi
call fcn.005c2bf3
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4b8540
push 2
push 0
push edi
call fcn.005c3a4b
push edi
call fcn.005c4044
push 0
push 0
push edi
mov dword [ebp - 0x834], eax
call fcn.005c3a4b
mov ecx, dword [ebp - 0x834]
add esp, 0x1c
add ecx, 2
add ebx, ecx
cmp ebx, dword [esi]
jae 0x4b84e8
push dword [ebp - 0x82c]
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x830]
call fcn.005b2600
mov eax, dword [ebp - 0x830]
add eax, dword [ebp - 0x82c]
push edi
push 1
push dword [ebp - 0x834]
push eax
call fcn.005c421b
mov eax, dword [ebp - 0x830]
add eax, dword [ebp - 0x834]
add eax, dword [ebp - 0x82c]
push 2
push 0x636264
push eax
call fcn.005b2600
add esp, 0x28
jmp 0x4b84ea
xor ebx, ebx
push edi
mov dword [esi], ebx
call fcn.005c2c80
pop ecx
jmp 0x4b8543
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.00420276
lea eax, [ebp - 0x828]
push eax
call fcn.005b69b0
mov edi, eax
add esp, 0x1c
cmp edi, dword [esi]
jae 0x4b8540
push edi
lea eax, [ebp - 0x828]
push eax
push ebx
call fcn.005b2600
add esp, 0xc
mov dword [esi], edi
jmp 0x4b8543
and dword [esi], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059a7a2
leave
ret 0x14
Function at 0x4b85de
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 0x4b8788
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 0x6a333c
lea eax, [ebp + 8]
mov dword [ebp + 8], str.can_not_load_pdown.dll
push eax
call fcn.005b4c97
int3
Function at 0x4b8a39
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0x69c
mov eax, 0x5f21fa
call fcn.0059bbd7
mov esi, ecx
call fcn.004b886d
lea ecx, [ebp - 0x688]
call fcn.004b85b6
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.004b915f
add esp, 0x18
push eax
mov byte [ebp - 4], 1
call fcn.004b91cb
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 0x4b8b69
push 0x84
call fcn.0059a7c1
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.004b85de
mov byte [ebp - 4], bl
mov dword [esi + 0xc], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x4b8af8
push ebx
call eax
pop ecx
lea eax, [esi + 0x20]
cmp dword [eax + 0x14], 8
jb 0x4b8b03
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, esi
call fcn.004b9625
push dword [0x6ded0c]
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 0x4b8b56
cmp dword [ebp - 0x6a4], 0x12
je 0x4b8b66
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 0x4b8b33
mov dword [esi + 0xc], ebx
lea ecx, [ebp - 0x28]
call fcn.0040b67e
call fcn.0059bb81
ret
Function at 0x4b921e
Capabilities:
Create thread

Disassembly:
push 0x288
mov eax, 0x5f230e
call fcn.0059bbd7
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 [0x6ded0c], eax
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.005b24a0
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.004d39d4
push 0x633b6c
mov edx, eax
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x248]
call fcn.0041152a
pop ecx
mov esi, eax
mov byte [ebp - 4], 1
call fcn.004cad89
push eax
mov ecx, esi
call fcn.00411504
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.004cadf0
push str.pdown.dll
mov edx, eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x278]
call fcn.0041152a
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 0x4b88df
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebx + 0x50]
mov dword [ebx], eax
test ecx, ecx
je 0x4b937b
mov edx, dword [ecx]
push eax
call dword [edx + 4]
call fcn.0059bb81
ret 4
Function at 0x4b9a51
Capabilities:
Check if file exists

Disassembly:
push 0x38
mov eax, 0x5f2404
call fcn.0059bbd7
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.00425665
mov esi, str.360browser_bkinfo
mov byte [ebp - 4], 2
push esi
call fcn.005c2f90
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 0x4b9af2
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.004badab
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.0059bb81
ret 0x1c
Function at 0x4b9b32
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0x88
mov eax, 0x5f2454
call fcn.0059bbd7
mov ebx, ecx
mov edi, dword [ebp + 8]
push 0x2fd
push str.P2PDownLoad::AddDownTaskAsync
push str.__s__d___AddDownTaskAsync_start_to_run
mov dword [ebp - 0x90], edi
call fcn.0040a649
add esp, 0xc
cmp dword [ebx + 0xc], 0
je 0x4b9d07
test edi, edi
je 0x4b9d07
mov edx, dword [edi + 0x8c]
lea ecx, [ebp - 0x5c]
call fcn.0042ec01
and dword [ebp - 4], 0
mov esi, str..zip
push esi
call fcn.005b69b0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.004043c3
lea ecx, [ebp - 0x2c]
call fcn.00425665
mov esi, str.360browserdownload
mov byte [ebp - 4], 1
push esi
call fcn.005c2f90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040b220
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b9be9
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
sub esp, 0x18
lea eax, [ebp - 0x5c]
mov ecx, esp
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.00404267
lea ecx, [ebp - 0x8c]
call fcn.004b9195
mov esi, eax
push 0x633b6c
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.00411559
add esp, 0x1c
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00420d7e
pop ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040b0ac
lea ecx, [ebp - 0x44]
call fcn.0040b67e
lea ecx, [ebp - 0x74]
call fcn.0040b67e
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 1
call fcn.0040b67e
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 0x64]
call fcn.0041322b
push str.https:__dd.browser.360.cn_static_a_1298.4281.gif
lea ecx, [ebp - 0x44]
call fcn.0040b0d5
push 1
push 1
xor dl, dl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.004ce396
pop ecx
pop ecx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0040b67e
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
lea eax, [edi + 4]
cmovae ecx, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 8
jb 0x4b9caa
mov eax, dword [eax]
sub esp, 0x18
push ecx
mov ecx, dword [ebx + 0xc]
push eax
call fcn.004b879e
mov dword [edi + 0x7c], eax
test eax, eax
jne 0x4b9cd7
mov ecx, edi
mov byte [ebx + 8], al
call fcn.004b8821
push 0x90
push edi
call fcn.0059a7b3
pop ecx
pop ecx
jmp 0x4b9cf7
lea ecx, [ebx + 0x10]
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x4b9cea
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x4b9cf7
lea edx, [ebp - 0x90]
push edx
push eax
call fcn.0040de0e
lea ecx, [ebp - 0x2c]
call fcn.0040b67e
lea ecx, [ebp - 0x5c]
call fcn.00404812
call fcn.0059bb81
ret 4
Function at 0x4ba1da
Capabilities:
Create thread

Disassembly:
push 0x20
mov eax, 0x5e170b
call fcn.0059bbd7
mov esi, ecx
lea ecx, [ebp - 0x28]
call fcn.00425665
mov edi, str.360browser_bkinfop2pconfig
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call fcn.005c2f90
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b220
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0xc]
call fcn.0041322b
lea ecx, [esi + 4]
call fcn.004baca9
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x40], eax
test eax, eax
jne 0x4ba241
push 0xba
push str.P2pDownloadMgr::Init
push str.__s__d___create_event_failed
jmp 0x4ba26f
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
push eax
push ebx
push esi
push 0x4ba187
push ebx
push ebx
call fcn.005c30ff
add esp, 0x18
mov dword [esi + 0x44], eax
test eax, eax
jne 0x4ba279
push 0xc1
push str.P2pDownloadMgr::Init
push str.__s__d___create_thread_failed
call fcn.0040a649
add esp, 0xc
jmp 0x4ba2a6
push 0xc4
push str.P2pDownloadMgr::Init
push str.__s__d___P2PDownload::Init
call fcn.0040a649
add esp, 0xc
push esi
call fcn.004b9d0f
mov ecx, eax
call fcn.004b921e
mov ecx, esi
call fcn.004ba491
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.0040b67e
mov al, bl
call fcn.0059bb81
ret
Function at 0x4badab
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa5c
mov eax, dword [0x6d35ac]
xor eax, esp
mov dword [esp + 0xa58], eax
push ebx
push esi
mov esi, edx
push edi
test ecx, ecx
je 0x4bafd0
xor eax, eax
cmp ax, word [ecx]
je 0x4bafd0
test esi, esi
je 0x4bafd0
cmp ax, word [esi]
je 0x4bafd0
push eax
push ecx
call fcn.0043ad3b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4bafd0
push 0x410
lea eax, [esp + 0x654]
push 0
push eax
call fcn.005b24a0
add esp, 0xc
lea eax, [esp + 0x650]
mov ebx, 0x207
push esi
push 0x634350
push ebx
push eax
call fcn.00412a13
lea eax, [esp + 0x660]
push eax
call fcn.005c2f90
add esp, 0x14
test eax, eax
je 0x4bafd0
lea eax, [esp + 0x650]
push eax
call fcn.005c2f90
pop ecx
cmp word [esp + eax*2 + 0x64e], 0x5c
je 0x4bae78
push ebx
lea eax, [esp + 0x654]
push 0x633b6c
push eax
call fcn.005c95a8
add esp, 0xc
lea ecx, [esp + 0x650]
call fcn.0041e71d
test eax, eax
je 0x4bafd0
lea eax, [esp + 0x10]
or edx, 0xffffffff
push eax
mov ecx, edi
call fcn.0043ad6a
mov ebx, dword [esp + 0x14]
xor esi, esi
pop ecx
test ebx, ebx
jle 0x4bafc4
lea eax, [esp + 0x10]
mov edx, esi
push eax
mov ecx, edi
call fcn.0043ad6a
pop ecx
test eax, eax
jne 0x4bafbb
push 0x410
push eax
lea eax, [esp + 0x248]
push eax
call fcn.005b24a0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x654]
push eax
push 0x635ea8
lea eax, [esp + 0x24c]
push 0x207
push eax
call fcn.00412a13
add esp, 0x14
lea eax, [esp + 0x14]
push 0x6361d4
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x4bafbb
test byte [esp + 0x21c], 0x10
je 0x4baf31
lea ecx, [esp + 0x240]
call fcn.0041e71d
jmp 0x4bafbb
lea eax, [esp + 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [esp + 0x240]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4baf76
lea eax, [esp + 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4baf76
and eax, 0xfffffffe
push eax
lea eax, [esp + 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x240]
mov edx, esi
push eax
mov ecx, edi
call fcn.0043ae14
pop ecx
lea eax, [esp + 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4bafbb
and eax, 0xfffffffe
push eax
lea eax, [esp + 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
inc esi
cmp esi, ebx
jl 0x4baeaa
push edi
call fcn.0043ae45
xor eax, eax
pop ecx
inc eax
jmp 0x4bafd2
xor eax, eax
mov ecx, dword [esp + 0xa64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0059a7a2
mov esp, ebp
pop ebp
ret