joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4374b8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x4374d4
cmp dword [esi + 4], 0
je 0x437501
test byte [ebx + 0x55], 1
jne 0x4374f3
mov eax, ebx
call fcn.00436058
test eax, eax
jne 0x4374f3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x437611
mov edx, esi
mov eax, ebx
call fcn.00436fdc
jmp 0x437611
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43760a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00439328
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00433cf4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004374b8
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00439328
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437611
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43dce4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4639cc]
cmp byte [eax + 0xc], 0
je 0x43de51
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43de4a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x464b68], 0
jne 0x43dd38
push 0x43de58
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43de60
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b68], eax
cmp dword [0x462b9c], 0
jne 0x43de33
push 0x43de70
call sub.kernel32.dll_LoadLibraryA
mov dword [0x462b9c], eax
cmp dword [0x462b9c], 0
je 0x43de33
push 0x43de7c
mov eax, dword [0x462b9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b6c], eax
push 0x43de8c
mov eax, dword [0x462b9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b70], eax
push 0x43dea0
mov eax, dword [0x462b9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b74], eax
push 0x43deb8
mov eax, dword [0x462b9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b78], eax
push 0x43ded0
mov eax, dword [0x462b9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b7c], eax
push 0x43dee4
mov eax, dword [0x462b9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b80], eax
push 0x43defc
mov eax, dword [0x462b9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b84], eax
push 0x43df14
mov eax, dword [0x462b9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b88], eax
push 0x43df30
mov eax, dword [0x462b9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b8c], eax
push 0x43df3c
mov eax, dword [0x462b9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x464b90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43de51
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x441cdc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403ea4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x441d2b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404114
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x449468
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4494b8]
test si, 4
je 0x44947c
or bl, 1
test si, 8
je 0x449486
or bl, 4
test si, 1
je 0x449490
or bl, 8
test si, 2
je 0x44949a
or bl, 0x10
test si, 0x10
je 0x4494a4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4494b3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4494bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4494f4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4494d5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4494e4
or bl, 4
test esi, 0x20000000
je 0x4494ef
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44fb9c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44fbae
add esp, 0xfffffff0
call fcn.004033f4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a394
mov eax, dword [0x463528]
mov dword [eax + 4], ebx
mov dword [eax], 0x44ff40
mov eax, dword [0x463538]
mov dword [eax + 4], ebx
mov dword [eax], 0x44ff4c
mov eax, ebx
call fcn.0044ff58
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4115f8]
call fcn.004030b8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4115f8]
call fcn.004030b8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4115f8]
call fcn.004030b8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4115f8]
call fcn.004030b8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4115f8]
call fcn.004030b8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44c374
push eax
push 0
push 0
mov eax, dword [0x463718]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41bdc0]
call fcn.0041d204
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41bdc0]
call fcn.0041d204
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41bdc0]
call fcn.0041d204
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00450378
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450254
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450254
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450254
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44fceb
call fcn.0040344c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x450038
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4501e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4501c4
mov dl, 1
mov eax, dword [0x411c5c]
call fcn.004030b8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ea4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4501b3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043e044
test al, al
je 0x4501a6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4501f4
lea eax, [ebp - 0x254]
call fcn.00408a80
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4501a6
xor eax, eax
push ebp
push 0x45019f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45022c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x450188
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404114
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x450188
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404114
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4501a6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4500a9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415fcc
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4501ea
lea eax, [ebp - 0x260]
call fcn.00403ea4
ret

Function at 0x450b18
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x464bb4]
cmp byte [eax + 0xa5], 0
jne 0x450b89
cmp dword [0x464bcc], 0
jne 0x450b4a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x450ad4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x464bcc], eax
cmp dword [0x464bc8], 0
jne 0x450b65
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x464bc8], eax
cmp dword [0x464bd0], 0
jne 0x450b89
push esp
push 0
push 0
push 0x450a78
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x464bd0], eax
pop edx
ret
Function at 0x450c80
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x450c97
add esp, 0xfffffff0
call fcn.004033f4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a394
mov eax, dword [0x4636f8]
cmp word [eax + 2], 0
jne 0x450cbf
mov eax, dword [0x4636f8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00452358
mov eax, dword [0x463800]
cmp word [eax + 2], 0
jne 0x450cd9
mov eax, dword [0x463800]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00452550
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4115f8]
call fcn.004030b8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4115f8]
call fcn.004030b8
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41c570]
call fcn.004221f4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x450e60
mov eax, dword [0x4635bc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004225c4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x452af0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4635bc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c130
test eax, eax
je 0x450dce
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408474
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c158
test eax, eax
je 0x450de2
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404114
mov eax, dword [0x463418]
cmp byte [eax], 0
jne 0x450e16
mov eax, ebx
call fcn.00450f88
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00452ccc
mov eax, ebx
call fcn.00453690
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450e56
call fcn.0040344c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451208
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x464bb4]
cmp dword [eax + 0x30], 0
je 0x4512b2
cmp dword [ebx + 0x94], 0
jne 0x4512ac
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451198
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4512ac
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x451272
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4512ac
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413c4c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x451281
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x451e14
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x451e49
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f94
jmp 0x451e56
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ef8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x452ea8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x452ee9
mov eax, esi
call fcn.0043962c
test al, al
je 0x452ee9
mov eax, dword [ebx + 0x84]
call fcn.00439328
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x452ee9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00439328
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4032be
Capabilities:
Create process on windows

Disassembly:
push ebp
push ebx
mov edx, 0x14
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4032c5
mov edx, dword [esp + 0x5c]
lea ecx, [esp]
call fcn.00405060
mov edx, dword [esp + 0x60]
lea ecx, [esp + 4]
call fcn.00405060
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
call fcn.00405060
lea eax, [esp + 0xc]
lea ebp, [esp + 0xc]
mov dword [ebp], 0x3c
mov dword [ebp + 4], 0x140
mov dword [ebp + 0x1c], 0
mov eax, 0x41008f
push eax
pop eax
mov dword [ebp + 0xc], eax
mov eax, dword [esp]
push eax
pop eax
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 8]
push eax
pop eax
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 4]
push eax
pop eax
mov dword [ebp + 0x18], eax
lea eax, [esp + 0xc]
push eax
call sub.SHELL32.DLL_ShellExecuteExA
mov dword [esp + 0x48], eax
push 0x19
call fcn.00409762
lea eax, [esp + 0x4c]
push eax
lea ebp, [esp + 0x10]
push dword [ebp + 0x38]
call sub.KERNEL32.dll_GetExitCodeProcess
and eax, eax
je 0x403374
mov ebx, dword [esp + 0x4c]
cmp ebx, 0x103
je 0x403374
jmp 0x403376
jmp 0x403347
mov eax, 1
jmp 0x40337f
push dword [esp]
call fcn.0040e0f0
push dword [esp + 4]
call fcn.0040e0f0
push dword [esp + 8]
call fcn.0040e0f0
add esp, 0x50
pop ebx
pop ebp
ret 0xc

Function at 0x4033a1
Capabilities:
Get common file path

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push 0x400
call fcn.0040b2e0
mov dword [esp], eax
push dword [0x4117b8]
push dword [0x4117b8]
call fcn.0040b48d
lea eax, [esp + 8]
push eax
call fcn.0040dfe0
push dword [esp]
push 0
push 0x41001e
push dword [esp + 0x10]
call sub.KERNEL32.dll_GetTempFileNameA
push dword [0x4117b8]
push dword [0x4117b8]
push dword [esp + 8]
call fcn.0040b1f0
lea eax, [0x4114b4]
push eax
call fcn.0040dfe0
push dword [esp]
call fcn.0040b300
push dword [0x4114b4]
call fcn.0040b51c
push dword [0x4114b4]
call fcn.0040b52a
push dword [0x4117b8]
push dword [0x4117b8]
call fcn.0040b3c5
lea eax, [0x411454]
push eax
call fcn.0040dfe0
push dword [esp + 0x14]
pop eax
call fcn.0040b350
push eax
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x40347a
mov edx, dword [0x4114b4]
push dword [0x4117b8]
call fcn.0040e090
lea eax, [0x411454]
push eax
call fcn.0040dfe0
mov dword [esp + 0xc], 2
jmp 0x40348c
mov ebx, 1
cmp ebx, dword [esp]
jne 0x40348c
mov dword [esp + 0xc], 1
pop eax
mov ebx, dword [esp + 0x14]
add ebx, dword [esp + 8]
push ebx
pop eax
call fcn.0040b350
mov dword [0x411480], eax
mov ebx, dword [esp + 0x14]
add ebx, dword [esp + 8]
inc ebx
push ebx
pop eax
call fcn.0040b350
mov dword [0x4113dc], eax
mov eax, 1
jmp 0x4034bf
push dword [esp + 4]
call fcn.0040e0f0
add esp, 0xc
pop ebx
ret 4
Function at 0x403beb
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov edx, 9
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x403bf1
lea eax, [esp]
push eax
call sub.KERNEL32.dll_GetNativeSystemInfo
lea ebp, [esp]
cmp word [ebp], 0
je 0x403c18
mov eax, 1
jmp 0x403c1a
xor eax, eax
add esp, 0x24
pop ebp
ret

Function at 0x403c1f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
mov edx, dword [esp + 0x24]
lea ecx, [esp]
call fcn.00405060
push 0xa
push dword [esp + 4]
push dword [esp + 0x28]
call sub.KERNEL32.dll_FindResourceA
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
je 0x403c75
push dword [esp + 4]
push dword [esp + 0x24]
call sub.KERNEL32.dll_LoadResource
mov dword [0x4113e0], eax
push dword [esp + 4]
push dword [esp + 0x24]
call sub.KERNEL32.dll_SizeofResource
mov dword [0x4113f4], eax
push dword [esp]
mov edx, 0x41006e
pop ecx
call fcn.0040e060
jne 0x403ca7
push dword [esp]
mov edx, 0x410074
pop ecx
call fcn.0040e060
jne 0x403ca7
push dword [esp]
mov edx, str.NOPSX
pop ecx
call fcn.0040e060
jne 0x403ca7
jmp 0x403cae
mov eax, 1
jmp 0x403cb0
xor eax, eax
and eax, eax
je 0x403d1b
push dword [0x4113f4]
call fcn.0040b2e0
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov ebx, dword [0x4113f4]
dec ebx
cmp ebx, dword [esp + 0xc]
jl 0x403d11
mov ebx, dword [0x4113e0]
add ebx, dword [esp + 0xc]
push ebx
pop eax
call fcn.0040b350
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
imul ebx, ebx, 0xffffffff
mov dword [esp + 0x14], ebx
push dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
add ebx, dword [esp + 0x10]
push ebx
pop eax
call fcn.0040b360
inc dword [esp + 0xc]
jno 0x403ccb
push dword [esp + 8]
pop eax
mov dword [0x4113e0], eax
mov eax, dword [esp + 4]
jmp 0x403d23
push dword [esp]
call fcn.0040e0f0
add esp, 0x18
pop ebx
ret 8
Function at 0x403fdf
Capabilities:
Delete directory

Disassembly:
push ebp
push ebx
xor eax, eax
push eax
mov ebx, dword [0x411480]
cmp ebx, 1
jne 0x40409c
push dword [0x4114d8]
call fcn.004088ab
mov ebx, eax
and ebx, ebx
jle 0x404043
push dword [0x4114d8]
call fcn.004088b5
push dword [0x4114d8]
call fcn.004088ca
or eax, eax
je 0x404043
mov ebp, dword [0x4114dc]
push dword [ebp + 8]
call fcn.0040cb50
mov ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x404041
mov ebp, dword [0x4114dc]
push dword [ebp + 8]
call fcn.0040b51c
jmp 0x40400f
push dword [0x4114e0]
call fcn.004088ab
mov dword [esp], eax
mov ebx, dword [esp]
and ebx, ebx
jle 0x40409c
push 5
push 0
push 1
push dword [0x4114e0]
call fcn.004078e0
push dword [0x4114e0]
call fcn.004088b5
push dword [0x4114e0]
call fcn.004088ca
or eax, eax
je 0x40409c
mov ebp, dword [0x4114e4]
push dword [ebp + 0xc]
call sub.KERNEL32.dll_RemoveDirectoryA
jmp 0x40407d
mov eax, 1
jmp 0x4040a5
add esp, 4
pop ebx
pop ebp
ret

Function at 0x4081fd
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [esp + 0x10], ebx
je 0x40824c
push dword [esp + 0x10]
push 0x40817b
call dword [sym.imp.USER32.DLL_EnumWindows]
mov esi, dword [0x4114f0]
cmp esi, ebx
je 0x4082a0
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x408244
cmp byte [esi + 0x10], bl
je 0x408244
push 3
push ebx
push ebx
push ebx
push ebx
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
mov esi, edi
cmp edi, ebx
jne 0x408221
jmp 0x4082a0
mov esi, dword [0x4114f0]
cmp esi, ebx
je 0x4082a0
push ebp
mov ebp, dword [esi]
lea edi, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi], eax
jne 0x408299
cmp byte [esi + 0x11], bl
je 0x408276
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_EnableWindow]
cmp byte [esi + 0x10], bl
je 0x40828c
push 3
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_SetWindowPos]
push edi
push 0x4114f0
call fcn.0040dc0d
pop ecx
pop ecx
mov esi, ebp
cmp ebp, ebx
jne 0x408257
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x4092e4
Capabilities:
Get graphical window text

Disassembly:
push edi
push dword [esp + 8]
push dword [0x41182c]
call fcn.0040d53a
mov edi, eax
test edi, edi
je 0x409346
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x40930d
push dword [esp + 0xc]
push edi
call eax
jmp 0x409346
push ebx
push esi
push dword [edi]
call dword [sym.imp.USER32.DLL_GetWindowTextLengthA]
push dword [esp + 0x14]
mov esi, eax
push esi
call fcn.0040e220
mov ebx, eax
lea eax, [esi + 1]
push eax
push ebx
mov byte [ebx], 0
push dword [edi]
call dword [sym.imp.USER32.DLL_GetWindowTextA]
push ebx
call sub.MSVCRT.dll_strlen
pop ecx
sub esi, eax
push esi
call fcn.0040e350
pop esi
pop ebx
pop edi
ret 8