joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4accfa
Capabilities:
Check if file exists
Copy file

Disassembly:
push 0x50
mov eax, 0x5e74c5
call fcn.00592017
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
xor ebx, ebx
call fcn.004251b0
push str.360sedbghelp.dll
mov edx, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x2c]
call fcn.0041151c
pop ecx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.0040b67b
push 8
pop edi
cmp dword [ebp - 0x18], edi
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4acda2
cmp dword [ebp - 0x18], edi
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
cmovae edx, dword [ebp - 0x2c]
call fcn.0042348d
push str.5c5e3afd499e5146fef1da5ef8a23205
lea ecx, [ebp - 0x44]
call fcn.004115b6
test al, al
je 0x4acd9a
mov ecx, esi
cmp dword [esi + 0x14], edi
jb 0x4acd76
mov ecx, dword [esi]
call fcn.0041e4f1
cmp dword [esi + 0x14], edi
jb 0x4acd82
mov esi, dword [esi]
cmp dword [ebp - 0x18], edi
lea eax, [ebp - 0x2c]
push ebx
cmovae eax, dword [ebp - 0x2c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne bl
lea ecx, [ebp - 0x44]
call fcn.00404812
lea ecx, [ebp - 0x2c]
call fcn.0040b67b
mov al, bl
call fcn.00591fc1
ret 4

Function at 0x4acdb4
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x460
mov eax, 0x5e752d
call fcn.00592017
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov edi, 0x20a
push edi
mov dword [ebp - 0x46c], esi
push eax
mov dword [ebp - 0x468], eax
lea eax, [ebp - 0x434]
push eax
call fcn.005a88e0
add esp, 0xc
lea eax, [ebp - 0x434]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edi
xor edi, edi
lea eax, [ebp - 0x224]
push edi
push eax
call fcn.005a88e0
add esp, 0xc
lea eax, [ebp - 0x434]
push 0xffffffffffffffff
push 0x6284b8
push eax
push str._s_s
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.004ad37d
add esp, 0x18
lea eax, [ebp - 0x224]
mov ecx, esi
push eax
call fcn.0040b0d5
xor ebx, ebx
mov dword [ebp - 0x43c], edi
inc ebx
mov dword [ebp - 0x438], 7
xor eax, eax
mov dword [ebp - 0x468], ebx
mov word [ebp - 0x44c], ax
lea eax, [ebp - 0x224]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x464]
call fcn.0040b0d5
lea edx, [ebp - 0x44c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x464]
call fcn.00426e07
lea ecx, [ebp - 0x464]
mov byte [ebp - 4], bl
call fcn.0040b67b
cmp dword [0x6cf9d4], edi
jne 0x4acf2c
cmp dword [ebp - 0x438], 8
lea ecx, [ebp - 0x44c]
mov edx, str.6.11.0.0
cmovae ecx, dword [ebp - 0x44c]
call fcn.004270e1
test eax, eax
jg 0x4acf2c
mov dword [ebp - 0x454], edi
lea ecx, [ebp - 0x464]
mov dword [ebp - 0x450], edi
mov edi, 0x6da1c8
push edi
call fcn.0040b155
mov byte [ebp - 4], 3
mov eax, edi
cmp dword [0x6da1dc], 8
cmovae eax, dword [0x6da1c8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4acf1b
call fcn.004ad0a1
test al, al
je 0x4acf1b
push edi
mov ecx, esi
call fcn.0041321d
jmp 0x4acf21
mov byte [0x6da228], bl
lea ecx, [ebp - 0x464]
call fcn.0040b67b
lea ecx, [ebp - 0x44c]
call fcn.0040b67b
mov eax, esi
call fcn.00591fc1
ret 4
Function at 0x4ad195
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, 0x5e7593
call fcn.00592017
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 0x4ad1bf
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ad2ac
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4ad1d8
mov eax, dword [esi]
push eax
call fcn.0042667b
pop ecx
test eax, eax
je 0x4ad2ac
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4ad1f1
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4ad2aa
push 0x65bec8
push str.DBGHELPDAT
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x234], eax
test eax, eax
je 0x4ad2a3
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 0x4ad2a3
test eax, eax
jle 0x4ad2a3
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x4ad259
mov ecx, dword [edi]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4ad26a
mov eax, dword [edi]
push 0x6281d4
push eax
call fcn.005b8fca
mov dword [ebp - 0x23c], eax
pop ecx
pop ecx
test eax, eax
je 0x4ad2a3
push eax
push 1
push dword [ebp - 0x234]
push dword [ebp - 0x238]
call fcn.005b9378
push dword [ebp - 0x23c]
call fcn.005b90c0
add esp, 0x14
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor ebx, ebx
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4ad2b6
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ad373
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005a88e0
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 0x628a24
mov dword [ebp - 4], ebx
call fcn.005b93d0
pop ecx
push eax
push 0x628a24
lea ecx, [ebp - 0x230]
call fcn.0040b220
lea edx, [ebp - 0x230]
mov ecx, edi
call fcn.00425995
mov eax, dword [ebp - 0x240]
cmp dword [eax + 0x14], 8
jb 0x4ad338
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 0x4ad352
mov edi, dword [edi]
mov ecx, edi
call fcn.004257ca
cmp dword [esi + 0x14], 8
jb 0x4ad361
mov esi, dword [esi]
mov ecx, esi
call fcn.004257ca
lea ecx, [ebp - 0x230]
call fcn.0040b67b
mov al, bl
call fcn.00591fc1
ret 0x10

Function at 0x4ad5b4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x6df9be
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ad5e4
push dword [ebp + 8]
push 0x629200
push 0x104
push 0x6dfbc8
call fcn.0040ceeb
add esp, 0x10
inc esi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x4ad663
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0xc
push 0x688e88
call fcn.005924a0
and dword [ebp - 0x1c], 0
push dword [ebp + 0xc]
push 0x629208
mov esi, 0x104
push esi
mov ebx, 0x6df9be
push ebx
call fcn.00412a05
add esp, 0x10
push dword [ebp + 8]
call fcn.004ad5b4
test eax, eax
je 0x4ad8f5
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ad8f5
mov dword [ebp - 0x1c], 1
push ebx
push esi
push 0x6dac94
mov edi, 0x6284b4
push edi
push str.pdtname
mov ebx, 0x6dfbc8
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call esi
push 0x6df9be
push 0x63
push 0x6dfea8
push edi
push str.proctype
push ebx
call esi
push 0x6df9be
push 0x104
push 0x6da87c
push edi
push str.crashtype
push ebx
call esi
push 0x6df9be
push 0x104
push 0x6daa86
push edi
push str.trycatchcnt
push ebx
call esi
push 0x6df9be
push 0x104
push 0x6db2b2
push edi
push 0x628dd8
push ebx
call esi
push 0x6df9be
push 0x104
push 0x6dae9e
push edi
push str.pdtver
push ebx
call esi
push 0x6df9be
push 0x104
push 0x6dc9e8
push edi
push 0x628df8
push ebx
call esi
push 0x6df9be
push 0x3ff
push 0x6dff70
push edi
push str.cururl
push ebx
call esi
push 0x6df9be
push 0
push 0x628d34
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x6e0770], eax
push 0x6df9be
push 0x103
push 0x6da464
push edi
push 0x628e38
push ebx
call esi
push 0x6df9be
push 0x104
push 0x6db4bc
push edi
push str.module
push ebx
call esi
push 0x6df9be
push 0x104
push 0x6dc5d4
push edi
push str.osver
push ebx
call esi
push 0x6df9be
push 0x104
push 0x6dc7de
push edi
push str.iever
push ebx
call esi
push 0x6df9be
push 0x104
push 0x6dbeee
push edi
push str.modulever
push ebx
call esi
push 0x6df9be
push 0x104
push 0x6df5aa
push edi
push str.dump
push ebx
call esi
push 0x6df9be
push 0x1f
mov edi, 0x6e1cf4
push edi
push 0x6284b4
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 0x4ad86b
push 0x628d2c
push 0xa
push 0x6e0774
call fcn.005ba880
add esp, 0xc
xor ebx, ebx
inc ebx
mov esi, ebx
jmp 0x4ad882
push 0x628d30
push 0xa
push 0x6e0774
call fcn.005ba880
add esp, 0xc
xor ebx, ebx
inc ebx
push dword [ebp + 8]
push 0x629200
push 0x6da66c
call fcn.00412829
add esp, 0xc
push str.unknown
push 0x6db4bc
call edi
xor edx, edx
test eax, eax
cmove edx, ebx
xor eax, eax
mov word [0x6dcbf2], ax
and dword [ebp - 4], eax
push 0x6dbeee
push 0x6da464
test edx, edx
mov edx, 0x6dcbf2
je 0x4ad8cf
push 0x6db4bc
jmp 0x4ad8d1
push 0
push esi
push ecx
mov ecx, 0x6df5aa
call fcn.004ab2db
add esp, 0x14
jmp 0x4ad8ee
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 0x4ae1c0
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x6c45ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x6df5aa
xor edi, edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ae314
push 0x6289d8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], edi
push esi
push eax
call fcn.005b8fe1
add esp, 0xc
cmp dword [ebp - 0xc], edi
je 0x4ae314
push dword [ebp - 0xc]
call fcn.005bf746
pop ecx
push eax
call fcn.005bc273
mov dword [ebp - 8], eax
mov dword [esp], 0x6e08e4
call fcn.005b93d0
mov ebx, eax
mov dword [esp], 0x628a28
call fcn.005b93d0
add ebx, dword [ebp - 8]
add ebx, eax
pop ecx
lea eax, [ebx + 1]
push eax
call fcn.00591388
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
je 0x4ae30b
push dword [ebp - 0xc]
push 1
push dword [ebp - 8]
push esi
call fcn.005ba65b
add esi, dword [ebp - 8]
push 0x6e08e4
mov dword [ebp - 8], esi
call fcn.005b93d0
add esp, 0x14
inc eax
cmp eax, 0x3fffffff
jle 0x4ae27d
mov eax, edi
jmp 0x4ae299
lea esi, [eax + eax]
mov eax, esi
call fcn.00591f80
mov ecx, esp
mov edx, 0x6e08e4
push 3
push esi
call fcn.004115f2
mov esi, dword [ebp - 8]
push eax
mov edx, ebx
mov ecx, esi
call fcn.00422aff
push 0x6e08e4
call fcn.005b93d0
add esi, eax
mov dword [esp], 0x628a28
mov dword [ebp - 8], esi
call fcn.005b93d0
inc eax
pop ecx
cmp eax, 0x3fffffff
jg 0x4ae2e5
lea esi, [eax + eax]
mov eax, esi
call fcn.00591f80
mov ecx, esp
mov edx, 0x628a28
push 3
push esi
call fcn.004115f2
mov esi, dword [ebp - 8]
mov edi, eax
push edi
mov edx, ebx
mov ecx, esi
call fcn.00422aff
mov esi, dword [ebp - 0x10]
mov edx, ebx
push ecx
push dword [ebp + 8]
mov ecx, esi
call fcn.004271d7
xor edi, edi
push esi
inc edi
call fcn.00590e55
add esp, 0xc
push dword [ebp - 0xc]
call fcn.005b90c0
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.00590be8
leave
ret 0xc
Function at 0x4ae415
Capabilities:
Check if file exists
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x6c45ac]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, 0x6df5aa
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 0x4ae481
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 0x4ae481
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 0x4ae481
push 1
cmp ebx, 0x500000
pop eax
cmovb esi, eax
xor ebx, ebx
test esi, esi
je 0x4ae61c
push 4
push 0x1000
push 0x500000
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
je 0x4ae61c
push str._____________________________7d9114302a0cb6___r_n
call fcn.005acdf0
mov dword [esp], 0x500000
mov esi, eax
push 0
push ebx
mov dword [ebp - 0x54], esi
call fcn.005a88e0
add esp, 0xc
mov ecx, 0x500000
sub ecx, esi
mov edi, 0x65bee8
mov dword [ebp - 0x50], ecx
push edi
call fcn.005b93d0
inc eax
pop ecx
cmp eax, 0x3fffffff
jle 0x4ae4eb
xor eax, eax
jmp 0x4ae504
lea esi, [eax + eax]
mov eax, esi
call fcn.00591f80
mov ecx, esp
mov edx, edi
push 3
push esi
call fcn.004115f2
mov esi, dword [ebp - 0x54]
push 0
push eax
push 0x6414e8
lea eax, [ebp - 0x50]
push eax
push ebx
call fcn.004af3a7
mov edi, dword [ebp - 0x50]
mov eax, ebx
add edi, ebx
sub eax, edi
sub eax, esi
add eax, 0x500000
push 0x6e08e4
mov dword [ebp - 0x50], eax
call fcn.005b93d0
inc eax
pop ecx
cmp eax, 0x3fffffff
jle 0x4ae540
xor eax, eax
jmp 0x4ae55c
lea esi, [eax + eax]
mov eax, esi
call fcn.00591f80
mov ecx, esp
mov edx, 0x6e08e4
push 3
push esi
call fcn.004115f2
mov esi, dword [ebp - 0x54]
push 0
push eax
push 0x631e68
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.004af3a7
add edi, dword [ebp - 0x50]
mov eax, ebx
sub eax, edi
sub eax, esi
add eax, 0x500000
push 0x6df5aa
mov dword [ebp - 0x50], eax
call fcn.005b93d0
inc eax
pop ecx
cmp eax, 0x3fffffff
jle 0x4ae596
xor eax, eax
jmp 0x4ae5b2
lea esi, [eax + eax]
mov eax, esi
call fcn.00591f80
mov ecx, esp
mov edx, 0x6df5aa
push 3
push esi
call fcn.004115f2
mov esi, dword [ebp - 0x54]
push 1
push eax
push str.file
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.004af3a7
add edi, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
push 0x40
push 0
push eax
call fcn.005a88e0
pop ecx
lea eax, [ebp - 0x4c]
push eax
call fcn.004ae1c0
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.004af3a7
add edi, dword [ebp - 0x50]
push esi
push str._____________________________7d9114302a0cb6___r_n
push edi
call fcn.005a8a40
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.00590be8
leave
ret 0xc
Function at 0x4aecb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10a4
call fcn.005918e0
mov eax, dword [0x6c45ac]
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, 0x65c47c
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.005a88e0
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 0x62851c
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.005a88e0
lea eax, [ebp - 0x54]
mov ecx, 0x6dc9e8
push eax
push 0x6dfea8
push ecx
push 0x6dc7de
push 0x6dc5d4
push 0x6da464
push 0x6e1cf4
mov eax, 0x6dbeee
push eax
push 0x6db4bc
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push edi
push 0x6dae9e
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.00412a05
add esp, 0x54
lea ecx, [ebp - 0x109c]
push ecx
push 0x824
push ebx
call fcn.005ba880
mov ecx, dword [ebp - 4]
add esp, 0xc
xor eax, eax
xor ecx, ebp
inc eax
pop edi
pop esi
pop ebx
call fcn.00590be8
leave
ret 8
Function at 0x4af3a7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x6c45ac]
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.005a88e0
add esp, 0xc
cmp dword [ebp + 0x18], 0
push edi
je 0x4af4eb
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.00420042
lea eax, [ebp - 0x828]
push eax
call fcn.005acdf0
add esp, 0x1c
mov ebx, eax
cmp byte [edi], 0
mov dword [ebp - 0x82c], ebx
je 0x4af536
push 0x62b8e8
push edi
call fcn.005b9033
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4af536
push 2
push 0
push edi
call fcn.005b9e8b
push edi
call fcn.005ba484
push 0
push 0
push edi
mov dword [ebp - 0x834], eax
call fcn.005b9e8b
mov ecx, dword [ebp - 0x834]
add esp, 0x1c
add ecx, 2
add ebx, ecx
cmp ebx, dword [esi]
jae 0x4af4de
push dword [ebp - 0x82c]
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x830]
call fcn.005a8a40
mov eax, dword [ebp - 0x830]
add eax, dword [ebp - 0x82c]
push edi
push 1
push dword [ebp - 0x834]
push eax
call fcn.005ba65b
mov eax, dword [ebp - 0x830]
add eax, dword [ebp - 0x834]
add eax, dword [ebp - 0x82c]
push 2
push 0x62b0cc
push eax
call fcn.005a8a40
add esp, 0x28
jmp 0x4af4e0
xor ebx, ebx
push edi
mov dword [esi], ebx
call fcn.005b90c0
pop ecx
jmp 0x4af539
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.00420042
lea eax, [ebp - 0x828]
push eax
call fcn.005acdf0
mov edi, eax
add esp, 0x1c
cmp edi, dword [esi]
jae 0x4af536
push edi
lea eax, [ebp - 0x828]
push eax
push ebx
call fcn.005a8a40
add esp, 0xc
mov dword [esi], edi
jmp 0x4af539
and dword [esi], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00590be8
leave
ret 0x14
Function at 0x4af5d4
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 0x4af77e
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 0x694c64
lea eax, [ebp + 8]
mov dword [ebp + 8], str.can_not_load_pdown.dll
push eax
call fcn.005ab0d7
int3
Function at 0x4afa2f
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0x69c
mov eax, 0x5e768d
call fcn.00592017
mov esi, ecx
call fcn.004af863
lea ecx, [ebp - 0x688]
call fcn.004af5ac
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.004b0155
add esp, 0x18
push eax
mov byte [ebp - 4], 1
call fcn.004b01c1
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 0x4afb5f
push 0x84
call fcn.00590c07
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.004af5d4
mov byte [ebp - 4], bl
mov dword [esi + 0xc], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x4afaee
push ebx
call eax
pop ecx
lea eax, [esi + 0x20]
cmp dword [eax + 0x14], 8
jb 0x4afaf9
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, esi
call fcn.004b061b
push dword [0x6cfc48]
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 0x4afb4c
cmp dword [ebp - 0x6a4], 0x12
je 0x4afb5c
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 0x4afb29
mov dword [esi + 0xc], ebx
lea ecx, [ebp - 0x28]
call fcn.0040b67b
call fcn.00591fc1
ret