joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov ecx, edi
call fcn.0040ef70
mov esi, dword [ebx + 0xf0]
test esi, esi
je 0x415203
cmp dword [ebx + 0xe8], 0
je 0x415203
mov eax, dword [ebp + 8]
mov ecx, dword [esi + eax*4]
mov esi, dword [esi + eax*4 + 4]
sub esi, ecx
mov dword [ebp + 0xc], ecx
cmp esi, 0x4000
jae 0x415203
lea eax, [esi - 1]
push eax
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [edi + 8], eax
test eax, eax
jne 0x4150d6
mov dword [edi + 8], 0x8007000e
mov ecx, 0xa
mov word [edi], cx
mov eax, 0x8007000e
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
mov eax, 8
mov word [edi], ax
mov eax, dword [ebx + 0xe8]
mov edx, dword [edi + 8]
xor edi, edi
lea ecx, [eax + ecx*2]
test esi, esi
je 0x415203
cmp esi, 0x10
jb 0x4151d1
lea eax, [ecx - 2]
lea eax, [eax + esi*2]
lea ebx, [edx - 2]
lea ebx, [ebx + esi*2]
cmp edx, eax
ja 0x415118
cmp ebx, ecx
jae 0x4151d1
movaps xmm5, xmmword [0x463040]
mov eax, esi
movaps xmm6, xmmword [0x463080]
and eax, 0xfffffff0
movaps xmm4, xmmword [0x463050]
movaps xmm7, xmmword [0x463070]
nop dword [eax]
movups xmm0, xmmword [ecx]
add edi, 0x10
movaps xmm3, xmm5
pcmpeqw xmm3, xmm0
movaps xmm2, xmm3
pandn xmm2, xmm0
movaps xmm0, xmm3
pand xmm0, xmm4
pxor xmm3, xmm6
por xmm2, xmm0
movaps xmm1, xmm2
pcmpeqw xmm1, xmm4
pand xmm1, xmm3
movaps xmm3, xmm5
movaps xmm0, xmm1
pand xmm1, xmm7
pandn xmm0, xmm2
por xmm0, xmm1
movups xmmword [edx], xmm0
movups xmm0, xmmword [ecx + 0x10]
add ecx, 0x20
pcmpeqw xmm3, xmm0
movaps xmm2, xmm3
pandn xmm2, xmm0
movaps xmm0, xmm3
pand xmm0, xmm4
pxor xmm3, xmm6
por xmm2, xmm0
movaps xmm1, xmm2
pcmpeqw xmm1, xmm4
pand xmm1, xmm3
movaps xmm0, xmm1
pand xmm1, xmm7
pandn xmm0, xmm2
por xmm0, xmm1
movups xmmword [edx + 0x10], xmm0
add edx, 0x20
cmp edi, eax
jb 0x415140
cmp edi, esi
jae 0x415203
sub esi, edi
mov edi, 0xf05c
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
cmp eax, 0x2f
jne 0x4151f2
mov eax, 0x5c
jmp 0x4151f8
cmp eax, 0x5c
cmove eax, edi
mov word [edx], ax
add edx, 2
sub esi, 1
jne 0x4151e0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x4189e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movzx eax, byte [ebx + 9]
push eax
lea ecx, [esi + 0x44]
mov dword [ebp - 4], esi
call fcn.00419420
movzx eax, byte [ebx + 8]
lea ecx, [esi + 0x50]
push eax
call fcn.00419420
lea ecx, [esi + 0x74]
call fcn.00409cc0
push 0x88
call fcn.0044a8ae
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [edi + 0x24], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], vtable.NCoderMixer2::CCoderMT.0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov byte [edi + 0x68], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov ecx, dword [esi + 0x78]
lea eax, [ecx + 1]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x74]
mov dword [eax + ecx*4], edi
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x20], eax
mov esi, dword [ebx]
test esi, esi
je 0x418af9
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x418b06
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0x18], esi
mov esi, dword [ebx + 4]
test esi, esi
je 0x418b16
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x418b23
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 4]
mov dword [edi + 0x1c], esi
mov al, byte [eax + 0x5c]
mov byte [edi + 0x68], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41b930
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41b984
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x41b984
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41b973
mov eax, 0x80004005
pop edi
mov esp, ebp
pop ebp
ret 8
jle 0x41b998
movzx eax, ax
or eax, 0x80070000
pop edi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, edi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 8

Function at 0x41bd40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov ecx, 0x400000
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp + 0xc], 0
nop dword [eax + eax]
cmp esi, 0x400000
mov dword [ebp + 0x10], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [ebp + 0x10]
push ecx
push eax
push edi
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
add edx, ecx
mov dword [ebp + 0xc], edx
test eax, eax
je 0x41bda5
test ecx, ecx
je 0x41bda1
add edi, ecx
sub esi, ecx
mov ecx, 0x400000
jne 0x41bd60
mov al, 1
jmp 0x41bda7
xor al, al
add dword [ebx + 0x10], edx
mov ecx, dword [ebp + 0x14]
adc dword [ebx + 0x14], 0
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x41bdba
mov dword [ecx], edx
test al, al
je 0x41bdc4
xor eax, eax
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41bdd7
mov eax, 0x80004005
pop ebp
ret 0x10
jle 0x41bde1
movzx eax, ax
or eax, 0x80070000
pop ebp
ret 0x10

Function at 0x41bf70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x41bf81
mov dword [esi], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41bfe5
push 0
lea ecx, [ebp + 0x14]
push ecx
mov ecx, 0x8000
cmp eax, ecx
cmovae eax, ecx
push eax
push dword [ebp + 0xc]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
add dword [ecx + 8], edx
adc dword [ecx + 0xc], 0
test esi, esi
je 0x41bfbe
add dword [esi], edx
test eax, eax
jne 0x41bfe5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41bfd6
mov eax, 0x80004005
pop esi
pop ebp
ret 0x10
jle 0x41bfe7
movzx eax, ax
or eax, 0x80070000
pop esi
pop ebp
ret 0x10
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x4203c0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458ef0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x46c008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x420401
push eax
push 0
push dword [esi + 0x28]
call fcn.0044bbc0
add esp, 0xc
push 0x10
lea eax, [esi + 0x18]
mov dword [esi + 0x10], 0
push 0
push eax
mov dword [esi + 0x14], 0
call fcn.0044bbc0
push 0x20
lea eax, [esi + 0x30]
push 0
push eax
call fcn.0044bbc0
push dword [esi + 0x28]
call fcn.0044a6fb
add esp, 0x1c
lea ecx, [esi + 4]
call fcn.004210a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x423d80
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x46c008]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xec], 0
jne 0x423db6
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0044a6ed
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x3c], 0
mov eax, dword [esi + 0xe8]
mov dword [esp + 0x10], 0
mov edi, dword [eax + 0x10]
mov ebx, dword [eax + 0x14]
je 0x423e3b
cmp dword [esi + 0xe4], ebx
jb 0x423e3b
ja 0x423de2
cmp dword [esi + 0xe0], edi
jbe 0x423e3b
lea ecx, [esp + 0x18]
add eax, 8
push ecx
push 0
push ebx
push edi
mov ecx, eax
mov dword [esp + 0x24], eax
call fcn.0040e480
test al, al
je 0x423e23
cmp dword [esp + 0x18], edi
jne 0x423e23
cmp dword [esp + 0x1c], ebx
jne 0x423e23
mov eax, dword [esp + 0x14]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
mov byte [esi + 0x3c], al
test al, al
jne 0x423e3b
jmp 0x423e27
mov byte [esi + 0x3c], 0
lea eax, [esi + 0x74]
mov ecx, esi
push eax
push str.Cannot_set_length_for_output_file
call fcn.004224d0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x20]
mov dword [esi + 0xd8], edi
push eax
mov ecx, esi
mov dword [esi + 0xdc], ebx
mov byte [esi + 0x3b], 1
call fcn.00422900
mov cl, byte [esp + 0x38]
mov dl, byte [esp + 0x39]
mov al, cl
mov bl, byte [esp + 0x3a]
or al, dl
or al, bl
je 0x423e9c
xor edi, edi
lea eax, [esp + 0x30]
test bl, bl
cmove eax, edi
test dl, dl
push eax
lea eax, [esp + 0x2c]
cmove eax, edi
xor edx, edx
push eax
test cl, cl
lea eax, [esp + 0x28]
cmove eax, edx
push eax
mov eax, dword [esi + 0xe8]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov edi, dword [esi + 0xe8]
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x423ebc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x423eec
mov dword [edi + 8], 0xffffffff
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x423ed6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xec], 0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0044a6ed
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x423f0d
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0044a6ed
mov esp, ebp
pop ebp
ret
jle 0x423eda
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
movzx eax, ax
xor ecx, esp
or eax, 0x80070000
call fcn.0044a6ed
mov esp, ebp
pop ebp
ret
Function at 0x423f30
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, ecx
cmp byte [edi + 0x3a], 0
jne 0x423fd1
cmp dword [edi + 0x98], 0
je 0x423fd1
cmp byte [edi + 0x3e], 0
jne 0x423fd1
cmp byte [edi + 0x31], 0
je 0x423fd1
cmp byte [edi + 0xd0], 0
je 0x423fd1
mov ecx, dword [edi + 0xcc]
mov eax, ecx
mov edx, dword [edi + 0x94]
push ebx
push esi
mov esi, ecx
lea ebx, [edi + 0x94]
and esi, 0x3fff
and eax, 0xf0000000
cmove esi, ecx
cmp byte [0x46e2d1], 0
jne 0x423fb6
lea ecx, [ebp - 0xc]
call fcn.0040a940
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0044a6fb
add esp, 4
test esi, esi
jmp 0x423fc0
push esi
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x423fcf
push ebx
push str.Cannot_set_file_attribute
mov ecx, edi
call fcn.004224d0
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4257e0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
push dword [esi + 8]
add ecx, 0x98
call fcn.00425450
test eax, eax
jne 0x425868
mov ecx, dword [esi + 8]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push edi
push eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x98]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 4]
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x425853
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x425853
call esi
test eax, eax
jne 0x425843
pop edi
mov eax, 0x80004005
pop esi
pop ebp
ret 8
jle 0x425867
movzx eax, ax
pop edi
or eax, 0x80070000
pop esi
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp + 8]
add ecx, edi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
pop edi
pop esi
pop ebp
ret 8

Function at 0x4271a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a2fd
Function at 0x428380
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a320
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x46c008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xcc]
call fcn.0044a6fb
push dword [esi + 0xc0]
call fcn.0044a6fb
push dword [esi + 0x9c]
call fcn.0044a6fb
push dword [esi + 0x90]
call fcn.0044a6fb
push dword [esi + 0x30]
call fcn.0044a6fb
push dword [esi + 0x24]
call fcn.0044a6fb
push dword [esi + 0x18]
call fcn.0044a6fb
add esp, 0x1c
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x428400
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x428414
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 2
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x428428
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 3
mov ecx, dword [esi]
test ecx, ecx
je 0x42843b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x429410
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a4fc
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x46c008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x14], 0
mov dword [edi], vtable.COpenCallbackImp.4.0
mov dword [edi + 4], vtable.COpenCallbackImp.3.0
mov dword [edi + 8], vtable.COpenCallbackImp.2.0
mov dword [edi + 0xc], vtable.COpenCallbackImp.1.0
mov dword [edi + 0x10], vtable.COpenCallbackImp.0
mov byte [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov byte [ebp - 4], 2
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
push 8
mov dword [edi + 0x48], 0
call fcn.0044a831
xor ecx, ecx
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 3
mov word [eax], cx
mov byte [ebp - 4], 3
push 8
mov dword [edi + 0x54], ecx
call fcn.0044a831
xor ecx, ecx
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 3
mov word [eax], cx
lea esi, [edi + 0x60]
mov byte [ebp - 4], 4
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov word [esi + 0x24], cx
push 8
mov dword [ebp - 0x14], esi
mov dword [esi + 0x28], ecx
call fcn.0044a831
mov dword [esi + 0x28], eax
add esp, 0xc
mov dword [esi + 0x2c], 0
xor ecx, ecx
mov dword [esi + 0x30], 3
mov word [eax], cx
mov eax, edi
mov dword [edi + 0x98], ecx
mov dword [edi + 0x9c], ecx
mov dword [edi + 0xa0], ecx
mov dword [edi + 0xa4], 0xffffffff
mov dword [edi + 0xa8], 0xffffffff
mov dword [edi + 0xac], ecx
mov dword [edi + 0xb0], 0x54fffc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42c430
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45aa2f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x46c008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.CBrowseDialog.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov byte [ebp - 4], 2
push 8
mov dword [esi + 0x48], 0
call fcn.0044a831
xor ecx, ecx
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 3
mov word [eax], cx
mov byte [ebp - 4], 3
push 8
mov dword [esi + 0x54], ecx
call fcn.0044a831
xor ecx, ecx
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 3
mov word [eax], cx
mov word [esi + 0x60], cx
mov dword [esi + 0x64], 0xffffffff
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x70], ecx
mov byte [ebp - 4], 5
push 8
mov dword [esi + 0x74], ecx
call fcn.0044a831
xor ecx, ecx
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 3
mov word [eax], cx
mov byte [ebp - 4], 6
push 8
mov dword [esi + 0x80], ecx
call fcn.0044a831
add esp, 0x10
mov dword [esi + 0x80], eax
xor ecx, ecx
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 3
mov word [eax], cx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42d1f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov eax, dword [edi]
cmp eax, dword [esi + 8]
jne case.0x42d21f.154
mov eax, dword [edi + 8]
add eax, 0x9b
cmp eax, 0x99
ja case.0x42d21f.154
movzx eax, byte [eax + 0x42d324]
jmp dword [eax*4 + 0x42d30c]
cmp byte [0x46c886], 0
je case.0x42d21f.154
call fcn.0042ea80
pop edi
xor al, al
pop esi
pop ebp
ret 8
cmp byte [0x46c886], 0
jne case.0x42d21f.154
call fcn.0042ea80
pop edi
xor al, al
pop esi
pop ebp
ret 8
mov eax, dword [edi + 0x10]
cmp eax, dword [esi + 0x40]
jne 0x42d279
cmp byte [esi + 0x44], 0
sete al
mov byte [esi + 0x44], al
call fcn.0042e4a0
pop edi
xor al, al
pop esi
pop ebp
ret 8
test eax, eax
mov dword [esi + 0x40], eax
sete al
mov byte [esi + 0x44], al
call fcn.0042e4a0
pop edi
xor al, al
pop esi
pop ebp
ret 8
push ebx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movzx ecx, word [edi + 0xc]
shr eax, 0xf
mov edx, ecx
and al, 1
cmp edx, 8
je 0x42d2ce
cmp edx, 0x52
je 0x42d2bd
cmp ecx, 0x76
jne 0x42d2ca
mov ecx, esi
call fcn.0042e7c0
jmp 0x42d2d5
test al, al
je 0x42d2ca
mov ecx, esi
call fcn.0042e4a0
jmp 0x42d2d5
xor bl, bl
jmp 0x42d2d7
mov ecx, esi
call fcn.0042e5c0
mov bl, 1
push 0
push 0
push 0x8001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
ret 8
push 0
push 0
push 0x8001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
xor al, al
pop esi
pop ebp
ret 8

Function at 0x42d291
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov eax, dword [edi]
cmp eax, dword [esi + 8]
jne case.0x42d21f.154
mov eax, dword [edi + 8]
add eax, 0x9b
cmp eax, 0x99
ja case.0x42d21f.154
movzx eax, byte [eax + 0x42d324]
jmp dword [eax*4 + 0x42d30c]
cmp byte [0x46c886], 0
je case.0x42d21f.154
call fcn.0042ea80
pop edi
xor al, al
pop esi
pop ebp
ret 8
cmp byte [0x46c886], 0
jne case.0x42d21f.154
call fcn.0042ea80
pop edi
xor al, al
pop esi
pop ebp
ret 8
mov eax, dword [edi + 0x10]
cmp eax, dword [esi + 0x40]
jne 0x42d279
cmp byte [esi + 0x44], 0
sete al
mov byte [esi + 0x44], al
call fcn.0042e4a0
pop edi
xor al, al
pop esi
pop ebp
ret 8
test eax, eax
mov dword [esi + 0x40], eax
sete al
mov byte [esi + 0x44], al
call fcn.0042e4a0
pop edi
xor al, al
pop esi
pop ebp
ret 8
push ebx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movzx ecx, word [edi + 0xc]
shr eax, 0xf
mov edx, ecx
and al, 1
cmp edx, 8
je 0x42d2ce
cmp edx, 0x52
je 0x42d2bd
cmp ecx, 0x76
jne 0x42d2ca
mov ecx, esi
call fcn.0042e7c0
jmp 0x42d2d5
test al, al
je 0x42d2ca
mov ecx, esi
call fcn.0042e4a0
jmp 0x42d2d5
xor bl, bl
jmp 0x42d2d7
mov ecx, esi
call fcn.0042e5c0
mov bl, 1
push 0
push 0
push 0x8001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
ret 8
push 0
push 0
push 0x8001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
xor al, al
pop esi
pop ebp
ret 8
Function at 0x431f30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea eax, [edi + 0x10]
push eax
push 0x64
push 0x66
call fcn.00431980
lea eax, [edi + 0x38]
mov ecx, edi
push eax
push 0x65
push 0x67
call fcn.00431980
mov ecx, edi
call fcn.0040c450
cmp byte [edi + 9], 0
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x431f9e
push 0x1b8
push dword [edi + 4]
call ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x1b9
push dword [edi + 4]
call ebx
push 0
push eax
call esi
push 0xdb1
push dword [edi + 4]
call ebx
push 0
push eax
call esi
cmp byte [edi + 0xa], 0
je 0x431fc9
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 7
push 0x401
push dword [edi + 4]
call esi
push 7
push dword [edi + 4]
call ebx
push 1
push eax
push 0x28
push dword [edi + 4]
call esi
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret