joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10019c42
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push dword [esp + 4]
push edi
lea esp, [esp + 0x10]
ja 0x1000e90f
sar al, cl
rol al, cl
ror al, cl
sub ebx, edi
setle al
btc di, 1
ror al, 2
add ebx, esp
inc di
rcl al, 5
mov edi, ebx
rcl al, cl
shl al, cl
mov al, 0x2e
bt ax, si
repne scasb al, byte es:[edi]
pushal
pushfd
push dword [esp]
jmp 0x10017b34
lea esp, [esp + 0x28]
jne 0x1000e169
movsx eax, dl
push ebx
mov byte [edi - 1], 0
mov word [esp], si
lea eax, [ebx - 0x21eda04f]
mov dword [esp], ebx
push 0xe295dc94
cwde
call fcn.100191e0
jmp 0x1000c414

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

Disassembly:
lea esp, [esp + 0x24]
jne 0x10017efe
ror esi, cl
mov cl, bh
push esp
mov dword [esp], 0xbf90d20e
mov ecx, edi
push ecx
jmp 0x1000d9fb

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

Disassembly:
lea esp, [esp + 0x20]
jne 0x10017efe
xchg cx, si
sbb si, di
mov ecx, edi
dec si
cmc
btr si, 0xf
bsr esi, ebp
sub ecx, ebx
push 0x538e5bf
lea esi, [esp + 4]
push 0x91825f01
pushfd
push dword [esp]
lea esp, [esp + 0x10]
jmp 0x1000e90f
push dword [esp + 4]
lea esp, [esp + 0xc]
jae 0x10017f06
rcl edi, cl
not ebx
mov ebx, eax
neg ch
sbb ch, cl
mov edi, eax
movsx ecx, bl
cmc
shld cx, dx, cl
xor cl, ah
mov ecx, 0x104
clc
test ebp, edx
stc
clc
xor al, al
cmc
clc
repne scasb al, byte es:[edi]
pushal
jmp 0x10018edd

Function at 0x1001b832
Capabilities:
Authenticate hmac
Resolve function by parsing pe exports

Disassembly:
push ebx
pushfd
adc al, al
jmp 0x1001fa8d
call fcn.1000e81b
jge 0x1000de51
pushal
pushal
push 0xee72b862
adc al, al
pushfd
pushfd
mov byte [esp + 0xc], bh
lea esp, [esp + 0x4c]
jae 0x10016f7a
pushfd
push esi
lea esp, [esp + 8]
jne 0x10018df9
pushfd
pushfd
stosb byte es:[edi], al
push 0xadc8bf0a
pushal
lea esp, [esp + 0x2c]
jmp 0x1000d97e
pushal
seta al
mov bl, 2
inc al
inc ecx
mov byte [esp], 0xcb
lea esp, [esp + 0x20]
ja 0x1001ff60
pushfd
seta al
mov al, 0x10
lea esp, [esp + 4]
jmp 0x1000ea52
call fcn.1001b7cf
lea esp, [esp + 4]
jae 0x1001fa2b
dec al
jmp 0x10016f59
push ebp
push ebp
lea esp, [esp + 0x34]
jae 0x10016f7a
jmp 0x10019aef
mov byte [esp], bl
mov byte [esp], cl
jmp 0x10019dae
mov word [esp], 0xa00c
push dword [esp + 4]
lea esp, [esp + 0xc]
jae 0x10016f7a
pushfd
pushfd
lea esp, [esp + 8]
jne 0x10018df9
call fcn.100185b1
mov bh, bh
jmp dword [esi + 0xf]
bt si, bx
mov dword [esp + 8], esp
test edi, edi
call fcn.1000ec8b
popal
inc edi
ficomp dword [eax]
mov dh, 0x54
pop esi
dec esp
pop edi
or al, 0x25
cli
dec ecx
and bh, byte [esi]
push esi
inc ebp
clc
into
nop
sahf
jo 0x1001faaf
or esi, dword [eax + 0xf]
enter 0x1f97, 0xffffffffffffff9f
pop edx
pop es
cld
in eax, 0x49
xlatb
push 0x56956fca
inc ebp
aas
mov edx, 0x8c1522fc
dec ebx
pop ebx
mov esp, dword [edi - 0x1b]
mov ecx, dword [edi]
sbb dword [0xc3485d48], ebx
invalid
pushfd
sete al
mov al, 0x10
pushfd
pushal
mov word [esp], 0xd98f
lea esp, [esp + 0x28]
call fcn.1000e81b
push 0x71b73106
pushal
push ebx
adc al, al
push 0xd3df7bce
jmp 0x1001a1d2
Function at 0x1001f768
Capabilities:
Resolve function by parsing pe exports

Disassembly:
inc ecx
call fcn.10017031
pushal
lea esp, [esp + 0x2c]
jae 0x1001fa2b
inc al
mov bl, 2
jmp 0x100176f8

Function at 0x480890
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x51000]
push edi
or ebp, 0xffffffff
jmp 0x4808b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4808b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4808a8
mov eax, 1
add ebx, ebx
jne 0x4808cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4808dc
jne 0x4808fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4808fb
dec eax
add ebx, ebx
jne 0x4808e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4808c0
add ebx, ebx
jne 0x4808f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48094d
xor ecx, ecx
sub eax, 3
jb 0x480913
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x480982
sar eax, 1
mov ebp, eax
jmp 0x48091e
add ebx, ebx
jne 0x48091e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4808ec
inc ecx
add ebx, ebx
jne 0x48092c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4808ec
add ebx, ebx
jne 0x480939
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48092e
jne 0x48094a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48092e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48096c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48095e
jmp 0x4808ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48096c
add edi, ecx
jmp 0x4808ae
pop esi
mov edi, esi
mov ecx, 0x27d3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48098a
cmp byte [edi], 0x26
jne 0x48098a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x48098f
lea edi, [esi + 0x7d000]
mov eax, dword [edi]
or eax, eax
je 0x480a07
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x876a4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x877bc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4809bc
mov ecx, edi
jns 0x4809eb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x877c0]
or eax, eax
je 0x480a01
mov dword [ebx], eax
add ebx, 4
jmp 0x4809d9
call dword [esi + 0x877c8]
mov ebp, dword [esi + 0x877c4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x480a3b
sub esp, 0xffffff80
jmp 0x448ea0
Function at 0x405968
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4059ce
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404080
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b14
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4059b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4059d5
lea eax, [ebp - 0x10]
call fcn.00403e10
ret

Function at 0x40a8e8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a921
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f00
jmp 0x40a92a
mov eax, ebx
mov edx, esi
call fcn.00403e64
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40a934
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a955
mov al, byte [esp]
jmp 0x40a957
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40afdc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40ae54
mov eax, dword [0x451014]
cmp byte [eax], 0
je 0x40b058
mov eax, dword [0x450e3c]
call fcn.00402980
call fcn.00402824
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040815c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b0a0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b08e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x450dec]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x452664]
call fcn.00404e7c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40b8f4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40b9ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ea8
lea eax, [ebp - 8]
call fcn.00404320
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004042d0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40b9b4
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40b9ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004042d0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40b997
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40b9dc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40b997
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b9b4
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b9d1
lea eax, [ebp - 8]
call fcn.00403e10
ret

Function at 0x40be48
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40beac
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404080
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407cec
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40beb3
lea eax, [ebp - 0xc]
call fcn.00403e10
ret

Function at 0x419f88
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x452884
cmp dword [edi], 0
jne 0x41a004
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x452880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4503ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x419f60
lea eax, [esi + 5]
call fcn.00419f80
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00419f80
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x419fd9
mov dword [0x452880], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41b218
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41b21e
ret
Function at 0x41d660
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41d6b1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41d698
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41d688
jmp 0x41d6b1
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41d699
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426c3c
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x426b88
call sub.user32.dll_EnumWindows
ret

Function at 0x426d5c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x426dd9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004267bc
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x426d81
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004263bc
cmp dword [ebp - 4], 0
je 0x426dc3
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004042d0
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426de0
lea eax, [ebp - 4]
call fcn.00403e10
ret

Function at 0x429118
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x429170]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x429132
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x42913c
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x429146
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x429150
invalid
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x42915a
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42916a
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x429174
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x4291b8]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x429195
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4291a5
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x4291af
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x431118
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x43112a
add esp, 0xfffffff0
call fcn.004033e4
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00418ef8
mov eax, dword [0x450df4]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x431688
mov eax, dword [0x450e00]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x4316a8
mov eax, dword [ebp - 4]
call fcn.004316c8
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4111f0]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4111f0]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x4111f0]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x4111f0]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x4111f0]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x42cad8
push eax
push 0
push 0
mov eax, dword [0x450f40]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41a91c]
call fcn.0041bd60
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x41a91c]
call fcn.0041bd60
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x41a91c]
call fcn.0041bd60
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.00431c14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x431a60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x431a60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x431a60
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x4312b2
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x431818
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4319e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4319c1
mov dl, 1
mov eax, dword [0x41160c]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e10
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4319aa
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.00445a54
test al, al
je 0x43199e
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x4319f4
lea eax, [ebp - 0x25c]
call fcn.004087a4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x43199e
xor eax, eax
push ebp
push 0x431997
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x431a2c
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x431980
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404080
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x431980
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43199e
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x43188d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.004150e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4319ea
lea eax, [ebp - 0x268]
call fcn.00403e10
ret
Function at 0x43251c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x452b10]
cmp byte [eax + 0xa5], 0
jne 0x432593
cmp dword [0x452b28], 0
jne 0x432551
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4324d8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x452b28], eax
cmp dword [0x452b24], 0
jne 0x43256c
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x452b24], eax
cmp dword [0x452b2c], 0
jne 0x432593
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x432478
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x452b2c], eax
pop ecx
pop ebp
ret

Function at 0x43265c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.004325f4
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x43267d
xor eax, eax
call fcn.0043262c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x432697
mov al, 1
call fcn.0043262c
mov esp, ebp
pop ebp
ret

Function at 0x432d5c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x452b10]
cmp dword [eax + 0x30], 0
je 0x432e26
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x432e1d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x432cdc
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x432e1d
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x432dd7
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x432e1d
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.00413558
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x432dec
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x433b40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x433b85
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00403f00
jmp 0x433b96
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.00403e64
mov esp, ebp
pop ebp
ret