Function at 0x10012562
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, 0x198
mov eax, dword [0x1011e00c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10120372], 0
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x70], esi
je 0x1001329d
mov eax, dword [0x1011e178]
mov ecx, dword [0x10120374]
dec eax
cmp eax, 3
ja case.default.0x1001255b
jmp dword [eax*4 + 0x100132b0]
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
jmp 0x10012595
push ecx
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
jmp 0x10012595
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
sete al
jmp 0x10012595
mov al, byte [ebp - 0x89]
test al, al
je 0x1001329d
mov ecx, dword [0x101202f8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x1001329d
mov ecx, dword [0x101202f8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1001329d
movss xmm0, dword [0x10116f8c]
mov edx, 1
divss xmm0, dword [0x1011e1b0]
mov eax, dword [0x101202ec]
mov dword [ebp - 0x98], edx
mulss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x90], xmm0
cmp dword [eax + 0x18], edx
jle 0x1001320d
nop dword [eax]
mov ecx, dword [0x10120320]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
mov dword [ebp - 0x78], edi
test edi, edi
je 0x100131f2
mov ecx, dword [edi]
mov edx, dword [ecx + 0x278]
mov ecx, edi
call edx
test al, al
je 0x100131f2
cmp edi, dword [0x10120420]
je 0x100131f2
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov dword [ebp - 0x94], ecx
mov eax, dword [eax + 0x28]
call eax
cmp byte [0x101204e7], 0
mov dword [ebp - 0x6c], eax
je 0x10012722
mov edx, dword [edi + 8]
lea ecx, [edi + 8]
mov edx, dword [edx + 0x24]
call edx
test al, al
jne 0x100126c6
mov eax, dword [0x10120334]
test eax, eax
jne 0x100126a8
call fcn.100034c0
mov edx, 0xe80c2f78
mov ecx, 0x10110195
call fcn.100018f0
mov edx, 0xc10bf213
mov ecx, 0x101100ad
mov esi, eax
call fcn.100018f0
push esi
push eax
call fcn.1008e510
mov esi, dword [ebp - 0x70]
mov dword [0x10120334], eax
cmp dword [eax + edi], 0
jle 0x100126c6
mov edx, dword [ebp - 0x6c]
movss xmm0, dword [ebp - 0x90]
add edx, 0xc
addss xmm0, dword [esi + edx*4]
lea edx, [esi + edx*4]
jmp 0x100126dc
mov edx, dword [ebp - 0x6c]
add edx, 0xc
movss xmm0, dword [esi + edx*4]
lea edx, [esi + edx*4]
subss xmm0, dword [ebp - 0x90]
xorps xmm1, xmm1
movss dword [edx], xmm0
comiss xmm1, xmm0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x74], 0x3f800000
lea eax, [ebp - 0x74]
mov dword [ebp - 0x7c], 0
movss xmm1, dword [0x10116f24]
cmovbe ecx, edx
comiss xmm0, dword [0x10116f8c]
cmovbe eax, ecx
movss xmm0, dword [eax]
comiss xmm1, xmm0
movss dword [edx], xmm0
ja 0x100131f2
jmp 0x1001277c
mov eax, dword [0x10120334]
test eax, eax
jne 0x1001275f
call fcn.100034c0
mov edx, 0xe80c2f78
mov ecx, 0x10110195
call fcn.100018f0
mov edx, 0xc10bf213
mov ecx, 0x101100ad
mov esi, eax
call fcn.100018f0
push esi
push eax
call fcn.1008e510
mov esi, dword [ebp - 0x70]
mov dword [0x10120334], eax
cmp dword [eax + edi], 0
jle 0x100131f2
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100131f2
mov ecx, dword [0x101202f4]
test ecx, ecx
jne 0x100127ba
call fcn.100034c0
mov edx, 0xe80c2f78
mov ecx, 0x101100e9
call fcn.100018f0
mov edx, 0xc10bf213
mov ecx, 0x101100ad
mov esi, eax
call fcn.100018f0
push esi
push eax
call fcn.1008e510
mov ecx, eax
mov dword [0x101202f4], ecx
mov edx, dword [0x10120420]
lea eax, [ecx + edi]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x74], edx
test ecx, ecx
jne 0x10012807
call fcn.100034c0
mov edx, 0xe80c2f78
mov ecx, 0x101100e9
call fcn.100018f0
mov edx, 0xc10bf213
mov ecx, 0x101100ad
mov esi, eax
call fcn.100018f0
push esi
push eax
call fcn.1008e510
mov edx, dword [ebp - 0x74]
mov ecx, eax
mov eax, dword [ebp - 0x7c]
mov dword [0x101202f4], ecx
mov eax, dword [eax]
cmp eax, dword [edx + ecx]
jne 0x1001281b
cmp byte [0x10120371], 0
je 0x100131ef
cmp byte [0x101204e8], 0
je 0x10012862
mov eax, dword [0x101204d4]
test eax, eax
jne 0x1001285e
call fcn.100034c0
mov edx, 0xe80c2f78
mov ecx, 0x10110671
call fcn.100018f0
mov edx, 0xc10bf213
mov ecx, 0x101104e5
mov esi, eax
call fcn.100018f0
push esi
push eax
call fcn.1008e510
mov dword [0x101204d4], eax
mov byte [eax + edi], 1
lea eax, [ebp - 0x178]
mov ecx, edi
push eax
call fcn.10001ad0
push eax
push edi
call fcn.10001b90
mov ecx, dword [ebp - 0x70]
push 0
mov byte [ecx + 0x18], al
lea eax, [ebp - 0x154]
push eax
mov ecx, edi
call fcn.10001d50
mov eax, dword [0x101202f0]
test eax, eax
jne 0x100128c7
call fcn.100034c0
mov edx, 0xe80c2f78
mov ecx, 0x101100b9
call fcn.100018f0
mov edx, 0xc10bf213
mov ecx, 0x101100c5
mov esi, eax
call fcn.100018f0
push esi
push eax
call fcn.1008e510
mov dword [0x101202f0], eax
movq xmm0, qword [eax + edi]
mov eax, dword [eax + edi + 8]
mov edi, dword [ebp - 0x6c]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x70]
movq qword [ebp - 0x148], xmm0
cmp byte [eax + 0x18], 0
je 0x10012941
mov dh, byte [0x1011f8c3]
movzx eax, byte [0x1011f8c2]
movzx esi, dh
shl esi, 8
or esi, eax
mov eax, dword [0x1011f8c0]
shl esi, 8
movzx ecx, ah
or esi, ecx
movzx ecx, al
shl esi, 8
or esi, ecx
mov ecx, dword [ebp - 0x70]
movss xmm1, dword [ecx + edi*4 + 0x30]
movzx ecx, dh
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si ecx, xmm0
movzx ecx, cl
shl ecx, 8
mov dword [ebp - 0x6c], ecx
movzx ecx, byte [0x1011f8c2]
jmp 0x10012996
mov dh, byte [0x1011f8a7]
movzx eax, byte [0x1011f8a6]
movzx esi, dh
shl esi, 8
or esi, eax
mov eax, dword [0x1011f8a4]
shl esi, 8
movzx ecx, ah
or esi, ecx
movzx ecx, al
shl esi, 8
or esi, ecx
mov ecx, dword [ebp - 0x70]
movss xmm1, dword [ecx + edi*4 + 0x30]
movzx ecx, dh
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si ecx, xmm0
movzx ecx, cl
shl ecx, 8
mov dword [ebp - 0x6c], ecx
movzx ecx, byte [0x1011f8a6]
or dword [ebp - 0x6c], ecx
shl dword [ebp - 0x6c], 8
movzx ecx, ah
or dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x6c]
movzx eax, al
shl ecx, 8
or ecx, eax
mov edi, dword [ebp - 0x78]
movzx eax, dh
bswap eax
mov dword [ebp - 0x80], eax
movzx eax, dh
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x7c], esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
movzx eax, al
bswap eax
mov dword [ebp - 0x74], eax
call fcn.1006a620
test al, al
jne 0x10012a04
mov edx, dword [ebp - 0x70]
lea ecx, [ebp - 0x148]
lea edx, [edx + 0xc]
call fcn.1006a620
test al, al
je 0x100131c6
mov ecx, 8
lea eax, [ebp - 0x64]
nop dword [eax]
mov dword [eax + 4], 0x7f800000
lea eax, [eax + 0xc]
mov dword [eax - 0xc], 0x7f800000
mov dword [eax - 0x10], 0x7f800000
sub ecx, 1
jne 0x10012a10
lea eax, [ebp - 0x198]
mov ecx, edi
push eax
call fcn.10011d40
mov edx, dword [ebp - 0x70]
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [edx + 0x20], xmm0
mov ecx, dword [edx + 0x24]
mov eax, dword [edx + 0x2c]
mov dword [edx + 0x24], eax
mov dword [edx + 0x2c], ecx
cmp byte [0x10120502], 0
je 0x10012a80
mov dl, byte [0x101204e7]
mov eax, esi
mov ecx, dword [ebp - 0x80]
test dl, dl
cmovne ecx, dword [ebp - 0x74]
cmovne eax, dword [ebp - 0x6c]
push ecx
push eax
push ecx
mov ecx, dword [ebp - 0x70]
call fcn.100132c0
mov edx, dword [ebp - 0x70]
cmp byte [0x101204ff], 0
je 0x10012a9f
cmp byte [0x101204e7], 0
mov eax, esi
mov ecx, edx
cmovne eax, dword [ebp - 0x6c]
push eax
push edi
call fcn.100135e0
cmp byte [0x101204f1], 0
jne 0x10012acc
cmp byte [0x101204ea], 0
jne 0x10012acc
cmp byte [0x101204f0], 0
jne 0x10012acc
cmp byte [0x101204ef], 0
jne 0x10012acc
cmp byte [0x101204fa], 0
je 0x10012ae3
cmp byte [0x101204e7], 0
mov eax, esi
mov ecx, dword [ebp - 0x70]
cmovne eax, dword [ebp - 0x6c]
push eax
push edi
call fcn.10013920
cmp byte [0x101204e4], 0
je 0x10012b03
cmp byte [0x101204e7], 0
mov eax, esi
mov ecx, dword [ebp - 0x70]
cmovne eax, dword [ebp - 0x6c]
push eax
push edi
call fcn.10014880
cmp byte [0x101204dd], 0
je 0x10012b19
push dword [ebp - 0x80]
mov ecx, dword [ebp - 0x70]
push esi
push edi
call fcn.10015320
cmp byte [0x101204e6], 0
je 0x10012cec
mov eax, dword [0x1012030c]
mov edi, esi
cmp byte [0x101204e7], 0
mov ecx, dword [ebp - 0x78]
cmovne edi, dword [ebp - 0x6c]
add ecx, 4
mov eax, dword [eax]
mov eax, dword [eax + 0x80]
mov dword [ebp - 0x74], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov ecx, dword [0x1012030c]
push eax
call dword [ebp - 0x74]
mov dword [ebp - 0x88], eax
test eax, eax
je 0x10012cec
xor ecx, ecx
mov dword [ebp - 0x80], ecx
cmp dword [eax + 0x9c], ecx
jle 0x10012cec
mov esi, dword [ebp - 0x78]
xor edx, edx
mov dword [ebp - 0x74], edx
add eax, edx
mov edx, dword [ebp - 0x88]
add eax, dword [edx + 0xa0]
mov dword [ebp - 0x84], eax
je 0x10012ce9
test dword [eax + 0xa0], 0x100
je 0x10012cbc
cmp dword [eax + 4], 0xffffffff
je 0x10012cbc
push ecx
lea eax, [ebp - 0x16c]
mov ecx, esi
push eax
call fcn.10011ca0
mov eax, dword [ebp - 0x84]
mov ecx, esi
push dword [eax + 4]
lea eax, [ebp - 0x160]
push eax
call fcn.10011ca0
lea edx, [ebp - 0xf8]
mov dword [ebp - 0xf0], 0x7f800000
lea ecx, [ebp - 0x160]
mov dword [ebp - 0xf4], 0x7f800000
mov dword [ebp - 0xf8], 0x7f800000
mov dword [ebp - 0xe4], 0x7f800000
mov dword [ebp - 0xe8], 0x7f800000
mov dword [ebp - 0xec], 0x7f800000
call fcn.1006a620
test al, al
je 0x10012cbc
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x16c]
call fcn.1006a620
test al, al
je 0x10012cbc
call fcn.10016cc0
movss xmm0, dword [ebp - 0xec]
movss dword [ebp - 0xac], xmm0
movss xmm0, dword [ebp - 0xe8]
mov edx, dword [eax]
movss dword [ebp - 0xa8], xmm0
movss xmm0, dword [ebp - 0xf8]
movss dword [ebp - 0xb4], xmm0
movss xmm0, dword [ebp - 0xf4]
push ecx
movss dword [ebp - 0xb0], xmm0
mov ecx, eax
movss xmm0, dword [0x1011e1bc]
movss dword [esp], xmm0
push edi
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
call dword [edx + 0x10]
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x74]
inc eax
add edx, 0xd8
mov dword [ebp - 0x80], eax
cmp eax, dword [ecx + 0x9c]
mov ecx, eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x74], edx
jl 0x10012b81
mov esi, dword [ebp - 0x7c]
cmp byte [0x101204e9], 0
je 0x10012eee
cmp byte [0x101204e7], 0
lea eax, [ebp - 0x124]
mov ecx, dword [ebp - 0x78]
mov edi, esi
cmovne edi, dword [ebp - 0x6c]
push 8
push eax
call fcn.10011ca0
mov ecx, dword [0x10120504]
test ecx, ecx
jne 0x10012d5e
call fcn.100034c0
mov edx, 0xe80c2f78
mov ecx, 0x10110755
call fcn.100018f0
mov edx, 0xc10bf213
mov dword [ebp - 0x84], eax
mov ecx, 0x101100ad
call fcn.100018f0
push dword [ebp - 0x84]
push eax
call fcn.1008e510
mov ecx, eax
mov dword [0x10120504], ecx
mov eax, dword [ebp - 0x78]
movss xmm0, dword [ecx + eax + 4]
mulss xmm0, dword [0x10116f00]
movss dword [ebp - 0x7c], xmm0
movss xmm0, dword [ecx + eax]
mulss xmm0, dword [0x10116f00]
movss dword [ebp - 0x84], xmm0
call fcn.1000fe90
movss dword [ebp - 0x74], xmm0
movss xmm0, dword [ebp - 0x7c]
call fcn.1000fe90
mulss xmm0, dword [ebp - 0x74]
mulss xmm0, dword [0x1011e1c0]
addss xmm0, dword [ebp - 0x124]
movss dword [ebp - 0x13c], xmm0
movss xmm0, dword [ebp - 0x7c]
call fcn.1000feb0
mulss xmm0, dword [ebp - 0x74]
mulss xmm0, dword [0x1011e1c0]
addss xmm0, dword [ebp - 0x120]
movss dword [ebp - 0x138], xmm0
movss xmm0, dword [ebp - 0x84]
call fcn.1000feb0
xorps xmm0, xmmword [0x10118a80]
lea edx, [ebp - 0x110]
mulss xmm0, dword [0x1011e1c0]
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x108], 0x7f800000
mov dword [ebp - 0x10c], 0x7f800000
mov dword [ebp - 0x110], 0x7f800000
addss xmm0, dword [ebp - 0x11c]
mov dword [ebp - 0xfc], 0x7f800000
mov dword [ebp - 0x100], 0x7f800000
mov dword [ebp - 0x104], 0x7f800000
movss dword [ebp - 0x134], xmm0
call fcn.1006a620
test al, al
je 0x10012eee
lea edx, [ebp - 0x104]
lea ecx, [ebp - 0x13c]
call fcn.1006a620
test al, al
je 0x10012eee
call fcn.10016cc0
movss xmm0, dword [ebp - 0x104]
movss dword [ebp - 0xbc], xmm0
movss xmm0, dword [ebp - 0x100]
mov edx, dword [eax]
movss dword [ebp - 0xb8], xmm0
movss xmm0, dword [ebp - 0x110]
movss dword [ebp - 0xc4], xmm0
movss xmm0, dword [ebp - 0x10c]
push ecx
movss dword [ebp - 0xc0], xmm0
mov ecx, eax
movss xmm0, dword [0x1011e19c]
movss dword [esp], xmm0
push edi
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call dword [edx + 0x10]
cmp byte [0x101204e0], 0
je 0x10013068
cmp byte [0x101204e7], 0
lea eax, [ebp - 0x184]
mov ecx, dword [ebp - 0x78]
mov edi, esi
cmovne edi, dword [ebp - 0x6c]
push 8
push eax
mov dword [ebp - 0x9c], 0x7f800000
mov dword [ebp - 0xa0], 0x7f800000
mov dword [ebp - 0xa4], 0x7f800000
call fcn.10011ca0
lea edx, [ebp - 0xa4]
mov ecx, eax
call fcn.1006a620
test al, al
je 0x10013068
cmp byte [0x101204ed], 0
je 0x10012fde
call fcn.10016cc0
movss xmm4, dword [0x10116fe8]
mov ecx, eax
movss xmm2, dword [ebp - 0xa0]
movss xmm3, dword [ebp - 0xa4]
movaps xmm0, xmm2
push 0x100
mov eax, dword [ecx]
addss xmm0, xmm4
push ecx
movaps xmm1, xmm3
mov dword [esp], 0
addss xmm1, xmm4
push edi
movss dword [ebp - 0xcc], xmm0
subss xmm2, xmm4
push dword [ebp - 0xcc]
subss xmm3, xmm4
movss dword [ebp - 0xd0], xmm1
push dword [ebp - 0xd0]
movss dword [ebp - 0xd4], xmm2
push dword [ebp - 0xd4]
movss dword [ebp - 0xd8], xmm3
push dword [ebp - 0xd8]
call dword [eax + 0x1c]
jmp 0x10013068
call fcn.10016cc0
movss xmm4, dword [0x10116fe8]
mov ecx, eax
movss xmm2, dword [ebp - 0xa0]
movss xmm3, dword [ebp - 0xa4]
movaps xmm0, xmm2
push 0x100
mov eax, dword [ecx]
addss xmm0, xmm4
sub esp, 8
subss xmm2, xmm4
movaps xmm1, xmm3
subss xmm3, xmm4
addss xmm1, xmm4
mov dword [esp + 4], 0
mov dword [esp], 0x3f800000
push edi
movss dword [ebp - 0x114], xmm0
push dword [ebp - 0x114]
movss dword [ebp - 0x118], xmm1
push dword [ebp - 0x118]
movss dword [ebp - 0xdc], xmm2
push dword [ebp - 0xdc]
movss dword [ebp - 0xe0], xmm3
push dword [ebp - 0xe0]
call dword [eax + 0x14]
cmp byte [0x101204f9], 0
mov edi, dword [ebp - 0x70]
je 0x1001308a
cmp byte [0x101204e7], 0
mov eax, esi
cmovne eax, dword [ebp - 0x6c]
push eax
push ecx
mov ecx, edi
call fcn.10015980
cmp byte [0x101204de], 0
mov ecx, dword [ebp - 0x6c]
je 0x100131ea
cmp byte [0x101204e7], 0
mov eax, esi
cmovne eax, ecx
cmp byte [edi + 0x18], 0
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x7c], eax
je 0x100131ea
mov ecx, dword [0x101202f0]
test ecx, ecx
jne 0x100130f7
call fcn.100034c0
mov edx, 0xe80c2f78
mov ecx, 0x101100b9
call fcn.100018f0
mov edx, 0xc10bf213
mov ecx, 0x101100c5
mov edi, eax
call fcn.100018f0
push edi
push eax
call fcn.1008e510
mov ecx, eax
mov dword [0x101202f0], ecx
mov eax, dword [ebp - 0x78]
movq xmm0, qword [ecx + eax]
mov eax, dword [ecx + eax + 8]
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x128], eax
movq qword [ebp - 0x130], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10120510]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
call edx
mov ecx, dword [ebp - 0x84]
mov edi, eax
movss xmm1, dword [ebp - 0x12c]
movss xmm0, dword [ebp - 0x128]
movss xmm2, dword [ebp - 0x130]
mov byte [edi + 0x14], cl
mov cl, byte [ebp - 0x7a]
mov byte [edi + 0x15], ch
mov byte [edi + 0x16], cl
mov ecx, dword [ebp - 0x94]
movss dword [edi + 0x30], xmm1
movss dword [edi + 0x34], xmm0
movss dword [edi + 8], xmm1
movss dword [edi + 0xc], xmm0
mov byte [edi + 0x17], 5
movss dword [edi + 0x2c], xmm2
movss dword [edi + 4], xmm2
movss xmm0, dword [0x1011e1a4]
movss dword [edi + 0x10], xmm0
mov eax, dword [0x101202ec]
movss xmm1, dword [0x1011e1a4]
mulss xmm1, dword [0x10116f48]
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [0x10116f24]
movss dword [edi + 0x1c], xmm1
movss dword [edi + 0x18], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov dword [edi + 0x24], eax
mov edi, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x6c]
cmp byte [0x101204df], 0
je 0x100131ef
cmp byte [0x101204e7], 0
cmovne esi, ecx
push esi
mov esi, dword [ebp - 0x70]
mov ecx, esi
push edi
call fcn.100155c0
jmp 0x100131f2
mov edi, dword [ebp - 0x78]
jmp 0x100131c9
mov esi, dword [ebp - 0x70]
mov edx, dword [ebp - 0x98]
mov eax, dword [0x101202ec]
inc edx
mov dword [ebp - 0x98], edx
cmp edx, dword [eax + 0x18]
jl 0x10012600
mov ecx, dword [0x10120320]
mov edi, 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
cmp eax, edi
jle 0x1001329d
mov ecx, dword [0x10120320]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x1001328b
mov ecx, dword [esi]
mov edx, dword [ecx + 0x278]
mov ecx, esi
call edx
test al, al
jne 0x1001328b
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x1001328b
cmp byte [0x101204f8], al
jne 0x1001326a
cmp byte [0x101204f4], al
je 0x10013270
push esi
call fcn.100163d0
cmp byte [0x101204f6], 0
jne 0x10013282
cmp byte [0x101204eb], 0
je 0x1001328b
mov ecx, dword [ebp - 0x70]
push esi
call fcn.10015b50
mov ecx, dword [0x10120320]
inc edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
cmp edi, eax
jl 0x10013227
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100f238c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret