joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4081c0
Capabilities:
Create process on windows
Query environment variable
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x57f82c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x200
lea eax, [ebp - 0x408]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x408287
push 0x200
lea ecx, [ebp - 0x408]
push ecx
lea edx, [ebp - 0x408]
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x408287
push str._c_del
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x408]
push ecx
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.____NUL
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x200
lea ecx, [ebp - 0x408]
push ecx
push str.ComSpec
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x408287
push 0
push 0
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0x408]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x408287
mov eax, 1
jmp 0x408289
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050c6c0
mov esp, ebp
pop ebp
ret

Function at 0x4082f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0xffffffff
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x40832c
xor eax, eax
jmp 0x40837b
mov edx, dword [ebp + 0xc]
push edx
call fcn.0050bd03
add esp, 4
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], 0
je 0x40836d
mov eax, dword [ebp - 8]
jmp 0x40837b
mov edx, dword [ebp - 8]
push edx
call fcn.0050bc26
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x408380
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.0050c7f0
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x8540
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x1c], 0
cmp dword [0x5831a8], 0
je 0x4083c1
mov dword [ebp - 0x30], str.runas
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 0x4e20
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x408400
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x583198], 0
je 0x408423
movzx eax, byte [0x58319d]
test eax, eax
je 0x408423
mov dword [ebp - 8], 0x100
jmp 0x40842a
mov dword [ebp - 8], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
or edx, 0xf003f
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x408496
cmp dword [0x583198], 0
je 0x408469
movzx edx, byte [0x58319d]
test edx, edx
je 0x408469
mov dword [ebp - 0xc], 0x100
jmp 0x408470
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0xc]
or ecx, 0xf003f
push ecx
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [ebp - 0x15], cl
add dword [ebp - 0x10], 1
cmp byte [ebp - 0x15], 0
jne 0x4084a5
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 1
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4084ed
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or eax, 0xffffffff
jmp 0x4084f9
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x408500
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x583198], 0
je 0x408523
movzx eax, byte [0x58319d]
test eax, eax
je 0x408523
mov dword [ebp - 8], 0x100
jmp 0x40852a
mov dword [ebp - 8], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
or edx, 0xf003f
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x408596
cmp dword [0x583198], 0
je 0x408569
movzx edx, byte [0x58319d]
test edx, edx
je 0x408569
mov dword [ebp - 0xc], 0x100
jmp 0x408570
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0xc]
or ecx, 0xf003f
push ecx
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 4
lea ecx, [ebp + 0x14]
push ecx
push 4
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4085c1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or eax, 0xffffffff
jmp 0x4085cd
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40bc40
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525f43
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x57f82c]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov word [ebp - 0x10], ax
mov byte [ebp - 0x234], 0
push 0x1ff
push 0
lea ecx, [ebp - 0x233]
push ecx
call fcn.0050c7f0
add esp, 0xc
push 0x538f3c
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x23c]
call fcn.00407930
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x244]
push ecx
lea edx, [ebp - 0x238]
push edx
call fcn.00407880
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.004019f0
push 0x200
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.0050c7f0
add esp, 0xc
lea ecx, [ebp - 0x238]
call fcn.00401730
cmp eax, 0x200
jle 0x40bd44
lea ecx, [ebp - 0x238]
call fcn.004019f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004019f0
jmp 0x40be4c
lea ecx, [ebp - 0x238]
call fcn.00401730
cmp eax, 0x200
jae 0x40bdc2
lea ecx, [ebp - 0x238]
call fcn.00401750
mov dword [ebp - 0x248], eax
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x250], edx
mov eax, dword [ebp - 0x248]
mov cl, byte [eax]
mov byte [ebp - 0x251], cl
mov edx, dword [ebp - 0x24c]
mov al, byte [ebp - 0x251]
mov byte [edx], al
mov ecx, dword [ebp - 0x248]
add ecx, 1
mov dword [ebp - 0x248], ecx
mov edx, dword [ebp - 0x24c]
add edx, 1
mov dword [ebp - 0x24c], edx
cmp byte [ebp - 0x251], 0
jne 0x40bd7f
lea ecx, [ebp - 0x238]
call fcn.00401730
mov byte [ebp + eax - 0x233], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 3
lea eax, [ebp - 0x234]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
mov ecx, 0x414
mov word [ebp - 0x1c], cx
mov dword [ebp - 0x1a], 0
mov dword [ebp - 0x16], 0
mov dword [ebp - 0x12], 0
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp + 8]
call fcn.00401750
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x238]
call fcn.004019f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004019f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.0050c6c0
mov esp, ebp
pop ebp
ret
Function at 0x40be70
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x774
mov eax, dword [0x57f82c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x418], 1
mov byte [ebp - 0x208], 0
push 0x1ff
push 0
lea eax, [ebp - 0x207]
push eax
call fcn.0050c7f0
add esp, 0xc
mov byte [ebp - 0x758], 0
push 0x1ff
push 0
lea ecx, [ebp - 0x757]
push ecx
call fcn.0050c7f0
add esp, 0xc
mov byte [ebp - 0x410], 0
push 0x1ff
push 0
lea edx, [ebp - 0x40f]
push edx
call fcn.0050c7f0
add esp, 0xc
lea ecx, [ebp - 0x210]
call fcn.0040a150
mov dword [ebp - 0x20c], 0
lea ecx, [ebp + 0xc]
call fcn.00401730
cmp eax, 0x200
jle 0x40bf21
lea ecx, [ebp - 0x210]
call fcn.004019f0
lea ecx, [ebp + 0xc]
call fcn.004019f0
jmp 0x40c0d1
lea ecx, [ebp + 0xc]
call fcn.00401730
cmp eax, 0x200
jae 0x40bf99
lea ecx, [ebp + 0xc]
call fcn.00401750
mov dword [ebp - 0x760], eax
lea eax, [ebp - 0x410]
mov dword [ebp - 0x764], eax
mov ecx, dword [ebp - 0x764]
mov dword [ebp - 0x768], ecx
mov edx, dword [ebp - 0x760]
mov al, byte [edx]
mov byte [ebp - 0x769], al
mov ecx, dword [ebp - 0x764]
mov dl, byte [ebp - 0x769]
mov byte [ecx], dl
mov eax, dword [ebp - 0x760]
add eax, 1
mov dword [ebp - 0x760], eax
mov ecx, dword [ebp - 0x764]
add ecx, 1
mov dword [ebp - 0x764], ecx
cmp byte [ebp - 0x769], 0
jne 0x40bf56
lea edx, [ebp - 0x410]
add edx, 0xffffffff
mov dword [ebp - 0x770], edx
mov eax, dword [ebp - 0x770]
mov cl, byte [eax + 1]
mov byte [ebp - 0x771], cl
add dword [ebp - 0x770], 1
cmp byte [ebp - 0x771], 0
jne 0x40bfa8
mov edi, dword [ebp - 0x770]
mov edx, dword [0x538f44]
mov dword [edi], edx
mov al, byte [0x538f48]
mov byte [edi + 4], al
lea ecx, [ebp - 0x558]
push ecx
lea edx, [ebp - 0x410]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0xffffffff
jne 0x40c018
lea ecx, [ebp - 0x210]
call fcn.004019f0
lea ecx, [ebp + 0xc]
call fcn.004019f0
jmp 0x40c0d1
mov dword [ebp - 0x75c], 0
cmp dword [ebp - 0x418], 0
je 0x40c0b1
mov eax, dword [ebp - 0x75c]
add eax, 1
mov dword [ebp - 0x75c], eax
lea ecx, [ebp + 0xc]
call fcn.00401730
cmp eax, 0x200
jbe 0x40c04f
jmp 0x40c0b1
lea ecx, [ebp - 0x52c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str._s_s
lea eax, [ebp - 0x208]
push eax
call fcn.0050e436
add esp, 0x10
mov ecx, dword [ebp - 0x558]
and ecx, 0x10
je 0x40c07b
jmp 0x40c092
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0x52c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004072ce
lea edx, [ebp - 0x558]
push edx
mov eax, dword [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x418], eax
jmp 0x40c022
mov ecx, dword [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x210]
call fcn.004019f0
lea ecx, [ebp + 0xc]
call fcn.004019f0
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050c6c0
mov esp, ebp
pop ebp
ret
Function at 0x40fd5c
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.0041c3d5
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 0x40fd95
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.0040f9ad
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 0x40fdf3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x40fe17
cmp dword [edi + 0x54], 0
jne 0x40fe17
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041c3d5
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0040fdb4
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x416b8d
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 0x416bd4
call fcn.0041c3d5
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x416bd4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x416bf0
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00416707
mov esi, eax
test edi, edi
je 0x416bee
test ebx, ebx
je 0x416bee
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x417b13
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x532d18
call fcn.0050ea1b
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x417b38
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x417b7e
lea ecx, [ebp - 0x10]
call fcn.0040a150
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.0040dedd
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.00401390
mov eax, esi
call fcn.0050eaf3
ret 8
Function at 0x41cb87
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x41cbcf
call fcn.0041c3d5
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41cbcf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41cc12
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x41cbfb
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41cbfb
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41cc0f
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x426962
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 [0x57f82c]
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 0x42699b
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x4269c2
cmp dword [0x5855c0], 0
jne 0x4269c2
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x4269b5
push 0x12
call esi
test bx, ax
je 0x4269b9
mov eax, edi
jmp 0x426a2d
push edi
call fcn.00511601
pop ecx
jmp 0x426a2d
and dword [ebp - 0x10c], 0
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
call fcn.0041a6c1
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.0050c6c0
leave
ret 4
Function at 0x436abf
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 0x436ad9
call fcn.0040ec64
call fcn.0041c3d5
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x436af9
xor eax, eax
jmp 0x436c14
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x436af2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x436af2
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.0040dca6
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x436ad4
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 0x436b56
mov ecx, edi
call fcn.0042f42d
jmp 0x436b5b
call fcn.0042f317
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x436b6d
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x436b88
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x436c00
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x436bd7
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 0x436bca
test eax, eax
jbe 0x436bca
push eax
mov ecx, 0x57c2ac
call fcn.004d89ac
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 0x436ba1
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 0x436c00
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.0040dcd5
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 0x43c612
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 0x43c753
push esi
push edi
push 0x53f6e4
call fcn.0041ff04
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp + 8], 0
je 0x43c6a2
mov esi, dword [ebx + 0x168]
jmp 0x43c68e
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 0x43c68e
push edi
call fcn.00413830
push eax
push 0x57d020
call fcn.0041ff22
pop ecx
pop ecx
test eax, eax
je 0x43c68e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jle 0x43c68e
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x43c64e
lea ecx, [ebx + 0x164]
call fcn.004d9f45
jmp 0x43c751
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 8], eax
test eax, eax
je 0x43c751
jmp 0x43c6b8
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0xc8]
call fcn.0049b09c
mov esi, dword [eax]
test esi, esi
jne 0x43c6d1
xor ebx, ebx
jmp 0x43c6d4
mov ebx, dword [esi + 0x20]
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43c747
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x43c747
test edi, edi
je 0x43c719
push esi
push 0x57d020
call fcn.0041ff22
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x54887c
call fcn.0041ff22
pop ecx
pop ecx
test eax, eax
je 0x43c747
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.0043bbc8
test eax, eax
jne 0x43c747
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.0043bb5c
cmp dword [ebp - 8], 0
jne 0x43c6b5
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x440ccf
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x57f82c]
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.0044078f
mov ebx, eax
cmp ebx, esi
je 0x440d3c
lea ecx, [ebp - 0x10c]
call fcn.0041c6f6
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050c6c0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x440d5a
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00440ccf
cmp eax, esi
jne 0x440da1
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], 0x100
call ebx
test eax, eax
je 0x440d44
lea ecx, [ebp - 0x10c]
call fcn.0041c6f6
push dword [ebp - 0x114]
mov ecx, edi
call fcn.00440730
lea ecx, [ebp - 0x10c]
mov esi, eax
call fcn.0041c6f6
mov eax, esi
jmp 0x440d2b
Function at 0x44428c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x585328], 0
mov dword [ebp - 4], ecx
jne 0x4442a2
xor eax, eax
jmp 0x4442dc
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4442b2
call fcn.0041c3d5
mov esi, dword [eax + 0xc]
push edi
push dword [0x5860a8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x4442d8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x4442e0
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 0x4442fe
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4442da
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004441ae
mov esi, eax
jmp 0x4442f0