joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416900
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0041698f
jae 0x41690e
xor ecx, ecx
call fcn.0041698f
jae 0x41693d
xor eax, eax
call fcn.0041698f
jae 0x41694d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0041698f
adc al, al
jae 0x41692f
jne 0x416979
stosb byte es:[edi], al
jmp 0x416911
call fcn.0041699b
sub ecx, ebx
jne 0x416956
call fcn.00416999
jmp 0x416975
lodsb al, byte [esi]
shr eax, 1
je 0x416983
adc ecx, ecx
jmp 0x416972
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00416999
cmp eax, 0x7d00
jae 0x416972
cmp ah, 5
jae 0x416973
cmp eax, 0x7f
ja 0x416974
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x416911
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0x409100
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xc0]
mov eax, dword [ecx + 0xc8]
push esi
push edi
lea esi, [ebp + 8]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x44b2a0]
sub edi, 1
jne 0x409120
mov ecx, dword [0x4fae40]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1adc], eax
jne 0x409152
mov dword [ecx + 0x1ae0], eax
cmp dword [ecx + 0x1b14], eax
jne 0x409161
mov byte [ecx + 0x1b18], 1
pop ebp
ret 4

Function at 0x409970
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
not ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
test edi, edi
je 0x4099d3
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x4099b6
cmp edi, 2
jb 0x4099b6
cmp byte [esi], cl
jne 0x4099b6
cmp byte [esi + 1], cl
jne 0x4099b6
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x44b2a0]
jmp 0x409987
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x44b2a0]
test edi, edi
jne 0x409987
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x409a08
nop word [eax + eax]
cmp cl, 0x23
jne 0x4099ef
cmp byte [esi], cl
jne 0x4099ef
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x44b2a0]
test cl, cl
jne 0x4099e0
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x409c00
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
or eax, 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], str.Window
mov esi, 0x44b8ed
mov cl, 0x57
or edi, 0xffffffff
cmp cl, 0x23
jne 0x409c32
cmp byte [esi], cl
jne 0x409c32
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x44b2a0]
test cl, cl
jne 0x409c23
mov esi, dword [ebp + 8]
not eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x4131f0
mov dword [ebp - 0x14], 0x413340
mov edi, dword [esi + 0x2f0c]
mov ecx, dword [esi + 0x2f10]
mov dword [ebp - 0x10], 0x413270
mov dword [ebp - 0xc], 0x413120
mov dword [ebp - 8], 0x413380
cmp edi, ecx
jne 0x409d27
inc edi
test ecx, ecx
je 0x409c9a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x409c9f
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x409d27
mov eax, dword [0x4fae40]
test eax, eax
je 0x409cb7
inc dword [eax + 0x398]
push ebx
push dword [0x4fae48]
lea eax, [edi + edi*8]
shl eax, 2
push eax
call dword [section..data]
mov ebx, eax
add esp, 8
mov eax, dword [esi + 0x2f14]
test eax, eax
je 0x409d1a
mov ecx, dword [esi + 0x2f0c]
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
push eax
push ebx
call fcn.0042db40
mov ecx, dword [esi + 0x2f14]
add esp, 0xc
test ecx, ecx
je 0x409d0a
mov eax, dword [0x4fae40]
test eax, eax
je 0x409d0a
dec dword [eax + 0x398]
push dword [0x4fae48]
push ecx
call dword [0x461004]
add esp, 8
mov dword [esi + 0x2f14], ebx
mov dword [esi + 0x2f10], edi
pop ebx
mov eax, dword [esi + 0x2f0c]
movups xmm0, xmmword [ebp - 0x24]
push esi
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x2f14]
movups xmmword [eax + ecx*4], xmm0
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x20], 0
inc dword [esi + 0x2f0c]
call fcn.00425160
add esp, 4
mov byte [esi], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40d9c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4fae40]
movss xmm0, dword [0x44ba48]
push ebx
mov ebx, eax
mov dword [ebp - 4], ebx
comiss xmm0, dword [ebx + 0x1d10]
ja 0x40dc29
cmp dword [ebx + 0x1d0c], 0
push esi
push edi
jne 0x40da3d
or edx, 0xffffffff
mov esi, 0x44b971
mov al, 0x23
or edi, 0xffffffff
nop
cmp al, 0x23
jne 0x40da0e
cmp byte [esi], al
jne 0x40da0e
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x44b2a0]
test al, al
jne 0x40da00
not edx
push edx
call fcn.00408b00
mov dword [ebx + 0x1d0c], eax
add esp, 4
mov eax, dword [0x4fae40]
movss xmm2, dword [ebx + 0x38]
movss xmm1, dword [ebx + 0x3c]
mulss xmm2, dword [0x44ba4c]
or dword [eax + 0x1b28], 0x10
mulss xmm1, dword [0x44ba4c]
mov dword [eax + 0x1b74], 0
mov dword [eax + 0x1b78], 0
movss dword [ebp - 0x14], xmm2
movss dword [ebp - 0x10], xmm1
mov dword [ebp - 0xc], 0x7f7fffff
mov dword [ebp - 8], 0x7f7fffff
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax + 0x1b64], xmm0
mov eax, dword [0x4fae40]
movss xmm2, dword [ebx + 0x38]
movss xmm1, dword [ebx + 0x3c]
mulss xmm2, dword [0x44ba58]
or dword [eax + 0x1b28], 1
mulss xmm1, dword [0x44ba58]
mov dword [eax + 0x1b40], 0x3f000000
movss dword [eax + 0x1b38], xmm2
mov dword [eax + 0x1b44], 0x3f000000
movss dword [eax + 0x1b3c], xmm1
mov dword [eax + 0x1b2c], 1
lea eax, [ebp - 0xc]
movss xmm0, dword [ebx + 0x1544]
addss xmm0, xmm0
push eax
push 1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [ebx + 0x1548]
addss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.0040ee80
push 0xc1347
push 0
push str.NavWindowingList
call fcn.00403c60
mov edi, dword [ebx + 0x1a70]
add esp, 0x14
sub edi, 1
js 0x40dc18
nop dword [eax]
mov eax, dword [ebx + 0x1a78]
mov esi, dword [eax + edi*4]
cmp byte [esi + 0x8b], 0
je 0x40dc0f
cmp esi, dword [esi + 0x320]
jne 0x40dc0f
test dword [esi + 8], 0x80000
jne 0x40dc0f
mov ecx, dword [esi]
mov edx, ecx
cmp ecx, 0xffffffff
jae 0x40db95
mov bl, byte [edx]
test bl, bl
je 0x40db8e
cmp bl, 0x23
jne 0x40db88
cmp byte [edx + 1], bl
je 0x40db8e
inc edx
cmp edx, 0xffffffff
jb 0x40db78
mov ebx, dword [ebp - 4]
cmp ecx, edx
jne 0x40dbe5
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x40dba6
mov ecx, str._Popup_
jmp 0x40dbe5
test eax, 0x400
je 0x40dbe0
mov eax, str.MainMenuBar
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40dbd2
test dl, dl
je 0x40dbce
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40dbd2
add ecx, 2
add eax, 2
test dl, dl
jne 0x40dbb2
xor eax, eax
jmp 0x40dbd7
sbb eax, eax
or eax, 1
mov ecx, str._Main_menu_bar_
test eax, eax
je 0x40dbe5
mov ecx, str._Untitled_
cmp dword [ebx + 0x1d04], esi
lea eax, [ebp - 0xc]
push eax
sete al
mov dword [ebp - 0xc], 0
push 0
movzx eax, al
push eax
push ecx
mov dword [ebp - 8], 0
call fcn.004267d0
add esp, 0x10
sub edi, 1
jns 0x40db40
call fcn.00407990
push 1
call fcn.0040eb80
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4125d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [0x4fae40]
cmp byte [edi + 0x2ef9], 0
lea eax, [edi + 0x48]
jne 0x4126ef
mov ecx, dword [eax]
push ebx
test ecx, ecx
je 0x4126e7
push esi
push 0x44b9a8
push ecx
call fcn.00409760
mov esi, eax
add esp, 8
test esi, esi
je 0x4126e3
push esi
call fcn.00430ed8
add esp, 4
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x4126da
push 2
push 0
push esi
call fcn.00430879
add esp, 0xc
test eax, eax
jne 0x4126da
push esi
call fcn.00430ed8
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
cmp ebx, 0xffffffff
je 0x4126da
push 0
push dword [ebp - 8]
push esi
call fcn.00430879
add esp, 0xc
test eax, eax
jne 0x4126da
mov eax, dword [0x4fae40]
test eax, eax
je 0x412673
inc dword [eax + 0x398]
push dword [0x4fae48]
push ebx
call dword [section..data]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4126da
push esi
push dword [ebp - 4]
push 1
push ebx
call fcn.00430455
add esp, 0x10
push esi
cmp eax, dword [ebp - 4]
je 0x4126c7
call fcn.0042fee9
add esp, 4
mov eax, dword [0x4fae40]
test eax, eax
je 0x4126b5
dec dword [eax + 0x398]
push dword [0x4fae48]
push ebx
call dword [0x461004]
add esp, 8
jmp 0x4126e3
call fcn.0042fee9
push dword [ebp - 4]
push ebx
call fcn.0040a780
add esp, 0xc
jmp 0x4126a6
push esi
call fcn.0042fee9
add esp, 4
lea eax, [edi + 0x48]
pop esi
mov byte [edi + 0x2ef9], 1
pop ebx
movss xmm0, dword [edi + 0x2efc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x412740
subss xmm0, dword [edi + 0x40]
comiss xmm1, xmm0
movss dword [edi + 0x2efc], xmm0
jb 0x412740
mov eax, dword [eax]
test eax, eax
je 0x41272f
push eax
call fcn.004105a0
add esp, 4
mov dword [edi + 0x2efc], 0
pop edi
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x380], 1
mov dword [edi + 0x2efc], 0
pop edi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449bd6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4fa140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x54], 0
lea eax, [ecx + 0x58]
mov edx, 0x40
nop dword [eax + eax]
mov dword [eax + 0xc], 0
lea eax, [eax + 0x10]
mov dword [eax - 8], 0
mov dword [eax - 0xc], 0
mov dword [eax - 0x10], 0
sub edx, 1
jne 0x413fc0
mov byte [ecx], dl
mov eax, ecx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], 1
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x1c], edx
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x28], edx
mov dword [ecx + 0x2c], edx
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x45c], 0xffffffff
mov dword [ecx + 0x458], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x416870
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449c00
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4fa140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
lea ecx, [esi + 0x54]
mov dword [ebp - 0x10], ecx
cmp dword [esi + 0x4c], ebx
jle 0x4168e6
xor edi, edi
nop dword [eax]
mov eax, dword [ecx]
mov ecx, dword [edi + eax]
test ecx, ecx
je 0x4168d8
cmp byte [edi + eax + 8], 0
je 0x4168d8
push ecx
call fcn.0040ac50
mov eax, dword [esi + 0x54]
lea ecx, [esi + 0x54]
add esp, 4
mov dword [edi + eax], 0
jmp 0x4168db
lea ecx, [esi + 0x54]
inc ebx
add edi, 0x78
cmp ebx, dword [esi + 0x4c]
jl 0x4168b0
jmp 0x4168e9
mov dword [ebp - 0x10], ecx
lea edi, [esi + 0x34]
xor edx, edx
mov dword [ebp - 0x14], edi
cmp dword [edi], edx
jle 0x416937
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + edx*4]
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
cmp dword [ebx + 0x34], eax
jb 0x41692c
mov ecx, dword [esi + 0x4c]
shl ecx, 4
sub ecx, dword [esi + 0x4c]
lea eax, [eax + ecx*8]
cmp dword [ebx + 0x34], eax
jae 0x416929
mov dword [ebx + 0x34], 0
xor ecx, ecx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + edx*4]
mov word [eax + 0x38], cx
mov ecx, dword [ebp - 0x10]
inc edx
cmp edx, dword [edi]
jl 0x4168f5
lea edi, [esi + 0x34]
mov dword [ebp - 0x14], edi
mov eax, dword [esi + 0x54]
test eax, eax
je 0x41695c
push eax
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
call fcn.0040ac50
add esp, 4
mov dword [esi + 0x54], 0
mov eax, dword [esi + 0x48]
mov ebx, edi
test eax, eax
je 0x416986
push eax
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
call fcn.0040ac50
add esp, 4
mov dword [esi + 0x48], 0
lea ebx, [esi + 0x34]
mov eax, dword [esi + 0x14]
mov dword [esi + 0x45c], 0xffffffff
mov dword [esi + 0x458], 0xffffffff
test eax, eax
je 0x4169af
push eax
call fcn.0040ac50
mov edi, ebx
add esp, 4
mov dword [ebp - 0x14], edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4169bf
push eax
call fcn.0040ac50
add esp, 4
xor ebx, ebx
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
cmp dword [edi], ebx
jle 0x416a42
mov eax, dword [esi + 0x3c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x416a37
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00416b60
mov eax, dword [edi + 0x28]
mov byte [ebp - 4], 1
test eax, eax
je 0x4169ff
push eax
call fcn.0040ac50
add esp, 4
mov eax, dword [edi + 0x1c]
mov byte [ebp - 4], 2
test eax, eax
je 0x416a13
push eax
call fcn.0040ac50
add esp, 4
mov eax, dword [edi + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x416a27
push eax
call fcn.0040ac50
add esp, 4
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.0040ac50
add esp, 4
mov eax, dword [ebp - 0x14]
inc ebx
cmp ebx, dword [eax]
jl 0x4169d3
lea edi, [esi + 0x34]
mov eax, dword [edi + 8]
test eax, eax
je 0x416a66
push eax
mov dword [edi + 4], 0
mov dword [edi], 0
call fcn.0040ac50
add esp, 4
mov dword [edi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ad90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x41adb7
push eax
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.0040ac50
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41addc
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call fcn.0040ac50
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x41ae01
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.0040ac50
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov eax, dword [esi + 0x44]
test eax, eax
je 0x41ae42
push eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.0040ac50
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x41ae67
push eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.0040ac50
add esp, 4
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x41ae8c
push eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.0040ac50
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.00416a80
Function at 0x423520
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4fa140]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.00409210
mov edi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x2c]
push eax
push dword [0x4fae88]
movups xmmword [ebp - 0x2c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x2c]
movd xmm0, eax
lea eax, [ebp - 0x14]
cvtdq2ps xmm0, xmm0
push eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movss dword [edi + 0x34], xmm0
xorps xmm0, xmm0
movss dword [edi + 0x30], xmm1
movlpd qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [0x4fae90]
mov edx, dword [ebp - 0x10]
sbb edx, dword [0x4fae94]
call fcn.0042bb60
mov edx, dword [0x4fae9c]
mov ecx, dword [0x4fae98]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.0042bb60
movss xmm1, dword [ebp - 8]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0x38], xmm1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [0x4fae90], eax
mov dword [0x4fae94], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0x11c], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0x11d], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0x11f], 0
mov byte [edi + 0x11e], al
call fcn.00409210
mov esi, eax
cmp byte [esi + 0x377], 0
je 0x42365a
cvttss2si ecx, dword [esi + 0x104]
lea eax, [ebp - 0xc]
push eax
push dword [0x4fae88]
mov dword [ebp - 0xc], ecx
cvttss2si ecx, dword [esi + 0x108]
mov dword [ebp - 8], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x42365a
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi + 0x104], 0xff7fffff
mov dword [esi + 0x108], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x4236d0
mov ecx, dword [0x4fae88]
cmp eax, ecx
je 0x42368e
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x4236d0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x4236d0
lea eax, [ebp - 0x1c]
push eax
push dword [0x4fae88]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x4236d0
movd xmm0, dword [ebp - 0x1c]
movd xmm1, dword [ebp - 0x18]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0x104], xmm0
movss dword [esi + 0x108], xmm1
cmp byte [edi + 0xd0], 0
pop edi
pop esi
je 0x4236e0
or eax, 0xffffffff
jmp 0x4236e5
call fcn.00409220
cmp dword [0x4611b8], eax
je 0x4236f7
mov dword [0x4611b8], eax
call fcn.004239c0
call fcn.00423720
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042badc
mov esp, ebp
pop ebp
ret
Function at 0x428910
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449f18
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4fa140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428945
sub eax, edx
mov dword [ebp - 0x70], 0
sar eax, 1
lea ecx, [ebp - 0x80]
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
push edi
movups xmmword [ebp - 0x80], xmm0
call fcn.004277a0
cmp dword [ebp - 0x6c], 7
lea ecx, [ebp - 0x80]
mov eax, dword [ebp - 0x70]
cmova ecx, dword [ebp - 0x80]
mov dword [ebp - 4], 0
lea esi, [ecx + eax*2]
push esi
push ecx
call fcn.00428d10
add esp, 8
mov dword [ebp - 0x88], 0
sub esi, eax
mov dword [ebp - 0x84], 0
sar esi, 1
lea ecx, [ebp - 0x98]
xorps xmm0, xmm0
push esi
push eax
movups xmmword [ebp - 0x98], xmm0
call fcn.004277a0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xb0]
call fcn.00427af0
mov ecx, dword [ebp - 0x9c]
lea esi, [ebp - 0xb0]
mov edx, dword [ebp - 0xb0]
cmp ecx, 7
cmova esi, edx
jbe 0x428a23
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x428a19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b4f
push ecx
push edx
call fcn.0042bace
add esp, 8
mov ecx, dword [ebp - 0x84]
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
cmp ecx, 7
jbe 0x428a80
mov edx, dword [ebp - 0x98]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x428a76
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b4f
push ecx
push edx
call fcn.0042bace
add esp, 8
mov ecx, dword [ebp - 0x6c]
cmp ecx, 7
jbe 0x428aba
mov edx, dword [ebp - 0x80]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x428ab0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b4f
push ecx
push edx
call fcn.0042bace
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x64]
mov dword [ebp - 0x6c], 7
push eax
lea eax, [ebp - 0x54]
movlpd qword [ebp - 0x50], xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push edi
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x54], 0x44
movups xmmword [ebp - 0x64], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x428b34
push dword [ebp - 0x64]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x60]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042badc
mov esp, ebp
pop ebp
ret
call fcn.00438cb2
int3
Function at 0x42bb60
Capabilities:
Enumerate pe sections

Disassembly:
cmp dword [0x4fb264], 6
jl 0x42bb7a
vmovd xmm0, ecx
vpinsrd xmm0, xmm0, edx, 1
vcvtqq2pd xmm0, xmm0
ret
movd xmm0, ecx
orps xmm0, xmmword [0x450a00]
subsd xmm0, qword [0x450a00]
test edx, edx
je 0x42bba1
cvtsi2sd xmm1, edx
mulsd xmm1, qword [0x450a20]
addsd xmm0, xmm1
ret

Function at 0x42c71e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42c75d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42c75d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42c75d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42c75d
cmp dword [ecx + 0x74], 0xe
jbe 0x42c75d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x42cb40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x42cb67
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x42cb6a
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0042cb1c
pop esi
leave
ret 8