Function at 0x10224b50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x11d0c744], 0
mov eax, dword [0x11d0c5b8]
push esi
push edi
mov edi, ecx
mov ecx, dword fs:[0x2c]
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], ecx
je 0x10224bb2
mov edx, dword [edi]
cmp dword [edx + 4], 0x58544e43
jne 0x10224bb2
mov ecx, dword [ecx + eax*4]
mov eax, dword [edx]
mov dword [ecx + 0x10], eax
mov dword [edx + 8], 0
mov eax, dword [edi + 0x3e48]
mov dword [ebp - 0x70], eax
movzx eax, al
push eax
mov eax, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov dword [ebp - 0x68], eax
call eax
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov dword [ebp - 0x64], ecx
test ax, ax
jns 0x10224d89
mov eax, dword [ebp - 0x70]
and eax, 0x700
cmp eax, dword [0x11d0d8f4]
jne 0x10224d89
mov eax, dword [edi + 0x3e54]
or eax, dword [edi + 0x3e58]
jne 0x10224c21
lea eax, [ebp - 0x60]
push eax
call ecx
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
mov dword [edi + 0x3e54], eax
mov dword [edi + 0x3e58], edx
mov eax, dword [edi + 0x3e50]
test eax, eax
js 0x10224c3c
test al, 1
jne 0x10224da4
or eax, 1
mov dword [edi + 0x3e50], eax
or byte [edi + 0xb2], 1
lea eax, [edi + 0xb2]
movups xmm0, xmmword [0x1046eb90]
mov dword [ebp - 0x70], eax
lea esi, [edi + 0x9f8]
mov ax, word [0x1046ebb0]
movups xmmword [ebp - 0x58], xmm0
mov word [ebp - 0x38], ax
movups xmm0, xmmword [0x1046eba0]
inc dword [esi]
mov eax, dword [esi]
movups xmmword [ebp - 0x48], xmm0
cmp eax, 5
jb 0x10224c83
mov dword [esi], 0
xor eax, eax
mov eax, dword [eax*4 + 0x112258b0]
mov ecx, esi
mov dword [ebp - 0x5c], eax
call fcn.1023fef0
mov ecx, dword [ebp - 0x5c]
xor eax, eax
nop dword [eax]
cmp dword [eax*4 + 0x112258b0], ecx
je 0x10224cb1
inc eax
cmp eax, 5
jb 0x10224ca0
jmp 0x10224cb6
mov dword [esi], eax
mov dword [esi + 4], ecx
mov byte [esi + 0x5d], 0
xorps xmm0, xmm0
mov dword [esi + 8], 0
movups xmmword [esi + 0xc], xmm0
movups xmmword [esi + 0x1c], xmm0
movq qword [esi + 0x2c], xmm0
mov ecx, dword [edi + 0x9fc]
mov eax, ecx
shr eax, 2
and al, 1
mov byte [edi + 0x3bb0], al
test cl, 1
je 0x10224d1c
test cl, 4
mov edx, 0x1046ebc0
mov eax, 0x1046b330
cmove eax, edx
test cl, 8
push eax
mov ecx, 0x1046ebd0
mov eax, 0x1046b480
cmove eax, ecx
push eax
lea eax, [ebp - 0x58]
push 0x1046ebe0
push eax
call fcn.10098560
add esp, 0x10
or dword [edi + 0x70], 2
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
add eax, 0xfa0
lea ecx, [ebp - 0x58]
mov dword [edi + 0x4680], eax
mov eax, ecx
adc edx, 0
mov dword [edi + 0x4684], edx
mov edx, edi
sub edx, eax
nop word [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx + 0x4827], al
test al, al
jne 0x10224d60
or dword [edi + 0x4644], 8
lea esi, [edi + 0xb2]
mov dword [edi + 0x4a28], 0xff00
jmp 0x10224dad
and dword [edi + 0x3e50], 0xfffffffe
mov dword [edi + 0x3e54], 0
mov dword [edi + 0x3e58], 0
lea esi, [edi + 0xb2]
mov dword [ebp - 0x70], esi
mov eax, dword [edi + 0x3f7c]
mov dword [ebp - 0x5c], eax
movzx eax, al
push eax
call dword [ebp - 0x68]
test ax, ax
jns 0x10224ed4
mov eax, dword [ebp - 0x5c]
and eax, 0x700
cmp eax, dword [0x11d0d8f4]
jne 0x10224ed4
mov eax, dword [edi + 0x3f88]
or eax, dword [edi + 0x3f8c]
jne 0x10224e0d
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
mov dword [edi + 0x3f88], eax
mov dword [edi + 0x3f8c], edx
mov eax, dword [edi + 0x3f84]
test eax, eax
js 0x10224e28
test al, 1
jne 0x10224eef
or eax, 1
mov dword [edi + 0x3f84], eax
or byte [esi], 1
mov al, byte [edi + 0xa4]
movzx ecx, byte [edi + 0xa5]
or dword [edi + 0x70], 0x10
mov edx, ecx
mov byte [ebp - 0x69], al
mov eax, ecx
shr edx, 2
and eax, 3
and edx, 0x10
add eax, eax
or edx, eax
and ecx, 8
movzx eax, byte [ebp - 0x69]
shr eax, 7
or edx, eax
or edx, ecx
xor eax, eax
lea ecx, [eax + 1]
cmp dword [eax*4 + 0x11225830], edx
je 0x10224e78
mov eax, ecx
cmp eax, 0x18
jb 0x10224e60
mov ecx, 0x18
cmp ecx, 0x18
sbb eax, eax
and eax, ecx
mov cl, byte [ebp - 0x69]
and cl, 0x7f
mov edx, dword [eax*4 + 0x11225830]
mov al, dl
shl al, 7
or cl, al
mov eax, edx
mov byte [edi + 0xa4], cl
mov ecx, edx
shr ecx, 4
and cl, 1
shr eax, 3
and al, 1
shl cl, 3
or cl, al
mov eax, edx
shr eax, 2
shl cl, 2
and al, 1
or cl, al
shr edx, 1
mov al, byte [edi + 0xa5]
add cl, cl
and dl, 1
and al, 0xb4
or cl, dl
or cl, al
mov byte [edi + 0xa5], cl
jmp 0x10224eef
and dword [edi + 0x3f84], 0xfffffffe
mov dword [edi + 0x3f88], 0
mov dword [edi + 0x3f8c], 0
mov eax, dword [edi + 0x3e64]
mov dword [ebp - 0x5c], eax
movzx eax, al
push eax
call dword [ebp - 0x68]
movss xmm1, dword [0x1122d140]
test ax, ax
jns 0x10224f95
mov eax, dword [ebp - 0x5c]
and eax, 0x700
cmp eax, dword [0x11d0d8f4]
jne 0x10224f95
mov eax, dword [edi + 0x3e70]
or eax, dword [edi + 0x3e74]
jne 0x10224f5b
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
movss xmm1, dword [0x1122d140]
mov dword [edi + 0x3e70], eax
mov dword [edi + 0x3e74], edx
mov eax, dword [edi + 0x3e6c]
test eax, eax
js 0x10224f78
test al, 1
je 0x10224f6f
mov cl, byte [esi]
mov eax, esi
jmp 0x10224fb4
or eax, 1
mov dword [edi + 0x3e6c], eax
or byte [esi], 1
movss xmm0, dword [edi + 0x3a74]
or dword [edi + 0x70], 4
addss xmm0, xmm1
movss dword [edi + 0x3a74], xmm0
jmp 0x10224fb6
and dword [edi + 0x3e6c], 0xfffffffe
mov eax, esi
mov dword [edi + 0x3e70], 0
mov dword [edi + 0x3e74], 0
mov cl, byte [eax]
mov byte [eax], cl
mov eax, dword [edi + 0x3e80]
mov dword [ebp - 0x5c], eax
movzx eax, al
push eax
call dword [ebp - 0x68]
test ax, ax
jns 0x10225050
mov eax, dword [ebp - 0x5c]
and eax, 0x700
cmp eax, dword [0x11d0d8f4]
jne 0x10225050
mov eax, dword [edi + 0x3e8c]
or eax, dword [edi + 0x3e90]
jne 0x10225012
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
mov dword [edi + 0x3e8c], eax
mov dword [edi + 0x3e90], edx
mov eax, dword [edi + 0x3e88]
test eax, eax
js 0x1022502f
test al, 1
je 0x10225026
mov cl, byte [esi]
mov eax, esi
jmp 0x1022506f
or eax, 1
mov dword [edi + 0x3e88], eax
or byte [esi], 1
movss xmm0, dword [edi + 0x3a74]
subss xmm0, dword [0x1122d140]
or dword [edi + 0x70], 4
movss dword [edi + 0x3a74], xmm0
jmp 0x10225071
and dword [edi + 0x3e88], 0xfffffffe
mov eax, esi
mov dword [edi + 0x3e8c], 0
mov dword [edi + 0x3e90], 0
mov cl, byte [eax]
mov byte [eax], cl
mov eax, dword [edi + 0x3e9c]
mov dword [ebp - 0x5c], eax
movzx eax, al
push eax
call dword [ebp - 0x68]
test ax, ax
jns 0x1022510b
mov eax, dword [ebp - 0x5c]
and eax, 0x700
cmp eax, dword [0x11d0d8f4]
jne 0x1022510b
mov eax, dword [edi + 0x3ea8]
or eax, dword [edi + 0x3eac]
jne 0x102250cd
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
mov dword [edi + 0x3ea8], eax
mov dword [edi + 0x3eac], edx
mov eax, dword [edi + 0x3ea4]
test eax, eax
js 0x102250ea
test al, 1
je 0x102250e1
mov cl, byte [esi]
mov eax, esi
jmp 0x1022512a
or eax, 1
mov dword [edi + 0x3ea4], eax
or byte [esi], 1
movss xmm0, dword [edi + 0x3a78]
addss xmm0, dword [0x1122d140]
or dword [edi + 0x70], 8
movss dword [edi + 0x3a78], xmm0
jmp 0x1022512c
and dword [edi + 0x3ea4], 0xfffffffe
mov eax, esi
mov dword [edi + 0x3ea8], 0
mov dword [edi + 0x3eac], 0
mov cl, byte [eax]
mov byte [eax], cl
mov eax, dword [edi + 0x3eb8]
mov dword [ebp - 0x5c], eax
movzx eax, al
push eax
call dword [ebp - 0x68]
test ax, ax
jns 0x102251bc
mov eax, dword [ebp - 0x5c]
and eax, 0x700
cmp eax, dword [0x11d0d8f4]
jne 0x102251bc
mov eax, dword [edi + 0x3ec4]
or eax, dword [edi + 0x3ec8]
jne 0x10225184
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
mov dword [edi + 0x3ec4], eax
mov dword [edi + 0x3ec8], edx
mov eax, dword [edi + 0x3ec0]
test eax, eax
js 0x1022519b
test al, 1
jne 0x102251d7
or eax, 1
mov dword [edi + 0x3ec0], eax
or byte [esi], 1
movss xmm0, dword [edi + 0x3a78]
subss xmm0, dword [0x1122d140]
or dword [edi + 0x70], 8
movss dword [edi + 0x3a78], xmm0
jmp 0x102251d7
and dword [edi + 0x3ec0], 0xfffffffe
mov dword [edi + 0x3ec4], 0
mov dword [edi + 0x3ec8], 0
mov eax, dword [edi + 0x3be0]
mov dword [ebp - 0x5c], eax
movzx eax, al
push eax
call dword [ebp - 0x68]
movss xmm7, dword [0x1122e460]
movss xmm6, dword [0x1122d1bc]
movss xmm5, dword [0x1122d240]
test ax, ax
jns 0x10225382
mov eax, dword [ebp - 0x5c]
and eax, 0x700
cmp eax, dword [0x11d0d8f4]
jne 0x10225382
mov eax, dword [edi + 0x3bec]
or eax, dword [edi + 0x3bf0]
jne 0x10225267
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
movss xmm5, dword [0x1122d240]
movss xmm6, dword [0x1122d1bc]
movss xmm7, dword [0x1122e460]
mov dword [edi + 0x3bec], eax
mov dword [edi + 0x3bf0], edx
mov eax, dword [edi + 0x3be8]
test eax, eax
js 0x10225282
test al, 1
jne 0x1022539d
or eax, 1
mov dword [edi + 0x3be8], eax
or byte [esi], 1
cmp dword [0x11d0d848], 0
jne 0x102252ba
lea esi, [edi + 4]
mov ecx, 0x28
mov edi, 0x11d0d84c
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x78]
mov ecx, edi
mov dword [0x11d0d848], 1
call fcn.10229110
lea esi, [edi + 0xb2]
mov dword [ebp - 0x70], esi
mov ecx, dword [ebp - 0x7c]
mov eax, dword [0x11d0c5b8]
mov eax, dword [ecx + eax*4]
mov cl, byte [edi + 0xb5]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x124]
test cl, cl
je 0x102252e0
xorps xmm1, xmm1
jmp 0x10225306
test byte [edi + 0xab], 0x10
je 0x102252ee
movaps xmm0, xmm6
jmp 0x102252f1
movaps xmm0, xmm5
test byte [edi + 0xa8], 2
movss xmm1, dword [edi + 8]
je 0x10225302
xorps xmm1, xmm7
mulss xmm1, xmm0
mulss xmm1, dword [0x1122d1e4]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1122e340]
mov eax, dword [edi + 0x14]
mov dword [edi + 0x24], eax
cvtpd2ps xmm0, xmm0
mulss xmm1, xmm0
movss dword [edi + 0x10], xmm1
test cl, cl
je 0x1022534c
xorps xmm0, xmm0
movss dword [edi + 0x2c], xmm1
addss xmm0, xmm5
movss dword [edi + 0x28], xmm0
jmp 0x1022539d
test byte [edi + 0xab], 0x10
je 0x1022535a
movaps xmm2, xmm6
jmp 0x1022535d
movaps xmm2, xmm5
test byte [edi + 0xa8], 2
movss xmm0, dword [edi + 8]
je 0x1022536e
xorps xmm0, xmm7
mulss xmm0, xmm2
movss dword [edi + 0x2c], xmm1
addss xmm0, xmm5
movss dword [edi + 0x28], xmm0
jmp 0x1022539d
and dword [edi + 0x3be8], 0xfffffffe
mov dword [edi + 0x3bec], 0
mov dword [edi + 0x3bf0], 0
mov eax, dword [edi + 0x3bfc]
mov dword [ebp - 0x5c], eax
movzx eax, al
push eax
call dword [ebp - 0x68]
test ax, ax
jns 0x10225519
mov eax, dword [ebp - 0x5c]
and eax, 0x700
cmp eax, dword [0x11d0d8f4]
jne 0x10225519
mov eax, dword [edi + 0x3c08]
or eax, dword [edi + 0x3c0c]
jne 0x102253fd
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
mov dword [edi + 0x3c08], eax
mov dword [edi + 0x3c0c], edx
mov eax, dword [edi + 0x3c04]
test eax, eax
js 0x10225418
test al, 1
jne 0x10225534
or eax, 1
mov dword [edi + 0x3c04], eax
or byte [esi], 1
cmp dword [0x11d0d848], 0
je 0x10225443
add edi, 4
mov ecx, 0x28
mov esi, 0x11d0d84c
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x78]
mov esi, dword [ebp - 0x70]
mov dword [0x11d0d848], 0
mov ecx, dword [ebp - 0x7c]
mov eax, dword [0x11d0c5b8]
movss xmm3, dword [0x1122d240]
movss xmm4, dword [0x1122d1bc]
mov eax, dword [ecx + eax*4]
mov cl, byte [edi + 0xb5]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x124]
test cl, cl
je 0x10225481
movss xmm5, dword [0x1122e460]
xorps xmm1, xmm1
jmp 0x102254af
test byte [edi + 0xab], 0x10
je 0x1022548f
movaps xmm0, xmm4
jmp 0x10225492
movaps xmm0, xmm3
test byte [edi + 0xa8], 2
movss xmm1, dword [edi + 8]
movss xmm5, dword [0x1122e460]
je 0x102254ab
xorps xmm1, xmm5
mulss xmm1, xmm0
mulss xmm1, dword [0x1122d1e4]
xorps xmm2, xmm2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1122e340]
mov eax, dword [edi + 0x14]
mov dword [edi + 0x24], eax
cvtpd2ps xmm0, xmm0
mulss xmm1, xmm0
movss dword [edi + 0x10], xmm1
test cl, cl
jne 0x10225509
test byte [edi + 0xab], 0x10
jne 0x102254f1
movaps xmm4, xmm3
test byte [edi + 0xa8], 2
movss xmm0, dword [edi + 8]
je 0x10225502
xorps xmm0, xmm5
mulss xmm0, xmm4
movaps xmm2, xmm0
addss xmm2, xmm3
movss dword [edi + 0x2c], xmm1
movss dword [edi + 0x28], xmm2
jmp 0x10225534
and dword [edi + 0x3c04], 0xfffffffe
mov dword [edi + 0x3c08], 0
mov dword [edi + 0x3c0c], 0
mov eax, dword [edi + 0x3c34]
mov dword [ebp - 0x5c], eax
movzx eax, al
push eax
call dword [ebp - 0x68]
test ax, ax
jns 0x10225646
mov eax, dword [ebp - 0x5c]
and eax, 0x700
cmp eax, dword [0x11d0d8f4]
jne 0x10225646
mov eax, dword [edi + 0x3c40]
or eax, dword [edi + 0x3c44]
jne 0x10225594
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
mov dword [edi + 0x3c40], eax
mov dword [edi + 0x3c44], edx
mov eax, dword [edi + 0x3c3c]
test eax, eax
js 0x102255af
test al, 1
jne 0x10225661
or eax, 1
mov dword [edi + 0x3c3c], eax
or byte [esi], 1
lea esi, [edi + 0x104c]
push esi
call fcn.102001a0
push 1
lea ecx, [edi + 0x9b8]
push esi
call fcn.101ffd90
test al, al
je 0x102255db
lea ecx, [edi + 0x9b8]
call fcn.102000a0
mov ecx, edi
call fcn.1021efe0
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
add eax, 0xfa0
mov ecx, 0x1046ec00
mov dword [edi + 0x4680], eax
adc edx, 0
mov dword [edi + 0x4684], edx
mov edx, edi
sub edx, ecx
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx + 0x4827], al
test al, al
jne 0x10225620
or dword [edi + 0x4644], 8
mov esi, dword [ebp - 0x70]
mov dword [edi + 0x4a28], 0xff00
jmp 0x10225661
and dword [edi + 0x3c3c], 0xfffffffe
mov dword [edi + 0x3c40], 0
mov dword [edi + 0x3c44], 0
mov eax, dword [edi + 0x3cc0]
mov dword [ebp - 0x5c], eax
movzx eax, al
push eax
call dword [ebp - 0x68]
test ax, ax
jns 0x1022571a
mov eax, dword [ebp - 0x5c]
and eax, 0x700
cmp eax, dword [0x11d0d8f4]
jne 0x1022571a
mov eax, dword [edi + 0x3ccc]
or eax, dword [edi + 0x3cd0]
jne 0x102256c1
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
mov dword [edi + 0x3ccc], eax
mov dword [edi + 0x3cd0], edx
mov eax, dword [edi + 0x3cc8]
test eax, eax
js 0x102256de
test al, 1
je 0x102256d5
mov cl, byte [esi]
mov eax, esi
jmp 0x10225739
or eax, 1
mov dword [edi + 0x3cc8], eax
or byte [esi], 1
mov ecx, dword [edi + 4]
test ecx, 0x800
je 0x10225706
mov eax, dword [edi + 0x3fe0]
xor ecx, 0x800
mov dword [edi + 0x38], eax
mov eax, dword [edi + 0x14]
mov dword [edi + 0x24], eax
mov dword [edi + 4], ecx
jmp 0x1022573b
mov eax, dword [edi + 0x38]
xor ecx, 0x800
mov dword [edi + 0x3fe0], eax
mov dword [edi + 4], ecx
jmp 0x1022573b
and dword [edi + 0x3cc8], 0xfffffffe
mov eax, esi
mov dword [edi + 0x3ccc], 0
mov dword [edi + 0x3cd0], 0
mov cl, byte [eax]
mov byte [eax], cl
mov eax, dword [edi + 0x3ca4]
mov dword [ebp - 0x5c], eax
movzx eax, al
push eax
call dword [ebp - 0x68]
test ax, ax
jns 0x102257b6
mov eax, dword [ebp - 0x5c]
and eax, 0x700
cmp eax, dword [0x11d0d8f4]
jne 0x102257b6
mov eax, dword [edi + 0x3cb0]
or eax, dword [edi + 0x3cb4]
jne 0x10225793
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
mov dword [edi + 0x3cb0], eax
mov dword [edi + 0x3cb4], edx
mov eax, dword [edi + 0x3cac]
test eax, eax
js 0x102257aa
test al, 1
jne 0x102257d1
or eax, 1
mov dword [edi + 0x3cac], eax
or byte [esi], 1
xor dword [edi + 4], 0x800
jmp 0x102257d1
and dword [edi + 0x3cac], 0xfffffffe
mov dword [edi + 0x3cb0], 0
mov dword [edi + 0x3cb4], 0
mov eax, dword [edi + 0x3d68]
mov dword [ebp - 0x5c], eax
movzx eax, al
push eax
call dword [ebp - 0x68]
movss xmm0, dword [0x1122d598]
test ax, ax
jns 0x10225911
mov eax, dword [ebp - 0x5c]
and eax, 0x700
cmp eax, dword [0x11d0d8f4]
jne 0x10225911
mov eax, dword [edi + 0x3d74]
or eax, dword [edi + 0x3d78]
jne 0x10225841
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
movss xmm0, dword [0x1122d598]
mov dword [edi + 0x3d74], eax
mov dword [edi + 0x3d78], edx
mov eax, dword [edi + 0x3d70]
test eax, eax
js 0x1022585c
test al, 1
jne 0x1022592c
or eax, 1
mov dword [edi + 0x3d70], eax
or byte [esi], 1
movss xmm2, dword [edi + 0x3fbc]
movss xmm1, dword [edi + 0x3fb4]
subss xmm0, xmm2
comiss xmm0, xmm1
jb 0x10225884
addss xmm1, xmm2
movss dword [edi + 0x3fb4], xmm1
cvtps2pd xmm0, xmm1
sub esp, 8
lea eax, [ebp - 0x58]
movsd qword [esp], xmm0
push 0x1046ec20
push eax
call fcn.10098560
add esp, 0x10
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
add eax, 0xfa0
lea ecx, [ebp - 0x58]
mov dword [edi + 0x4680], eax
mov eax, ecx
adc edx, 0
mov dword [edi + 0x4684], edx
mov edx, edi
sub edx, eax
nop word [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx + 0x4827], al
test al, al
jne 0x102258e0
or dword [edi + 0x4644], 8
mov dword [edi + 0x4a28], 0xff00
or dword [edi + 0x70], 0x60
mov dword [edi + 0x3fc0], 2
jmp 0x1022592c
and dword [edi + 0x3d70], 0xfffffffe
mov dword [edi + 0x3d74], 0
mov dword [edi + 0x3d78], 0
mov eax, dword [edi + 0x3d4c]
mov dword [ebp - 0x5c], eax
movzx eax, al
push eax
call dword [ebp - 0x68]
test ax, ax
jns 0x10225a45
mov eax, dword [ebp - 0x5c]
and eax, 0x700
cmp eax, dword [0x11d0d8f4]
jne 0x10225a45
mov eax, dword [edi + 0x3d58]
or eax, dword [edi + 0x3d5c]
jne 0x1022598c
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
mov dword [edi + 0x3d58], eax
mov dword [edi + 0x3d5c], edx
mov eax, dword [edi + 0x3d54]
test eax, eax
js 0x102259a7
test al, 1
jne 0x10225a60
or eax, 1
mov dword [edi + 0x3d54], eax
or byte [esi], 1
lea eax, [ebp - 0x58]
movss xmm0, dword [edi + 0x3fb4]
sub esp, 8
subss xmm0, dword [edi + 0x3fbc]
movss dword [edi + 0x3fb4], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x1046ec20
push eax
call fcn.10098560
add esp, 0x10
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
add eax, 0xfa0
lea ecx, [ebp - 0x58]
mov dword [edi + 0x4680], eax
mov eax, ecx
adc edx, 0
mov dword [edi + 0x4684], edx
mov edx, edi
sub edx, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx + 0x4827], al
test al, al
jne 0x10225a14
or dword [edi + 0x4644], 8
mov dword [edi + 0x4a28], 0xff00
or dword [edi + 0x70], 0x60
mov dword [edi + 0x3fc0], 2
jmp 0x10225a60
and dword [edi + 0x3d54], 0xfffffffe
mov dword [edi + 0x3d58], 0
mov dword [edi + 0x3d5c], 0
mov eax, dword [edi + 0x3da0]
mov dword [ebp - 0x5c], eax
movzx eax, al
push eax
call dword [ebp - 0x68]
test ax, ax
jns 0x10225b94
mov eax, dword [ebp - 0x5c]
and eax, 0x700
cmp eax, dword [0x11d0d8f4]
jne 0x10225b94
mov eax, dword [edi + 0x3dac]
or eax, dword [edi + 0x3db0]
jne 0x10225ac0
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
mov dword [edi + 0x3dac], eax
mov dword [edi + 0x3db0], edx
mov eax, dword [edi + 0x3da8]
test eax, eax
js 0x10225adb
test al, 1
jne 0x10225baf
or eax, 1
mov dword [edi + 0x3da8], eax
or byte [esi], 1
movss xmm1, dword [edi + 0x3fbc]
movss xmm2, dword [0x1122d598]
movss xmm0, dword [edi + 0x3fb8]
subss xmm2, xmm1
comiss xmm2, xmm0
jb 0x10225b0b
addss xmm0, xmm1
movss dword [edi + 0x3fb8], xmm0
cvtps2pd xmm0, xmm0
sub esp, 8
lea eax, [ebp - 0x58]
movsd qword [esp], xmm0
push 0x1046ec40
push eax
call fcn.10098560
add esp, 0x10
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
add eax, 0xfa0
lea ecx, [ebp - 0x58]
mov dword [edi + 0x4680], eax
mov eax, ecx
adc edx, 0
mov dword [edi + 0x4684], edx
mov edx, edi
sub edx, eax
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx + 0x4827], al
test al, al
jne 0x10225b60
or dword [edi + 0x4644], 8
mov dword [edi + 0x4a28], 0xff00
or dword [edi + 0x70], 0xa0
mov dword [edi + 0x3fc0], 4
jmp 0x10225baf
and dword [edi + 0x3da8], 0xfffffffe
mov dword [edi + 0x3dac], 0
mov dword [edi + 0x3db0], 0
mov eax, dword [edi + 0x3d84]
mov dword [ebp - 0x5c], eax
movzx eax, al
push eax
call dword [ebp - 0x68]
test ax, ax
jns 0x10225cd4
mov eax, dword [ebp - 0x5c]
and eax, 0x700
cmp eax, dword [0x11d0d8f4]
jne 0x10225cd4
mov eax, dword [edi + 0x3d90]
or eax, dword [edi + 0x3d94]
jne 0x10225c0f
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
mov dword [edi + 0x3d90], eax
mov dword [edi + 0x3d94], edx
mov eax, dword [edi + 0x3d8c]
test eax, eax
js 0x10225c2a
test al, 1
jne 0x10225cef
or eax, 1
mov dword [edi + 0x3d8c], eax
or byte [esi], 1
lea eax, [ebp - 0x58]
movss xmm0, dword [edi + 0x3fb8]
sub esp, 8
subss xmm0, dword [edi + 0x3fbc]
movss dword [edi + 0x3fb8], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x1046ec40
push eax
call fcn.10098560
add esp, 0x10
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
add eax, 0xfa0
lea ecx, [ebp - 0x58]
mov dword [edi + 0x4680], eax
mov eax, ecx
adc edx, 0
mov dword [edi + 0x4684], edx
mov edx, edi
sub edx, eax
nop word [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx + 0x4827], al
test al, al
jne 0x10225ca0
or dword [edi + 0x4644], 8
mov dword [edi + 0x4a28], 0xff00
or dword [edi + 0x70], 0xa0
mov dword [edi + 0x3fc0], 4
jmp 0x10225cef
and dword [edi + 0x3d8c], 0xfffffffe
mov dword [edi + 0x3d90], 0
mov dword [edi + 0x3d94], 0
mov eax, dword [edi + 0x3dd8]
mov dword [ebp - 0x5c], eax
movzx eax, al
push eax
call dword [ebp - 0x68]
test ax, ax
jns 0x10225df6
mov eax, dword [ebp - 0x5c]
and eax, 0x700
cmp eax, dword [0x11d0d8f4]
jne 0x10225df6
mov eax, dword [edi + 0x3de4]
or eax, dword [edi + 0x3de8]
jne 0x10225d4f
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
mov dword [edi + 0x3de4], eax
mov dword [edi + 0x3de8], edx
mov eax, dword [edi + 0x3de0]
test eax, eax
js 0x10225d6a
test al, 1
jne 0x10225e11
or eax, 1
mov dword [edi + 0x3de0], eax
or byte [esi], 1
lea eax, [ebp - 0x58]
movss xmm0, dword [edi + 0x3fbc]
sub esp, 8
addss xmm0, xmm0
movss dword [edi + 0x3fbc], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x1046ec60
push eax
call fcn.10098560
add esp, 0x10
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
add eax, 0xfa0
lea ecx, [ebp - 0x58]
mov dword [edi + 0x4680], eax
mov eax, ecx
adc edx, 0
mov dword [edi + 0x4684], edx
mov edx, edi
sub edx, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx + 0x4827], al
test al, al
jne 0x10225dd3
or dword [edi + 0x4644], 8
mov dword [edi + 0x4a28], 0xff00
jmp 0x10225e11
and dword [edi + 0x3de0], 0xfffffffe
mov dword [edi + 0x3de4], 0
mov dword [edi + 0x3de8], 0
mov eax, dword [edi + 0x3dbc]
mov dword [ebp - 0x5c], eax
movzx eax, al
push eax
call dword [ebp - 0x68]
test ax, ax
jns 0x10225f23
mov eax, dword [ebp - 0x5c]
and eax, 0x700
cmp eax, dword [0x11d0d8f4]
jne 0x10225f23
mov eax, dword [edi + 0x3dc8]
or eax, dword [edi + 0x3dcc]
jne 0x10225e71
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
mov dword [edi + 0x3dc8], eax
mov dword [edi + 0x3dcc], edx
mov eax, dword [edi + 0x3dc4]
test eax, eax
js 0x10225e8c
test al, 1
jne 0x10225f3e
or eax, 1
mov dword [edi + 0x3dc4], eax
or byte [esi], 1
lea eax, [ebp - 0x58]
movss xmm0, dword [edi + 0x3fbc]
sub esp, 8
mulss xmm0, dword [0x1122d1e4]
movss dword [edi + 0x3fbc], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x1046ec60
push eax
call fcn.10098560
add esp, 0x10
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
add eax, 0xfa0
lea ecx, [ebp - 0x58]
mov dword [edi + 0x4680], eax
mov eax, ecx
adc edx, 0
mov dword [edi + 0x4684], edx
mov edx, edi
sub edx, eax
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx + 0x4827], al
test al, al
jne 0x10225f00
or dword [edi + 0x4644], 8
mov dword [edi + 0x4a28], 0xff00
jmp 0x10225f3e
and dword [edi + 0x3dc4], 0xfffffffe
mov dword [edi + 0x3dc8], 0
mov dword [edi + 0x3dcc], 0
mov eax, dword [edi + 0x3c6c]
mov dword [ebp - 0x5c], eax
movzx eax, al
push eax
call dword [ebp - 0x68]
test ax, ax
jns 0x10226069
mov eax, dword [ebp - 0x5c]
and eax, 0x700
cmp eax, dword [0x11d0d8f4]
jne 0x10226069
mov eax, dword [edi + 0x3c78]
or eax, dword [edi + 0x3c7c]
jne 0x10225f9e
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
mov dword [edi + 0x3c78], eax
mov dword [edi + 0x3c7c], edx
mov eax, dword [edi + 0x3c74]
test eax, eax
js 0x10225fb9
test al, 1
jne 0x10226084
or eax, 1
mov dword [edi + 0x3c74], eax
or byte [esi], 1
cmp byte [edi + 0x3724], 0
je 0x10226084
cmp byte [edi + 0x3725], 0
jne 0x10225fe5
mov eax, dword [edi + 0x1348]
mov dword [edi + 0x3728], eax
mov byte [edi + 0x3725], 1
mov edx, dword [edi + 0x3728]
test edx, edx
je 0x10226030
mov eax, dword [edi + 0x1340]
lea ecx, [edi + 0x1340]
dec edx
mov dword [edi + 0x3728], edx
mov eax, dword [eax + edx*4]
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x372c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x373c], xmm0
push dword [edi + 0x372c]
call fcn.102373c0
mov byte [edi + 0x3726], 0
jmp 0x10226084
or dword [edi + 0x4644], 0x8000
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
add eax, 0xfa0
mov dword [edi + 0x4740], eax
adc edx, 0
mov dword [edi + 0x4744], edx
jmp 0x10226084
and dword [edi + 0x3c74], 0xfffffffe
mov dword [edi + 0x3c78], 0
mov dword [edi + 0x3c7c], 0
mov eax, dword [edi + 0x3c50]
mov dword [ebp - 0x5c], eax
movzx eax, al
push eax
call dword [ebp - 0x68]
test ax, ax
jns 0x10226156
mov eax, dword [ebp - 0x5c]
and eax, 0x700
cmp eax, dword [0x11d0d8f4]
jne 0x10226156
mov eax, dword [edi + 0x3c5c]
or eax, dword [edi + 0x3c60]
jne 0x102260e4
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
mov dword [edi + 0x3c5c], eax
mov dword [edi + 0x3c60], edx
mov eax, dword [edi + 0x3c58]
test eax, eax
js 0x102260fb
test al, 1
jne 0x10226171
or eax, 1
mov dword [edi + 0x3c58], eax
or byte [esi], 1
cmp byte [edi + 0x3724], 0
je 0x10226171
mov edx, dword [edi + 0x1398]
test edx, edx
je 0x10226171
cmp byte [edi + 0x3725], 0
je 0x10226171
cmp byte [edi + 0x3726], 0
jne 0x10226171
mov ecx, dword [edi + 0x373c]
cmp ecx, 1
je 0x10226133
cmp ecx, 2
jne 0x10226171
xor eax, eax
cmp ecx, 1
setne al
push eax
push dword [edi + 0x3738]
push dword [edi + 0x3730]
call edx
add esp, 0xc
mov byte [edi + 0x3726], 1
jmp 0x10226171
and dword [edi + 0x3c58], 0xfffffffe
mov dword [edi + 0x3c5c], 0
mov dword [edi + 0x3c60], 0
mov eax, dword [edi + 0x3ef0]
mov dword [ebp - 0x5c], eax
movzx eax, al
push eax
call dword [ebp - 0x68]
movss xmm2, dword [0x1122d194]
test ax, ax
jns 0x10226295
mov eax, dword [ebp - 0x5c]
and eax, 0x700
cmp eax, dword [0x11d0d8f4]
jne 0x10226295
mov eax, dword [edi + 0x3efc]
or eax, dword [edi + 0x3f00]
jne 0x102261e1
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
movss xmm2, dword [0x1122d194]
mov dword [edi + 0x3efc], eax
mov dword [edi + 0x3f00], edx
mov eax, dword [edi + 0x3ef8]
test eax, eax
js 0x10226201
test al, 1
je 0x102261f8
mov cl, byte [esi]
mov eax, esi
jmp 0x102262b4
or eax, 1
mov dword [edi + 0x3ef8], eax
or byte [esi], 1
movss xmm1, dword [edi + 0x4c]
movss xmm0, dword [0x1122d478]
comiss xmm0, xmm1
jbe 0x1022621f
addss xmm1, xmm2
movss dword [edi + 0x4c], xmm1
mov eax, dword [edi + 0x47b8]
movss dword [eax + 0x428], xmm1
mov eax, dword [edi + 0x47b8]
mov byte [eax + 0x42d], 1
mov eax, dword [edi + 0x47b8]
mov byte [eax + 0x42c], 0
mov eax, dword [edi + 0x47b8]
mov dword [eax + 0x410], 2
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
mov ecx, dword [edi + 0x47b8]
mov dword [ecx + 0x418], eax
xor eax, eax
mov dword [ecx + 0x41c], edx
cmp dword [edi + 0x4808], eax
sete al
mov dword [edi + 0x4810], eax
jmp 0x102262b6
and dword [edi + 0x3ef8], 0xfffffffe
mov eax, esi
mov dword [edi + 0x3efc], 0
mov dword [edi + 0x3f00], 0
mov cl, byte [eax]
mov byte [eax], cl
mov eax, dword [edi + 0x3f0c]
mov dword [ebp - 0x5c], eax
movzx eax, al
push eax
call dword [ebp - 0x68]
test ax, ax
jns 0x102263d6
mov eax, dword [ebp - 0x5c]
and eax, 0x700
cmp eax, dword [0x11d0d8f4]
jne 0x102263d6
mov eax, dword [edi + 0x3f18]
or eax, dword [edi + 0x3f1c]
jne 0x10226316
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
mov dword [edi + 0x3f18], eax
mov dword [edi + 0x3f1c], edx
mov eax, dword [edi + 0x3f14]
test eax, eax
js 0x10226331
test al, 1
jne 0x102263f1
or eax, 1
mov dword [edi + 0x3f14], eax
or byte [esi], 1
movss xmm0, dword [edi + 0x4c]
comiss xmm0, dword [0x1122d1e4]
jbe 0x1022634f
subss xmm0, dword [0x1122d194]
movss dword [edi + 0x4c], xmm0
mov eax, dword [edi + 0x47b8]
movss dword [eax + 0x428], xmm0
mov eax, dword [edi + 0x47b8]
mov byte [eax + 0x42d], 1
mov eax, dword [edi + 0x47b8]
mov byte [eax + 0x42c], 0
mov eax, dword [edi + 0x47b8]
mov dword [eax + 0x410], 3
lea eax, [ebp - 0x60]
push eax
call dword [ebp - 0x64]
push 0
push 0x2710
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.10451250
mov ecx, dword [edi + 0x47b8]
mov dword [ecx + 0x418], eax
xor eax, eax
mov dword [ecx + 0x41c], edx
cmp dword [edi + 0x4808], eax
sete al
mov dword [edi + 0x4810], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
and dword [edi + 0x3f14], 0xfffffffe
mov dword [edi + 0x3f18], 0
mov dword [edi + 0x3f1c], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1045066c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret