joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a218
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 0x44a3c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44a3a4
mov dl, 1
mov eax, dword [0x411664]
call fcn.00403108
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e70
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44a393
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.0043824c
test al, al
je 0x44a386
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, 0x44a3d4
lea eax, [ebp - 0x254]
call fcn.004087fc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44a386
xor eax, eax
push ebp
push 0x44a37f
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 0x44a40c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44a368
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040e0
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 0x44a368
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a386
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44a289
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415140
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 0x44a3ca
lea eax, [ebp - 0x260]
call fcn.00403e70
ret

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

Disassembly:
push ecx
mov eax, dword [0x457bb0]
cmp byte [eax + 0xa5], 0
jne 0x44ad69
cmp dword [0x457bc8], 0
jne 0x44ad2a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44acb4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x457bc8], eax
cmp dword [0x457bc4], 0
jne 0x44ad45
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x457bc4], eax
cmp dword [0x457bcc], 0
jne 0x44ad69
push esp
push 0
push 0
push 0x44ac58
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x457bcc], eax
pop edx
ret
Function at 0x44ae60
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44ae77
add esp, 0xfffffff0
call fcn.00403444
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418f50
mov eax, dword [0x45648c]
cmp word [eax + 2], 0
jne 0x44ae9f
mov eax, dword [0x45648c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044c538
mov eax, dword [0x456534]
cmp word [eax + 2], 0
jne 0x44aeb9
mov eax, dword [0x456534]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044c730
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411248]
call fcn.00403108
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411248]
call fcn.00403108
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 [0x41b124]
call fcn.00420e6c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44b040
mov eax, dword [0x4563b4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042123c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44ccd0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4563b4]
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.0040be38
test eax, eax
je 0x44afae
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004081f0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040be60
test eax, eax
je 0x44afc2
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.004040e0
mov eax, dword [0x4562b4]
cmp byte [eax], 0
jne 0x44aff6
mov eax, ebx
call fcn.0044b168
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.0044ceac
mov eax, ebx
call fcn.0044d870
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44b036
call fcn.0040349c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b3e8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x457bb0]
cmp dword [eax + 0x30], 0
je 0x44b492
cmp dword [ebx + 0x94], 0
jne 0x44b48c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44b378
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44b48c
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 0x44b452
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44b48c
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.004135b0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44b461
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44bff4
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 0x44c029
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.00403f60
jmp 0x44c036
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ec4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44d088
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44d0c9
mov eax, esi
call fcn.00433a54
test al, al
je 0x44d0c9
mov eax, dword [ebx + 0x84]
call fcn.0043377c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44d0c9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043377c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x40915c
mov ecx, 0x657c40ed
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x63963ed9
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401100
Capabilities:
Check mutex on windows
Create directory
Create process on windows
Enumerate gui resources
Get common file path

Disassembly:
sub esp, 0x8dc
mov eax, dword [0x55dfe0]
xor eax, esp
mov dword [esp + 0x8d8], eax
call fcn.004022dd
lea eax, [esp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
movsx ecx, byte [esp]
push ecx
push section..text
call dword [sym.imp.USER32.dll_EnumWindows]
push str.Data_Security_USB_Disk_user_tool
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4012fa
push ebp
push esi
push edi
lea edx, [esp + 0x114]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
lea eax, [esp + 0x118]
push eax
call ebp
lea eax, [esp + 0x114]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401190
mov si, word [0x540768]
sub eax, edx
cmp byte [esp + eax + 0x113], 0x5c
je 0x4011bd
lea edi, [esp + 0x114]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4011b2
mov word [edi], si
lea eax, [esp + 0x114]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4011c5
mov ecx, dword [str.user_tool]
mov edx, dword [0x540770]
mov dword [eax], ecx
mov cx, word [0x540774]
mov dword [eax + 4], edx
mov word [eax + 8], cx
lea eax, [esp + 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4011f3
sub eax, edx
cmp byte [esp + eax + 0x113], 0x5c
je 0x40121b
lea edi, [esp + 0x114]
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401210
mov word [edi], si
push 0
lea edx, [esp + 0x118]
push edx
call ebp
push 0x540778
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x504]
push str._s_s
push ecx
call fcn.004f42f4
add esp, 0x10
lea edx, [esp + 0x4fc]
push edx
push 0x82
call fcn.00401410
push str.DEVICEIO.DLL
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x504]
push str._s_s
push ecx
call fcn.004f42f4
add esp, 0x10
lea edx, [esp + 0x4fc]
push edx
push 0x83
call fcn.00401410
push str.USERTOOL.EXE
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x504]
push str._s_s
push ecx
call fcn.004f42f4
add esp, 0x10
lea edx, [esp + 0x4fc]
push edx
push 0x84
call fcn.00401410
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 5
lea ecx, [esp + 0x118]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x508]
push eax
push 0x5407bc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x8d8]
xor ecx, esp
xor eax, eax
call fcn.004f411d
add esp, 0x8dc
ret

Function at 0x401350
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.00404976
Function at 0x401410
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
movzx eax, word [esp + 0x10]
push str.USER_FILE
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401451
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x401449
mov ecx, dword [esp + 0x14]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x401449
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 8]
push 0
lea edx, [esp + 0xc]
push edx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
pop ecx
ret 8

Function at 0x4014e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4014f9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401534
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401530
lea ebx, [ebx]
cmp esi, eax
jae 0x401534
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401520
cmp esi, eax
jb 0x40153a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4048df
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00406b31
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x404918
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00404530
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x40e32d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40e374
call fcn.00406b31
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40e374
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40e390
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040dea7
mov esi, eax
test edi, edi
je 0x40e38e
test ebx, ebx
je 0x40e38e
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40e780
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x518222
call fcn.004f4c19
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40e7a5
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40e7eb
lea ecx, [ebp - 0x10]
call fcn.00402869
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040e397
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401590
mov eax, esi
call fcn.004f4cf1
ret 8
Function at 0x414731
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x55dfe0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
mov ebx, 0x8000
cmp eax, 9
ja 0x41476a
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x414791
cmp dword [0x561790], 0
jne 0x414791
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x414784
push 0x12
call esi
test bx, ax
je 0x414788
mov eax, edi
jmp 0x4147fc
push edi
call fcn.004f85eb
pop ecx
jmp 0x4147fc
and dword [ebp - 0x10c], 0
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
call fcn.0040510b
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push edi
call dword [sym.imp.USER32.dll_ToAsciiEx]
mov al, byte [ebp - 0x10c]
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 0x107], 0
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f411d
leave
ret 4
Function at 0x4249da
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
movzx ebx, word [ebp + 8]
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x4249f4
call fcn.0040f1c0
call fcn.00406b31
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x424a14
xor eax, eax
jmp 0x424b2f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x424a0d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x424a0d
movzx eax, word [esi + 6]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00401b63
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x4249ef
cmp dword [ebp + 0x10], 0
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
push eax
lea ebx, [ecx + 6]
lea edx, [eax + 6]
push ebx
push edx
je 0x424a71
mov ecx, edi
call fcn.0041d3c3
jmp 0x424a76
call fcn.0041d2ad
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x424a88
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x424aa3
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x424b1b
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x424af2
lea eax, [esi + 8]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 8]
mov dword [ecx + ebx*4], eax
jne 0x424ae5
test eax, eax
jbe 0x424ae5
push eax
mov ecx, 0x55accc
call fcn.0047825d
mov ecx, dword [ebp + 0xc]
inc dword [ebp + 0xc]
mov dword [eax], ecx
movzx eax, word [esi + 6]
add dword [ebp - 4], 2
inc ebx
cmp ebx, eax
jl 0x424abc
mov eax, dword [ebp + 8]
mov dword [edi + 0xbe0], eax
movzx ecx, word [esi + 6]
mov eax, dword [edi]
push 1
push ecx
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 0x318]
mov ebx, eax
test ebx, ebx
jne 0x424b1b
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.00401b92
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x42a562
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xe4]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x42a6a3
push esi
push edi
push 0x520a30
call fcn.0040fea3
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp + 8], 0
je 0x42a5f2
mov esi, dword [ebx + 0x168]
jmp 0x42a5de
mov eax, esi
mov edi, dword [eax + 8]
mov esi, dword [esi]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42a5de
push edi
call fcn.0040af73
push eax
push 0x55b600
call fcn.0040fec1
pop ecx
pop ecx
test eax, eax
je 0x42a5de
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jle 0x42a5de
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x42a59e
lea ecx, [ebx + 0x164]
call fcn.0043d758
jmp 0x42a6a1
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 8], eax
test eax, eax
je 0x42a6a1
jmp 0x42a608
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0xc8]
call fcn.00402d43
mov esi, dword [eax]
test esi, esi
jne 0x42a621
xor ebx, ebx
jmp 0x42a624
mov ebx, dword [esi + 0x20]
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42a697
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42a697
test edi, edi
je 0x42a669
push esi
push 0x55b600
call fcn.0040fec1
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x529e64
call fcn.0040fec1
pop ecx
pop ecx
test eax, eax
je 0x42a697
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp - 4]
push 0
lea eax, [ebp + 8]
add esi, 0x164
push eax
mov ecx, esi
call fcn.00429ab4
test eax, eax
jne 0x42a697
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.00429a84
cmp dword [ebp - 8], 0
jne 0x42a605
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42ec8d
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x55dfe0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x108], esi
call fcn.0042e74d
mov ebx, eax
cmp ebx, esi
je 0x42ecfa
lea ecx, [ebp - 0x10c]
call fcn.00403f8d
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f411d
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x42ed18
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x10c]
call fcn.0042ec8d
cmp eax, esi
jne 0x42ed5f
lea eax, [ebp - 0x11c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp - 0x10c]
mov dword [ebp - 0x110], pe_nt_image_headers32
call ebx
test eax, eax
je 0x42ed02
lea ecx, [ebp - 0x10c]
call fcn.00403f8d
push dword [ebp - 0x114]
mov ecx, edi
call fcn.0042e692
lea ecx, [ebp - 0x10c]
mov esi, eax
call fcn.00403f8d
mov eax, esi
jmp 0x42ece9
Function at 0x432307
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x5614f8], 0
mov dword [ebp - 4], ecx
jne 0x43231d
xor eax, eax
jmp 0x432357
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x43232d
call fcn.00406b31
mov esi, dword [eax + 0xc]
push edi
push dword [0x562278]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x432353
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x43235b
xor eax, eax
pop edi
pop esi
leave
ret 8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x432379
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x432355
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00432229
mov esi, eax
jmp 0x43236b