joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428b70
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd260
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0x468ad0
call fcn.004dbbc8
add esp, 4
xor bl, bl
mov byte [ebp - 0x11], bl
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x428be6
cmp byte [ecx], bl
je 0x428be6
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x428be6
mov edx, dword [ebp + 0x10]
test edx, edx
jle 0x428be6
mov byte [eax], bl
push 0
push 0
push edx
push eax
push ecx
push 0
call sub.urlmon.dll_URLDownloadToCacheFileA
test eax, eax
js 0x428be6
mov bl, 1
mov byte [ebp - 0x11], bl
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42a950
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd6b0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x570024]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push 0x5c
push eax
call fcn.004dceed
add esp, 8
test eax, eax
je 0x42a9eb
sub eax, dword [edi]
cmp eax, 0xffffffff
je 0x42a9eb
push eax
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.0042a6e0
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x10]
call fcn.0041e3d0
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x570020]
je 0x42a9e8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42a9e8
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
push eax
call fcn.004db910
add esp, 4
mov esi, dword [ebp - 0x10]
cmp dword [esi - 8], 0
jne 0x42aa2f
mov dword [ebp - 4], 0xffffffff
lea edx, [esi - 0xc]
cmp edx, dword [0x570020]
je 0x42aa1a
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42aa1a
push esi
call fcn.004db910
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42aa44
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 4], 0xffffffff
lea eax, [esi - 0xc]
cmp eax, dword [0x570020]
je 0x42aa6d
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42aa6d
push esi
call fcn.004db910
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42e2c0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push esi
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x42e313
lea ecx, [ebp - 8]
push ecx
push 4
lea edx, [ebp - 4]
push edx
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x42e313
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
push 0x104
push eax
push ecx
push esi
call sub.PSAPI.DLL_GetModuleBaseNameA
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42e320
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ac
mov eax, dword [0x5732cc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x200
lea eax, [ebp - 0x204]
push eax
push esi
mov edi, 1
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp - 0x204]
push str.Mozilla_Firefox
push ecx
call fcn.004dc720
add esp, 8
test eax, eax
je 0x42e544
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42e544
push 4
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x42e544
push ebx
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push 0xa8
lea edx, [ebp - 0x2ac]
push 0
push edx
call fcn.004dba80
mov esi, dword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov eax, 0x12
add esp, 0xc
mov dword [ebp - 0x2ac], edi
mov word [ebp - 0x2a8], ax
mov dword [ebp - 0x2a0], 0
call esi
push 0x1c
lea ecx, [ebp - 0x2ac]
push ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendInput]
mov dword [ebp - 0x29c], eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x32
call ebx
mov dword [ebp - 0x290], 1
mov dword [ebp - 0x28c], 0x460000
mov dword [ebp - 0x288], 4
mov dword [ebp - 0x284], 0
call esi
push 0x1c
lea ecx, [ebp - 0x290]
push ecx
push 1
mov dword [ebp - 0x280], eax
call edi
push 0x32
call ebx
mov dword [ebp - 0x274], 1
mov dword [ebp - 0x270], 0x460000
mov dword [ebp - 0x26c], 6
mov dword [ebp - 0x268], 0
call esi
push 0x1c
lea ecx, [ebp - 0x274]
push ecx
push 1
mov dword [ebp - 0x264], eax
call edi
push 0x32
call ebx
mov dword [ebp - 0x258], 1
mov dword [ebp - 0x254], 0x780000
mov dword [ebp - 0x250], 4
mov dword [ebp - 0x24c], 0
call esi
push 0x1c
lea ecx, [ebp - 0x258]
push ecx
push 1
mov dword [ebp - 0x248], eax
call edi
push 0x32
call ebx
mov dword [ebp - 0x23c], 1
mov dword [ebp - 0x238], 0x780000
mov dword [ebp - 0x234], 6
mov dword [ebp - 0x230], 0
call esi
push 0x1c
lea ecx, [ebp - 0x23c]
push ecx
push 1
mov dword [ebp - 0x22c], eax
call edi
push 0x32
call ebx
mov dword [ebp - 0x220], 1
mov edx, 0x12
mov word [ebp - 0x21c], dx
mov dword [ebp - 0x218], 2
mov dword [ebp - 0x214], 0
call esi
mov dword [ebp - 0x210], eax
push 0x1c
lea eax, [ebp - 0x220]
push eax
push 1
call edi
xor edi, edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004db901
mov esp, ebp
pop ebp
ret
Function at 0x42e560
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x590
mov eax, dword [0x5732cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004dba80
push 0x200
lea ecx, [ebp - 0x410]
push 0
push ecx
call fcn.004dba80
push 1
lea edx, [ebp - 0x210]
push edx
push esi
call fcn.0042df30
mov esi, dword [ebp - 0x210]
add esp, 0x24
test esi, esi
je 0x42e5ff
lea edi, [ebp - 0x210]
lea ebx, [ebp - 0x410]
lea eax, [ebp - 0x538]
push eax
push esi
add edi, 4
call fcn.0042ddc0
test eax, eax
je 0x42e5f9
mov ecx, dword [ebp - 0x520]
xor eax, eax
cmp ecx, dword [ebp + eax*4 - 0x210]
je 0x42e5f9
inc eax
cmp eax, 0x80
jl 0x42e5e3
mov dword [ebx], esi
add ebx, 4
mov esi, dword [edi]
test esi, esi
jne 0x42e5c7
mov eax, dword [ebp - 0x410]
mov esi, eax
test eax, eax
je 0x42e78c
mov ebx, dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x53c], ecx
add dword [ebp - 0x53c], 4
push 0x104
lea edx, [ebp - 0x114]
push 0
push edx
call fcn.004dba80
lea eax, [ebp - 0x114]
add esp, 0xc
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x42e645
mov ecx, dword [str.taskkill.exe__f]
mov edx, dword [0x515fbc]
mov dword [eax], ecx
mov ecx, dword [0x515fc0]
mov dword [eax + 4], edx
mov edx, dword [0x515fc4]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x114]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x42e677
mov ecx, dword [str.__PID]
mov dx, word [0x515fb4]
lea edi, [ebp - 0x114]
mov dword [eax], ecx
mov word [eax + 4], dx
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42e6a0
mov ax, word [0x514c64]
push 0xa
lea ecx, [ebp - 0x10]
push ecx
push esi
mov word [edi], ax
call fcn.004de27d
lea eax, [ebp - 0x10]
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42e6c5
lea edi, [ebp - 0x114]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x42e6d7
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x44
mov ecx, eax
lea edx, [ebp - 0x590]
and ecx, 3
push 0
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.004dba80
add esp, 0xc
or dword [ebp - 0x564], 1
xor eax, eax
lea ecx, [ebp - 0x54c]
push ecx
lea edx, [ebp - 0x590]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x54c], eax
mov dword [ebp - 0x548], eax
mov dword [ebp - 0x544], eax
mov dword [ebp - 0x540], eax
mov word [ebp - 0x560], ax
lea eax, [ebp - 0x114]
push eax
push 0
mov dword [ebp - 0x590], 0x44
call ebx
test eax, eax
je 0x42e77c
mov ecx, dword [ebp - 0x54c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x548]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x54c]
push eax
call esi
mov ecx, dword [ebp - 0x53c]
mov esi, dword [ecx]
test esi, esi
jne 0x42e621
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004db901
mov esp, ebp
pop ebp
ret
Function at 0x42f080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push 0x100
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0x100
call fcn.004da8e1
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
push eax
push esi
lea ecx, [ebp - 4]
push ecx
push str.InstallLocation
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallMozilla_Firefox__1.5_
xor bl, bl
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esi], bl
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x42f0d1
cmp dword [ebp - 4], 1
jne 0x42f0d3
mov bl, 1
push esi
call fcn.004db910
add esp, 4
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42f0f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push 0x100
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0x100
call fcn.004da8e1
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
push eax
push esi
lea ecx, [ebp - 4]
push ecx
push str.InstallLocation
push 0x516108
xor bl, bl
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esi], bl
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x42f141
cmp dword [ebp - 4], 1
jne 0x42f143
mov bl, 1
push esi
call fcn.004db910
add esp, 4
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430490
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fdf30
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x5732cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x468ad0
call fcn.004dbbc8
add esp, 4
mov dword [ebp - 0x140], ebx
cmp edi, ebx
je 0x430574
cmp byte [edi], bl
je 0x430574
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x430555
mov dword [ebp - 0x13c], 0x128
lea eax, [ebp - 0x13c]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x43054a
push edi
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x43052f
inc ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x13c], 0x128
lea edx, [ebp - 0x13c]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x430516
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x430574
push 0
lea eax, [ebp - 0x148]
push eax
push edi
call fcn.0042ff20
add esp, 0xc
cmp eax, 1
jne 0x430574
mov ebx, eax
mov dword [ebp - 0x140], ebx
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 - 0x14]
xor ecx, ebp
call fcn.004db901
mov esp, ebp
pop ebp
ret

Function at 0x430650
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fdf68
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
push 0x468ad0
call fcn.004dbbc8
mov edi, 0x100
push edi
call fcn.004da8e1
add esp, 8
mov esi, eax
mov byte [esi], bl
mov ecx, dword [ebp + 8]
mov edx, esi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x4306a5
push edi
push esi
push 1
push 0x51506c
push str.SoftwareUSAirwaysToolbar
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
push esi
call fcn.004db910
add esp, 4
mov dword [ebp - 4], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x570020]
je 0x430706
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x430706
mov edx, dword [ebp + 8]
add edx, 0xfffffff4
push edx
call fcn.004db910
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430a70
Capabilities:
Check os version
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fdfc0
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x5732cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 4], edi
push 0x468ad0
call fcn.004dbbc8
mov ebx, 2
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], edi
mov byte [ebp - 0xa9], 0
mov dword [ebp - 0xa8], edi
push 0x90
push edi
lea eax, [ebp - 0xa4]
push eax
call fcn.004dba80
add esp, 0x10
mov dword [ebp - 0xa8], 0x94
lea ecx, [ebp - 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x430b3b
cmp dword [ebp - 0x98], ebx
jne 0x430b3b
mov byte [ebp - 0xa9], 1
mov eax, dword [ebp - 0xa4]
cmp eax, 5
jb 0x430b3b
mov ebx, 0x12
mov dword [ebp - 0xb4], ebx
ja 0x430b30
jne 0x430b3b
cmp dword [ebp - 0xa0], 1
jb 0x430b3b
mov edi, 0x80040002
mov dword [ebp - 0xb0], edi
push edi
push ebx
mov esi, dword [sym.imp.USER32.dll_ExitWindowsEx]
call esi
test eax, eax
je 0x430b67
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004db901
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0xa9], 0
je 0x430b96
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x522
jne 0x430b96
push str.SeShutdownPrivilege
call fcn.0042ece0
add esp, 4
test al, al
je 0x430b96
push edi
push ebx
call esi
test eax, eax
jne 0x430b49
xor al, al
jmp 0x430b4b

