Function at 0x1005bc70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x39c
mov eax, dword [0x1008d040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100b6df3], 1
push ebx
push esi
push edi
jne 0x1005ca91
mov eax, dword [0x100b6dfc]
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1005bcb6
cmp eax, 1
je 0x1005bcb6
cmp eax, 3
jne 0x1005c3b6
cmp byte [0x100b6df4], 0
jne 0x1005bcdb
mov eax, dword [0x100b6df8]
push dword [eax*4 + 0x1007b480]
call ecx
test ax, ax
jns 0x1005c39e
mov eax, dword [0x100b6dfc]
cmp dword [0x1008d09c], 0xffffffff
jne 0x1005bd27
mov ecx, dword [0x1008d3ec]
test ecx, ecx
jne 0x1005bcf5
call fcn.1005af20
jmp 0x1005bcff
cmp ecx, 1
jne 0x1005bd0e
call fcn.1005b2c0
mov dword [0x1008d09c], eax
cmp eax, 0xffffffff
jne 0x1005bd27
mov eax, dword [0x100b6dfc]
mov dword [0x1008d2ec], 1
mov dword [0x1008d09c], 0xffffffff
jmp 0x1005c3a3
mov ecx, dword [0x100b4e34]
mov eax, dword [ecx]
call dword [eax + 0xf4]
mov esi, eax
push 4
push esi
call ebx
test eax, eax
jne 0x1005c39e
test esi, esi
je 0x1005c39e
mov ecx, dword [esi + 0x184]
mov eax, dword [0x1008d09c]
push 4
mov esi, dword [ecx + eax*4]
push esi
call ebx
test eax, eax
jne 0x1005c394
test esi, esi
je 0x1005c394
mov edi, dword [esi + 0x10]
push 4
push edi
call ebx
test eax, eax
jne 0x1005c394
test edi, edi
je 0x1005c394
mov ecx, dword [0x100b4e24]
push 1
cmp byte [0x1008d0a7], al
je 0x1005c270
mov eax, dword [ecx]
lea edx, [ebp - 0x290]
push edx
push 6
push dword [esi + 0x10]
call dword [eax + 0x40]
push 0x2c
lea eax, [ebp - 0x6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x100b6d90]
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], 0
movlpd qword [ebp - 0x28], xmm0
mov eax, dword [eax + 0x13c]
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov eax, dword [eax + 0x18]
movq xmm0, qword [ebp - 0x290]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x40]
movq qword [ebp - 0x34], xmm0
push eax
mov eax, dword [0x100b6dac]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100b4e24]
add esp, 0x14
test al, al
mov eax, dword [ecx]
push 1
jne 0x1005be4b
lea edx, [ebp - 0x178]
push edx
push 6
push dword [esi + 0x10]
call dword [eax + 0x40]
jmp 0x1005c2ac
lea edx, [ebp - 0x39c]
push edx
push 4
push dword [esi + 0x10]
call dword [eax + 0x40]
push 0x2c
lea eax, [ebp - 0x6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x100b6d90]
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], 0
movlpd qword [ebp - 0x28], xmm0
mov eax, dword [eax + 0x13c]
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov eax, dword [eax + 0x18]
movq xmm0, qword [ebp - 0x39c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x40]
movq qword [ebp - 0x34], xmm0
push eax
mov eax, dword [0x100b6dac]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100b4e24]
add esp, 0x14
test al, al
mov eax, dword [ecx]
push 1
jne 0x1005bf09
lea edx, [ebp - 0x178]
push edx
push 4
push dword [esi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [ebp - 0x174]
subss xmm0, dword [0x10089700]
jmp 0x1005c2a4
lea edx, [ebp - 0x290]
push edx
push 0x17
push dword [esi + 0x10]
call dword [eax + 0x40]
push 0x2c
lea eax, [ebp - 0x6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x100b6d90]
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], 0
movlpd qword [ebp - 0x28], xmm0
mov eax, dword [eax + 0x13c]
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov eax, dword [eax + 0x18]
movq xmm0, qword [ebp - 0x290]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x40]
movq qword [ebp - 0x34], xmm0
push eax
mov eax, dword [0x100b6dac]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100b4e24]
add esp, 0x14
test al, al
mov eax, dword [ecx]
push 1
jne 0x1005bfb7
lea edx, [ebp - 0x178]
push edx
push 0x17
push dword [esi + 0x10]
call dword [eax + 0x40]
jmp 0x1005c2ac
lea edx, [ebp - 0x39c]
push edx
push 0x15
push dword [esi + 0x10]
call dword [eax + 0x40]
push 0x2c
lea eax, [ebp - 0x6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x100b6d90]
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], 0
movlpd qword [ebp - 0x28], xmm0
mov eax, dword [eax + 0x13c]
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov eax, dword [eax + 0x18]
movq xmm0, qword [ebp - 0x39c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x40]
movq qword [ebp - 0x34], xmm0
push eax
mov eax, dword [0x100b6dac]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100b4e24]
add esp, 0x14
test al, al
mov eax, dword [ecx]
push 1
jne 0x1005c065
lea edx, [ebp - 0x178]
push edx
push 0x15
push dword [esi + 0x10]
call dword [eax + 0x40]
jmp 0x1005c2ac
lea edx, [ebp - 0x290]
push edx
push 0x24
push dword [esi + 0x10]
call dword [eax + 0x40]
push 0x2c
lea eax, [ebp - 0x6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x100b6d90]
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], 0
movlpd qword [ebp - 0x28], xmm0
mov eax, dword [eax + 0x13c]
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov eax, dword [eax + 0x18]
movq xmm0, qword [ebp - 0x290]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x40]
movq qword [ebp - 0x34], xmm0
push eax
mov eax, dword [0x100b6dac]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100b4e24]
add esp, 0x14
test al, al
mov eax, dword [ecx]
push 1
jne 0x1005c113
lea edx, [ebp - 0x178]
push edx
push 0x24
push dword [esi + 0x10]
call dword [eax + 0x40]
jmp 0x1005c2ac
lea edx, [ebp - 0x39c]
push edx
push 0x22
push dword [esi + 0x10]
call dword [eax + 0x40]
push 0x2c
lea eax, [ebp - 0x6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x100b6d90]
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], 0
movlpd qword [ebp - 0x28], xmm0
mov eax, dword [eax + 0x13c]
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov eax, dword [eax + 0x18]
movq xmm0, qword [ebp - 0x39c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x40]
movq qword [ebp - 0x34], xmm0
push eax
mov eax, dword [0x100b6dac]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100b4e24]
add esp, 0x14
test al, al
mov eax, dword [ecx]
push 1
jne 0x1005c1c1
lea edx, [ebp - 0x178]
push edx
push 0x22
push dword [esi + 0x10]
call dword [eax + 0x40]
jmp 0x1005c2ac
lea edx, [ebp - 0x290]
push edx
push 8
push dword [esi + 0x10]
call dword [eax + 0x40]
push 0x2c
lea eax, [ebp - 0x6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x100b6d90]
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], 0
movlpd qword [ebp - 0x28], xmm0
mov eax, dword [eax + 0x13c]
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov eax, dword [eax + 0x18]
movq xmm0, qword [ebp - 0x290]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x40]
movq qword [ebp - 0x34], xmm0
push eax
mov eax, dword [0x100b6dac]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100b4e24]
lea edx, [ebp - 0x178]
add esp, 0x14
test al, al
mov eax, dword [ecx]
push 1
push edx
jne 0x1005be3e
push 8
push dword [esi + 0x10]
call dword [eax + 0x40]
jmp 0x1005c294
mov edx, dword [ecx]
lea eax, [ebp - 0x178]
push eax
mov eax, dword [0x1008d3dc]
push dword [eax*4 + 0x1007b5ac]
push dword [esi + 0x10]
call dword [edx + 0x40]
cmp dword [0x1008d3dc], 0
jne 0x1005c2ac
movss xmm0, dword [ebp - 0x174]
addss xmm0, dword [0x10089708]
movss dword [ebp - 0x174], xmm0
movss xmm0, dword [0x1008d3d8]
ucomiss xmm0, dword [0x10089724]
lahf
sub esp, 0xc
mov ecx, esp
sub esp, 0xc
test ah, 0x44
jnp 0x1005c301
movq xmm0, qword [ebp - 0x178]
mov eax, dword [ebp - 0x170]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [0x100b6d90]
mov eax, dword [eax + 0x13c]
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.1005a900
jmp 0x1005c368
mov esi, dword [0x100b6d90]
mov eax, dword [esi + 0x13c]
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x178]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [ebp - 0x170]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x184]
call fcn.1005a5b0
movss xmm0, dword [ebp - 0x180]
mulss xmm0, dword [0x1008961c]
movss dword [esi + 0x58], xmm0
movss xmm0, dword [ebp - 0x184]
mulss xmm0, dword [0x1008961c]
movss dword [esi + 0x54], xmm0
add esp, 0x18
cmp byte [0x100b6df6], 1
jne 0x1005c394
cmp byte [0x100b6df7], 0
je 0x1005c394
mov eax, dword [0x100b4e2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x10]
mov dword [eax + 0x138], 1
mov dword [0x1008d09c], 0xffffffff
mov eax, dword [0x100b6dfc]
cmp byte [0x100b6df3], 1
jne 0x1005ca91
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp eax, 2
je 0x1005c3c4
cmp eax, 3
jne 0x1005ca91
cmp byte [0x100b6df4], 0
jne 0x1005c3e4
mov eax, dword [0x100b6df8]
push dword [eax*4 + 0x1007b480]
call ecx
test ax, ax
jns 0x1005ca91
call fcn.100539f0
test eax, eax
je 0x1005ca7d
cmp dword [0x1008d0a0], 0xffffffff
jne 0x1005c426
mov eax, dword [0x1008d3ec]
test eax, eax
jne 0x1005c40a
call fcn.1005b680
jmp 0x1005c418
cmp eax, 1
jne 0x1005ca91
call fcn.1005b980
mov dword [0x1008d0a0], eax
cmp eax, 0xffffffff
je 0x1005ca91
mov ecx, dword [0x100b4e34]
mov eax, dword [ecx]
call dword [eax + 0xf4]
mov esi, eax
push 4
push esi
call ebx
test eax, eax
jne 0x1005ca91
test esi, esi
je 0x1005ca91
mov ecx, dword [esi + 0x184]
mov eax, dword [0x1008d0a0]
push 4
mov esi, dword [ecx + eax*4]
push esi
call ebx
test eax, eax
jne 0x1005ca87
test esi, esi
je 0x1005ca87
mov ecx, dword [0x100b4e24]
push 1
cmp byte [0x1008d0a7], al
je 0x1005c957
mov eax, dword [ecx]
lea edx, [ebp - 0x39c]
push edx
push 6
push dword [esi + 0x10]
call dword [eax + 0x40]
push 0x2c
lea eax, [ebp - 0x6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x100b6d90]
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], 0
movlpd qword [ebp - 0x28], xmm0
mov eax, dword [eax + 0x13c]
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov eax, dword [eax + 0x18]
movq xmm0, qword [ebp - 0x39c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x40]
movq qword [ebp - 0x34], xmm0
push eax
mov eax, dword [0x100b6dac]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100b4e24]
add esp, 0x14
test al, al
mov eax, dword [ecx]
push 1
jne 0x1005c532
lea edx, [ebp - 0x178]
push edx
push 6
push dword [esi + 0x10]
call dword [eax + 0x40]
jmp 0x1005c993
lea edx, [ebp - 0x290]
push edx
push 4
push dword [esi + 0x10]
call dword [eax + 0x40]
push 0x2c
lea eax, [ebp - 0x6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x100b6d90]
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], 0
movlpd qword [ebp - 0x28], xmm0
mov eax, dword [eax + 0x13c]
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov eax, dword [eax + 0x18]
movq xmm0, qword [ebp - 0x290]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x40]
movq qword [ebp - 0x34], xmm0
push eax
mov eax, dword [0x100b6dac]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100b4e24]
add esp, 0x14
test al, al
mov eax, dword [ecx]
push 1
jne 0x1005c5f0
lea edx, [ebp - 0x178]
push edx
push 4
push dword [esi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [ebp - 0x174]
subss xmm0, dword [0x10089700]
jmp 0x1005c98b
lea edx, [ebp - 0x39c]
push edx
push 0x17
push dword [esi + 0x10]
call dword [eax + 0x40]
push 0x2c
lea eax, [ebp - 0x6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x100b6d90]
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], 0
movlpd qword [ebp - 0x28], xmm0
mov eax, dword [eax + 0x13c]
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov eax, dword [eax + 0x18]
movq xmm0, qword [ebp - 0x39c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x40]
movq qword [ebp - 0x34], xmm0
push eax
mov eax, dword [0x100b6dac]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100b4e24]
add esp, 0x14
test al, al
mov eax, dword [ecx]
push 1
jne 0x1005c69e
lea edx, [ebp - 0x178]
push edx
push 0x17
push dword [esi + 0x10]
call dword [eax + 0x40]
jmp 0x1005c993
lea edx, [ebp - 0x290]
push edx
push 0x15
push dword [esi + 0x10]
call dword [eax + 0x40]
push 0x2c
lea eax, [ebp - 0x6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x100b6d90]
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], 0
movlpd qword [ebp - 0x28], xmm0
mov eax, dword [eax + 0x13c]
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov eax, dword [eax + 0x18]
movq xmm0, qword [ebp - 0x290]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x40]
movq qword [ebp - 0x34], xmm0
push eax
mov eax, dword [0x100b6dac]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100b4e24]
add esp, 0x14
test al, al
mov eax, dword [ecx]
push 1
jne 0x1005c74c
lea edx, [ebp - 0x178]
push edx
push 0x15
push dword [esi + 0x10]
call dword [eax + 0x40]
jmp 0x1005c993
lea edx, [ebp - 0x39c]
push edx
push 0x24
push dword [esi + 0x10]
call dword [eax + 0x40]
push 0x2c
lea eax, [ebp - 0x6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x100b6d90]
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], 0
movlpd qword [ebp - 0x28], xmm0
mov eax, dword [eax + 0x13c]
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov eax, dword [eax + 0x18]
movq xmm0, qword [ebp - 0x39c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x40]
movq qword [ebp - 0x34], xmm0
push eax
mov eax, dword [0x100b6dac]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100b4e24]
add esp, 0x14
test al, al
mov eax, dword [ecx]
push 1
jne 0x1005c7fa
lea edx, [ebp - 0x178]
push edx
push 0x24
push dword [esi + 0x10]
call dword [eax + 0x40]
jmp 0x1005c993
lea edx, [ebp - 0x290]
push edx
push 0x22
push dword [esi + 0x10]
call dword [eax + 0x40]
push 0x2c
lea eax, [ebp - 0x6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x100b6d90]
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], 0
movlpd qword [ebp - 0x28], xmm0
mov eax, dword [eax + 0x13c]
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov eax, dword [eax + 0x18]
movq xmm0, qword [ebp - 0x290]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x40]
movq qword [ebp - 0x34], xmm0
push eax
mov eax, dword [0x100b6dac]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100b4e24]
add esp, 0x14
test al, al
mov eax, dword [ecx]
push 1
jne 0x1005c8a8
lea edx, [ebp - 0x178]
push edx
push 0x22
push dword [esi + 0x10]
call dword [eax + 0x40]
jmp 0x1005c993
lea edx, [ebp - 0x39c]
push edx
push 8
push dword [esi + 0x10]
call dword [eax + 0x40]
push 0x2c
lea eax, [ebp - 0x6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x100b6d90]
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], 0
movlpd qword [ebp - 0x28], xmm0
mov eax, dword [eax + 0x13c]
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov eax, dword [eax + 0x18]
movq xmm0, qword [ebp - 0x39c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x40]
movq qword [ebp - 0x34], xmm0
push eax
mov eax, dword [0x100b6dac]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100b4e24]
lea edx, [ebp - 0x178]
add esp, 0x14
test al, al
mov eax, dword [ecx]
push 1
push edx
jne 0x1005c525
push 8
push dword [esi + 0x10]
call dword [eax + 0x40]
jmp 0x1005c97b
mov edx, dword [ecx]
lea eax, [ebp - 0x178]
push eax
mov eax, dword [0x1008d3dc]
push dword [eax*4 + 0x1007b5ac]
push dword [esi + 0x10]
call dword [edx + 0x40]
cmp dword [0x1008d3dc], 0
jne 0x1005c993
movss xmm0, dword [ebp - 0x174]
addss xmm0, dword [0x10089708]
movss dword [ebp - 0x174], xmm0
movss xmm0, dword [0x1008d3d8]
ucomiss xmm0, dword [0x10089724]
lahf
sub esp, 0xc
mov ecx, esp
sub esp, 0xc
test ah, 0x44
jnp 0x1005c9e8
movq xmm0, qword [ebp - 0x178]
mov eax, dword [ebp - 0x170]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [0x100b6d90]
mov eax, dword [eax + 0x13c]
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.1005a900
jmp 0x1005ca4f
mov esi, dword [0x100b6d90]
mov eax, dword [esi + 0x13c]
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x178]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [ebp - 0x170]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x184]
call fcn.1005a5b0
movss xmm0, dword [ebp - 0x180]
mulss xmm0, dword [0x1008961c]
movss dword [esi + 0x58], xmm0
movss xmm0, dword [ebp - 0x184]
mulss xmm0, dword [0x1008961c]
movss dword [esi + 0x54], xmm0
add esp, 0x18
cmp byte [0x100b6df6], 1
jne 0x1005ca87
cmp byte [0x100b6df7], 0
je 0x1005ca87
mov eax, dword [0x100b4e2c]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x10]
mov dword [eax + 0x138], 1
jmp 0x1005ca87
mov dword [0x1008d2ec], 1
mov dword [0x1008d0a0], 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006eb52
mov esp, ebp
pop ebp
ret