joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4372ec
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4510c8]
cmp byte [eax + 0xc], 0
je 0x437459
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x437452
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x452af4], 0
jne 0x437340
push 0x437460
call sub.kernel32.dll_GetModuleHandleA_2
push eax
pop ebx
push 0x437468
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452af4], eax
cmp dword [0x450aa4], 0
jne 0x43743b
push 0x437478
call sub.kernel32.dll_LoadLibraryA
mov dword [0x450aa4], eax
cmp dword [0x450aa4], 0
je 0x43743b
push 0x437484
mov eax, dword [0x450aa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452af8], eax
push 0x437494
mov eax, dword [0x450aa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452afc], eax
push 0x4374a8
mov eax, dword [0x450aa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b00], eax
push 0x4374c0
mov eax, dword [0x450aa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b04], eax
push 0x4374d8
mov eax, dword [0x450aa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b08], eax
push 0x4374ec
mov eax, dword [0x450aa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b0c], eax
push 0x437504
mov eax, dword [0x450aa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b10], eax
push 0x43751c
mov eax, dword [0x450aa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b14], eax
push 0x437538
mov eax, dword [0x450aa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b18], eax
push 0x437544
mov eax, dword [0x450aa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437459
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push edx
pop ebx
mov word [ebp - 2], ax
push ebx
pop eax
call fcn.00404464
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
or eax, eax
je 0x43b35b
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.004046d4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x442b04
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442b54]
test si, 4
je 0x442b18
or bl, 1
test si, 8
je 0x442b22
or bl, 4
test si, 1
je 0x442b2c
or bl, 8
test si, 2
je 0x442b36
or bl, 0x10
test si, 0x10
je 0x442b40
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442b4f
or bl, 2
push ebx
pop eax
pop esi
pop ebx
ret
Function at 0x442b58
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442b90]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442b71
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442b80
or bl, 4
test esi, 0x20000000
je 0x442b8b
or bl, 2
push ebx
pop eax
pop esi
pop ebx
ret

Function at 0x449254
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x449266
add esp, 0xfffffff0
call fcn.00403a10
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
push ebx
pop eax
call fcn.004198f0
mov eax, dword [0x450dcc]
mov dword [eax + 4], ebx
mov dword [eax], 0x4495f8
mov eax, dword [0x450dd8]
mov dword [eax + 4], ebx
mov dword [eax], 0x449604
push ebx
pop eax
call fcn.00449610
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411b08]
call fcn.004036c0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411b08]
call fcn.004036c0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411b08]
call fcn.004036c0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411b08]
call fcn.004036c0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411b08]
call fcn.004036c0
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, 0x445a28
push eax
push 0
push 0
mov eax, dword [0x450f04]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b318]
call fcn.0041c780
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b318]
call fcn.0041c780
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b318]
call fcn.0041c780
mov dword [ebx + 0x80], eax
push ebx
pop eax
call fcn.00449a60
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449928
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449928
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449928
push ebx
pop eax
cmp byte [ebp - 1], 0
je 0x4493a3
call fcn.00403a68
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44970c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
push esp
pop ebp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
sub eax, eax
push ebp
push 0x4498b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x449898
mov dl, 1
mov eax, dword [0x411f24]
call fcn.004036c0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404464
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
or eax, eax
jl 0x449887
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.0043764c
test al, al
je 0x44987a
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, 0x4498c8
lea eax, [ebp - 0x254]
call fcn.00408f10
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
or eax, eax
jne 0x44987a
sub eax, eax
push ebp
push 0x449873
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 0x449900
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44985c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046d4
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 0x44985c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046d4
sub eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44987a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44977d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415a88
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 0x4498be
lea eax, [ebp - 0x260]
call fcn.00404464
ret

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

Disassembly:
push ecx
mov eax, dword [0x452b40]
cmp byte [eax + 0xa5], 0
jne 0x44a271
cmp dword [0x452b58], 0
jne 0x44a232
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44a1bc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x452b58], eax
cmp dword [0x452b54], 0
jne 0x44a24d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x452b54], eax
cmp dword [0x452b5c], 0
jne 0x44a271
push esp
push 0
push 0
push 0x44a160
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x452b5c], eax
pop edx
ret
Function at 0x44a904
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x452b40]
cmp dword [eax + 0x30], 0
je 0x44a9ae
cmp dword [ebx + 0x94], 0
jne 0x44a9a8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44a894
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44a9a8
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 0x44a96e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44a9a8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
push esi
pop edx
mov eax, dword [ebx + 0x90]
call fcn.00413e84
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44a97d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44b50c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
push edx
pop esi
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44b541
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
push eax
pop ecx
push esp
pop edx
push esi
pop eax
call fcn.00404554
jmp 0x44b54e
push esi
pop eax
mov edx, dword [ebx + 0x8c]
call fcn.004044b8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44c4f4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
or esi, esi
je 0x44c535
mov eax, esi
call fcn.00432e04
test al, al
je 0x44c535
mov eax, dword [ebx + 0x84]
call fcn.00432ba4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44c535
push 0
mov eax, dword [ebx + 0x84]
call fcn.00432ba4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x44d628
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
push edx
pop ebp
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
mov dword [esp + 4], edx
mov edx, dword [eax + 0x7c]
mov dword [esp + 8], edx
mov eax, dword [esp + 4]
add eax, ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 0x18]
dec edi
or edi, edi
jb 0x44d6c6
inc edi
sub esi, esi
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x20]
add eax, ebx
mov edx, esi
shl edx, 2
add eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
add eax, ebx
push eax
push ebp
call sub.kernel32.dll_lstrcmpA
or eax, eax
jne 0x44d6c2
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x24]
add eax, ebx
push esi
pop edx
add edx, edx
add eax, edx
mov ax, word [eax]
add ax, 3
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 0x1c]
add edx, ebx
movzx eax, ax
shl eax, 2
add edx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
add ebx, dword [eax]
mov dword [esp], ebx
jmp 0x44d6c6
inc esi
dec edi
jne 0x44d664
mov eax, dword [esp]
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x44e5d4
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esp
pop ebp
add esp, 0xffffffe0
push ebx
push esi
push edi
sub ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404914
mov edi, dword [ebp + 8]
add edi, 0xffffff00
xor eax, eax
push ebp
push 0x44e6ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0x5a
xor ebx, ebx
xor esi, esi
mov eax, dword [ebp - 4]
call fcn.00404724
test eax, eax
jle 0x44e6bc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x18]
add eax, 0xa6
sub edx, edx
push edx
push eax
lea eax, [ebx + 1]
cdq
call fcn.00405230
mov ebx, eax
mov eax, dword [ebp - 0x18]
add eax, 0xa6
sub edx, edx
push edx
push eax
sub eax, eax
mov al, byte [edi + ebx]
add eax, esi
cdq
call fcn.00405230
push eax
pop esi
mov al, byte [edi + ebx]
mov dl, byte [edi + esi]
mov byte [edi + ebx], dl
mov byte [edi + esi], al
xor eax, eax
mov al, byte [edi + ebx]
sub edx, edx
mov dl, byte [edi + esi]
add eax, edx
mov edx, dword [ebp - 0x18]
add edx, 0xa6
push edx
pop ecx
xor edx, edx
div ecx
mov al, byte [edi + edx]
mov byte [ebp - 0xd], al
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dl, byte [edx + ecx - 1]
mov cl, byte [ebp - 0xd]
xor dl, cl
call fcn.0040464c
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
call fcn.0040472c
inc dword [ebp - 0xc]
dec dword [ebp - 0x1c]
jne 0x44e62f
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.004044b8
sub eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e6f4
lea eax, [ebp - 0x20]
call fcn.00404464
lea eax, [ebp - 0x14]
call fcn.00404464
lea eax, [ebp - 4]
call fcn.00404464
ret
Function at 0x403060
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 0x403079
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4030b4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4030b0
lea ebx, [ebx]
cmp esi, eax
jae 0x4030b4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4030a0
cmp esi, eax
jb 0x4030ba
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 0x40fbe1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431c34]
jne 0x40fbeb
repz ret
jmp fcn.00414c8c

Function at 0x41c257
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00414676
and dword [ebp - 4], 0
cmp dword [0x435cc8], 0
mov ebx, eax
jne 0x41c308
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41c3b9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42b228
push edi
call esi
test eax, eax
je 0x41c3b9
push eax
call fcn.00414604
mov dword [esp], 0x42b218
push edi
mov dword [0x435cc8], eax
call esi
push eax
call fcn.00414604
mov dword [esp], 0x42b204
push edi
mov dword [0x435ccc], eax
call esi
push eax
call fcn.00414604
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x435cd0], eax
call esi
push eax
call fcn.00414604
pop ecx
mov dword [0x435cd8], eax
test eax, eax
je 0x41c308
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00414604
pop ecx
mov dword [0x435cd4], eax
mov eax, dword [0x435cd4]
cmp eax, ebx
je 0x41c360
cmp dword [0x435cd8], ebx
je 0x41c360
push eax
call fcn.0041467f
push dword [0x435cd8]
mov esi, eax
call fcn.0041467f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41c360
test edi, edi
je 0x41c360
call esi
test eax, eax
je 0x41c357
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41c357
test byte [ebp - 0xc], 1
jne 0x41c360
or dword [ebp + 0x10], 0x200000
jmp 0x41c399
mov eax, dword [0x435ccc]
cmp eax, ebx
je 0x41c399
push eax
call fcn.0041467f
pop ecx
test eax, eax
je 0x41c399
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41c399
mov eax, dword [0x435cd0]
cmp eax, ebx
je 0x41c399
push eax
call fcn.0041467f
pop ecx
test eax, eax
je 0x41c399
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x435cc8]
call fcn.0041467f
pop ecx
test eax, eax
je 0x41c3b9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41c3bb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x5a213202
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x4e17500e
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x403140
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 0x403159
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403194
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x403190
lea ebx, [ebx]
cmp esi, eax
jae 0x403194
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x403180
cmp esi, eax
jb 0x40319a
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 0x4033e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.00409b1b
Function at 0x4132c0
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 0x413307
call fcn.004171da
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x413307
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x413323
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00412e3a
mov esi, eax
test edi, edi
je 0x413321
test ebx, ebx
je 0x413321
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x413e7c
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x46a5b2
call fcn.0043b34f
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x413ea1
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x413ee7
lea ecx, [ebp - 0x10]
call fcn.00403e40
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.00413335
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.00403230
mov eax, esi
call fcn.0043b427
ret 8

Function at 0x424d3d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x46b7db
call fcn.0043b34f
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00405200
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x424d9f
call fcn.00416603
cmp eax, 1
jne 0x424d9f
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0040864f
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.004041b0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00403230
mov dword [ebp + 8], SysFreeString
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00403230
mov eax, esi
call fcn.0043b427
ret 0x10
Function at 0x424dc8
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x46b806
call fcn.0043b34f
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00405200
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x424e2a
call fcn.00416603
cmp eax, 1
jne 0x424e2a
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0040864f
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.004041b0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00403230
mov dword [ebp + 8], SysFreeString
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00403230
mov eax, esi
call fcn.0043b427
ret 0x14

Function at 0x424e56
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x46b831
call fcn.0043b34f
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00405200
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x424eb8
call fcn.00416603
cmp eax, 1
jne 0x424eb8
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0040864f
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.004041b0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00403230
mov dword [ebp + 8], SysFreeString
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00403230
mov eax, esi
call fcn.0043b427
ret 8

Function at 0x43a454
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4886d0]
jne 0x43a45e
repz ret
jmp fcn.0044345c
Function at 0x455b5f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00442d91
and dword [ebp - 4], 0
cmp dword [0x48c6e8], 0
mov ebx, eax
jne 0x455c10
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x455cc1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x47721c
push edi
call esi
test eax, eax
je 0x455cc1
push eax
call fcn.00442d1f
mov dword [esp], 0x47720c
push edi
mov dword [0x48c6e8], eax
call esi
push eax
call fcn.00442d1f
mov dword [esp], 0x4771f8
push edi
mov dword [0x48c6ec], eax
call esi
push eax
call fcn.00442d1f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48c6f0], eax
call esi
push eax
call fcn.00442d1f
pop ecx
mov dword [0x48c6f8], eax
test eax, eax
je 0x455c10
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00442d1f
pop ecx
mov dword [0x48c6f4], eax
mov eax, dword [0x48c6f4]
cmp eax, ebx
je 0x455c68
cmp dword [0x48c6f8], ebx
je 0x455c68
push eax
call fcn.00442d9a
push dword [0x48c6f8]
mov esi, eax
call fcn.00442d9a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x455c68
test edi, edi
je 0x455c68
call esi
test eax, eax
je 0x455c5f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x455c5f
test byte [ebp - 0xc], 1
jne 0x455c68
or dword [ebp + 0x10], 0x200000
jmp 0x455ca1
mov eax, dword [0x48c6ec]
cmp eax, ebx
je 0x455ca1
push eax
call fcn.00442d9a
pop ecx
test eax, eax
je 0x455ca1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x455ca1
mov eax, dword [0x48c6f0]
cmp eax, ebx
je 0x455ca1
push eax
call fcn.00442d9a
pop ecx
test eax, eax
je 0x455ca1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48c6e8]
call fcn.00442d9a
pop ecx
test eax, eax
je 0x455cc1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x455cc3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret