joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429e20
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
push ebx
push esi
push edi
push str.:RepeatDEL___s_if_exist___s__goto_RepeatDEL___s_
lea ecx, [ebp - 0x14]
call fcn.004070c2
push str._selfdestruct.bat
push 0x4ca400
lea ecx, [ebp - 8]
call fcn.004017bc
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00401a95
lea ecx, [ebp - 8]
call fcn.00401802
mov edx, dword [0x4a16f0]
mov esi, 0x81
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x428]
mov dword [ebp - 0x42c], edx
rep stosd dword es:[edi], eax
mov ecx, esi
lea edi, [ebp - 0x220]
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x634], edx
rep stosd dword es:[edi], eax
mov ecx, esi
lea edi, [ebp - 0x630]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x224]
mov esi, 0x104
push eax
push esi
call edi
lea eax, [ebp - 0x634]
push eax
push esi
call edi
push dword [ebp - 0x10]
lea eax, [ebp - 0x224]
push eax
call fcn.004430e9
pop ecx
lea eax, [ebp - 0x42c]
pop ecx
xor ebx, ebx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ecx
lea eax, [ebp - 0x42c]
mov ecx, esp
push eax
call fcn.004070c2
lea eax, [ebp - 0xc]
push eax
call fcn.00413215
pop ecx
lea eax, [ebp - 0x224]
pop ecx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x429fcb
push dword [ebp - 0x10]
mov eax, dword [0x4581d0]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push eax
call fcn.00408f2b
add esp, 0x14
lea ecx, [ebp - 4]
push 0x459918
push 0x459910
call fcn.00401c3b
mov eax, dword [ebp - 4]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x429f5d
xor esi, esi
jmp 0x429f8c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.00442720
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x18]
mov byte [esi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1c]
push ebx
push ecx
push dword [eax - 8]
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x634]
push ebx
push eax
lea eax, [ebp - 0x224]
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.00401802
lea ecx, [ebp - 0xc]
call fcn.00401802
lea ecx, [ebp - 0x10]
call fcn.00401802
lea ecx, [ebp - 0x14]
call fcn.00401802
lea esp, [ebp - 0x640]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42a417
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
push esi
push esi
push 0xf0
push 0x3f9
push dword [0x4cae3c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp + 0xc], esi
mov edi, reloc.OLEAUT32.dll_SysReAllocString
jne 0x42a44b
dec edi
push 0x4ca400
lea eax, [ebp + 0xc]
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push eax
mov dword [ebp - 8], esi
call fcn.00408ead
mov eax, dword [eax]
push 0x20019
push eax
push edi
lea ecx, [ebp - 8]
call fcn.004175bc
lea ecx, [ebp + 0xc]
call fcn.00401802
mov ecx, dword [0x4581d0]
mov eax, 0x400
mov dword [ebp - 4], ecx
push eax
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
call fcn.00401b75
lea ecx, [ebp - 0xc]
mov dword [ebp + 0xc], esi
push ecx
push eax
lea eax, [ebp + 0xc]
push eax
push esi
push str.UninstallString
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00401bdd
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.004017bc
lea ecx, [ebp - 4]
call fcn.00401802
cmp dword [ebp - 8], esi
pop edi
pop esi
je 0x42a4dd
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
leave
ret
Function at 0x42d2a2
Capabilities:
Enumerate gui resources
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, 0x104
push edi
xor ebx, ebx
push esi
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push str._move
lea ecx, [ebp - 0xc]
call fcn.0040182e
mov eax, dword [eax]
push ebx
push eax
mov ecx, 0x4a16f8
call fcn.00408ef9
test eax, eax
lea ecx, [ebp - 0xc]
setg byte [ebp - 1]
call fcn.00401802
cmp byte [ebp - 1], bl
push edi
je 0x42d322
push str.move_job_folder:
lea ecx, [ebp - 0x10]
call fcn.0040182e
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00401a95
push 1
push dword [eax]
call fcn.0042d441
pop ecx
pop ecx
lea ecx, [ebp - 0xc]
call fcn.00401802
lea ecx, [ebp - 0x10]
jmp 0x42d34f
push str.copy_job_folder:
lea ecx, [ebp - 0xc]
call fcn.0040182e
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00401a95
push 1
push dword [eax]
call fcn.0042d441
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00401802
lea ecx, [ebp - 0xc]
call fcn.00401802
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push 0x42d25f
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 8], ebx
je 0x42d376
push 0xaffe
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, 0x4ce138
neg eax
sbb eax, eax
and eax, 0x4ce13c
cmp dword [eax], ebx
jne 0x42d394
push ebx
push ebx
mov ecx, 0x4ce138
call fcn.0042e032
mov ecx, 0x4ce158
call fcn.00436ea1
push ebx
push ebx
push dword [0x4ce1c4]
push dword [0x4ce13c]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42d3bc
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
test byte [0x4ce12c], 1
jne 0x42d3dc
or byte [0x4ce12c], 1
push str.Shell_IDList_Array
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [0x4ce128], eax
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42d43e
push esi
push dword [0x4ce128]
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x42d433
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
call esi
push edi
push 0x2002
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [esp + 0x10]
push eax
mov dword [ecx], eax
call esi
push edi
push ebx
push eax
call fcn.00441de0
add esp, 0xc
pop edi
pop ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
push 1
pop eax
pop esi
ret
xor eax, eax
ret
Function at 0x42d441
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
push ebx
push ebp
xor ebx, ebx
push esi
test byte [0x4ce124], 1
push edi
jne 0x42d467
or byte [0x4ce124], 1
push str.Shell_IDList_Array
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [0x4ce120], eax
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x42d4ba
push dword [0x4ce120]
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebp, eax
cmp ebp, ebx
je 0x42d4b4
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push ebp
mov edi, eax
call esi
push edi
push 0x2002
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call esi
push edi
push ebp
push eax
call fcn.00441de0
add esp, 0xc
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42d531
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ebp, dword [sym.imp.USER32.dll_SetClipboardData]
test ebx, ebx
je 0x42d4e6
push ebx
push dword [0x4ce120]
call ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 6]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x42d520
push edi
call esi
push dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call ebp
call dword [sym.imp.USER32.dll_CloseClipboard]
test edi, edi
je 0x42d531
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x42d536
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push edi
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42d581
push esi
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
cmp esi, edi
je 0x42d57a
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x42d57a
push eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x10]
push eax
call fcn.004018f3
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 1
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov eax, edi
pop edi
ret 4

Function at 0x42d86d
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
mov esi, ecx
push dword [esp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42d8ca
test byte [0x4cef2c], 1
jne 0x42d89e
or byte [0x4cef2c], 1
push str.Shell_IDList_Array
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [0x4cef30], eax
push dword [0x4cef30]
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
mov dword [esi + 0xc], eax
je 0x42d8c4
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov dword [esi + 0x10], eax
je 0x42d8c4
push 1
pop eax
jmp 0x42d8cc
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
pop esi
ret 4
Function at 0x42d928
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], ecx
push ebx
mov ecx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ecx]
mov esi, dword [eax - 8]
lea eax, [esi + 2]
push eax
call fcn.00401b75
xor ecx, ecx
mov ebx, eax
cmp esi, ecx
jle 0x42d95d
mov edx, esi
cmp word [eax], 0xa
jne 0x42d958
mov word [eax], cx
inc eax
inc eax
dec edx
jne 0x42d94f
mov word [ebx + esi*2], cx
mov word [ebx + esi*2 + 2], cx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
mov esi, dword [eax - 8]
lea eax, [esi + 2]
push eax
call fcn.00401b75
mov edi, eax
xor eax, eax
push 0x1e
push eax
mov word [edi + esi*2], ax
mov word [edi + esi*2 + 2], ax
lea eax, [ebp - 0x24]
push eax
call fcn.00442580
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edi
mov eax, dword [eax + 4]
mov word [ebp - 0x14], 0x40
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
lea ecx, [ebp + 0xc]
mov esi, eax
call fcn.00401802
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x42dfc3
Capabilities:
Create thread

Disassembly:
lea eax, [ecx + 0x48]
xor edx, edx
cmp dword [eax], edx
jne 0x42dfdc
push eax
push edx
push ecx
push 0x42dfdd
push edx
push edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x42f0cb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x42f0de
xor eax, eax
jmp 0x42f181
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
jmp 0x42f11d
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x18]
jae 0x42f17f
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0042f07b
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x42f17d
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
jmp 0x42f114
xor eax, eax

Function at 0x42f33b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 8], 0x4a17b4
add byte [edx], ch
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx]
cmp ecx, eax
je 0x42f3dc
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 1]
cmp ecx, eax
invalid
je 0x42f3dc
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x42f347
Capabilities:
Terminate process

Disassembly:
add byte [edx], ch
call fcn.0042f29b
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x38]
push ecx
call fcn.0042f29b
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x2c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x18], eax
push 0x104
mov ecx, dword [ebp - 0x18]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
invalid
Function at 0x42f3d1
Capabilities:
Terminate process

Disassembly:
enter 0x874, 0x6a
add bh, bh
adc eax, sym.imp.KERNEL32.dll_ExitProcess
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0042f1eb
add esp, 4
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x14]
add edx, 4
mov dword [ebp - 0x14], edx
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
cmp eax, dword [edx + ecx]
je 0x42f422
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
cmp eax, dword [edx + ecx]
je 0x42f422
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x2c]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0xc], 0
jmp 0x42f480
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x30]
add edx, dword [ebp - 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
cmp dword [ebp - 0xc], ecx
jae 0x42f4a4
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + ecx]
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0xc]
mov dword [eax], edx
jmp 0x42f474
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.0042f0cb
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x42f4c7
jmp 0x42f583
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [ebp - 0x20]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0xc], 8
jmp 0x42f513
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x30]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
cmp dword [ebp - 0xc], eax
jae 0x42f533
mov ecx, dword [ebp - 0x1c]
invalid
Function at 0x4304ce
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, ecx
push 0x20
lea eax, [ebx + 0xc]
pop ecx
mov edx, dword [0x4581d0]
mov dword [eax], edx
and dword [eax + 4], 0
add eax, 0x20
dec ecx
jne 0x4304d7
mov dword [ebx], 0x453e64
cmp dword [0x4ce1ec], 0
jne 0x43056a
push esi
push edi
push str.powrprof.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.EnumPwrSchemes
push edi
call esi
push str.PowerEnumerate
push edi
mov dword [0x4ce1ec], eax
call esi
push str.PowerReadFriendlyName
push edi
mov dword [0x4ce1f0], eax
call esi
push str.PowerGetActiveScheme
push edi
mov dword [0x4ce1f4], eax
call esi
push str.GetActivePwrScheme
push edi
mov dword [0x4ce1f8], eax
call esi
push str.SetActivePwrScheme
push edi
mov dword [0x4ce1fc], eax
call esi
push str.PowerSetActiveScheme
push edi
mov dword [0x4ce200], eax
call esi
pop edi
mov dword [0x4ce204], eax
pop esi
mov ecx, ebx
call fcn.00430575
mov eax, ebx
pop ebx
ret

Function at 0x430ef2
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
push esi
push edi
call fcn.00430ded
push 0x44
mov dword [ebp - 0xc], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x120]
mov dword [ebp - 0x124], 0x114
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x120], 6
mov dword [ebp - 8], 0x7051
jb 0x430f41
mov dword [ebp - 8], 0x7071
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
call fcn.00430ab1
pop ecx
pop ecx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp dword [ebp - 4], ebx
je 0x430f9a
cmp dword [ebp - 0xc], 1
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, 0x111
jne 0x430f86
cmp dword [ebp + 8], ebx
je 0x430f9a
push ebx
push dword [ebp - 8]
push edi
push dword [ebp - 4]
call esi
cmp dword [ebp - 0xc], ebx
jne 0x430f9a
cmp dword [ebp + 8], ebx
jne 0x430f9a
push ebx
push dword [ebp - 8]
push edi
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x431f94
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x4581d0]
and dword [ebp - 0x2b8], 0
push edi
mov dword [ebp - 4], eax
mov ecx, 0xac
xor eax, eax
lea edi, [ebp - 0x2b4]
push 0x208
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2b8]
push 0x2b4
push eax
push 0
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
pop edi
je 0x432004
lea eax, [ebp - 0x2ac]
test eax, eax
je 0x431ff4
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x2ac]
push ecx
push eax
lea ecx, [ebp - 4]
call fcn.004018f3
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.004017bc
lea ecx, [ebp - 4]
call fcn.00401802
mov eax, dword [ebp + 8]
leave
ret
Function at 0x433a3b
Capabilities:
Enumerate gui resources

Disassembly:
and dword [ecx + 0xc], 0
and dword [ecx + 4], 0
push esi
lea esi, [ecx + 4]
push 0x4a15c4
add ecx, 0x1148
call fcn.004019af
push esi
push 0x4338a6
call dword [sym.imp.USER32.dll_EnumWindows]
pop esi
ret

Function at 0x433a65
Capabilities:
Get graphical window text
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 4], 0
je 0x433bdf
lea ecx, [edi + 0x1148]
push 0x4a15c4
mov dword [edi + 0xc], 1
mov dword [ebp - 0xc], ecx
call fcn.004019af
mov eax, dword [edi + 4]
dec eax
js 0x433bd4
mov ecx, eax
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
imul ecx, ecx, 0x2c
lea esi, [edi + eax*4 + 0x114c]
inc eax
lea edi, [ecx + edi + 0x30]
mov dword [ebp - 0x14], eax
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x433bc5
mov eax, dword [0x4581d0]
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
mov eax, 0x100
push eax
push eax
call fcn.00401b75
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00401bdd
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
push eax
push dword [eax - 8]
call fcn.00401ae1
push 0x45a394
lea ecx, [ebp - 0x10]
call fcn.0040182e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
push eax
push dword [eax - 8]
call fcn.00401ae1
lea ecx, [ebp - 0x10]
call fcn.00401802
lea eax, [ebp - 0x2c]
push edi
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push str._restore_
push eax
call fcn.00408ead
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x18]
call fcn.00401802
mov eax, dword [edi - 0x14]
mov ecx, dword [0x4581d0]
mov dword [ebp - 0x1c], eax
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], ecx
sub eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 8]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push str.rc:_d__d___d__d__sw:_d_n
push eax
call fcn.00408f2b
add esp, 0x1c
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [edi - 0x14]
sub esp, 0x10
mov ecx, esp
push edi
call fcn.00433c70
push dword [esi]
call fcn.00433be4
add esp, 0x18
push 6
push dword [esi]
call ebx
push dword [ebp - 0x1c]
push dword [esi]
call ebx
lea ecx, [ebp - 8]
call fcn.00401802
lea ecx, [ebp - 4]
call fcn.00401802
sub esi, 4
sub edi, 0x2c
dec dword [ebp - 0x14]
jne 0x433ab8
push str._restore2__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop esi
pop ebx
leave
ret