Function at 0x431490
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x4314d3
mov eax, dword [ebp + 8]
push 0
push 0
lea edx, [eax + 0x18]
push edx
lea edx, [eax + 0x14]
push edx
lea edx, [eax + 0x10]
push edx
lea edx, [eax + 0xc]
push edx
lea edx, [eax + 8]
push edx
add eax, 4
push eax
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x4314d3
mov eax, 1
pop ebp
ret 4
xor eax, eax
pop ebp
ret 4
Function at 0x431cb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe1c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ecx + 4]
push edi
mov dword [ebp - 0x14], vtable.RegistryKey_char_.0
call fcn.0042f530
add esp, 4
test al, al
je 0x431d09
test esi, esi
je 0x431d09
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], 0
mov esi, dword [ebp + 0xc]
push esi
call fcn.0042f530
add esp, 4
test al, al
je 0x431d59
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x431d59
mov eax, dword [ebp + 0x10]
lea edx, [eax + eax]
mov dword [ebp + 0xc], edx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x14]
mov edx, eax
neg edx
sbb edx, edx
lea edi, [ebp + 8]
and edx, edi
push edx
push eax
lea eax, [ebp + 0x10]
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x431d59
mov bl, 1
jmp 0x431d5b
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], vtable.RegistryKey_char_.0
test eax, eax
je 0x431d7e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x432470
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe2e1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 1
push 0x468ad0
call fcn.004dbbc8
add esp, 4
mov eax, dword [0x570024]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
mov ebx, dword [ebp + 0xc]
cmp ebx, edi
je 0x43255a
cmp byte [ebx], 0
je 0x43255a
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x1c]
push ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, edi
jbe 0x43255a
push esi
call fcn.004dbafa
add esp, 4
mov edi, eax
xor eax, eax
cmp edi, eax
je 0x43255a
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
push edi
push esi
mov edx, dword [ebp - 0x1c]
push edx
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x432551
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0x514670
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x432551
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x432551
movzx edx, word [eax + 0xc]
push edx
movzx ecx, word [eax + 0xe]
push ecx
movzx edx, word [eax + 8]
push edx
movzx eax, word [eax + 0xa]
push eax
push 0x51662c
lea ecx, [ebp - 0x18]
push ecx
call fcn.0042a780
add esp, 0x18
push edi
call fcn.004dbb8e
add esp, 4
lea edx, [ebp - 0x18]
push edx
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0041ea10
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00416630
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x432690
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe30b
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x5732cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
push 0x468ad0
call fcn.004dbbc8
add esp, 4
xor edi, edi
mov dword [ebp - 0x160], edi
push esi
lea ecx, [ebp - 0x158]
call fcn.0041ad50
mov byte [ebp - 4], 1
push 0x514bec
lea ecx, [ebp - 0x158]
call fcn.0041d470
lea eax, [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x432749
jmp 0x432720
test byte [ebp - 0x154], 0x10
jne 0x432730
inc edi
mov dword [ebp - 0x160], edi
lea edx, [ebp - 0x154]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x432720
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x158]
call fcn.00416630
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004db901
mov esp, ebp
pop ebp
ret
Function at 0x432840
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe356
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x5732cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
push 0x468ad0
call fcn.004dbbc8
add esp, 4
push esi
lea ecx, [ebp - 0x158]
call fcn.0041ad50
mov bl, 1
mov byte [ebp - 4], bl
push 0x514bec
lea ecx, [ebp - 0x158]
call fcn.0041d470
lea eax, [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x432923
test byte [ebp - 0x154], 0x10
jne 0x43290a
push esi
lea ecx, [ebp - 0x15c]
call fcn.0041ad50
mov byte [ebp - 4], 2
lea edx, [ebp - 0x128]
push edx
lea ecx, [ebp - 0x15c]
call fcn.0041d470
mov eax, dword [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x15c]
call fcn.00416630
lea ecx, [ebp - 0x154]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4328c4
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x158]
call fcn.00416630
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004db901
mov esp, ebp
pop ebp
ret

Function at 0x432a20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe3a1
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
mov ebx, 1
mov dword [ebp - 4], ebx
push 0x468ad0
call fcn.004dbbc8
add esp, 4
mov eax, dword [0x570024]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x432aa0
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00422370
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.004180d0
lea edx, [ebp - 0x18]
push edx
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0041ea10
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.00416630
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4330e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe4d9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0
mov ebx, 1
mov dword [ebp - 4], ebx
push 0x468ad0
call fcn.004dbbc8
mov eax, dword [0x570024]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
push 0
call fcn.0046a840
add esp, 8
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041ad50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
push ecx
push 0x514264
call fcn.00422290
test al, al
je 0x433181
push ebx
lea edx, [ebp - 0x20]
push edx
call fcn.0046e970
add esp, 8
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x14]
call fcn.0041e3d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00416630
jmp 0x4331b6
push 0
push ebx
lea eax, [ebp - 0x20]
push eax
call fcn.0046e4b0
add esp, 0xc
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x14]
call fcn.0041e3d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00416630
push 0x514670
lea ecx, [ebp - 0x14]
call fcn.0041d470
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00416630
push 0x5166a8
lea ecx, [ebp - 0x14]
call fcn.0041d470
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x14]
call fcn.0041d470
lea eax, [ebp - 0x14]
push eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0041ea10
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00416630
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret