joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002b690
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x1002b6a2
mov dword [edi], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1002b7d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1002b6ba
pop edi
pop esi
pop ebp
ret
push ebx
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 + 0x10], eax
cmp eax, 0xffffffff
je 0x1002b7b1
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 0x1002b7b1
push esi
call ebx
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x1002b7b1
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1002b7b1
mov eax, dword [0x100d5d4c]
test eax, eax
je 0x1002b720
inc dword [eax + 0x370]
push dword [0x100d5d6c]
mov eax, dword [ebp + 0x14]
add eax, ebx
push eax
call dword [0x100d33f8]
add esp, 8
mov dword [ebp + 0x10], eax
test eax, eax
je 0x1002b7b1
push esi
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, ebx
je 0x1002b781
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x100d5d4c]
add esp, 4
test eax, eax
je 0x1002b767
dec dword [eax + 0x370]
push dword [0x100d5d6c]
mov eax, dword [ebp + 0x10]
push eax
call dword [0x100d33fc]
add esp, 8
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x1002b799
push eax
mov eax, dword [ebp + 0x10]
add eax, ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x1002b7a9
mov dword [edi], ebx
mov eax, dword [ebp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x1002b9e0
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 0x1002ba43
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1002ba26
cmp edi, 2
jb 0x1002ba26
cmp byte [esi], cl
jne 0x1002ba26
cmp byte [esi + 1], cl
jne 0x1002ba26
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100c5fb8]
jmp 0x1002b9f7
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100c5fb8]
test edi, edi
jne 0x1002b9f7
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1002ba78
nop word [eax + eax]
cmp cl, 0x23
jne 0x1002ba5f
cmp byte [esi], cl
jne 0x1002ba5f
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 + 0x100c5fb8]
test cl, cl
jne 0x1002ba50
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x1002bcc0
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 0x1002bce0
cmp eax, esi
jae 0x1002be58
mov cl, byte [eax]
mov byte [ebp - 3], cl
test cl, cl
je 0x1002be58
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, esi
movsx ecx, byte [ecx + 0x100c63f4]
test ecx, ecx
mov dword [ebp - 0xc], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x1002bd12
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 0x1002bd2a
mov bl, byte [esi]
mov byte [ebp - 1], bl
jmp 0x1002bd2e
mov byte [ebp - 1], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x1002bd39
mov ch, byte [esi]
jmp 0x1002bd3b
xor ch, ch
lea ebx, [eax + 3]
mov byte [ebp - 3], ch
cmp ebx, edx
jae 0x1002bd49
mov bl, byte [ebx]
jmp 0x1002bd4b
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 + 0x100c6414]
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 + 0x100c643c]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
cmp esi, dword [ebx*4 + 0x100c6428]
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 + 0x100c6450]
mov ebx, dword [ebp - 0x14]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x1002be3f
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 0x1002bcce
add eax, ebx
test esi, esi
je 0x1002be4e
mov edx, dword [ebp - 0x10]
inc edx
jmp 0x1002bcce
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 0x1002bed0
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 0x1002c08e
push esi
mov esi, dword [ebp + 0x14]
push edi
nop dword [eax]
test esi, esi
je 0x1002bf0c
cmp eax, esi
jae 0x1002c089
mov bl, byte [eax]
mov byte [ebp + 0xf], bl
test bl, bl
je 0x1002c089
movzx ecx, bl
mov edx, esi
shr ecx, 3
xor ebx, ebx
movsx ecx, byte [ecx + 0x100c63f4]
test ecx, ecx
mov dword [ebp - 0xc], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x1002bf3e
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 0x1002bf53
mov bh, byte [esi]
jmp 0x1002bf55
xor bh, bh
lea esi, [eax + 2]
mov byte [ebp - 2], bh
cmp esi, edx
jae 0x1002bf63
mov ch, byte [esi]
jmp 0x1002bf65
xor ch, ch
lea esi, [eax + 3]
mov byte [ebp - 1], ch
cmp esi, edx
jae 0x1002bf73
mov bl, byte [esi]
jmp 0x1002bf75
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 + 0x100c6414]
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 + 0x100c643c]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
cmp esi, dword [ebx*4 + 0x100c6428]
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 + 0x100c6450]
mov ebx, dword [ebp - 0x14]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x1002c066
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 0x1002c06c
add eax, ebx
test esi, esi
je 0x1002c086
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 0x1002bf00
jmp 0x1002c089
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 0x1002c09c
mov dword [edx], eax
sub ecx, ebx
sar ecx, 1
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002c660
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 cl, 0x57
mov esi, 0x100c64c9
or edi, 0xffffffff
cmp cl, 0x23
jne 0x1002c692
cmp byte [esi], cl
jne 0x1002c692
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 + 0x100c5fb8]
test cl, cl
jne 0x1002c683
mov esi, dword [ebp + 8]
not eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x10036b80
mov dword [ebp - 0x14], 0x10036cd0
mov edi, dword [esi + 0x2ecc]
mov ecx, dword [esi + 0x2ed0]
mov dword [ebp - 0x10], 0x10036c00
mov dword [ebp - 0xc], 0x10036ab0
mov dword [ebp - 8], 0x10036d10
cmp edi, ecx
jne 0x1002c787
inc edi
test ecx, ecx
je 0x1002c6fa
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1002c6ff
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1002c787
mov eax, dword [0x100d5d4c]
test eax, eax
je 0x1002c717
inc dword [eax + 0x370]
push ebx
push dword [0x100d5d6c]
lea eax, [edi + edi*8]
shl eax, 2
push eax
call dword [0x100d33f8]
mov ebx, eax
add esp, 8
mov eax, dword [esi + 0x2ed4]
test eax, eax
je 0x1002c77a
mov ecx, dword [esi + 0x2ecc]
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x2ed4]
add esp, 0xc
test ecx, ecx
je 0x1002c76a
mov eax, dword [0x100d5d4c]
test eax, eax
je 0x1002c76a
dec dword [eax + 0x370]
push dword [0x100d5d6c]
push ecx
call dword [0x100d33fc]
add esp, 8
mov dword [esi + 0x2ed4], ebx
mov dword [esi + 0x2ed0], edi
pop ebx
mov eax, dword [esi + 0x2ecc]
movups xmm0, xmmword [ebp - 0x24]
push esi
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x2ed4]
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 + 0x2ecc]
call fcn.10049c60
add esp, 4
mov byte [esi], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1002d640
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x100d5d4c]
cmp byte [esi + 0x2efc], 0
je 0x1002d6db
cmp dword [esi + 0x2f04], 0
push edi
lea edi, [esi + 0x2f08]
je 0x1002d6cc
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1002d686
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, edi
call fcn.10037410
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.10036fc0
mov edx, dword [edi]
mov ecx, 0x100d5d50
push dword [esi + 0x2f04]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2f10]
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
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.10036fc0
pop edi
pop esi
pop ebp
ret
Function at 0x10030550
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100d5d4c]
movss xmm0, dword [0x100c6620]
push ebx
mov ebx, eax
mov dword [ebp - 4], ebx
comiss xmm0, dword [ebx + 0x1cd8]
ja 0x100307b9
cmp dword [ebx + 0x1cd4], 0
push esi
push edi
jne 0x100305cd
or edx, 0xffffffff
mov al, 0x23
mov esi, 0x100c6565
or edi, 0xffffffff
nop
cmp al, 0x23
jne 0x1003059e
cmp byte [esi], al
jne 0x1003059e
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 + 0x100c5fb8]
test al, al
jne 0x10030590
not edx
push edx
call fcn.1002a490
mov dword [ebx + 0x1cd4], eax
add esp, 4
mov eax, dword [0x100d5d4c]
movss xmm2, dword [ebx + 0x10]
movss xmm1, dword [ebx + 0x14]
or dword [eax + 0x1af0], 0x10
mulss xmm2, dword [0x100c6628]
mulss xmm1, dword [0x100c6628]
movss xmm3, dword [0x100c668c]
movss dword [eax + 0x1b2c], xmm2
movss dword [eax + 0x1b30], xmm1
movss dword [eax + 0x1b34], xmm3
movss dword [eax + 0x1b38], xmm3
mov dword [eax + 0x1b3c], 0
mov dword [eax + 0x1b40], 0
movss xmm2, dword [ebx + 0x10]
movss xmm1, dword [ebx + 0x14]
mov eax, dword [0x100d5d4c]
mulss xmm2, dword [0x10083030]
mulss xmm1, dword [0x10083030]
or dword [eax + 0x1af0], 1
movss dword [eax + 0x1b00], xmm2
mov dword [eax + 0x1b08], 0x3f000000
movss dword [eax + 0x1b04], xmm1
mov dword [eax + 0x1b0c], 0x3f000000
mov dword [eax + 0x1af4], 1
lea eax, [ebp - 0xc]
movss xmm0, dword [ebx + 0x151c]
addss xmm0, xmm0
push eax
push 1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [ebx + 0x1520]
addss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.10031ec0
push 0xc1347
push 0
push str.NavWindowingList
call fcn.10025130
mov edi, dword [ebx + 0x1a38]
add esp, 0x14
sub edi, 1
js 0x100307a8
nop
mov eax, dword [ebx + 0x1a40]
mov esi, dword [eax + edi*4]
cmp byte [esi + 0x83], 0
je 0x1003079f
cmp esi, dword [esi + 0x318]
jne 0x1003079f
test dword [esi + 8], 0x80000
jne 0x1003079f
mov ecx, dword [esi]
mov edx, ecx
cmp ecx, 0xffffffff
jae 0x10030725
mov bl, byte [edx]
test bl, bl
je 0x1003071e
cmp bl, 0x23
jne 0x10030718
cmp byte [edx + 1], bl
je 0x1003071e
inc edx
cmp edx, 0xffffffff
jb 0x10030708
mov ebx, dword [ebp - 4]
cmp ecx, edx
jne 0x10030775
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x10030736
mov ecx, str._Popup_
jmp 0x10030775
test eax, 0x400
je 0x10030770
mov eax, str.MainMenuBar
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10030762
test dl, dl
je 0x1003075e
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10030762
add ecx, 2
add eax, 2
test dl, dl
jne 0x10030742
xor eax, eax
jmp 0x10030767
sbb eax, eax
or eax, 1
mov ecx, str._Main_menu_bar_
test eax, eax
je 0x10030775
mov ecx, str._Untitled_
cmp dword [ebx + 0x1ccc], 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.1005c3c0
add esp, 0x10
sub edi, 1
jns 0x100306d0
call fcn.10029290
push 1
call fcn.100319c0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10031bf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100d4480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100d5d4c]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1a6c]
mov esi, 4
mov eax, dword [ebp + 8]
add edi, 0xc4
mov dword [ebp - 8], eax
mov eax, dword [edi]
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x100c5fb8]
sub esi, 1
jne 0x10031c30
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x10031c77
inc ecx
test esi, esi
je 0x10031c65
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x10031c6a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10037510
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007c66c
mov esp, ebp
pop ebp
ret

Function at 0x10034320
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x100d5d4c]
push esi
mov esi, dword [ebp + 8]
mov dword [eax + 0x2ebc], 0
test esi, esi
je 0x10034379
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push edi
push eax
call fcn.10034380
push 0x100c65ac
push esi
mov edi, eax
call fcn.1002b7d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10034378
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 0x10035f60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [0x100d5d4c]
cmp byte [edi + 0x2eb9], 0
lea eax, [edi + 0x20]
jne 0x10036085
mov ecx, dword [eax]
push ebx
test ecx, ecx
je 0x1003607d
push esi
push 0x100c65a8
push ecx
call fcn.1002b7d0
mov esi, eax
add esp, 8
test esi, esi
je 0x10036079
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 0x1003606f
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 0x1003606f
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
cmp ebx, 0xffffffff
je 0x1003606f
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 0x1003606f
mov eax, dword [0x100d5d4c]
test eax, eax
je 0x10036005
inc dword [eax + 0x370]
push dword [0x100d5d6c]
push ebx
call dword [0x100d33f8]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1003606f
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 0x1003605b
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, dword [0x100d5d4c]
test eax, eax
je 0x10036049
dec dword [eax + 0x370]
push dword [0x100d5d6c]
push ebx
call dword [0x100d33fc]
add esp, 8
jmp 0x10036079
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push dword [ebp - 4]
push ebx
call fcn.1002d290
add esp, 0xc
jmp 0x1003603a
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 + 0x2eb9], 1
pop ebx
movss xmm0, dword [edi + 0x2ebc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100360d6
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x2ebc], xmm0
jb 0x100360d6
mov eax, dword [eax]
test eax, eax
je 0x100360c5
push eax
call fcn.10034320
add esp, 4
mov dword [edi + 0x2ebc], 0
pop edi
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x358], 1
mov dword [edi + 0x2ebc], 0
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1003f3d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x1003f3f7
push eax
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.1002d780
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1003f41c
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call fcn.1002d780
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1003f441
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.1002d780
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 0x1003f482
push eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.1002d780
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x1003f4a7
push eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.1002d780
add esp, 4
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x1003f4cc
push eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.1002d780
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.1003a760
Function at 0x100480f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100d4480]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.1002af40
mov edi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x2c]
push eax
push dword [0x100d5dc8]
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 + 0xc], xmm0
xorps xmm0, xmm0
movss dword [edi + 8], xmm1
movlpd qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [0x100d5dd0]
mov edx, dword [ebp - 0x10]
sbb edx, dword [0x100d5dd4]
call fcn.1007ce50
mov edx, dword [0x100d5ddc]
mov ecx, dword [0x100d5dd8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.1007ce50
movss xmm1, dword [ebp - 8]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0x10], xmm1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [0x100d5dd0], eax
mov dword [0x100d5dd4], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xf4], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xf5], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0xf7], 0
mov byte [edi + 0xf6], al
call fcn.1002af40
mov esi, eax
cmp byte [esi + 0x34f], 0
je 0x1004822a
cvttss2si ecx, dword [esi + 0xdc]
lea eax, [ebp - 0xc]
push eax
push dword [0x100d5dc8]
mov dword [ebp - 0xc], ecx
cvttss2si ecx, dword [esi + 0xe0]
mov dword [ebp - 8], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x1004822a
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi + 0xdc], 0xff7fffff
mov dword [esi + 0xe0], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x100482a0
mov ecx, dword [0x100d5dc8]
cmp eax, ecx
je 0x1004825e
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x100482a0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x100482a0
lea eax, [ebp - 0x1c]
push eax
push dword [0x100d5dc8]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x100482a0
movd xmm0, dword [ebp - 0x1c]
movd xmm1, dword [ebp - 0x18]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xdc], xmm0
movss dword [esi + 0xe0], xmm1
cmp byte [edi + 0xa8], 0
pop edi
pop esi
je 0x100482b0
or eax, 0xffffffff
jmp 0x100482b5
call fcn.1002b020
cmp dword [0x100d35b8], eax
je 0x100482c7
mov dword [0x100d35b8], eax
call fcn.10048580
call fcn.100482e0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007c66c
mov esp, ebp
pop ebp
ret