joyce8/EMBER2024-capa huggingface dataset:
Function at 0x478bd0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x507d78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x50d6a0]
push 0
lea ecx, [esp + 0x20]
call fcn.004ff0be
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00478570
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004fefec
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004fb819
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004fb819
push 1
push 0
push 0
mov ecx, esi
call fcn.004fb7c1
push 1
push 0
push 1
mov ecx, esi
call fcn.004fb7c1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004ff130
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x478d50
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x507d98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004ff0be
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00478570
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004fefec
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x50d6a0]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x478e14
cmp dword [esp + 0x40], 1
jne 0x478e12
cmp ecx, eax
jge 0x478e14
mov eax, ecx
cmp eax, 0xc8
jge 0x478e20
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00478bd0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x50d69c]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004ff130
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4795a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x507e03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004f9b31
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0xc4c0b0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0xb7f6e8
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x50d1ac]
push eax
mov ecx, edi
call fcn.004ff366
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.005010d3
test eax, eax
je 0x4796bc
mov ecx, dword [esp + 0x3c]
call fcn.004ff393
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x50d6c0]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x479680
push edi
mov ecx, esi
call fcn.004fc960
mov ecx, esi
call fcn.00479820
cmp dword [esp + 0x38], 1
jne 0x4796b5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004fca9b
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x47c0d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x47c103
push esi
call fcn.0047f1c0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x47c0fc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x47c189
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x47c172
mov eax, dword [esi + 8]
test eax, eax
je 0x47c127
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x47c16e
cmp eax, 2
je 0x47c172
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x47c11a
cmp eax, 3
je 0x47c14d
cmp eax, 1
jne 0x47c11a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x47c11a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x47c11a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0047c1b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x47c198
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0047c1b0
add esp, 4
pop esi
ret
Function at 0x48d0c0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb80310
push 0x4e8134
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.004e6610
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48f588
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50841c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004f9b31
mov dword [esi], 0xb80858
lea edi, [esi + 0x3c]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov dword [edi], 0xb80784
call fcn.00494e90
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 1
call fcn.00494e90
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 2
call fcn.00494e90
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 3
call fcn.00494e90
mov dword [edi], 0xb8077c
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 4
call fcn.004f6545
mov dword [esi + 0xd8], 0
mov dword [esi + 0xd4], 0xb8084c
mov eax, dword [0xca6d58]
mov dword [esi + 0xdc], eax
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 7
call fcn.00494e90
lea ecx, [esi + 0xf4]
mov byte [esp + 0x18], 8
call fcn.004f6545
mov ecx, dword [esp + 0x10]
mov dword [esi], 0xb8078c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x48f670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5084a4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0xb8078c
lea ecx, [esi + 0xf4]
mov dword [esp + 0x18], 5
call fcn.004f656e
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 4
mov dword [ecx], 0xb80778
call fcn.00495090
lea ecx, [esi + 0xdc]
mov byte [esp + 0x18], 3
call fcn.004f851b
lea ecx, [esi + 0xd4]
mov dword [esp + 0xc], ecx
mov dword [ecx], 0xb80910
mov byte [esp + 0x18], 6
call fcn.004ff3bd
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 1
call fcn.004f656e
lea edi, [esi + 0x3c]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 9
mov dword [ecx], 0xb80778
call fcn.00495090
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 8
mov dword [ecx], 0xb80778
call fcn.00495090
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0xb80778
call fcn.00495090
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0
mov dword [ecx], 0xb80778
call fcn.00495090
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004f6179
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4ae080
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x509fc0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4ae227
mov ecx, dword [0xca6d58]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x4ae17c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.004acda0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.004f8608
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004f851b
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0xc6cdac
call fcn.004f8589
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.004ad160
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.004f8608
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004f851b
lea ecx, [esp + 0xc]
call fcn.004f89e3
mov ecx, dword [esp + 0xc]
push 0xc6d7ec
push ecx
call fcn.004e6644
add esp, 8
test eax, eax
je 0x4ae1a4
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x4ae0dd
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.004f851b
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.004f851b
jmp 0x4ae22b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.004ade20
test eax, eax
push 0
je 0x4ae20f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.004ac4c0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4ae1f5
cmp eax, 0x64
jg 0x4ae1e3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [0x50d3a8]
mov esi, eax
jmp 0x4ae180
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [0x50d3a8]
mov esi, eax
jmp 0x4ae180
cmp eax, 0x64
jge 0x4ae17c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [0x50d3a8]
mov esi, eax
jmp 0x4ae180
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004ac4c0
mov esi, eax
jmp 0x4ae180
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x4ae235
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x4b7c57
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50a476
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x14]
call fcn.004f7198
mov eax, dword [0xca6d58]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x48], eax
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp ebx, edi
mov byte [esp + 0x18], 1
mov dword [esi], 0xb81b9c
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
je 0x4b7cb4
push ebx
call dword [0x50d350]
inc eax
push eax
call fcn.004f825c
add esp, 4
mov dword [esi + 4], eax
push ebx
push eax
call dword [0x50d324]
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x4c], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4c2ea4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x78], ebp
je 0x4c305d
push ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x90]
cmp eax, ebp
je 0x4c2fd6
mov ecx, dword [esi + 0x94]
sub ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 4
cmp eax, ecx
jae 0x4c2fd6
xor ebx, ebx
mov edx, dword [esi + 0x90]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [eax + 4]
cmp ecx, ebp
je 0x4c2fbd
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x4c2fbd
mov eax, ecx
mov ecx, esi
mov edi, dword [eax + ebx*4]
push edi
call fcn.004c4110
mov ebp, eax
test ebp, ebp
je 0x4c2fb5
push ebp
mov ecx, esi
call fcn.004c5630
test eax, eax
je 0x4c2fb5
mov edx, dword [esi + 0x74]
cmp edi, edx
je 0x4c2fb5
mov eax, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
sete cl
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x90]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4c2f76
xor eax, eax
jmp 0x4c2f7e
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
dec eax
xor ecx, ecx
cmp ebx, eax
lea eax, [edi + 1]
sete cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp eax, edx
sete cl
dec edi
mov dword [esp + 0x30], ecx
xor eax, eax
cmp edi, edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
sete al
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x3c], eax
call fcn.004c5fd0
inc ebx
xor ebp, ebp
jmp 0x4c2f07
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x4c2ee0
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
call fcn.004c4420
test eax, eax
pop ebx
je 0x4c305d
mov ecx, dword [esi + 0x74]
push ecx
mov ecx, esi
call fcn.004c4110
mov edi, eax
cmp edi, ebp
je 0x4c305d
push edi
mov ecx, esi
call fcn.004c5630
test eax, eax
je 0x4c305d
mov eax, 1
lea edx, [esi + 0x1f8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], edx
call fcn.004c4660
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x20], eax
push ecx
mov ecx, esi
call fcn.004c46d0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push eax
call fcn.004c5fd0
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4
Function at 0x4cd2b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x50b777
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0xb82bbc
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.004f6545
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.004f6545
mov edi, dword [0x50d650]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], 0xb82ba8
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [0x50d574]
lea ecx, [esp + 0xb0]
push ecx
call dword [0x50d1a8]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.004cddd0
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x4cf380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50bac0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004cef30
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004cefb0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004cefb0
lea ecx, [esi + 0xc]
call fcn.004f84a6
lea ecx, [esi + 0x10]
call fcn.004f84a6
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004d03b0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004d03b0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004d03b0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004f851b
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004f851b
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x46793c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46794e
add esp, 0xfffffff0
call fcn.00404028
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420f60
mov eax, dword [0x46fc10]
mov dword [eax + 4], ebx
mov dword [eax], 0x467d50
mov eax, dword [0x46fc1c]
mov dword [eax + 4], ebx
mov dword [eax], 0x467d5c
mov eax, ebx
call fcn.00467d68
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417018]
call fcn.00403ba8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417018]
call fcn.00403ba8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417018]
call fcn.00403ba8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417018]
call fcn.00403ba8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417018]
call fcn.00403ba8
mov dword [ebx + 0x74], 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, 0x462d8c
push eax
push 0
push 0
mov eax, dword [0x46fdb0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x425508]
call fcn.004272e4
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x425508]
call fcn.004272e4
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x425508]
call fcn.004272e4
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x425508]
call fcn.004272e4
mov dword [ebx + 0x84], eax
mov eax, ebx
call fcn.00468260
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x468138
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x468138
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x468138
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x468138
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x467aa1
call fcn.00404080
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x467ed8
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 0x468085
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x468066
mov dl, 1
mov eax, dword [0x4176fc]
call fcn.0041c3ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
xor edx, edx
call fcn.00405664
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x468055
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.00457c1c
test al, al
je 0x468048
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, 0x468094
lea eax, [ebp - 0x394]
call fcn.0040b940
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x468048
xor eax, eax
push ebp
push 0x468041
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 0x468104
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x46802a
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040581c
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 0x46802a
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040581c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468048
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x467f4b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.0041c198
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 0x46808c
lea eax, [ebp - 0x3a0]
call fcn.00405654
ret

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

Disassembly:
push ecx
mov eax, dword [0x4751b4]
cmp byte [eax + 0xa9], 0
jne 0x468ae6
cmp dword [0x4751cc], 0
jne 0x468aa6
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x46faf0]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4751cc], eax
cmp dword [0x4751c8], 0
jne 0x468ac1
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventW
mov dword [0x4751c8], eax
cmp dword [0x4751d0], 0
jne 0x468ae6
push esp
push 0
push 0
mov eax, dword [0x46faec]
push eax
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread_1
mov dword [0x4751d0], eax
pop edx
ret