joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44bab0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6211f2
mov eax, dword fs:[0]
push eax
mov eax, 0x1220
call fcn.0061eab0
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x1228], 0
push eax
mov dword [ebp - 0x122c], esi
mov dword [ebp - 0x1224], 0
call fcn.005fd040
push str.ZDataRecovery_PC
lea eax, [ebp - 0x218]
push str.Software_s
push eax
call fcn.0044e1c0
add esp, 0x18
lea eax, [ebp - 0x1224]
push eax
lea eax, [ebp - 0x218]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x44bb68
xor eax, eax
mov dword [esi + 0x14], 7
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x6b363c
mov word [esi], ax
call fcn.00447840
jmp 0x44bbe5
push 0x1000
lea eax, [ebp - 0x1218]
push 0
push eax
call fcn.005fd040
add esp, 0xc
mov dword [ebp - 0x121c], 0x1000
lea eax, [ebp - 0x121c]
mov dword [ebp - 0x1220], 0
push eax
lea eax, [ebp - 0x1218]
push eax
lea eax, [ebp - 0x1220]
push eax
push 0
push str.InstPath
push dword [ebp - 0x1224]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x1224]
test eax, eax
je 0x44bbd1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x6b363c
jmp 0x44bbde
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x1218]
push eax
mov ecx, esi
call fcn.00447700
mov dword [ebp - 4], 0
mov dword [ebp - 0x1228], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045acaa
mov esp, ebp
pop ebp
ret 4
Function at 0x44c2d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x621378
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x18], 8
lea esi, [ecx + 4]
jb 0x44c306
mov ecx, dword [esi]
jmp 0x44c308
mov ecx, esi
mov eax, dword [esi + 0x10]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x44c321
push 1
push 0x6b3894
mov ecx, esi
call fcn.0044de00
push str.ZDataRecovery.exe
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0044e1e0
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 1
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x44c375
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00447940
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045acaa
mov esp, ebp
pop ebp
ret 4
Function at 0x44fc00
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
cmp eax, 0x58
jne 0x44fc4e
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x58
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045acaa
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x59
jne 0x44fcc8
push 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x44fdb9
push 0x59
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi + 4]
sub esp, 0x10
push 0x6b4284
push 0
push ecx
push 0x6b428c
lea ecx, [ebp - 0x20]
call fcn.00451db0
add esp, 0x20
lea ecx, [ebp - 0x20]
call fcn.00447680
mov ecx, dword [esi + 0x770]
push 2
mov eax, dword [ecx]
call dword [eax + 0x204]
push 1
push 0
push 0x10
mov ecx, esi
call fcn.0059ddc0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045acaa
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x5a
jne 0x44fd72
mov edx, dword [esi + 0x7a0]
test edx, edx
je 0x44fd02
mov eax, dword [esi + 0x850]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x844]
shl ecx, 4
add eax, 0x18
add eax, ecx
cmp dword [eax + 0x14], 8
jb 0x44fcfa
mov eax, dword [eax]
push eax
mov ecx, edx
call fcn.005a3f70
add dword [esi + 0x850], 1
jns 0x44fd2f
mov ecx, dword [esi + 0x848]
mov eax, 0x2aaaaaab
sub ecx, dword [esi + 0x844]
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
dec ecx
add ecx, edx
mov dword [esi + 0x850], ecx
mov ecx, dword [esi + 0x848]
mov eax, 0x2aaaaaab
sub ecx, dword [esi + 0x844]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
cmp dword [esi + 0x850], eax
jbe 0x44fdb9
mov dword [esi + 0x850], 0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045acaa
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x5b
jne 0x44fdb9
dec dword [esi + 0x860]
cmp dword [esi + 0x860], 0
jg 0x44fdb9
movsd xmm0, qword [esi + 0x858]
ucomisd xmm0, qword [0x6b4b10]
lahf
test ah, 0x44
jp 0x44fdb9
push 0x5b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0
push 0x403
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0045acaa
mov esp, ebp
pop ebp
ret 0x10
Function at 0x450a10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0x6b4448
push 0x82
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x450a43
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x450a4c
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x450a6b
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 8], eax
add eax, 2
push eax
mov dword [ebp - 4], eax
call fcn.0045b2cd
mov edi, eax
add esp, 4
test edi, edi
jne 0x450a9f
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 4]
push 0
push edi
call fcn.005fd040
push dword [ebp - 8]
push ebx
push edi
call fcn.005fcac0
mov ecx, edi
call fcn.0044eca0
push edi
mov esi, eax
call fcn.0045b2c8
add esp, 0x1c
mov eax, esi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4524f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x620eab
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x94]
push 0x84
push 0
push eax
call fcn.005fd040
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x94]
add esp, 0xc
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x94]
push str.okBtn
call fcn.0059e570
test al, al
je 0x45257f
push 1
push 0
push 0
push str.http:__wpa.qq.com_msgrd_v3uin916649871siteqqmenuyes
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x452593
push str.closebtn
lea ecx, [ebp - 0x94]
call fcn.0059e570
test al, al
je 0x45259c
push 1
mov ecx, edi
call fcn.0059da60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0059e480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045acaa
mov esp, ebp
pop ebp
ret 4

Function at 0x4532a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, edx
push esi
push edi
mov esi, ecx
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4532b0
sub eax, edi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
pop edi
sbb eax, eax
inc eax
pop esi
pop ebp
ret 8
Function at 0x4532e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x453308
mov eax, dword [esi]
jmp 0x45330a
mov eax, esi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0xc]
push eax
push ecx
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
push eax
push ecx
push str.CurrentVersion
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x453342
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045acaa
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xc]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
push edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045b2cd
mov ecx, dword [ebp - 0xc]
mov edi, eax
lea ecx, [ecx*2 + 2]
push ecx
push 0
push edi
call fcn.005fd040
add esp, 0x10
test edi, edi
je 0x4533c3
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
push str.CurrentVersion
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x4533a0
push edi
mov ecx, esi
call fcn.0044aa30
push edi
call fcn.0045b2c8
add esp, 4
xor eax, eax
test ebx, ebx
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045acaa
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045acaa
mov esp, ebp
pop ebp
ret 8
Function at 0x4536f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6225e2
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2bc], ebx
mov dword [ebp - 0x2ac], ebx
push 0x208
lea eax, [ebp - 0x2a8]
mov dword [ebp - 0x2c0], ebx
push 0
push eax
mov dword [ebp - 0x2b8], 0
call fcn.005fd040
add esp, 0xc
lea eax, [ebp - 0x2a8]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x2a8]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x45384c
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x45384c
push esi
push edi
push 0
lea eax, [ebp - 0x2a8]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x2b4]
push eax
push 0x6b3894
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x45384c
mov eax, dword [ebp - 0x2b4]
push 0x90
push 0
movzx ecx, word [eax + 0xa]
movzx ebx, word [eax + 8]
movzx edi, word [eax + 0xe]
movzx esi, word [eax + 0xc]
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0x2ac], ecx
call fcn.005fd040
movsx eax, si
push eax
movsx eax, di
push eax
movsx eax, bx
push eax
mov eax, dword [ebp - 0x2ac]
cwde
push eax
lea eax, [ebp - 0xa0]
push str._d._d._d._d
push eax
call fcn.00454630
mov ecx, dword [ebp - 0x2bc]
lea eax, [ebp - 0xa0]
add esp, 0x24
push eax
call fcn.00447700
mov dword [ebp - 4], 0
mov dword [ebp - 0x2b8], 1
mov eax, dword [ebp - 0x2bc]
jmp 0x45387f
xor eax, eax
mov dword [ebx + 0x14], 7
push eax
mov dword [ebx + 0x10], 0
mov ecx, ebx
push 0x6b363c
mov word [ebx], ax
call fcn.00447840
mov dword [ebp - 4], 0
mov dword [ebp - 0x2b8], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045acaa
mov esp, ebp
pop ebp
ret
Function at 0x453940
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x622632
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x224], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], 0
call fcn.005fd040
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x228], 1
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x453a3c
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x453a3c
push edi
push ebx
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
push str.VarFileInfoTranslation
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
push esi
push dword [ebp - 0x224]
mov ecx, edi
call fcn.004538a0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045acaa
mov esp, ebp
pop ebp
ret
Function at 0x4540d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
jne 0x454105
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045acaa
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
xor bl, bl
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x45415b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax + eax]
lea eax, [ebp - 0x20c]
push str.ZDataRecovery.exe
push eax
call fcn.005fffb2
add esp, 8
test eax, eax
je 0x454158
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
jne 0x454130
jmp 0x45415a
mov bl, 1
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
xor ecx, ebp
pop esi
call fcn.0045acaa
mov esp, ebp
pop ebp
ret
Function at 0x454180
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x622770
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test esi, esi
je 0x4542d9
test edi, edi
je 0x4542d9
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0x628910
push 1
push 0
push 0x628990
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4542d9
mov eax, dword [ebp - 0x2c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
test eax, eax
js 0x4542d9
mov eax, dword [ebp - 0x2c]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x4542d9
mov eax, dword [ebp - 0x2c]
push 0
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test eax, eax
js 0x4542d9
push esi
lea ecx, [ebp - 0x28]
call fcn.00447700
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 2
push 0xffffffffffffffff
push 0x6b4b04
call fcn.004545b0
cmp eax, 0xffffffff
je 0x454282
push eax
push 0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.0044db50
mov edx, eax
mov byte [ebp - 4], 1
cmp dword [edx + 0x14], 8
jb 0x454266
mov edx, dword [edx]
mov eax, dword [ebp - 0x2c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00447680
test esi, esi
js 0x4542c4
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x30], 0
push 0x628940
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
js 0x4542c4
mov eax, dword [ebp - 0x30]
push 0
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
js 0x4542c4
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov bl, 1
jmp 0x4542c6
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00447680
mov al, bl
jmp 0x4542db
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045acaa
mov esp, ebp
pop ebp
ret
Function at 0x454400
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
je 0x45450b
mov edx, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x454423
sub edx, ecx
sar edx, 1
je 0x45450b
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x454454
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045acaa
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45446a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x454443
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005fd040
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x20c]
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4544d6
test dx, dx
je 0x4544d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4544d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4544b0
xor eax, eax
jmp 0x4544db
sbb eax, eax
or eax, 1
test eax, eax
je 0x45450b
lea ecx, [ebp - 0x20c]
call fcn.00454400
test al, al
je 0x45450b
push esi
call fcn.00603c93
add esp, 4
neg eax
sbb eax, eax
inc eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045acaa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.0045acaa
mov esp, ebp
pop ebp
ret

Function at 0x454520
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
mov edi, eax
push esi
mov dword [ebp - 8], edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 1
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov dword [ebp - 4], eax
call edi
push 1
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
call esi
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push ebx
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push dword [ebp - 4]
test eax, eax
push dword [ebp - 8]
setne bl
call edi
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x457dc3
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x457dd1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
shr eax, 4
and eax, 1
pop ebp
ret
Function at 0x457e21
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x457e2f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
pop ebp
ret

Function at 0x4581b5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4581c9
xor eax, eax
pop ebp
ret
push edi
mov edi, dword [eax + 0x3c]
add edi, eax
cmp dword [edi], 0x4550
je 0x4581de
xor eax, eax
jmp 0x4582bb
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x2000
push dword [edi + 0x50]
push dword [edi + 0x34]
call esi
mov ebx, eax
test ebx, ebx
jne 0x458212
push 4
push 0x2000
push dword [edi + 0x50]
push eax
call esi
mov ebx, eax
test ebx, ebx
je 0x4582b7
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
xor eax, eax
push 4
push 0x1000
mov dword [esi + 4], ebx
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
push dword [edi + 0x50]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x54]
add eax, dword [ecx + 0x3c]
push eax
push ecx
push ebx
call fcn.005fcac0
mov ecx, dword [ebp + 8]
push esi
push edi
push ecx
mov eax, dword [ecx + 0x3c]
add eax, ebx
mov dword [esi], eax
mov dword [eax + 0x34], ebx
call fcn.00457f54
mov eax, ebx
add esp, 0x18
sub eax, dword [edi + 0x34]
je 0x45827d
push eax
push esi
call fcn.004582be
pop ecx
pop ecx
push esi
call fcn.00457e40
pop ecx
test eax, eax
je 0x4582b0
push esi
call fcn.00457ff6
mov eax, dword [esi]
pop ecx
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4582ac
add eax, ebx
je 0x4582b0
push 0
xor edi, edi
inc edi
push edi
push ebx
call eax
test eax, eax
je 0x4582b0
mov dword [esi + 0x10], edi
mov eax, esi
jmp 0x4582b9
push esi
call fcn.004580b3
pop ecx
xor eax, eax
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x458c13
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x458c39
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x458c39
xor al, al
jmp 0x458c4d
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x459ddc
Capabilities:
Create directory

Disassembly:
push 0x38
mov eax, 0x622e5c
call fcn.0045b551
xor ebx, ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x459dfc
mov al, 1
jmp 0x459e44
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x459e0d
xor al, al
jmp 0x459e44
lea ecx, [ebp - 0x44]
call fcn.00459f44
lea ecx, [ebp - 0x1c]
call fcn.0045948c
push ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.0045a04f
test al, al
je 0x459e39
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.0045b2c8
pop ecx
mov al, bl
call fcn.0045b51a
ret

Function at 0x459e9e
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop ebp
ret

Function at 0x45a5c0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, eax
mov eax, ecx
pop ebp
ret