joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bdcfd
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004bd94e

Function at 0x4c2370
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x516808]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4c23b0
cmp byte [ebx], 0xa
jne 0x4c23b0
or byte [eax + edi + 0x28], 4
jmp 0x4c23b5
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4c24b3
mov al, byte [edx]
cmp al, 0x1a
je 0x4c2495
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4c23e4
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4c2409
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4c2413
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4c23c6
jmp 0x4c24b3
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4c2490
cmp dword [ebp - 0xc], 0
je 0x4c2490
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x516808]
test byte [eax + edi + 0x28], 0x48
je 0x4c246a
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4c2455
mov byte [esi], dl
jmp 0x4c2466
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x516808]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4c24b3
cmp byte [ebp - 1], 0xa
jne 0x4c2479
cmp esi, ebx
jne 0x4c2479
mov byte [esi], 0xa
jmp 0x4c24b2
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004b8d01
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4c24b3
mov byte [esi], 0xd
jmp 0x4c24b2
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x516808]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4c24af
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4c24b3
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4c24bc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x516808]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4c24ff
cmp word [esi], dx
jne 0x4c24ff
or byte [edi + eax + 0x28], 4
jmp 0x4c2504
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4c2657
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4c2637
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4c2546
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4c257c
cmp eax, edx
jae 0x4c2588
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4c251e
jmp 0x4c2657
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4c2633
cmp dword [ebp - 0x14], 0
je 0x4c2633
mov eax, dword [ebx*4 + 0x516808]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4c260b
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4c25d4
mov word [esi], cx
jmp 0x4c2607
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x516808]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x516808]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x516808]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4c2657
pop ebx
cmp word [ebp - 4], bx
jne 0x4c261c
cmp esi, dword [ebp + 0xc]
jne 0x4c261c
mov word [esi], bx
jmp 0x4c2654
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004b8d01
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4c2657
push 0xd
jmp 0x4c2650
mov ecx, dword [ebx*4 + 0x516808]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4c264e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4c2657
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4c4db5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004c4d31
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4c4f2d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4c4f2d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4c4edc
jg 0x4c4e0e
test eax, eax
je 0x4c4ed2
push 1
push 0x1000
call fcn.004b7d86
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4c4e34
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x4c4ec9
push 0x8000
push ebx
call fcn.004b4744
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4c4e60
jg 0x4c4e5b
cmp ecx, 0x1000
jb 0x4c4e60
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004b88ba
add esp, 0x10
cmp eax, 0xffffffff
je 0x4c4ea5
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4c4e5b
jl 0x4c4e8c
test ecx, ecx
jne 0x4c4e4d
push dword [ebp - 0xc]
push ebx
call fcn.004b4744
push esi
call fcn.004b66ea
add esp, 0xc
xor edi, edi
jmp 0x4c4f3e
cmp byte [edi + 0x24], 0
je 0x4c4ebc
cmp dword [edi + 0x20], 5
jne 0x4c4ebc
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4c4ec7
mov edi, dword [edi + 0x18]
jmp 0x4c4ec9
xor edi, edi
push esi
call fcn.004b66ea
pop ecx
jmp 0x4c4f3e
test ecx, ecx
jg 0x4c4e9e
jl 0x4c4edc
test eax, eax
jae 0x4c4e9e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004b8d01
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4c4eff
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4c4e9e
jmp 0x4c4f36
push ebx
call fcn.004be19d
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4c4e9e
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x4c4f3e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4c4f3b
mov edi, dword [edi + 0x18]
jmp 0x4c4f3e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004b8d01
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4c5fd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4c5ffd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4c5ffd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401710
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 0x401729
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401764
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401760
lea ebx, [ebx]
cmp esi, eax
jae 0x401764
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401750
cmp esi, eax
jb 0x40176a
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 0x403350
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ebx
push ebp
push edi
lea eax, [esp + 0xc]
xor ebp, ebp
push eax
mov dword [esp + 0x10], ebp
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, 1
cmp dword [esp + 0xc], edi
mov ebx, eax
jle 0x4033f1
push esi
lea ebx, [ebx]
mov edx, dword [ebx + edi*4]
mov eax, edx
lea esi, [eax + 2]
jmp 0x403390
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403390
sub eax, esi
sar eax, 1
push eax
push 0x5469ec
push edx
call fcn.004f6654
add esp, 0xc
test eax, eax
je 0x4033eb
mov edx, dword [ebx + edi*4]
mov eax, edx
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4033c0
sub eax, esi
sar eax, 1
push eax
push str._qn
push edx
call fcn.004f6654
add esp, 0xc
test eax, eax
je 0x4033eb
inc edi
cmp edi, dword [esp + 0x10]
jl 0x403380
jmp 0x4033f0
mov ebp, 1
pop esi
test ebx, ebx
je 0x4033fc
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret

Function at 0x40555e
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.00410caa
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x405597
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.004051aa
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 0x4055f5
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 0x405619
cmp dword [edi + 0x54], 0
jne 0x405619
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00410caa
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
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.004055b6
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 0x40bded
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 0x40be34
call fcn.00410caa
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40be34
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40be50
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040b965
mov esi, eax
test edi, edi
je 0x40be4e
test ebx, ebx
je 0x40be4e
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40c201
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x514bb5
call fcn.004f7005
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40c226
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40c26c
lea ecx, [ebp - 0x10]
call fcn.00403c3c
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.00403a0b
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401970
mov eax, esi
call fcn.004f70dd
ret 8
Function at 0x418726
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x563fac]
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 0x41875f
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x418786
cmp dword [0x567c00], 0
jne 0x418786
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x418779
push 0x12
call esi
test bx, ax
je 0x41877d
mov eax, edi
jmp 0x4187f5
push edi
call fcn.004f9db0
pop ecx
jmp 0x4187f5
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.004f7470
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
jne 0x4187af
call fcn.004042ad
call fcn.0040ee83
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push 2
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push edi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f5c3a
leave
ret 4
Function at 0x425a83
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0x11fffffc]
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
invalid
xor esi, eax

Function at 0x428858
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 0x428872
call fcn.004042ad
call fcn.00410caa
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x428892
xor eax, eax
jmp 0x4289ad
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x42888b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42888b
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.00403800
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x42886d
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 0x4288ef
mov ecx, edi
call fcn.004213ac
jmp 0x4288f4
call fcn.00421296
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x428906
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x428921
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x428999
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x428970
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 0x428963
test eax, eax
jbe 0x428963
push eax
mov ecx, 0x560f2c
call fcn.0044caae
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 0x42893a
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 0x428999
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.0040382f
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 0x42e385
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 0x42e4c6
push esi
push edi
push 0x524b70
call fcn.0040feec
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp + 8], 0
je 0x42e415
mov esi, dword [ebx + 0x168]
jmp 0x42e401
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 0x42e401
push edi
call fcn.00408a49
push eax
push 0x5617a8
call fcn.0040ff0a
pop ecx
pop ecx
test eax, eax
je 0x42e401
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jle 0x42e401
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x42e3c1
lea ecx, [ebx + 0x164]
call fcn.00433910
jmp 0x42e4c4
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 8], eax
test eax, eax
je 0x42e4c4
jmp 0x42e42b
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0xc8]
call fcn.004068e5
mov esi, dword [eax]
test esi, esi
jne 0x42e444
xor ebx, ebx
jmp 0x42e447
mov ebx, dword [esi + 0x20]
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42e4ba
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42e4ba
test edi, edi
je 0x42e48c
push esi
push 0x5617a8
call fcn.0040ff0a
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x52f944
call fcn.0040ff0a
pop ecx
pop ecx
test eax, eax
je 0x42e4ba
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.0042d93c
test eax, eax
jne 0x42e4ba
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.0042d90c
cmp dword [ebp - 8], 0
jne 0x42e428
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x432a3c
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x563fac]
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 - 0x20c]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.004324ea
mov ebx, eax
cmp ebx, esi
je 0x432aa9
lea ecx, [ebp - 0x20c]
call fcn.00410d2e
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f5c3a
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x432ac7
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x20c]
call fcn.00432a3c
cmp eax, esi
jne 0x432b0e
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x20c]
mov dword [ebp - 0x210], 0x100
call ebx
test eax, eax
je 0x432ab1
lea ecx, [ebp - 0x20c]
call fcn.00410d2e
push dword [ebp - 0x214]
mov ecx, edi
call fcn.0043248b
lea ecx, [ebp - 0x20c]
mov esi, eax
call fcn.00410d2e
mov eax, esi
jmp 0x432a98
Function at 0x436193
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x567968], 0
mov dword [ebp - 4], ecx
jne 0x4361a9
xor eax, eax
jmp 0x4361e3
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4361b9
call fcn.00410caa
mov esi, dword [eax + 0xc]
push edi
push dword [0x5686e8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4361df
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x4361e7
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 0x436205
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4361e1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004360b5
mov esi, eax
jmp 0x4361f7
Function at 0x43dcd6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
xor edi, edi
push str.UxTheme.dll
mov dword [esi], vtable.CMFCBaseVisualManager.0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.00415c21
pop ecx
mov dword [esi + 0x48], eax
cmp eax, edi
je 0x43dd91
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call edi
push str.CloseThemeData
push dword [esi + 0x48]
mov dword [esi + 0x4c], eax
call edi
push str.DrawThemeBackground
push dword [esi + 0x48]
mov dword [esi + 0x50], eax
call edi
push str.GetThemeColor
push dword [esi + 0x48]
mov dword [esi + 0x54], eax
call edi
push str.GetThemeSysColor
push dword [esi + 0x48]
mov dword [esi + 0x58], eax
call edi
push str.GetCurrentThemeName
push dword [esi + 0x48]
mov dword [esi + 0x5c], eax
call edi
push str.GetWindowTheme
push dword [esi + 0x48]
mov dword [esi + 0x60], eax
call edi
mov ecx, esi
mov dword [esi + 0x64], eax
call fcn.0043d891
jmp 0x43dda6
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
pop edi
mov eax, esi
pop esi
ret
Function at 0x464c5e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0040a497
call fcn.00404d37
cmp eax, esi
pop esi
jne 0x464c7a
mov ecx, 0x567800
jmp fcn.00416a4d
ret
Function at 0x46ab24
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push 0x74
mov eax, 0x5153ab
call fcn.004f706e
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x80], eax
call fcn.00403c3c
mov esi, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, 0x13
jne 0x46ab52
push 0x52b0d0
jmp 0x46ab95
push 0x66
lea eax, [ebp - 0x78]
push edi
push eax
call fcn.004f7470
add esp, 0xc
push edi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
shl eax, 0x10
add esi, 0xffffffdf
or eax, 1
cmp esi, 0xe
ja 0x46ab84
or eax, 0x1000000
push 0x32
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00401c00
lea ecx, [ebp - 0x7c]
call fcn.0043e8c7
mov esi, dword [ebp - 0x7c]
cmp dword [esi - 0xc], edi
jle 0x46abe6
push edi
lea ecx, [ebp - 0x7c]
call fcn.004161ff
movzx ebx, ax
push ebx
call dword [sym.imp.USER32.dll_IsCharLowerW]
test eax, eax
jne 0x46abcc
inc edi
cmp edi, dword [esi - 0xc]
jl 0x46abad
jmp 0x46abe6
movzx eax, bx
push eax
call fcn.004f9db0
pop ecx
movzx eax, ax
push eax
push edi
lea ecx, [ebp - 0x7c]
call fcn.00438d89
mov esi, dword [ebp - 0x7c]
push dword [esi - 0xc]
mov ecx, dword [ebp - 0x80]
push esi
call fcn.004034e0
cmp dword [ebp + 0x10], 0
jne 0x46ac02
mov ecx, dword [ebp - 0x80]
push 0x2b
call fcn.00403c81
lea ecx, [esi - 0x10]
call fcn.00401970
call fcn.004f70f1
ret 0xc