Function at 0x100125d0
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 [0x1011f00c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10122712], 0
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x70], esi
je 0x1001335d
mov eax, dword [0x1011f178]
mov ecx, dword [0x10122714]
dec eax
cmp eax, 3
ja case.default.0x1001261b
jmp dword [eax*4 + 0x10013370]
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
jmp 0x10012655
push ecx
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
jmp 0x10012655
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
sete al
jmp 0x10012655
mov al, byte [ebp - 0x89]
test al, al
je 0x1001335d
mov ecx, dword [0x10122698]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x1001335d
mov ecx, dword [0x10122698]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1001335d
movss xmm0, dword [0x10117ec0]
mov edx, 1
divss xmm0, dword [0x1011f1ac]
mov eax, dword [0x1012268c]
mov dword [ebp - 0x98], edx
mulss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x90], xmm0
cmp dword [eax + 0x18], edx
jle 0x100132cd
nop dword [eax]
mov ecx, dword [0x101226c0]
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 0x100132b2
mov ecx, dword [edi]
mov edx, dword [ecx + 0x278]
mov ecx, edi
call edx
test al, al
je 0x100132b2
cmp edi, dword [0x101227d4]
je 0x100132b2
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov dword [ebp - 0x94], ecx
mov eax, dword [eax + 0x28]
call eax
cmp byte [0x101580d6], 0
mov dword [ebp - 0x6c], eax
je 0x100127e2
mov edx, dword [edi + 8]
lea ecx, [edi + 8]
mov edx, dword [edx + 0x24]
call edx
test al, al
jne 0x10012786
mov eax, dword [0x101226d4]
test eax, eax
jne 0x10012768
call fcn.10003520
mov edx, 0xe80c2f78
mov ecx, 0x101100f5
call fcn.10001980
mov edx, 0xc10bf213
mov ecx, 0x1011000d
mov esi, eax
call fcn.10001980
push esi
push eax
call fcn.1008c3b0
mov esi, dword [ebp - 0x70]
mov dword [0x101226d4], eax
cmp dword [eax + edi], 0
jle 0x10012786
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 0x1001279c
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 [0x10117e58]
cmovbe ecx, edx
comiss xmm0, dword [0x10117ec0]
cmovbe eax, ecx
movss xmm0, dword [eax]
comiss xmm1, xmm0
movss dword [edx], xmm0
ja 0x100132b2
jmp 0x1001283c
mov eax, dword [0x101226d4]
test eax, eax
jne 0x1001281f
call fcn.10003520
mov edx, 0xe80c2f78
mov ecx, 0x101100f5
call fcn.10001980
mov edx, 0xc10bf213
mov ecx, 0x1011000d
mov esi, eax
call fcn.10001980
push esi
push eax
call fcn.1008c3b0
mov esi, dword [ebp - 0x70]
mov dword [0x101226d4], eax
cmp dword [eax + edi], 0
jle 0x100132b2
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100132b2
mov ecx, dword [0x10122694]
test ecx, ecx
jne 0x1001287a
call fcn.10003520
mov edx, 0xe80c2f78
mov ecx, 0x10110049
call fcn.10001980
mov edx, 0xc10bf213
mov ecx, 0x1011000d
mov esi, eax
call fcn.10001980
push esi
push eax
call fcn.1008c3b0
mov ecx, eax
mov dword [0x10122694], ecx
mov edx, dword [0x101227d4]
lea eax, [ecx + edi]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x74], edx
test ecx, ecx
jne 0x100128c7
call fcn.10003520
mov edx, 0xe80c2f78
mov ecx, 0x10110049
call fcn.10001980
mov edx, 0xc10bf213
mov ecx, 0x1011000d
mov esi, eax
call fcn.10001980
push esi
push eax
call fcn.1008c3b0
mov edx, dword [ebp - 0x74]
mov ecx, eax
mov eax, dword [ebp - 0x7c]
mov dword [0x10122694], ecx
mov eax, dword [eax]
cmp eax, dword [edx + ecx]
jne 0x100128db
cmp byte [0x10122711], 0
je 0x100132af
cmp byte [0x101580d7], 0
je 0x10012922
mov eax, dword [0x101580c4]
test eax, eax
jne 0x1001291e
call fcn.10003520
mov edx, 0xe80c2f78
mov ecx, 0x101105bd
call fcn.10001980
mov edx, 0xc10bf213
mov ecx, 0x10110435
mov esi, eax
call fcn.10001980
push esi
push eax
call fcn.1008c3b0
mov dword [0x101580c4], eax
mov byte [eax + edi], 1
lea eax, [ebp - 0x178]
mov ecx, edi
push eax
call fcn.10001b60
push eax
push edi
call fcn.10001c20
mov ecx, dword [ebp - 0x70]
push 0
mov byte [ecx + 0x18], al
lea eax, [ebp - 0x154]
push eax
mov ecx, edi
call fcn.10001de0
mov eax, dword [0x10122690]
test eax, eax
jne 0x10012987
call fcn.10003520
mov edx, 0xe80c2f78
mov ecx, 0x10110019
call fcn.10001980
mov edx, 0xc10bf213
mov ecx, 0x10110025
mov esi, eax
call fcn.10001980
push esi
push eax
call fcn.1008c3b0
mov dword [0x10122690], 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 0x10012a01
mov dh, byte [0x10121c93]
movzx eax, byte [0x10121c92]
movzx esi, dh
shl esi, 8
or esi, eax
mov eax, dword [0x10121c90]
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 [0x10121c92]
jmp 0x10012a56
mov dh, byte [0x10121c77]
movzx eax, byte [0x10121c76]
movzx esi, dh
shl esi, 8
or esi, eax
mov eax, dword [0x10121c74]
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 [0x10121c76]
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.100668e0
test al, al
jne 0x10012ac4
mov edx, dword [ebp - 0x70]
lea ecx, [ebp - 0x148]
lea edx, [edx + 0xc]
call fcn.100668e0
test al, al
je 0x10013286
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 0x10012ad0
lea eax, [ebp - 0x198]
mov ecx, edi
push eax
call fcn.10011df0
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 [0x101580f1], 0
je 0x10012b40
mov dl, byte [0x101580d6]
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.10013380
mov edx, dword [ebp - 0x70]
cmp byte [0x101580ee], 0
je 0x10012b5f
cmp byte [0x101580d6], 0
mov eax, esi
mov ecx, edx
cmovne eax, dword [ebp - 0x6c]
push eax
push edi
call fcn.10013540
cmp byte [0x101580e0], 0
jne 0x10012b8c
cmp byte [0x101580d9], 0
jne 0x10012b8c
cmp byte [0x101580df], 0
jne 0x10012b8c
cmp byte [0x101580de], 0
jne 0x10012b8c
cmp byte [0x101580e9], 0
je 0x10012ba3
cmp byte [0x101580d6], 0
mov eax, esi
mov ecx, dword [ebp - 0x70]
cmovne eax, dword [ebp - 0x6c]
push eax
push edi
call fcn.10013880
cmp byte [0x101580d3], 0
je 0x10012bc3
cmp byte [0x101580d6], 0
mov eax, esi
mov ecx, dword [ebp - 0x70]
cmovne eax, dword [ebp - 0x6c]
push eax
push edi
call fcn.100147e0
cmp byte [0x101580cd], 0
je 0x10012bd9
push dword [ebp - 0x80]
mov ecx, dword [ebp - 0x70]
push esi
push edi
call fcn.10015280
cmp byte [0x101580d5], 0
je 0x10012dac
mov eax, dword [0x101226ac]
mov edi, esi
cmp byte [0x101580d6], 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 [0x101226ac]
push eax
call dword [ebp - 0x74]
mov dword [ebp - 0x88], eax
test eax, eax
je 0x10012dac
xor ecx, ecx
mov dword [ebp - 0x80], ecx
cmp dword [eax + 0x9c], ecx
jle 0x10012dac
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 0x10012da9
test dword [eax + 0xa0], 0x100
je 0x10012d7c
cmp dword [eax + 4], 0xffffffff
je 0x10012d7c
push ecx
lea eax, [ebp - 0x16c]
mov ecx, esi
push eax
call fcn.10011d50
mov eax, dword [ebp - 0x84]
mov ecx, esi
push dword [eax + 4]
lea eax, [ebp - 0x160]
push eax
call fcn.10011d50
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.100668e0
test al, al
je 0x10012d7c
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x16c]
call fcn.100668e0
test al, al
je 0x10012d7c
call fcn.10016b20
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 [0x1011f1b4]
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 0x10012c41
mov esi, dword [ebp - 0x7c]
cmp byte [0x101580d8], 0
je 0x10012fae
cmp byte [0x101580d6], 0
lea eax, [ebp - 0x124]
mov ecx, dword [ebp - 0x78]
mov edi, esi
cmovne edi, dword [ebp - 0x6c]
push 8
push eax
call fcn.10011d50
mov ecx, dword [0x101580f4]
test ecx, ecx
jne 0x10012e1e
call fcn.10003520
mov edx, 0xe80c2f78
mov ecx, 0x101106a1
call fcn.10001980
mov edx, 0xc10bf213
mov dword [ebp - 0x84], eax
mov ecx, 0x1011000d
call fcn.10001980
push dword [ebp - 0x84]
push eax
call fcn.1008c3b0
mov ecx, eax
mov dword [0x101580f4], ecx
mov eax, dword [ebp - 0x78]
movss xmm0, dword [ecx + eax + 4]
mulss xmm0, dword [0x10117e38]
movss dword [ebp - 0x7c], xmm0
movss xmm0, dword [ecx + eax]
mulss xmm0, dword [0x10117e38]
movss dword [ebp - 0x84], xmm0
call fcn.1000ff40
movss dword [ebp - 0x74], xmm0
movss xmm0, dword [ebp - 0x7c]
call fcn.1000ff40
mulss xmm0, dword [ebp - 0x74]
mulss xmm0, dword [0x1011f1b8]
addss xmm0, dword [ebp - 0x124]
movss dword [ebp - 0x13c], xmm0
movss xmm0, dword [ebp - 0x7c]
call fcn.1000ff60
mulss xmm0, dword [ebp - 0x74]
mulss xmm0, dword [0x1011f1b8]
addss xmm0, dword [ebp - 0x120]
movss dword [ebp - 0x138], xmm0
movss xmm0, dword [ebp - 0x84]
call fcn.1000ff60
xorps xmm0, xmmword [0x10119820]
lea edx, [ebp - 0x110]
mulss xmm0, dword [0x1011f1b8]
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.100668e0
test al, al
je 0x10012fae
lea edx, [ebp - 0x104]
lea ecx, [ebp - 0x13c]
call fcn.100668e0
test al, al
je 0x10012fae
call fcn.10016b20
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 [0x1011f19c]
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 [0x101580d0], 0
je 0x10013128
cmp byte [0x101580d6], 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.10011d50
lea edx, [ebp - 0xa4]
mov ecx, eax
call fcn.100668e0
test al, al
je 0x10013128
cmp byte [0x101580dc], 0
je 0x1001309e
call fcn.10016b20
movss xmm4, dword [0x10117f00]
mov ecx, eax
movss xmm2, dword [ebp - 0xa0]
movss xmm3, dword [ebp - 0xa4]
movaps xmm0, xmm2
push pe_nt_image_headers32
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 + 0x18]
jmp 0x10013128
call fcn.10016b20
movss xmm4, dword [0x10117f00]
mov ecx, eax
movss xmm2, dword [ebp - 0xa0]
movss xmm3, dword [ebp - 0xa4]
movaps xmm0, xmm2
push pe_nt_image_headers32
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 [0x101580e8], 0
mov edi, dword [ebp - 0x70]
je 0x1001314a
cmp byte [0x101580d6], 0
mov eax, esi
cmovne eax, dword [ebp - 0x6c]
push eax
push ecx
mov ecx, edi
call fcn.100158e0
cmp byte [0x101580ce], 0
mov ecx, dword [ebp - 0x6c]
je 0x100132aa
cmp byte [0x101580d6], 0
mov eax, esi
cmovne eax, ecx
cmp byte [edi + 0x18], 0
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x7c], eax
je 0x100132aa
mov ecx, dword [0x10122690]
test ecx, ecx
jne 0x100131b7
call fcn.10003520
mov edx, 0xe80c2f78
mov ecx, 0x10110019
call fcn.10001980
mov edx, 0xc10bf213
mov ecx, 0x10110025
mov edi, eax
call fcn.10001980
push edi
push eax
call fcn.1008c3b0
mov ecx, eax
mov dword [0x10122690], 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 [0x10158100]
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 [0x1011f1a4]
movss dword [edi + 0x10], xmm0
mov eax, dword [0x1012268c]
movss xmm1, dword [0x1011f1a4]
mulss xmm1, dword [0x10117e7c]
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [0x10117e58]
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 [0x101580cf], 0
je 0x100132af
cmp byte [0x101580d6], 0
cmovne esi, ecx
push esi
mov esi, dword [ebp - 0x70]
mov ecx, esi
push edi
call fcn.10015520
jmp 0x100132b2
mov edi, dword [ebp - 0x78]
jmp 0x10013289
mov esi, dword [ebp - 0x70]
mov edx, dword [ebp - 0x98]
mov eax, dword [0x1012268c]
inc edx
mov dword [ebp - 0x98], edx
cmp edx, dword [eax + 0x18]
jl 0x100126c0
mov ecx, dword [0x101226c0]
mov edi, 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
cmp eax, edi
jle 0x1001335d
mov ecx, dword [0x101226c0]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x1001334b
mov ecx, dword [esi]
mov edx, dword [ecx + 0x278]
mov ecx, esi
call edx
test al, al
jne 0x1001334b
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x1001334b
cmp byte [0x101580e7], al
jne 0x1001332a
cmp byte [0x101580e3], al
je 0x10013330
push esi
call fcn.10016330
cmp byte [0x101580e5], 0
jne 0x10013342
cmp byte [0x101580da], 0
je 0x1001334b
mov ecx, dword [ebp - 0x70]
push esi
call fcn.10015ab0
mov ecx, dword [0x101226c0]
inc edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
cmp edi, eax
jl 0x100132e7
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100f1854
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret