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

Disassembly:
push ecx
cmp byte [esp + 8], 0
push ebx
mov ebx, ecx
push esi
mov dword [esp + 8], ebx
je 0x43bfef
mov edx, dword [ebx + 8]
test edx, edx
je 0x43c0ad
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 4]
shr eax, 3
cmp eax, edx
jbe 0x43bfb8
mov eax, dword [esi]
push eax
push dword [eax]
call fcn.0043ccb0
pop esi
pop ebx
pop ecx
ret 4
push dword [esi]
push esi
call fcn.0043b620
mov eax, dword [esi]
mov dword [eax], eax
mov eax, dword [esi]
mov dword [eax + 4], eax
mov dword [esi + 4], 0
mov eax, dword [esi]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.0043b9b0
add esp, 0x14
pop esi
pop ebx
pop ecx
ret 4
mov eax, dword [ebx + 4]
push ebp
lea ebp, [ebx + 4]
mov dword [esp + 0x14], ebp
mov esi, dword [eax]
cmp esi, eax
je 0x43c0ac
push edi
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x43c019
cmp dword [ecx + 4], 2
jl 0x43c019
mov esi, dword [esi]
jmp 0x43c0a0
cmp dword [esi + 0x1c], 0xf
lea edi, [esi + 8]
mov ebp, dword [edi + 0x10]
mov ecx, esi
jbe 0x43c029
mov edi, dword [edi]
xor edx, edx
mov ebx, 0x811c9dc5
test ebp, ebp
je 0x43c04e
movzx eax, byte [edx + edi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ebp
jb 0x43c034
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp]
jmp 0x43c052
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + 0x18]
mov edx, dword [edx + 0xc]
and edi, ebx
mov ebx, dword [edx + edi*8]
cmp dword [edx + edi*8 + 4], esi
jne 0x43c07d
cmp ebx, esi
jne 0x43c074
mov dword [edx + edi*8], eax
mov dword [edx + edi*8 + 4], eax
jmp 0x43c086
mov eax, dword [esi + 4]
mov dword [edx + edi*8 + 4], eax
jmp 0x43c086
cmp ebx, esi
jne 0x43c086
mov eax, dword [esi]
mov dword [edx + edi*8], eax
mov esi, dword [ecx]
dec dword [ebp + 4]
mov eax, dword [ecx + 4]
push ecx
push ebp
mov dword [eax], esi
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
call fcn.0043b6d0
add esp, 8
mov eax, dword [ebp]
cmp esi, eax
jne 0x43c005
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret 4
Function at 0x43cb00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x18
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x43cc72
cmp dword [ecx + 0x1c], 0xf
lea edx, [ecx + 8]
mov eax, dword [ebp + 4]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [edx + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 4]
push esi
mov dword [esp + 0xc], eax
mov esi, ecx
jbe 0x43cb3d
mov edx, dword [edx]
xor ecx, ecx
push edi
mov edi, 0x811c9dc5
test ebx, ebx
je 0x43cb61
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x43cb50
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x1c]
and eax, edi
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
nop
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.0042fa10
push 0x28
push edi
call fcn.005b26d8
dec dword [ebp + 8]
add esp, 8
cmp ebx, dword [esp + 0x24]
je 0x43cbd1
mov eax, dword [esp + 0x30]
cmp esi, eax
jne 0x43cb80
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x2c]
jne 0x43cc66
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
mov ecx, dword [esp + 0xc]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
add esp, 0x18
ret 8
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
jne 0x43cbe7
mov eax, dword [esp + 0x20]
mov dword [ecx], eax
jmp 0x43cbeb
mov eax, dword [esp + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
cmp esi, eax
je 0x43cc66
cmp dword [esi + 0x1c], 0xf
lea edi, [esi + 8]
mov ebx, dword [edi + 0x10]
jbe 0x43cc04
mov edi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x43cc21
nop
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x43cc10
and edx, dword [ebp + 0x18]
mov eax, dword [esp + 0x1c]
lea eax, [eax + edx*8]
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.0042fa10
push 0x28
push edi
call fcn.005b26d8
dec dword [ebp + 8]
add esp, 8
mov eax, dword [esp + 0x30]
cmp ebx, dword [esp + 0x24]
je 0x43cc79
cmp esi, eax
jne 0x43cc36
mov ecx, dword [esp + 0x2c]
mov dword [ecx], esi
mov ecx, dword [esp + 0x10]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
add esp, 0x18
ret 8
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x43cbf6
mov ecx, dword [esp + 0x10]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
add esp, 0x18
ret 8
Function at 0x43ccb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
cmp ebx, ebp
je 0x43ce86
cmp dword [ebx + 0x1c], 0xf
lea edx, [ebx + 8]
mov eax, dword [ecx + 4]
push edi
lea edi, [ecx + 4]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x10]
jbe 0x43ccf0
mov edx, dword [edx]
xor ecx, ecx
push esi
mov esi, 0x811c9dc5
test eax, eax
je 0x43cd15
mov ebp, eax
nop
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebp
jb 0x43cd00
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push ebx
push edi
mov eax, dword [eax + 0x18]
and eax, esi
mov esi, dword [ebx]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
call fcn.0043b6d0
dec dword [edi + 4]
add esp, 8
cmp ebx, dword [esp + 0x18]
je 0x43cd6f
nop dword [eax + eax]
mov ebx, esi
cmp esi, ebp
je 0x43cd81
push esi
mov esi, dword [esi]
push edi
call fcn.0043b6d0
dec dword [edi + 4]
add esp, 8
cmp ebx, dword [esp + 0x18]
jne 0x43cd50
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x1c], ebx
jne 0x43cdaa
mov eax, dword [esp + 0x28]
mov dword [ecx], eax
jmp 0x43cdae
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x30]
jne 0x43ce7b
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ecx], esi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebp
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x1c
ret 8
mov eax, dword [esp + 0x10]
mov dword [ecx + 4], eax
cmp esi, ebp
je 0x43ce7b
nop dword [eax]
cmp dword [esi + 0x1c], 0xf
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], eax
jbe 0x43cdd6
mov edx, dword [edx]
xor ecx, ecx
mov ebx, 0x811c9dc5
test eax, eax
je 0x43cdfa
mov ebp, dword [esp + 0x30]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, ebp
jb 0x43cde5
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push esi
mov esi, dword [esi]
mov eax, dword [eax + 0x18]
and eax, ebx
mov ebx, dword [ecx + eax*8 + 4]
push edi
mov dword [esp + 0x20], ebx
lea eax, [ecx + eax*8]
mov dword [esp + 0x38], eax
call fcn.0043b6d0
dec dword [edi + 4]
add esp, 8
cmp dword [esp + 0x1c], ebx
je 0x43ce4b
nop dword [eax + eax]
mov ebx, esi
cmp esi, ebp
je 0x43ce75
push esi
mov esi, dword [esi]
push edi
call fcn.0043b6d0
dec dword [edi + 4]
add esp, 8
cmp ebx, dword [esp + 0x18]
jne 0x43ce30
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov dword [eax], ebx
mov dword [eax + 4], ebx
cmp esi, ebp
jne 0x43cdc0
mov eax, dword [esp + 0x10]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebp
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x1c
ret 8
mov eax, dword [esp + 0x30]
mov dword [eax], esi
mov eax, dword [esp + 0x10]
mov dword [eax], esi
mov dword [esi + 4], eax
pop esi
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x1c
ret 8
Function at 0x449f50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 0x28
mov eax, dword [0x64e2c0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
mov ebx, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x1c]
push dword [esp + 0x40]
call fcn.0042f3a0
cmp dword [esp + 0x30], 0xf
lea edi, [esp + 0x1c]
mov ebp, dword [esp + 0x1c]
mov edx, 0x811c9dc5
cmova edi, ebp
xor ecx, ecx
cmp dword [esp + 0x2c], ecx
jbe 0x449fa9
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [esp + 0x2c]
jb 0x449f96
push edx
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0043b530
mov edi, dword [eax + 4]
test edi, edi
jne 0x449fc5
mov edi, dword [ebx + 4]
mov eax, dword [esp + 0x30]
cmp eax, 0xf
jbe 0x449ff5
lea ecx, [eax + 1]
mov eax, ebp
cmp ecx, 0x1000
jb 0x449feb
mov ebp, dword [eax - 4]
add ecx, 0x23
sub eax, ebp
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44a046
push ecx
push ebp
call fcn.005b26d8
add esp, 8
cmp edi, dword [ebx + 4]
je 0x44a01f
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x44a012
lock inc dword [eax + 4]
mov ecx, dword [edi + 0x20]
mov dword [esi], ecx
mov ecx, dword [edi + 0x24]
mov dword [esi + 4], ecx
jmp 0x44a02f
push dword [esp + 0x44]
mov ecx, ebx
push dword [esp + 0x44]
push esi
call fcn.0043c530
mov ecx, dword [esp + 0x34]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005b26e6
add esp, 0x28
ret 0xc
call fcn.005c1009
int3
Function at 0x44a900
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dff55
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x64e2c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x214], 0
je 0x44aa63
cmp dword [edi + 0x21c], 0
je 0x44aa63
push 0x4c
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x44a959
push 0
mov ecx, edi
call fcn.0044aae0
mov eax, dword [edi + 0x214]
mov ecx, dword [edi + 0x21c]
push ecx
mov dword [esp], 0x3f800000
mov byte [eax + 0x18], 1
add eax, 0xc
push eax
call fcn.004c3650
mov ecx, dword [edi + 0x214]
call fcn.004bf4a0
mov ecx, dword [edi + 0x228]
cmp dword [edi + 0x224], ecx
je 0x44aa63
mov eax, dword [edi + 0x2d0]
sub eax, 1
jne 0x44aa57
sub ecx, 1
je 0x44aa04
sub ecx, 2
jne 0x44aa57
mov ecx, dword [edi + 0x214]
lea eax, [ebp - 0x20]
mov esi, dword [edi + 0x21c]
push eax
call fcn.0044a050
mov ecx, dword [eax]
sub esp, 8
mov eax, esp
mov dword [ebp - 4], 1
mov dword [eax], str.1H_Melee_Attack_Slice_Horizontal
mov dword [eax + 4], 0x20
lea eax, [ebp - 0x18]
push eax
call fcn.004c0260
push 1
push eax
mov ecx, esi
call fcn.0044aa80
lea ecx, [ebp - 0x18]
call fcn.0042fa90
lea ecx, [ebp - 0x20]
jmp 0x44aa52
mov ecx, dword [edi + 0x214]
lea eax, [ebp - 0x18]
mov esi, dword [edi + 0x21c]
push eax
call fcn.0044a050
mov ecx, dword [eax]
sub esp, 8
mov eax, esp
mov dword [ebp - 4], 0
mov dword [eax], 0x5f83d0
mov dword [eax + 4], 9
lea eax, [ebp - 0x20]
push eax
call fcn.004c0260
push 1
push eax
mov ecx, esi
call fcn.0044aa80
lea ecx, [ebp - 0x20]
call fcn.0042fa90
lea ecx, [ebp - 0x18]
call fcn.0042fa90
mov eax, dword [edi + 0x228]
mov dword [edi + 0x224], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44cb40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e002a
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x64e2c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x54]
mov dword [esi + 0xc], 0xa
mov dword [esi + 0x208], 0xa
mov dword [esi + 0x20c], 0xa
call fcn.00434e40
movups xmm3, xmmword [0x5f7de0]
lea ecx, [esi + 0x130]
movups xmm0, xmmword [0x5f8570]
lea eax, [esi + 0x22c]
movups xmm1, xmmword [0x5f8580]
push eax
movups xmm2, xmmword [0x5f8590]
push ecx
movups xmmword [ecx], xmm0
lea eax, [ebp - 0x54]
movups xmmword [ecx + 0x10], xmm1
push eax
movups xmmword [ecx + 0x20], xmm2
movups xmmword [ecx + 0x30], xmm3
movups xmm0, xmmword [0x602108]
movups xmmword [esi + 0x28], xmm0
movups xmm0, xmmword [0x602118]
movups xmmword [esi + 0x38], xmm0
movups xmm0, xmmword [0x602128]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [0x602138]
movups xmmword [esi + 0x58], xmm0
call fcn.0043a8f0
push 0x24
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x28], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x38], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [esi + 0x58], xmm0
call fcn.005b2e07
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x44cc9e
mov dword [edi], 0
push 0x24
mov dword [ebp - 0x14], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.005b2e07
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
lea ecx, [edi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [edi + 0x18], 7
mov dword [edi + 0x1c], 8
mov dword [edi], 0x3f800000
push dword [edi + 4]
mov byte [ebp - 4], 2
push 0x10
call fcn.00437690
mov dword [edi + 0x20], 0
jmp 0x44cca0
xor edi, edi
mov eax, dword [esi + 0xa8]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], eax
mov dword [esi + 0xa8], edi
test eax, eax
je 0x44ccce
mov ecx, eax
call fcn.0043bcc0
push 0x24
push dword [ebp - 0x10]
call fcn.005b26d8
add esp, 8
mov ecx, dword [esi + 0xa8]
lea eax, [esi + 0x214]
push 2
push eax
sub esp, 8
mov eax, esp
mov dword [eax], str.Enemy
mov dword [eax + 4], 5
call fcn.004700e0
push 0xc
call fcn.005b2e07
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x44cd1b
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x44cd1d
xor eax, eax
mov edi, dword [esi + 0xb0]
mov dword [esi + 0xb0], eax
test edi, edi
je 0x44cd54
mov ecx, edi
mov dword [ebp - 4], 3
call fcn.004c3550
mov ecx, edi
call fcn.0043d620
push 0xc
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.005b26d8
add esp, 8
mov ecx, esi
mov dword [esi + 0x224], 0
mov dword [esi + 0x228], 0
call fcn.004389f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x452660
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e053d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x64e2c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
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 + 0xc], 0
call fcn.005b2e07
mov edi, eax
add esp, 4
test edi, edi
je 0x4526fd
push 1
mov dword [ebp - 4], 0
call fcn.004f5a18
add esp, 4
mov dword [edi + 4], eax
jmp 0x4526ff
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.00438ec0
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x45275a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x45275a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x452776
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x452799
cmp byte [ebp + 0xc], 0
je 0x452785
push esi
call fcn.004f61bc
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x4527a5
mov esi, str.ios_base::badbit_set
jmp 0x4527b5
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.0043a220
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.004393d0
push 0x63ee9c
lea eax, [ebp - 0x28]
push eax
call fcn.005b4f5d
int3
Function at 0x452b43
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x64e2c0]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x452b60
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005b26e6
add esp, 0x30
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x452b9d
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x452b9d
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005b26e6
add esp, 0x30
ret 4
cmp dword [esi + 0x4c], 0
je 0x452ca7
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x452bc5
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x452bf9
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.005c37d9
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005b26e6
add esp, 0x30
ret 4
mov byte [esp + 0xc], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1d]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x452c62
sub eax, 1
je 0x452c62
sub eax, 2
jne 0x452ca7
push dword [esi + 0x4c]
push dword [esp + 0x10]
call fcn.0044f0b0
add esp, 8
or ecx, 0xffffffff
test al, al
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005b26e6
add esp, 0x30
ret 4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
sub edi, eax
je 0x452c81
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.005b98c4
add esp, 0x10
cmp edi, eax
jne 0x452ca7
lea ecx, [esp + 0xc]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [esp + 0x14], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005b26e6
add esp, 0x30
ret 4
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005b26e6
add esp, 0x30
ret 4
Function at 0x455cb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e072c
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x64e2c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x455d06
lea ecx, [edi + 0x68]
mov dword [edi], 0x5f88a8
call fcn.0044f5f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
lea esi, [edi + 4]
push 0
push esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00452660
mov eax, dword [edi]
push 8
mov dword [ebp - 4], 2
mov dword [ebp + 8], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + edi - 4], eax
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [esi + 4], 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
call fcn.005b2e07
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x455dcf
push 1
mov byte [ebp - 4], 3
call fcn.004f5a18
add esp, 4
mov dword [ebx + 4], eax
jmp 0x455dd1
xor ebx, ebx
mov ecx, esi
mov dword [esi + 0x34], ebx
call fcn.004511e0
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
mov byte [esi + 0x48], 0
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea edx, [esi + 0x14]
mov byte [esi + 0x3d], 0
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
lea ebx, [esi + 0x18]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], ebx
mov dword [ecx], 0
mov dword [ebx], 0
mov dword [eax], 0
mov dword [esi + 4], 0
mov dword [edx], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x4c], 0
mov eax, dword [0x655404]
mov ecx, dword [0x655408]
mov dword [esi + 0x40], eax
mov eax, edi
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], 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 4
Function at 0x467233
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xf0]
mov ecx, dword [esi + 0xe8]
mov eax, dword [eax + 0x22c]
sub eax, 0
je 0x467266
sub eax, 1
je 0x46725f
sub eax, 1
jne 0x467266
mov eax, 2
jmp 0x467268
mov eax, 1
jmp 0x467268
xor eax, eax
mov dword [ecx + 0x1e4], eax
lea edi, [esi + 0xd8]
mov eax, dword [esi + 0xf8]
mov ecx, esi
push edi
movss xmm0, dword [eax + 0x130]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [eax + 0x134]
movss dword [esp + 0xc], xmm0
call fcn.004601d0
movss xmm4, dword [esp + 0x10]
movd xmm1, dword [edi]
movaps xmm0, xmm4
movss xmm5, dword [0x5f97d0]
movss xmm2, dword [0x5eec58]
subss xmm0, xmm5
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x18], xmm0
comiss xmm1, xmm0
jbe 0x467344
movaps xmm0, xmm4
addss xmm0, xmm5
comiss xmm0, xmm1
movss xmm1, dword [esp + 8]
movss dword [esp + 0xc], xmm0
jbe 0x46734a
movd xmm3, dword [esi + 0xdc]
movaps xmm0, xmm1
subss xmm0, xmm2
cvtdq2ps xmm3, xmm3
movss dword [esp + 8], xmm0
comiss xmm3, xmm0
jbe 0x46734a
movaps xmm0, xmm1
addss xmm0, xmm2
comiss xmm0, xmm3
movss dword [esp + 0x10], xmm0
jbe 0x46734a
mov eax, dword [esi + 0xf8]
mov dword [eax + 0x138], 0x3f800000
mov dword [eax + 0x13c], 0x3f800000
mov dword [eax + 0x140], 0x3f800000
mov dword [eax + 0x144], 0x3f800000
jmp 0x46739f
movss xmm1, dword [esp + 8]
mov eax, dword [esi + 0xf8]
movaps xmm0, xmm4
addss xmm0, xmm5
mov dword [eax + 0x138], 0x3f800000
mov dword [eax + 0x13c], 0x3f800000
movss dword [esp + 0xc], xmm0
movaps xmm0, xmm1
subss xmm0, xmm2
mov dword [eax + 0x140], 0x3f800000
mov dword [eax + 0x144], 0x3ecccccd
movss dword [esp + 8], xmm0
movaps xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x10], xmm0
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x467481
movd xmm1, dword [edi]
cvtdq2ps xmm1, xmm1
comiss xmm1, dword [esp + 0x18]
jbe 0x467488
movss xmm0, dword [esp + 0xc]
comiss xmm0, xmm1
jbe 0x467488
movd xmm1, dword [esi + 0xdc]
cvtdq2ps xmm1, xmm1
comiss xmm1, dword [esp + 8]
jbe 0x467488
movss xmm0, dword [esp + 0x10]
comiss xmm0, xmm1
jbe 0x467488
cmp byte [esi + 0xd4], 0
jne 0x467488
mov eax, dword [esi + 0xf0]
mov byte [esi + 0xd4], 1
mov eax, dword [eax + 0x22c]
sub eax, 0
je 0x467441
sub eax, 1
je 0x467433
sub eax, 1
jne 0x467441
call fcn.004372a0
mov dword [eax + 8], 4
jmp 0x46744d
call fcn.004372a0
mov dword [eax + 8], 3
jmp 0x46744d
call fcn.004372a0
mov dword [eax + 8], 2
call fcn.00436e40
push 0
sub esp, 8
mov ecx, esp
mov dword [ecx], str.Asset_Sounds_clink.wav
mov dword [ecx + 4], 0x16
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.004710a0
lea ecx, [esp + 0x10]
call fcn.0042fa90
pop edi
pop esi
add esp, 0x14
ret
mov byte [esi + 0xd4], 0
pop edi
pop esi
add esp, 0x14
ret