joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b233
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
movsx eax, byte [edi]
push eax
call fcn.004c1ec9
pop ecx
push edi
test eax, eax
je 0x42b270
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x42b2a4
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x42b276
call dword [sym.imp.WS2_32.dll_inet_addr]
push 2
mov dword [esi + 4], eax
pop eax
mov word [esi], ax
movzx eax, word [ebx + 0x1024]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp - 4]
pop edi
mov word [esi + 2], ax
xor ecx, ebp
pop esi
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x511bd8
lea ecx, [ebp - 0x2c]
call fcn.0042ad56
push 0x52b58c
lea eax, [ebp - 0x2c]
push eax
call fcn.004bcf07
int3

Function at 0x42b658
Capabilities:
Get common file path

Disassembly:
push 0x638
mov eax, 0x4f02fb
call fcn.004bcfcf
xor eax, eax
xor esi, esi
push 0x208
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push esi
push eax
call fcn.004bf240
add esp, 0xc
lea eax, [ebp - 0x224]
push esi
push 0x1c
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x63c]
call fcn.00406c40
push 0x511cf0
lea ecx, [ebp - 0x63c]
mov dword [ebp - 4], esi
call fcn.00406da0
push str.User_Data
lea ecx, [ebp - 0x63c]
call fcn.00406da0
push str.install_log.log
lea ecx, [ebp - 0x63c]
call fcn.00406da0
cmp dword [ebp - 0x628], 8
lea eax, [ebp - 0x63c]
push 0x511c3c
cmovae eax, dword [ebp - 0x63c]
push eax
call fcn.004c2c07
mov dword [ebp - 0x640], eax
pop ecx
pop ecx
test eax, eax
jne 0x42b70e
inc esi
jmp 0x42b7c1
xor eax, eax
push 0x3fe
mov word [ebp - 0x624], ax
lea eax, [ebp - 0x622]
push esi
push eax
call fcn.004bf240
push dword [ebp - 0x640]
mov dword [ebp - 0x644], esi
mov edi, esi
mov ebx, esi
call fcn.004c0dc5
add esp, 0x10
test eax, eax
jne 0x42b7a3
mov esi, dword [ebp - 0x640]
push esi
lea eax, [ebp - 0x624]
push 0x1ff
push eax
call fcn.004c5815
lea eax, [ebp - 0x624]
inc ebx
push str.RealInstallFunc_Success
push eax
call fcn.004bfe8b
add esp, 0x14
test eax, eax
je 0x42b77e
mov dword [ebp - 0x644], ebx
jmp 0x42b796
lea eax, [ebp - 0x624]
push str.Extract...
push eax
call fcn.004bfe8b
test eax, eax
pop ecx
pop ecx
cmovne edi, ebx
push esi
call fcn.004c0dc5
pop ecx
test eax, eax
je 0x42b74b
xor esi, esi
push dword [ebp - 0x640]
call fcn.004c0d4e
mov eax, dword [ebp - 0x644]
pop ecx
test eax, eax
je 0x42b7c1
xor ecx, ecx
inc ecx
cmp edi, eax
cmovb esi, ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x63c]
call fcn.00402a40
mov eax, esi
call fcn.004bcf7e
ret 4
Function at 0x42ba1d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x30
mov eax, 0x4f038a
call fcn.004bcf9c
lea ecx, [ebp - 0x3c]
call fcn.0042ba72
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42ba59
test al, 0x10
jne 0x42ba59
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
call fcn.0043f114
test eax, eax
jne 0x42ba59
inc esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x4fc6f8
call fcn.00424b15
mov eax, esi
call fcn.004bcf6a
ret 4

Function at 0x42baa9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x218], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42bb6c
test al, 0x10
jne 0x42bb6c
lea eax, [ebp - 0x220]
mov dword [ebp - 0x210], ebx
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x214], ebx
push eax
lea eax, [ebp - 0x214]
mov ecx, edi
push eax
lea edx, [ebp - 0x210]
call fcn.00420a8c
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.004bf240
mov ecx, dword [ebp - 0x214]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x210]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [ebp - 0x20c]
push ecx
push 0x50de60
push 0x104
push eax
call fcn.004c2ce6
add esp, 0x34
lea eax, [ebp - 0x20c]
push eax
jmp 0x42bb71
push str.unexisted
mov ecx, esi
call fcn.00406c40
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret 8
Function at 0x42bd62
Capabilities:
Read file on windows

Disassembly:
push 0xb0
mov eax, 0x4f045e
call fcn.004bcfcf
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x84]
call fcn.0043d9cc
xor ecx, ecx
mov eax, 0xfffffe00
mov dword [ebp - 4], ecx
and dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], ecx
and dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], ecx
and dword [ebp - 0x94], eax
mov dword [ebp - 0x90], ecx
push 0x511f44
push esi
mov byte [ebp - 4], 6
mov dword [ebp - 0x88], ecx
call fcn.004c2c07
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x42bec1
push 2
push 0
push ebx
call fcn.004c13fe
add esp, 0xc
push ebx
call fcn.004c1811
pop ecx
push 0
mov esi, eax
push 0
push ebx
mov dword [ebp - 0x8c], esi
call fcn.004c13fe
add esp, 0xc
inc esi
push esi
call fcn.004bc2f0
pop ecx
push esi
mov edi, eax
push 0
push edi
call fcn.004bf240
mov esi, dword [ebp - 0x8c]
add esp, 0xc
push ebx
push esi
push 1
push edi
call fcn.004c12c3
add esp, 0x10
cmp eax, esi
jne 0x42beaf
push ecx
lea eax, [ebp - 0xac]
push eax
lea eax, [esi - 1]
add eax, edi
lea ecx, [ebp - 0x84]
push eax
push edi
call fcn.0043da6d
test al, al
je 0x42beaf
lea ecx, [ebp - 0xac]
call fcn.0043ce87
test al, al
je 0x42beaf
push ecx
push 0x511f60
call fcn.0043cd8b
push eax
lea ecx, [ebp - 0xbc]
call fcn.0043cb1e
lea ecx, [ebp - 0xbc]
call fcn.0043ce87
test al, al
je 0x42beaf
push ecx
push str.kAdFilter
call fcn.0043cd8b
push eax
lea ecx, [ebp - 0x9c]
call fcn.0043cb1e
cmp byte [ebp - 0x94], 5
jne 0x42beaf
lea ecx, [ebp - 0x9c]
call fcn.0043cc0a
movzx eax, al
mov dword [ebp - 0x88], eax
push ebx
call fcn.004c0d4e
pop ecx
test edi, edi
je 0x42bec1
push edi
call fcn.004bbc6e
pop ecx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 4
call fcn.0043caa1
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.0043caa1
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0
call fcn.0043caa1
lea ecx, [ebp - 0x84]
call fcn.0042bf07
mov eax, dword [ebp - 0x88]
call fcn.004bcf7e
ret 4
Function at 0x42f48f
Capabilities:
Read .ini file

Disassembly:
push 0x1c
mov eax, 0x4f0c6a
call fcn.004bcfcf
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], ebx
push ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
call fcn.00403c20
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
call fcn.0042f299
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
push str.crashcount
mov ebx, str.CrashCount
push ebx
call esi
cmp dword [ebp - 0x14], 8
mov dword [edi], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push str.year
push ebx
call esi
cmp dword [ebp - 0x14], 8
mov dword [edi + 4], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push str.month
push ebx
call esi
cmp dword [ebp - 0x14], 8
mov dword [edi + 8], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0x512550
push ebx
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
mov dword [edi + 0xc], eax
call fcn.00402a40
call fcn.004bcf7e
ret
Function at 0x42fd49
Capabilities:
Check os version
Create process on windows

Disassembly:
push 0x93c
mov eax, 0x4f0db0
call fcn.004bcfcf
mov esi, edx
mov edi, ecx
xor eax, eax
xor ebx, ebx
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push ebx
push eax
call fcn.004bf240
push 0x118
lea eax, [ebp - 0x944]
mov dword [ebp - 0x948], 0x11c
push ebx
push eax
call fcn.004bf240
add esp, 0x18
lea eax, [ebp - 0x948]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x511078
lea ecx, [ebp - 0x828]
call fcn.00406c40
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x944], 6
jb 0x42fdd1
push 0x50fbbc
lea ecx, [ebp - 0x828]
call fcn.00406d50
cmp dword [esi + 0x14], 8
jb 0x42fdd9
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x810]
push str._patchurl__s
push eax
call fcn.0042ccb1
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x42fdf6
mov edi, dword [edi]
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x810]
push 5
push ebx
push ecx
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push edi
push eax
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x828]
call fcn.00402a40
call fcn.004bcf7e
ret
Function at 0x430e50
Capabilities:
Create thread
Terminate thread

Disassembly:
push 0x82c
mov eax, 0x4f115f
call fcn.004bcfcf
mov esi, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.004317cc
lea eax, [edi + 4]
cmp dword [eax + 0x14], 8
jb 0x430e75
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x834]
call fcn.00425b88
and dword [ebp - 4], 0
push 0x5c
push dword [ebp - 0x834]
call fcn.004c07d5
pop ecx
pop ecx
test eax, eax
je 0x430edd
sub eax, dword [ebp - 0x834]
sar eax, 1
cmp eax, 0xffffffff
je 0x430edd
inc eax
lea ecx, [ebp - 0x834]
push eax
lea eax, [ebp - 0x838]
push eax
call fcn.0043195b
push eax
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 1
call fcn.00425c4a
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x838]
lea ecx, [ecx - 0x10]
call fcn.004206ab
jmp 0x430ee8
lea ecx, [ebp - 0x834]
call fcn.00423c59
push dword [ebp - 0x834]
lea ebx, [edi + 0x1c]
mov ecx, ebx
call fcn.00406d50
xor eax, eax
push 0x81e
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call fcn.004bf240
lea ecx, [esi + 0x1e0]
add esp, 0xc
cmp dword [ecx + 0x14], 8
jb 0x430f24
mov ecx, dword [ecx]
lea eax, [edi + 0x34]
cmp dword [eax + 0x14], 8
jb 0x430f2f
mov eax, dword [eax]
cmp dword [ebx + 0x14], 8
jb 0x430f37
mov ebx, dword [ebx]
push ecx
push eax
push ebx
lea eax, [ebp - 0x830]
push str.http:__function.liebao.cn_crash__actioninterfaceacgettdll_sver_sbrowser_version_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x830]
lea ecx, [esi + 0x1a8]
push eax
call fcn.00406d50
xor eax, eax
push eax
push eax
push esi
push 0x430ff3
push eax
push eax
call fcn.004bf54c
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0x18
mov dword [esi + 0xc4], eax
push 0xbb8
push eax
call ebx
test eax, eax
je 0x430faf
mov ecx, esi
call fcn.0043129c
push 0xbb8
push dword [esi + 0xc4]
call ebx
push 0
push dword [esi + 0xc4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
call fcn.0043129c
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x430fce
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0xc4], 0
push edi
mov ecx, esi
call fcn.004312ea
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x834]
add ecx, 0xfffffff0
call fcn.004206ab
xor eax, eax
inc eax
call fcn.004bcf7e
ret 8
Function at 0x431638
Capabilities:
Get common file path
Get startup folder
Read .ini file

Disassembly:
push 0x340
mov eax, 0x4f126d
call fcn.004bcfcf
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x34c]
push 7
xor eax, eax
pop esi
mov dword [ebp - 0x338], eax
push eax
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x338], esi
call fcn.00403c20
xor ecx, ecx
lea eax, [ebp - 0x31c]
push ecx
push 0x1c
push eax
push ecx
mov dword [ebp - 4], ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x34c]
call fcn.00406d50
push str.liebaoUser_Datacrashcount.ini
lea ecx, [ebp - 0x34c]
call fcn.00407250
xor eax, eax
lea ecx, [ebp - 0x334]
mov dword [ebp - 0x320], eax
push eax
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x320], esi
call fcn.00403c20
lea eax, [ebx + 0x1c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x334]
cmp ecx, eax
je 0x4316e0
push 0xffffffffffffffff
push 0
push eax
call fcn.004072a0
push 0x512a38
lea ecx, [ebp - 0x334]
call fcn.00407250
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x34]
push eax
lea ecx, [ebp - 0x334]
call fcn.00407180
cmp dword [ebp - 0x338], 8
lea ecx, [ebp - 0x34c]
lea eax, [ebp - 0x334]
cmovae ecx, dword [ebp - 0x34c]
cmp dword [ebp - 0x320], 8
push ecx
cmovae eax, dword [ebp - 0x334]
push 0
push str.crashcount
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0xfe
lea edi, [eax + 1]
xor eax, eax
push eax
mov word [ebp - 0x114], ax
lea eax, [ebp - 0x112]
push eax
call fcn.004bf240
add esp, 0xc
lea eax, [ebp - 0x34c]
cmp dword [ebp - 0x338], 8
lea esi, [ebp - 0x334]
cmovae eax, dword [ebp - 0x34c]
cmp dword [ebp - 0x320], 8
push eax
cmovae esi, dword [ebp - 0x334]
lea eax, [ebp - 0x114]
push 0xa
push eax
push edi
call fcn.004c5b04
add esp, 0xc
push eax
push str.crashcount
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebx + 0x4c], edi
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 0
call fcn.00402a40
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34c]
call fcn.00402a40
call fcn.004bcf7e
ret 4
Function at 0x431884
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor esi, esi
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov dword [eax], esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x43190d
push edi
push ebx
call fcn.004bae68
pop ecx
mov edi, eax
push edi
push ebx
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x431901
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push 0x50f8e4
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x431901
cmp dword [ebp - 8], esi
je 0x431901
mov ecx, dword [ebp - 0xc]
inc esi
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
test edi, edi
je 0x43190c
push edi
call fcn.004bbca6
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x432207
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x432219
push 0xd
pop eax
jmp 0x43224b
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x432222
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x433425
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x433445
mov eax, dword [esi]
jmp 0x433447
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43345a
xor eax, eax
jmp 0x4334e2
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004bf240
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x433480
mov esi, dword [esi]
push edi
push esi
lea eax, [ebp - 0x20c]
push 0x512af8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
and dword [ebp - 0x22c], 0
lea edi, [ebp - 0x228]
add esp, 0xc
xor eax, eax
push 6
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x224], eax
mov eax, 0x414
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x22c]
push eax
mov dword [ebp - 0x228], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
pop edi
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret
Function at 0x4334f1
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, edx
cmp dword [esi + 0x14], 8
jb 0x433514
mov eax, dword [esi]
jmp 0x433516
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x433529
xor eax, eax
jmp 0x4335f2
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004bf240
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x43354f
mov esi, dword [esi]
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x20c]
push 0x512af8
push eax
call esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.004bf240
add esp, 0x18
cmp dword [edi + 0x14], 8
jb 0x43358a
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x414]
push 0x512af8
push eax
call esi
and dword [ebp - 0x434], 0
lea edi, [ebp - 0x430]
add esp, 0xc
xor eax, eax
push 6
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x428], eax
mov eax, 0x414
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x434]
push eax
mov dword [ebp - 0x430], 1
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret
Function at 0x433c63
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0x13c
mov eax, 0x4f16a5
call fcn.004bcfcf
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x138]
mov edi, dword [ebp + 0xc]
call fcn.00495963
and dword [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.00495b08
mov ebx, 0x50f8e0
lea ecx, [ebp - 0x70]
push ebx
call fcn.00406c40
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00406c40
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00406c40
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 8
jb 0x433cc6
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x58]
call fcn.00406c40
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00434290
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00402a40
cmp dword [edi + 0x14], 8
jb 0x433cfe
mov eax, dword [edi]
jmp 0x433d00
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x5128a0
lea ecx, [ebp - 0x138]
call fcn.00495ef0
mov ebx, eax
mov dword [ebp - 0x144], ebx
test ebx, ebx
je 0x433eb3
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push 0x50
cmovae ecx, dword [ebp - 0x40]
push ecx
push ebx
lea ecx, [ebp - 0x138]
call fcn.00495a85
mov dword [ebp - 0x140], eax
test eax, eax
je 0x433eab
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
push ecx
push 0x512654
push eax
lea ecx, [ebp - 0x138]
call fcn.00495e04
mov esi, eax
test esi, esi
je 0x433e39
push 0
push 0
push esi
lea ecx, [ebp - 0x138]
call fcn.00495ff3
test eax, eax
je 0x433e39
push esi
lea ecx, [ebp - 0x138]
call fcn.00495ae9
test eax, eax
je 0x433e39
push 0x4000
call fcn.004bc2f0
and dword [ebp - 0x13c], 0
mov ebx, eax
pop ecx
jmp 0x433e0a
cmp dword [edi + 0x14], 8
jb 0x433dc4
mov eax, dword [edi]
jmp 0x433dc6
mov eax, edi
push 0x512c10
push eax
call fcn.004c2c07
mov dword [ebp - 0x148], eax
pop ecx
pop ecx
test eax, eax
je 0x433dfa
push eax
push 1
push dword [ebp - 0x13c]
push ebx
call fcn.004c2abe
push dword [ebp - 0x148]
call fcn.004c0d4e
add esp, 0x14
push 0x4000
push 0
push ebx
call fcn.004bf240
add esp, 0xc
lea eax, [ebp - 0x13c]
push eax
push 0x4000
push ebx
push esi
lea ecx, [ebp - 0x138]
call fcn.00495fd6
cmp dword [ebp - 0x13c], 0
jne 0x433dba
push ebx
call fcn.004bbc6e
mov ebx, dword [ebp - 0x144]
pop ecx
mov edi, dword [ebp - 0x140]
push ebx
lea ecx, [ebp - 0x138]
call fcn.00495a62
push edi
lea ecx, [ebp - 0x138]
call fcn.00495a62
push esi
lea ecx, [ebp - 0x138]
call fcn.00495a62
lea ecx, [ebp - 0x138]
call fcn.00496081
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00402a40
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00402a40
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0
call fcn.00402a40
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.004959fb
xor eax, eax
call fcn.004bcf7e
ret 8
mov esi, dword [ebp - 0x144]
jmp 0x433e39
mov edi, dword [ebp - 0x144]
mov esi, dword [ebp - 0x144]
jmp 0x433e3f
Function at 0x43413d
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x2a0
mov eax, 0x4f1761
call fcn.004bcfcf
mov dword [ebp - 0x2ac], ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
cmp dword [esi + 0x10], eax
je 0x434288
push 0x24c
push eax
mov dword [ebp - 0x2a8], eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.004bf240
add esp, 0xc
lea eax, [ebp - 0x40]
push str..
push esi
push eax
call fcn.00424515
add esp, 0xc
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push esi
call fcn.00406c10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a8]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp word [ebp - 0x27c], 0x2e
je 0x434250
test byte [ebp - 0x2a8], 0x10
je 0x434205
push 0x50f8e4
lea ecx, [ebp - 0x28]
call fcn.00406da0
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406da0
mov ecx, dword [ebp - 0x2ac]
lea eax, [ebp - 0x28]
push ebx
push edi
push eax
call fcn.0043413d
jmp 0x434250
cmp word [ebp - 0x27c], 0
je 0x434250
test edi, edi
je 0x434250
push 0x50f8e4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00424515
add esp, 0xc
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x58]
call fcn.00406da0
lea eax, [ebp - 0x58]
push ebx
push eax
call edi
pop ecx
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00402a40
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4341bf
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00402a40
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00402a40
xor eax, eax
inc eax
call fcn.004bcf7e
ret 0xc
Function at 0x43437d
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0x450
mov eax, 0x4f17cc
call fcn.004bcfcf
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x458], eax
cmp dword [eax + 0x10], ebx
jne 0x4343a3
xor eax, eax
jmp 0x4344fe
push eax
lea ecx, [ebp - 0x43c]
call fcn.00406c10
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x45c]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x45c], 0x2e
call fcn.004073c0
mov ecx, dword [ebp - 0x42c]
dec ecx
push ecx
push eax
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x43c]
call fcn.004095a0
push eax
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 1
call fcn.00406d10
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], bl
call fcn.00402a40
push str..ocx
lea ecx, [ebp - 0x43c]
call fcn.004095d0
test eax, eax
je 0x434437
push str..dll
lea ecx, [ebp - 0x43c]
call fcn.004095d0
test eax, eax
jne 0x4344ed
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.004bf240
add esp, 0xc
lea eax, [ebp - 0x21c]
push 1
push 0x25
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x21c]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x434470
push 5
pop ecx
xor eax, eax
mov esi, str._regsvr32
push 0x206
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push ebx
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004bf240
mov eax, dword [ebp - 0x458]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4344b2
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x424]
push str._s___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x424]
push 5
push ebx
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x511078
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x4344ed
xor ebx, ebx
inc ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.00402a40
mov eax, ebx
call fcn.004bcf7e
ret 4