joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463590
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call fcn.0040970c
test eax, eax
jle 0x4635c9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406884
jmp 0x4635d2
mov eax, ebx
mov edx, esi
call fcn.00406748
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4635dc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call fcn.0040970c
test eax, eax
jle 0x4635fe
movzx eax, word [esp]
jmp 0x463600
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x463d64
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffff004
push eax
add esp, 0xffffff7c
push 0x800
lea ecx, [esp + 0x88]
call fcn.00463b9c
mov eax, dword [0x588810]
cmp byte [eax], 0
je 0x463df6
mov eax, dword [0x588358]
call fcn.004039c4
call fcn.00403270
lea eax, [esp + 0x884]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.00409e40
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x88c]
call fcn.0045e204
push eax
lea eax, [esp + 0x890]
push eax
push 0xfffffffffffffff4
call fcn.004097e0
push eax
call fcn.00409aa8
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x463e44
push 0xfffffffffffffff4
call fcn.004097e0
push eax
call fcn.00409aa8
jmp 0x463e2f
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x5882ac]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x58bb20]
call fcn.004080d8
push eax
call fcn.0040a208
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x8c]
push eax
push 0
call fcn.0040a228
add esp, 0x1084
ret

Function at 0x464a84
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x464b5a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040679c
lea eax, [ebp - 4]
call fcn.00407060
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004067d4
push eax
call fcn.00409ae8
mov ebx, eax
test ebx, ebx
je 0x464b44
mov eax, ebx
call fcn.00403108
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x464b3d
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 - 4]
call fcn.004067d4
push eax
call fcn.00409ad0
test eax, eax
je 0x464b27
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x464b6c
mov eax, dword [ebp - 0x10]
push eax
call fcn.00409b00
test eax, eax
je 0x464b27
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464b44
mov eax, dword [ebp - 0x10]
call fcn.00403124
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464b61
lea eax, [ebp - 4]
call fcn.00406738
ret
Function at 0x465d27
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00405c48
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call fcn.00409960
mov edi, eax
cmp edi, 0x104
jbe 0x465d4a
mov eax, edi
add eax, eax
call fcn.00403108
mov esi, eax
jmp 0x465d4c
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call fcn.00409960
push edi
push esi
call fcn.00409e48
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x465d85
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x465d6f
mov eax, esp
cmp esi, eax
je 0x465d92
mov eax, esi
call fcn.00403124
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x465dcc
cmp bl, 0
je 0x465dc8
cmp bl, 0x41
jl 0x465dc3
cmp bl, 0x5a
jg 0x465dc3
or bl, 0x20
xor al, bl
inc esi
jmp 0x465da7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x465d0c

Function at 0x47c730
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call fcn.004099c8
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0047c434
dec esi
jne 0x47c752
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x47d8fc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x58f040
cmp dword [edi], 0
jne 0x47d978
push 0x40
push 0x1000
push 0x1000
push 0
call fcn.00409a68
mov esi, eax
mov eax, dword [0x58f03c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x58130c
mov ecx, 2
call fcn.004032cc
mov edx, 0x47d8d4
lea eax, [esi + 5]
call fcn.0047d8f4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0047d8f4
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 0x47d94d
mov dword [0x58f03c], 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 0x482320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004067d4
push eax
mov eax, dword [ebx + 4]
push eax
call fcn.0040944c
test eax, eax
je 0x482378
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x588a90]
mov dl, 1
mov eax, dword [0x481da8]
call fcn.00463f70
call fcn.004050b0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00481f30
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4837d0
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 0x4837d6
ret
Function at 0x4a0e94
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00406748
push 0
mov eax, esi
movzx eax, al
push eax
call fcn.0040a210
shl eax, 0x10
test eax, eax
je 0x4a0edb
push pe_nt_image_headers32
lea edx, [esp + 4]
push edx
push eax
call fcn.0040a010
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00406948
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x4a62f4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a642d
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call fcn.0040a030
mov dl, 1
mov eax, dword [0x481e1c]
call fcn.00481f58
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4a6403
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00481ff8
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00406948
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x4a6448
call fcn.00406b1c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0048205c
test al, al
je 0x4a63ed
lea ecx, [ebp - 4]
mov edx, 0x4a64bc
mov eax, dword [ebp - 0xc]
call fcn.004822a8
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00466574
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4a63e6
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x4a64d4
mov eax, dword [ebp - 8]
push eax
call fcn.0040976c
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x585510]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a63ed
mov eax, dword [ebp - 8]
push eax
call fcn.0040960c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a640a
mov eax, dword [ebp - 0xc]
call fcn.004045f8
ret

Function at 0x4a6538
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x4a657f
push 0x10
call fcn.0040a018
test ax, ax
jge 0x4a6562
add bx, 0x2000
push 0x11
call fcn.0040a018
test ax, ax
jge 0x4a6573
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x4a657f
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x4abfc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x58f304], 0
je 0x4ac101
push 0x11
call fcn.0040a018
test ax, 0x8000
setne al
mov edx, dword [0x58872c]
mov edx, dword [edx]
xor al, byte [edx + 0xb8]
je 0x4ac101
mov eax, dword [0x58f308]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x58f304]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4ac0d0
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x58f304]
call fcn.00473ebc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4ac0c8
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1e2], 0
je 0x4ac0c8
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x4ac0c8
mov eax, dword [ebp - 0x14]
call fcn.004b71fc
push eax
call fcn.0040a1c8
test eax, eax
je 0x4ac0c8
push ebp
call fcn.004abf7c
pop ecx
test al, al
jne 0x4ac0c8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00404808
test al, al
je 0x4ac0c8
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00404808
cmp byte [ebp - 1], 0
je 0x4ac0c8
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00409224
test al, al
je 0x4ac0c8
mov edx, dword [ebp - 0x14]
mov eax, dword [0x58f308]
call fcn.004ab6f4
inc edi
dec ebx
jne 0x4ac025
mov eax, dword [0x58f308]
cmp dword [eax + 8], 0
jle 0x4ac0e8
mov eax, dword [0x58f308]
call fcn.004ab7ac
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4ac101
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004abde0
pop ecx
test al, al
jne 0x4ac101
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b3eb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call fcn.0040a090
call fcn.0040920c
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.004ae43c
test ebx, ebx
jne 0x4b3f03
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004b3d44
mov ebx, eax
test ebx, ebx
je 0x4b3fee
cmp esi, ebx
je 0x4b3f2c
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x4b3f41
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x4b3f79
add eax, 0xffffff5f
sub eax, 2
jb 0x4b3f91
dec eax
sub eax, 2
jb 0x4b3fa5
dec eax
sub eax, 2
jb 0x4b3f9b
jmp 0x4b3faf
add eax, 0xfffffdff
sub eax, 2
jb 0x4b3f91
dec eax
sub eax, 2
jb 0x4b3fa5
dec eax
sub eax, 2
jb 0x4b3f9b
jmp 0x4b3faf
mov byte [esp + 0x120], 0
jmp 0x4b3fb7
mov byte [esp + 0x120], 2
jmp 0x4b3fb7
mov byte [esp + 0x120], 1
jmp 0x4b3fb7
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call fcn.0040a038
lea eax, [esp + 0x14]
call fcn.004c4880
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004afc20
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4b3ff0
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x4c4388
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call fcn.0040a110
mov edi, eax
test bl, bl
je 0x4c43a9
test edi, 0x40000
je 0x4c43c3
test bl, bl
jne 0x4c4444
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4c4444
push esi
call fcn.0040a1a8
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call fcn.0040a1c8
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x4c43f6
push 0
push esi
call fcn.0040a3e0
test bl, bl
je 0x4c440b
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call fcn.0040a390
jmp 0x4c441a
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call fcn.0040a390
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4c442b
cmp byte [esp + 2], 0
je 0x4c4444
cmp byte [esp + 2], 0
je 0x4c443c
push 6
push esi
call fcn.0040a3e0
jmp 0x4c4444
push 5
push esi
call fcn.0040a3e0
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4c46ec
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call fcn.00409f98
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x4c4712
mov eax, esp
push eax
push 0x4c46b4
call fcn.00409f70
jmp 0x4c4725
mov eax, esp
push eax
push 0x4c4694
call fcn.0040969c
push eax
call fcn.00409f68
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret
Function at 0x4c47e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4c483c]
test si, 4
je 0x4c47fd
or bl, 1
test si, 8
je 0x4c4807
or bl, 4
test si, 1
je 0x4c4811
or bl, 8
test si, 2
je 0x4c481b
or bl, 0x10
test si, 0x10
je 0x4c4825
or bl, 0x20
push 0x12
call fcn.0040a018
test ax, ax
jge 0x4c4834
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4c4840
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4c487c]
push 0x10
call fcn.0040a018
test ax, ax
jge 0x4c485a
or bl, 1
push 0x11
call fcn.0040a018
test ax, ax
jge 0x4c4869
or bl, 4
test esi, 0x20000000
je 0x4c4874
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4ccbd0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4ccbe2
add esp, 0xfffffff0
call fcn.00404a48
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0047c83c
mov eax, dword [0x5882c0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4ccfe4
mov eax, dword [0x5882d0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4ccff0
mov eax, ebx
call fcn.004ccffc
push 0
call fcn.0040a020
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4711a0]
call fcn.004045c8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4711a0]
call fcn.004045c8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4711a0]
call fcn.004045c8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4711a0]
call fcn.004045c8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4711a0]
call fcn.004045c8
mov dword [ebx + 0x74], eax
push 0
call fcn.00409fe0
mov esi, eax
push 0x5a
push esi
call fcn.00409c40
mov dword [ebx + 0x40], eax
push esi
push 0
call fcn.0040a2c8
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4c8004
push eax
push 0
push 0
mov eax, dword [0x5885fc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x482980]
call fcn.00484808
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x482980]
call fcn.00484808
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x482980]
call fcn.00484808
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x482980]
call fcn.00484808
mov dword [ebx + 0x84], eax
mov eax, ebx
call fcn.004cd4f4
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4cd3cc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4cd3cc
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4cd3cc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4cd3cc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4ccd35
call fcn.00404aa0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4cd16c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cd319
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4cd2fa
mov dl, 1
mov eax, dword [0x471ad8]
call fcn.004778bc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
xor edx, edx
call fcn.00406748
lea eax, [ebp - 0x114]
push eax
push 0x40
call fcn.0040a028
dec eax
test eax, eax
jl 0x4cd2e9
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.004bcc88
test al, al
je 0x4cd2dc
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4cd328
lea eax, [ebp - 0x394]
call fcn.0045eb68
push eax
push 0x80000002
call fcn.00409434
test eax, eax
jne 0x4cd2dc
xor eax, eax
push ebp
push 0x4cd2d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4cd398
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040944c
test eax, eax
jne 0x4cd2be
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406948
mov edx, dword [ebp - 0x3a0]
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 0x4cd2be
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406948
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd2dc
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040940c
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4cd1df
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.004776a8
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 0x4cd320
lea eax, [ebp - 0x3a0]
call fcn.00406738
ret

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

Disassembly:
push ecx
mov eax, dword [0x58f35c]
cmp byte [eax + 0xa9], 0
jne 0x4cdd7a
cmp dword [0x58f374], 0
jne 0x4cdd3a
call fcn.0040969c
push eax
push 0
mov eax, dword [0x585804]
push eax
push 3
call fcn.0040a3c8
mov dword [0x58f374], eax
cmp dword [0x58f370], 0
jne 0x4cdd55
push 0
push 0
push 0
push 0
call fcn.004094a4
mov dword [0x58f370], eax
cmp dword [0x58f378], 0
jne 0x4cdd7a
push esp
push 0
push 0
mov eax, dword [0x585800]
push eax
push 0x3e8
push 0
call fcn.0040954c
mov dword [0x58f378], eax
pop edx
ret
Function at 0x4cdf90
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4cdfa7
add esp, 0xfffffff0
call fcn.00404a48
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0047c83c
mov eax, dword [0x5880e8]
cmp byte [eax], 0
jne 0x4cdfd4
push 0
call fcn.0042f7e4
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x5885c8]
cmp word [eax + 2], 0
jne 0x4cdfee
mov eax, dword [0x5885c8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004cfe98
mov eax, dword [0x588778]
cmp word [eax + 2], 0
jne 0x4ce008
mov eax, dword [0x588778]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004d00a8
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x482980]
call fcn.00484808
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4d053c
mov dl, 1
mov eax, dword [0x4711a0]
call fcn.004045c8
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4711a0]
call fcn.004045c8
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x58], 0xff000018
mov dword [ebx + 0x74], 0x1f4
mov byte [ebx + 0x78], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x70], 0x9c4
mov byte [ebx + 0x84], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x4835e0]
call fcn.0048c4c8
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x4ce1e4
mov eax, dword [0x5883b4]
mov eax, dword [eax]
push eax
call fcn.0040a1f0
mov edx, eax
mov eax, esi
call fcn.0048c8cc
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4d07ec
mov dl, 1
mov eax, dword [0x4711a0]
call fcn.004045c8
mov dword [ebx + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5883b4]
mov eax, dword [eax]
push eax
call fcn.00409724
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0045e580
test eax, eax
je 0x4ce116
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0045e280
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0045e568
test eax, eax
je 0x4ce12e
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call fcn.00409e38
push eax
call fcn.00409e28
lea eax, [ebx + 0x88]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406948
push ebx
push 0x4cf894
call fcn.004c47cc
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x5880e8]
cmp byte [eax], 0
jne 0x4ce17f
mov eax, ebx
call fcn.004ce358
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x56], 1
mov byte [ebx + 0x57], 1
mov byte [ebx + 0xa2], 1
mov byte [ebx + 0xcd], 0
mov byte [ebx + 0xd8], 0
xor eax, eax
mov dword [ebx + 0xd0], eax
mov byte [ebx + 0xcf], 0
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.004d0a14
mov eax, ebx
call fcn.004d15d8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4ce1dc
call fcn.00404aa0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret