joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414170
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x414195
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const]
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x414200
jg 0x4141bb
test esi, esi
je 0x414200
test ecx, ecx
jl 0x41423a
jg 0x4141c5
test eax, eax
je 0x41423a
cmp edi, ecx
jg 0x4141d5
jl 0x4141cf
cmp esi, eax
jae 0x4141d5
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
push dword [ebp + 0x10]
push dword [ebp + 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 0x10]
add esp, 0xc
add dword [ebp + 8], eax
mov ecx, ebx
sub esi, eax
sbb edi, dword [ebp - 4]
push eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int_]
mov eax, dword [ebp + 8]
test edi, edi
jl 0x414227
jg 0x41420d
test esi, esi
je 0x414227
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x414227
push ecx
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
jmp 0x41420d
Function at 0x414620
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ecx]
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x41467d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x414640
mov eax, dword [esi]
jmp 0x414757
cmp eax, 0x4e0
jb 0x414757
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x414696
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
nop
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x4146e0
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41de70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0xc8]
lea edx, [ebp + 8]
push ebx
mov ebx, dword [ecx + 0xd0]
push esi
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x462878]
sub esi, 1
jne 0x41de90
mov eax, dword [0x48e958]
not ebx
cmp dword [eax + 0x3e50], ebx
jne 0x41dec8
push esi
push dword [ebp + 8]
push 4
push ebx
call fcn.0041c320
add esp, 0x10
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4

Function at 0x41e870
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 0x41e8d3
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x41e8b6
cmp edi, 2
jb 0x41e8b6
cmp byte [esi], cl
jne 0x41e8b6
cmp byte [esi + 1], cl
jne 0x41e8b6
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x462878]
jmp 0x41e887
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x462878]
test edi, edi
jne 0x41e887
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x41e908
nop word [eax + eax]
cmp cl, 0x23
jne 0x41e8ef
cmp byte [esi], cl
jne 0x41e8ef
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 + 0x462878]
test cl, cl
jne 0x41e8e0
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x41eae0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x14
xor edx, edx
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
test esi, esi
je 0x41eb00
cmp eax, esi
jae 0x41ec78
mov cl, byte [eax]
mov byte [ebp - 3], cl
test cl, cl
je 0x41ec78
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, esi
movsx ecx, byte [ecx + 0x462fd8]
test ecx, ecx
mov dword [ebp - 0xc], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x41eb32
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [ebp - 3]
mov byte [ebp - 4], cl
cmp esi, edx
jae 0x41eb4a
mov bl, byte [esi]
mov byte [ebp - 1], bl
jmp 0x41eb4e
mov byte [ebp - 1], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x41eb59
mov ch, byte [esi]
jmp 0x41eb5b
xor ch, ch
lea ebx, [eax + 3]
mov byte [ebp - 3], ch
cmp ebx, edx
jae 0x41eb69
mov bl, byte [ebx]
jmp 0x41eb6b
xor bl, bl
movzx esi, byte [ebp - 1]
movzx edx, ch
movzx ecx, cl
movzx edi, bl
mov byte [ebp - 2], bl
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx*4 + 0x462ff8]
and ebx, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [ebp - 8], ebx
shl dword [ebp - 8], 6
and esi, 0xc0
or dword [ebp - 8], ecx
mov ecx, edx
shl dword [ebp - 8], 6
and ecx, 0x3f
or dword [ebp - 8], ecx
and edx, 0xc0
shl dword [ebp - 8], 6
mov ecx, edi
mov ebx, dword [ebp - 8]
and ecx, 0x3f
or ebx, ecx
shr edi, 2
mov ecx, dword [ebp - 0xc]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x463020]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
cmp esi, dword [ebx*4 + 0x46300c]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebx*4 + 0x463034]
mov ebx, dword [ebp - 0x14]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x41ec5f
xor edx, edx
cmp byte [ebp - 4], dl
setne dl
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 1], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
add eax, edx
mov edx, dword [ebp - 0x10]
inc edx
jmp 0x41eaee
add eax, ebx
test esi, esi
je 0x41ec6e
mov edx, dword [ebp - 0x10]
inc edx
jmp 0x41eaee
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ecf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
dec eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x10], ecx
lea eax, [ebx + eax*2]
mov dword [ebp - 0x18], eax
cmp ebx, eax
mov eax, dword [ebp + 0x10]
jae 0x41eeae
push esi
mov esi, dword [ebp + 0x14]
push edi
nop dword [eax]
test esi, esi
je 0x41ed2c
cmp eax, esi
jae 0x41eea9
mov bl, byte [eax]
mov byte [ebp + 0xf], bl
test bl, bl
je 0x41eea9
movzx ecx, bl
mov edx, esi
shr ecx, 3
xor ebx, ebx
movsx ecx, byte [ecx + 0x462fd8]
test ecx, ecx
mov dword [ebp - 0xc], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x41ed5e
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [ebp + 0xf]
mov byte [ebp - 3], cl
cmp esi, edx
jae 0x41ed73
mov bh, byte [esi]
jmp 0x41ed75
xor bh, bh
lea esi, [eax + 2]
mov byte [ebp - 2], bh
cmp esi, edx
jae 0x41ed83
mov ch, byte [esi]
jmp 0x41ed85
xor ch, ch
lea esi, [eax + 3]
mov byte [ebp - 1], ch
cmp esi, edx
jae 0x41ed93
mov bl, byte [esi]
jmp 0x41ed95
xor bl, bl
movzx edx, ch
movzx ecx, cl
movzx esi, bh
movzx edi, bl
mov byte [ebp + 0xf], bl
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx*4 + 0x462ff8]
and ebx, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [ebp - 8], ebx
shl dword [ebp - 8], 6
and esi, 0xc0
or dword [ebp - 8], ecx
mov ecx, edx
shl dword [ebp - 8], 6
and ecx, 0x3f
or dword [ebp - 8], ecx
and edx, 0xc0
shl dword [ebp - 8], 6
mov ecx, edi
mov ebx, dword [ebp - 8]
and ecx, 0x3f
or ebx, ecx
shr edi, 2
mov ecx, dword [ebp - 0xc]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x463020]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
cmp esi, dword [ebx*4 + 0x46300c]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebx*4 + 0x463034]
mov ebx, dword [ebp - 0x14]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x41ee86
xor edx, edx
mov esi, 0xfffd
cmp byte [ebp + 0xf], dl
setne dl
xor ecx, ecx
cmp byte [ebp - 1], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
add eax, edx
jmp 0x41ee8c
add eax, ebx
test esi, esi
je 0x41eea6
mov ecx, dword [ebp - 0x10]
mov word [ecx], si
add ecx, 2
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebp - 0x18]
jb 0x41ed20
jmp 0x41eea9
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
pop edi
pop esi
xor edx, edx
mov word [ecx], dx
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x41eebc
mov dword [edx], eax
sub ecx, ebx
sar ecx, 1
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420220
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x5250], 0
lea esi, [edi + 0x5254]
je 0x42029b
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x420256
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0042be80
push dword [ebp + 0x10]
mov ecx, esi
mov dword [esi], 0
push dword [ebp + 0xc]
call fcn.0042ba20
mov edx, dword [esi]
mov ecx, 0x48e95c
push dword [edi + 0x5250]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x525c]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebp
ret
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.0042ba20
pop edi
pop esi
pop ebp
ret
Function at 0x423a90
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [0x48e958]
movss xmm0, dword [0x4636d0]
push ebx
mov ebx, ecx
mov dword [ebp - 4], ebx
comiss xmm0, dword [ebx + 0x4144]
ja 0x423d09
cmp dword [ebx + 0x4140], 0
push esi
push edi
jne 0x423b0e
or edx, 0xffffffff
mov esi, 0x4635bd
mov al, 0x23
or edi, 0xffffffff
nop
cmp al, 0x23
jne 0x423ade
cmp byte [esi], al
jne 0x423ade
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 + 0x462878]
test al, al
jne 0x423ad0
not edx
push edx
call fcn.0041d840
mov dword [ebx + 0x4140], eax
add esp, 4
mov ecx, dword [0x48e958]
mov eax, dword [ecx + 0x3fe4]
mov dword [ebp - 0xc], 0x7f7fffff
mov dword [ebp - 8], 0x7f7fffff
mov eax, dword [eax]
movss xmm2, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
mulss xmm2, dword [0x4636d4]
or dword [ecx + 0x3f18], 0x10
mulss xmm1, dword [0x4636d4]
mov dword [ecx + 0x3f64], 0
mov dword [ecx + 0x3f68], 0
movss dword [ebp - 0x14], xmm2
movss dword [ebp - 0x10], xmm1
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [ecx + 0x3f54], xmm0
movss xmm2, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
mulss xmm2, dword [0x4636dc]
mulss xmm1, dword [0x4636dc]
addss xmm2, dword [eax + 4]
addss xmm1, dword [eax + 8]
mov eax, dword [0x48e958]
or dword [eax + 0x3f18], 1
movss dword [eax + 0x3f28], xmm2
movss dword [eax + 0x3f2c], xmm1
mov dword [eax + 0x3f30], 0x3f000000
mov dword [eax + 0x3f34], 0x3f000000
mov dword [eax + 0x3f1c], 1
lea eax, [ebp - 0xc]
movss xmm0, dword [ebx + 0x37b8]
addss xmm0, xmm0
push eax
push 2
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [ebx + 0x37bc]
addss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.00425480
push 0xc1347
push 0
push str.NavWindowingList
call fcn.004182a0
mov edi, dword [ebx + 0x3df4]
add esp, 0x14
sub edi, 1
js 0x423cf8
nop dword [eax]
mov eax, dword [ebx + 0x3dfc]
mov esi, dword [eax + edi*4]
cmp byte [esi + 0x8f], 0
je 0x423cef
cmp esi, dword [esi + 0x2e8]
jne 0x423cef
test dword [esi + 8], 0x80000
jne 0x423cef
mov ecx, dword [esi]
mov edx, ecx
cmp ecx, 0xffffffff
jae 0x423c75
mov bl, byte [edx]
test bl, bl
je 0x423c6e
cmp bl, 0x23
jne 0x423c68
cmp byte [edx + 1], bl
je 0x423c6e
inc edx
cmp edx, 0xffffffff
jb 0x423c58
mov ebx, dword [ebp - 4]
cmp ecx, edx
jne 0x423cc5
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x423c86
mov ecx, str._Popup_
jmp 0x423cc5
test eax, 0x400
je 0x423cc0
mov eax, str.MainMenuBar
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x423cb2
test dl, dl
je 0x423cae
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x423cb2
add ecx, 2
add eax, 2
test dl, dl
jne 0x423c92
xor eax, eax
jmp 0x423cb7
sbb eax, eax
or eax, 1
mov ecx, str._Main_menu_bar_
test eax, eax
je 0x423cc5
mov ecx, str._Untitled_
cmp dword [ebx + 0x4138], 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.00446130
add esp, 0x10
sub edi, 1
jns 0x423c20
call fcn.0041c5a0
push 1
call fcn.00425150
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4279f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x48e958]
push esi
mov esi, dword [ebp + 8]
mov dword [eax + 0x5204], 0
test esi, esi
je 0x427a49
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push edi
push eax
call fcn.00427a50
push 0x4635e4
push esi
mov edi, eax
call fcn.0041e660
mov esi, eax
add esp, 0xc
test esi, esi
je 0x427a48
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
pop ebp
ret

Function at 0x42a830
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [0x48e958]
cmp byte [edi + 0x5201], 0
lea eax, [edi + 0x20]
jne 0x42a955
mov ecx, dword [eax]
push ebx
test ecx, ecx
je 0x42a94d
push esi
push 0x4635e0
push ecx
call fcn.0041e660
mov esi, eax
add esp, 8
test esi, esi
je 0x42a949
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x42a93f
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x42a93f
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
cmp ebx, 0xffffffff
je 0x42a93f
push 0
push dword [ebp - 8]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x42a93f
mov eax, dword [0x48e958]
test eax, eax
je 0x42a8d5
inc dword [eax + 0xa8]
push dword [0x48e960]
push ebx
call dword [0x48e034]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42a93f
push esi
push dword [ebp - 4]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp - 4]
je 0x42a92b
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, dword [0x48e958]
test eax, eax
je 0x42a919
dec dword [eax + 0xa8]
push dword [0x48e960]
push ebx
call dword [0x48e038]
add esp, 8
jmp 0x42a949
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push dword [ebp - 4]
push ebx
call fcn.0041fde0
add esp, 0xc
jmp 0x42a90a
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
lea eax, [edi + 0x20]
pop esi
mov byte [edi + 0x5201], 1
pop ebx
movss xmm0, dword [edi + 0x5204]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x42a9a6
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x5204], xmm0
jb 0x42a9a6
mov eax, dword [eax]
test eax, eax
je 0x42a995
push eax
call fcn.004279f0
add esp, 4
mov dword [edi + 0x5204], 0
pop edi
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x90], 1
mov dword [edi + 0x5204], 0
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4315a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b8f0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x48e080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
lea ecx, [edi + 0x54]
mov dword [ebp - 0x10], ecx
cmp dword [edi + 0x4c], ebx
jle 0x431616
xor esi, esi
nop dword [eax]
mov eax, dword [ecx]
mov ecx, dword [eax + esi]
test ecx, ecx
je 0x431608
cmp byte [eax + esi + 8], 0
je 0x431608
push ecx
call fcn.00420330
mov eax, dword [edi + 0x54]
lea ecx, [edi + 0x54]
add esp, 4
mov dword [esi + eax], 0
jmp 0x43160b
lea ecx, [edi + 0x54]
inc ebx
add esi, 0x78
cmp ebx, dword [edi + 0x4c]
jl 0x4315e0
jmp 0x431619
mov dword [ebp - 0x10], ecx
xor edx, edx
lea ebx, [edi + 0x34]
cmp dword [ebx], edx
jle 0x431661
mov eax, dword [edi + 0x3c]
mov esi, dword [eax + edx*4]
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
cmp dword [esi + 0x34], eax
jb 0x431659
mov ecx, dword [edi + 0x4c]
shl ecx, 4
sub ecx, dword [edi + 0x4c]
lea eax, [eax + ecx*8]
cmp dword [esi + 0x34], eax
jae 0x431656
mov dword [esi + 0x34], 0
xor ecx, ecx
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edx*4]
mov word [eax + 0x38], cx
mov ecx, dword [ebp - 0x10]
inc edx
cmp edx, dword [ebx]
jl 0x431622
lea ebx, [edi + 0x34]
mov eax, dword [edi + 0x54]
test eax, eax
je 0x431686
push eax
mov dword [edi + 0x50], 0
mov dword [edi + 0x4c], 0
call fcn.00420330
add esp, 4
mov dword [edi + 0x54], 0
mov eax, dword [edi + 0x48]
mov esi, ebx
test eax, eax
je 0x4316b0
push eax
mov dword [edi + 0x44], 0
mov dword [edi + 0x40], 0
call fcn.00420330
add esp, 4
mov dword [edi + 0x48], 0
lea esi, [edi + 0x34]
mov eax, dword [edi + 0x14]
mov dword [edi + 0x464], 0xffffffff
mov dword [edi + 0x460], 0xffffffff
test eax, eax
je 0x4316d6
push eax
call fcn.00420330
add esp, 4
mov ebx, esi
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4316e6
push eax
call fcn.00420330
add esp, 4
xor ecx, ecx
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov byte [edi + 0x12], 0
mov dword [ebp - 0x10], ecx
cmp dword [ebx], ecx
jle 0x431770
mov eax, dword [ebx + 8]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x431768
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00431890
mov eax, dword [esi + 0x28]
mov byte [ebp - 4], 1
test eax, eax
je 0x43172d
push eax
call fcn.00420330
add esp, 4
mov eax, dword [esi + 0x1c]
mov byte [ebp - 4], 2
test eax, eax
je 0x431741
push eax
call fcn.00420330
add esp, 4
mov eax, dword [esi + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x431755
push eax
call fcn.00420330
add esp, 4
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.00420330
mov ecx, dword [ebp - 0x10]
add esp, 4
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebx]
jl 0x431701
mov eax, dword [ebx + 8]
test eax, eax
je 0x431794
push eax
mov dword [ebx + 4], 0
mov dword [ebx], 0
call fcn.00420330
add esp, 4
mov dword [ebx + 8], 0
mov byte [edi + 0x11], 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 0x4368d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x4368f7
push eax
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.00420330
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43691c
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call fcn.00420330
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x436941
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.00420330
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 0x436982
push eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.00420330
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4369a7
push eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.00420330
add esp, 4
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x4369cc
push eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.00420330
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.004317b0
Function at 0x456a00
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [ebp + 0x14]
mov cl, byte [eax]
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
mov byte [esi + 1], cl
mov ecx, dword [0x48ea9c]
mov byte [esi], al
mov byte [ebp + 0x18], al
mov eax, dword fs:[0x2c]
mov dword [esi + 4], edx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x48ea34]
cmp eax, dword [ecx + 4]
jg 0x456a5b
push dword [0x48ea30]
push dword [ebp + 0x18]
call dword [sym.imp.USER32.dll_VkKeyScanExA]
mov ecx, 0xff
and ax, cx
mov word [esi + 8], ax
pop esi
pop ebp
ret
push 0x48ea34
call fcn.004592f0
add esp, 4
cmp dword [0x48ea34], 0xffffffff
jne 0x456a3d
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0x48ea34
mov dword [0x48ea30], eax
call fcn.0045929f
add esp, 4
jmp 0x456a3d