Function at 0x1001ee50
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x40
mov eax, dword [0x1007d664]
xor eax, esp
mov dword [esp + 0x3c], eax
mov ecx, 2
cmp dword [0x10085038], ecx
jne 0x1001ee7e
xor eax, eax
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8
movzx edx, byte [0x10081e7c]
mov eax, dword [esp + 0x44]
push ebx
push esi
xor ebx, ebx
xor esi, esi
cmp eax, edx
jne 0x1001eecb
cmp dword [0x10081e64], ebx
push 1
je 0x1001eeb2
push 0x10050dc0
mov dword [0x10081e64], ebx
call fcn.10001160
jmp 0x1001fe7c
push 0x10050db0
mov dword [0x10081e64], 1
call fcn.10001160
jmp 0x1001fe7c
movzx edx, byte [0x10081a40]
cmp eax, edx
jne 0x1001ef38
mov eax, dword [0x10082044]
mov esi, 1
cmp eax, esi
jne 0x1001ef0a
push esi
push 0x10050da8
mov dword [0x10082044], ecx
call fcn.10001160
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8
cmp eax, ecx
jne 0x1001fe81
push esi
push 0x10050d9c
mov dword [0x10082044], esi
call fcn.10001160
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8
movzx edx, byte [0x10081a38]
cmp eax, edx
jne 0x1001ef9c
cmp dword [0x1008173c], ebx
je 0x1001ef62
push 1
push 0x10050d90
mov dword [0x1008173c], ebx
call fcn.10001160
jmp 0x1001fe7c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 1
push 0x10050d84
mov dword [0x10081700], eax
mov dword [0x10081704], eax
mov dword [0x10081708], eax
mov dword [0x1008170c], eax
mov dword [0x10081710], eax
mov dword [0x1008173c], 1
call fcn.10001160
jmp 0x1001fe7c
movzx edx, byte [0x10081a3c]
cmp eax, edx
jne 0x1001efdf
cmp dword [0x10082020], ebx
push 1
je 0x1001efc6
push 0x10050b10
mov dword [0x10082020], ebx
call fcn.10001160
jmp 0x1001fe7c
push 0x10050b1c
mov dword [0x10082020], 1
call fcn.10001160
jmp 0x1001fe7c
movzx edx, byte [0x10081e80]
cmp eax, edx
jne 0x1001f022
cmp dword [0x10081e68], ebx
push 1
je 0x1001f009
push 0x10050d74
mov dword [0x10081e68], ebx
call fcn.10001160
jmp 0x1001fe7c
push 0x10050d64
mov dword [0x10081e68], 1
call fcn.10001160
jmp 0x1001fe7c
movzx edx, byte [0x10081a20]
cmp eax, edx
jne 0x1001f04b
cmp byte [0x10081e40], bl
mov dword [0x10081db4], ebx
push 6
je 0x1001fad9
call fcn.10023f50
jmp 0x1001fe7c
movzx edx, byte [0x10081a1c]
cmp eax, edx
jne 0x1001f08f
mov eax, dword [0x100817f0]
test eax, eax
push 1
je 0x1001f076
push 0x10050d5c
mov dword [0x100817f0], ebx
call fcn.10001160
jmp 0x1001fe7c
push 0x10050d54
mov dword [0x100817f0], 1
call fcn.10001160
jmp 0x1001fe7c
movzx edx, byte [0x100819f0]
cmp eax, edx
jne 0x1001f106
cmp dword [0x10081e4c], ebx
push 1
je 0x1001f0d3
push 0x10050d48
mov dword [0x10081e4c], ebx
call fcn.10001160
mov esi, 1
call fcn.10009620
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8
push 0x10050d3c
mov dword [0x10081e4c], 1
call fcn.10001160
mov esi, 1
call fcn.10009620
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8
movzx edx, byte [0x10081a28]
cmp eax, edx
jne 0x1001f149
cmp dword [0x10081fa4], ebx
push 1
je 0x1001f130
push 0x10050d30
mov dword [0x10081fa4], ebx
call fcn.10001160
jmp 0x1001fe7c
push 0x10050d24
mov dword [0x10081fa4], 1
call fcn.10001160
jmp 0x1001fe7c
movzx edx, byte [0x10081a2c]
cmp eax, edx
jne 0x1001f18c
cmp dword [0x10081fa0], ebx
push 1
je 0x1001f173
push 0x10050d1c
mov dword [0x10081fa0], ebx
call fcn.10001160
jmp 0x1001fe7c
push 0x10050d14
mov dword [0x10081fa0], 1
call fcn.10001160
jmp 0x1001fe7c
movzx edx, byte [0x10081a30]
cmp eax, edx
jne 0x1001f1a1
call fcn.1001d700
jmp 0x1001fe7c
movzx edx, byte [0x10081a34]
cmp eax, edx
jne 0x1001f1bb
push 0x9c7
call fcn.10025d00
jmp 0x1001fe7c
movzx edx, byte [0x100819f4]
cmp eax, edx
jne 0x1001f1d0
call fcn.1001d630
jmp 0x1001fe7c
movzx edx, byte [0x100821a8]
cmp eax, edx
jne 0x1001f221
cmp dword [0x10081da8], ebx
je 0x1001f202
push 0x470
call fcn.1002c410
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8
push 0xe2
call fcn.1002c410
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8
movzx edx, byte [0x100821ac]
cmp eax, edx
jne 0x1001f272
cmp dword [0x10081da8], ebx
je 0x1001f253
push 0x2735
call fcn.10027070
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8
push 0x272f
call fcn.10027070
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8
movzx edx, byte [0x100821b0]
cmp eax, edx
jne 0x1001f2c3
cmp dword [0x10081da8], ebx
je 0x1001f2a4
push 0x2733
call fcn.10027070
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8
push 0x272c
call fcn.10027070
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8
movzx edx, byte [0x10081e48]
cmp eax, edx
jne 0x1001f310
cmp dword [0x10081e18], ebx
push 1
je 0x1001f2f2
push 0x10050d08
mov dword [0x10081e18], ebx
call fcn.10001160
call fcn.10009620
jmp 0x1001fe7c
push 0x10050cfc
mov dword [0x10081e18], 1
call fcn.10001160
call fcn.10009620
jmp 0x1001fe7c
movzx edx, byte [0x10081e5c]
cmp eax, edx
jne 0x1001f38f
call fcn.10028e30
push eax
call fcn.10028f80
mov eax, dword [0x10081e44]
lea ecx, [eax + 1]
lea esi, [eax + 7]
cmp ecx, esi
jae 0x1001fe7c
lea esp, [esp]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
lea eax, [edx + edx*2]
add eax, eax
mov edx, ecx
sub edx, eax
mov eax, dword [edx*4 + 0x10081e1c]
lea eax, [eax + eax*2]
cmp word [eax*4 + 0x10081dd0], bx
jne 0x1001f373
add ecx, 1
cmp ecx, esi
jb 0x1001f340
jmp 0x1001fe7c
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
lea edx, [edx + edx*2]
add edx, edx
sub ecx, edx
mov dword [0x10081e44], ecx
jmp 0x1001fe7c
movzx edx, byte [0x10081ac8]
cmp eax, edx
jne 0x1001f3da
mov al, byte [0x1007f3b5]
test al, al
push 1
je 0x1001f3bf
push 0x10050cf4
mov byte [0x1007f3b5], bl
call fcn.10001160
call fcn.1000f140
jmp 0x1001fe7c
push 0x10050cec
mov byte [0x1007f3b5], 1
call fcn.10001160
call fcn.1000f140
jmp 0x1001fe7c
movzx edx, byte [0x10081adc]
cmp eax, edx
jne 0x1001f447
mov esi, 1
cmp dword [0x10081db4], esi
push esi
jne 0x1001f41d
push 0x10050ce4
mov dword [0x10081db4], ebx
call fcn.10001160
call fcn.1000f140
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8
push 0x10050cdc
mov dword [0x10081db4], esi
call fcn.10001160
call fcn.1000f140
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8
movzx edx, byte [0x10081ae0]
cmp eax, edx
jne 0x1001f513
cmp byte [0x10081e3f], bl
jne 0x1001f498
cmp dword [0x10081e60], ebx
jne 0x1001f4dc
push 1
push 0x10050ccc
mov byte [0x10081e3f], 1
call fcn.10001160
mov esi, 1
call fcn.10009620
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8
cmp dword [0x10081e60], ebx
jne 0x1001f4dc
push 1
push 0x10050cbc
mov byte [0x10081e3f], 1
mov dword [0x10081e60], 1
call fcn.10001160
mov esi, 1
call fcn.10009620
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8
push 1
push 0x10050cb0
mov byte [0x10081e3f], bl
mov dword [0x10081e60], ebx
call fcn.10001160
mov esi, 1
call fcn.10009620
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8
movzx edx, byte [0x10081ad0]
cmp eax, edx
jne 0x1001f576
mov esi, 1
cmp dword [0x10081b04], esi
push esi
jne 0x1001f551
push 0x10050ca4
mov dword [0x10081b04], ebx
call fcn.10001160
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8
push 0x10042b84
mov dword [0x10081b04], esi
call fcn.10001160
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8
movzx edx, byte [0x10081ad8]
cmp eax, edx
jne 0x1001f5ab
push 7
call fcn.10001020
test eax, eax
je 0x1001fe7c
cmp dword [0x10082508], ebx
jne 0x1001fe7c
mov dword [0x10082508], 1
jmp 0x1001fe7c
movzx edx, byte [0x10081ad4]
cmp eax, edx
jne 0x1001f60e
mov esi, 1
cmp dword [0x10081ae4], esi
push esi
jne 0x1001f5e9
push 0x10050c98
mov dword [0x10081ae4], ebx
call fcn.10001160
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8
push 0x10050c8c
mov dword [0x10081ae4], esi
call fcn.10001160
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8
movzx edx, byte [0x10081acc]
cmp eax, edx
jne 0x1001f6bc
mov eax, dword [0x10081af8]
cmp eax, 5
je 0x1001f6a1
cmp eax, 1
jne 0x1001f642
push eax
push 0x10050c7c
mov dword [0x10081af8], ecx
call fcn.10001160
jmp 0x1001fe7c
cmp eax, ecx
jne 0x1001f661
push 1
push 0x10050c6c
mov dword [0x10081af8], 3
call fcn.10001160
jmp 0x1001fe7c
cmp eax, 3
jne 0x1001f681
push 1
push 0x10050c5c
mov dword [0x10081af8], 4
call fcn.10001160
jmp 0x1001fe7c
cmp eax, 4
jne 0x1001f6a1
push 1
push 0x10050c4c
mov dword [0x10081af8], 5
call fcn.10001160
jmp 0x1001fe7c
push 1
push 0x10050c3c
mov dword [0x10081af8], 1
call fcn.10001160
jmp 0x1001fe7c
movzx ecx, byte [0x10081ac4]
cmp eax, ecx
jne 0x1001f6ff
cmp dword [0x10081db0], ebx
push 1
je 0x1001f6e6
push 0x10050c30
mov dword [0x10081db0], ebx
call fcn.10001160
jmp 0x1001fe7c
push 0x10050c24
mov dword [0x10081db0], 1
call fcn.10001160
jmp 0x1001fe7c
movzx edx, byte [0x10081a14]
cmp eax, edx
jne 0x1001f742
cmp dword [0x10081d3c], ebx
push 1
je 0x1001f729
push 0x10050c18
mov dword [0x10081d3c], ebx
call fcn.10001160
jmp 0x1001fe7c
push 0x10050c0c
mov dword [0x10081d3c], 1
call fcn.10001160
jmp 0x1001fe7c
movzx ecx, byte [0x10081a18]
cmp eax, ecx
jne 0x1001f785
cmp dword [0x10081ff8], ebx
push 1
je 0x1001f76c
push 0x10050c00
mov dword [0x10081ff8], ebx
call fcn.10001160
jmp 0x1001fe7c
push 0x10050bf4
mov dword [0x10081ff8], 1
call fcn.10001160
jmp 0x1001fe7c
movzx edx, byte [0x10081a24]
cmp eax, edx
jne 0x1001f7d0
cmp dword [0x10082010], ebx
je 0x1001f7af
push 1
push 0x10050be8
mov dword [0x10082010], ebx
call fcn.10001160
jmp 0x1001fe7c
push ebx
call fcn.10021c30
push 1
push 0x10050bdc
mov dword [0x10082010], 1
call fcn.10001160
jmp 0x1001fe7c
movzx ecx, byte [0x10081abc]
cmp eax, ecx
jne 0x1001f813
cmp dword [0x10081dac], ebx
push 1
je 0x1001f7fa
push 0x10050bd0
mov dword [0x10081dac], ebx
call fcn.10001160
jmp 0x1001fe7c
push 0x10050bc4
mov dword [0x10081dac], 1
call fcn.10001160
jmp 0x1001fe7c
movzx edx, byte [0x10081ac0]
cmp eax, edx
jne 0x1001f875
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x10081674], ebx
mov dword [0x100815fc], eax
mov dword [0x10081600], eax
mov dword [0x10081604], eax
mov dword [0x10081608], eax
mov dword [0x1008160c], eax
push 1
je 0x1001f85c
push 0x10050bbc
mov dword [0x10081674], ebx
call fcn.10001160
jmp 0x1001fe7c
push 0x10050bb4
mov dword [0x10081674], 1
call fcn.10001160
jmp 0x1001fe7c
movzx ecx, byte [0x10081ab8]
cmp eax, ecx
jne 0x1001f896
push 1
push 0x10050ba8
call fcn.10001160
call fcn.1001d4f0
jmp 0x1001fe7c
movzx edx, byte [0x10081aa0]
cmp eax, edx
jne 0x1001f8b7
push 1
push 0x10050b9c
call fcn.10001160
call fcn.10008880
jmp 0x1001fe7c
movzx ecx, byte [0x10081a9c]
cmp eax, ecx
jne 0x1001f8d8
push 1
push 0x10050b90
call fcn.10001160
call fcn.1000c2f0
jmp 0x1001fe7c
movzx edx, byte [0x10081a94]
cmp eax, edx
jne 0x1001f8f9
push 1
push 0x10050b88
call fcn.10001160
call fcn.10023da0
jmp 0x1001fe7c
movzx ecx, byte [0x10081ab0]
cmp eax, ecx
jne 0x1001f91c
push 1
push 0x10050b7c
call fcn.10001160
push 1
call fcn.10024fd0
jmp 0x1001fe7c
movzx edx, byte [0x10081ab4]
cmp eax, edx
jne 0x1001f942
push 1
push 0x10042ae8
call fcn.10001160
push 0xec1b
call fcn.10025d00
jmp 0x1001fe7c
movzx ecx, byte [0x10081a98]
cmp eax, ecx
jne 0x1001f975
push 1
push 0x10050b70
call fcn.10001160
cmp byte [0x10081e89], bl
sete al
movzx edx, al
push edx
mov byte [0x10081e89], al
call fcn.10001810
jmp 0x1001fe7c
movzx ecx, byte [0x10081aa4]
cmp eax, ecx
jne 0x1001f9a3
push 1
push 0x10050b68
call fcn.10001160
cmp byte [0x10081e40], bl
setne dl
add dl, 1
push edx
call fcn.10024030
jmp 0x1001fe7c
movzx ecx, byte [0x10081aa8]
cmp eax, ecx
jne 0x1001fa58
mov eax, dword [0x10082324]
sub eax, 3
push ebx
je 0x1001fa18
sub eax, 1
je 0x1001fa03
push 0x10042f90
call fcn.10001160
cmp dword [0x10076864], 0x10
mov ecx, dword [0x10076850]
mov dword [0x10082324], 3
jae 0x1001f9ea
mov ecx, 0x10076850
mov edx, 0x10082258
nop
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
cmp al, bl
jne 0x1001f9f0
jmp 0x1001fe7c
push 0x10042f78
call fcn.10001160
mov dword [0x10082324], ebx
jmp 0x1001fe7c
push 0x10042f84
call fcn.10001160
cmp dword [0x1007689c], 0x10
mov ecx, dword [0x10076888]
mov dword [0x10082324], 4
jae 0x1001fa40
mov ecx, 0x10076888
mov edx, 0x10082258
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
cmp al, bl
jne 0x1001fa45
jmp 0x1001fe7c
movzx edx, byte [0x10081aac]
cmp eax, edx
jne 0x1001fab1
cmp byte [0x10081e88], bl
je 0x1001fa8d
push ebx
mov byte [0x10081e88], bl
call fcn.1000a880
push 1
push 0x10050b60
call fcn.10001160
call fcn.1000f140
jmp 0x1001fe7c
push 1
mov byte [0x10081e88], 1
call fcn.1000a880
push 1
push 0x10050b58
call fcn.10001160
call fcn.1000f140
jmp 0x1001fe7c
movzx ecx, byte [0x10081a90]
cmp eax, ecx
jne 0x1001fae3
push 1
push 0x10050b50
call fcn.10001160
cmp byte [0x10081e40], bl
je 0x1001fad7
push 3
call fcn.10023f50
push 3
call fcn.10023e50
jmp 0x1001fe7c
movzx edx, byte [0x10081a64]
cmp eax, edx
jne 0x1001fb2c
push 0x3b
lea eax, [esp + 0xd]
push ebx
push eax
call fcn.1002efa0
lea ecx, [esp + 0x16]
push 0x10050b40
push ecx
mov byte [esp + 0x1c], 3
mov byte [esp + 0x1d], 7
call fcn.1002fea8
add esp, 0x14
push 3
lea edx, [esp + 0xc]
push edx
mov byte [esp + 0x4b], bl
call fcn.100251f0
jmp 0x1001fe7c
movzx ecx, byte [0x10081a4c]
cmp eax, ecx
jne 0x1001fb4d
push ebx
push 0x10050b34
call fcn.10001160
push ebx
call fcn.10024fd0
jmp 0x1001fe7c
movzx edx, byte [0x10081a68]
cmp eax, edx
jne 0x1001fb72
call fcn.10012ba0
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8
movzx ecx, byte [0x10081a50]
cmp eax, ecx
jne 0x1001fba8
push ebx
push 0x10050b28
call fcn.10001160
xor eax, eax
cmp dword [0x10081da4], ebx
sete al
cmp eax, ebx
setne dl
mov dword [0x10081da4], eax
push edx
call fcn.1000f340
jmp 0x1001fe7c
movzx ecx, byte [0x100819fc]
cmp eax, ecx
jne 0x1001fbc2
push 0x2b5d
call fcn.1001ada0
jmp 0x1001fe7c
movzx edx, byte [0x10081a00]
cmp eax, edx
jne 0x1001fbdc
push 0x2b62
call fcn.1001ada0
jmp 0x1001fe7c
movzx ecx, byte [0x10081a04]
cmp eax, ecx
jne 0x1001fbf6
push 0x2bcb
call fcn.1001ada0
jmp 0x1001fe7c
movzx edx, byte [0x10081a08]
cmp eax, edx
jne 0x1001fc10
push 0x2bc6
call fcn.1001ada0
jmp 0x1001fe7c
movzx ecx, byte [0x10081a0c]
cmp eax, ecx
jne 0x1001fc2a
push 0x2bc1
call fcn.1001ada0
jmp 0x1001fe7c
movzx edx, byte [0x10081a10]
cmp eax, edx
jne 0x1001fc44
push 0x2b67
call fcn.1001ada0
jmp 0x1001fe7c
movzx ecx, byte [0x10081d34]
cmp eax, ecx
jne 0x1001fc5b
push 1
call fcn.10021c30
jmp 0x1001fe7c
movzx edx, byte [0x10081cec]
cmp eax, edx
jne 0x1001fc89
mov ecx, dword [0x100817f0]
test ecx, ecx
je 0x1001fc89
cmp dword [0x10081ce8], ebx
je 0x1001fc89
mov edx, dword [0x100816bc]
push edx
call fcn.1002bd30
jmp 0x1001fe7c
movzx ecx, byte [0x10081cf8]
cmp eax, ecx
jne 0x1001fcb6
mov edx, dword [0x100817f0]
test edx, edx
je 0x1001fcb6
cmp dword [0x10081cf4], ebx
je 0x1001fcb6
mov eax, dword [0x100816c0]
push eax
call fcn.1002bd30
jmp 0x1001fe7c
movzx ecx, byte [0x10081d04]
cmp eax, ecx
jne 0x1001fce3
mov edx, dword [0x100817f0]
test edx, edx
je 0x1001fce3
cmp dword [0x10081d00], ebx
je 0x1001fce3
mov eax, dword [0x100816c4]
push eax
call fcn.1002bd30
jmp 0x1001fe7c
movzx ecx, byte [0x10081d10]
cmp eax, ecx
jne 0x1001fd10
mov edx, dword [0x100817f0]
test edx, edx
je 0x1001fd10
cmp dword [0x10081d0c], ebx
je 0x1001fd10
mov eax, dword [0x100816c8]
push eax
call fcn.1002bd30
jmp 0x1001fe7c
movzx ecx, byte [0x10081d1c]
cmp eax, ecx
jne 0x1001fd3d
mov edx, dword [0x100817f0]
test edx, edx
je 0x1001fd3d
cmp dword [0x10081d18], ebx
je 0x1001fd3d
mov eax, dword [0x100816cc]
push eax
call fcn.1002bd30
jmp 0x1001fe7c
movzx ecx, byte [0x10081b0c]
cmp eax, ecx
jne 0x1001fdaa
mov edx, dword [0x100817f0]
test edx, edx
je 0x1001fdaa
cmp dword [0x10081b08], ebx
je 0x1001fdaa
mov eax, dword [0x100818ac]
mov ecx, dword [eax*4 + 0x10081698]
add eax, 1
push ecx
mov dword [0x100818ac], eax
call fcn.1002bd00
mov eax, dword [0x100818ac]
cmp eax, 3
jne 0x1001fd85
xor eax, eax
mov dword [0x100818ac], eax
mov eax, dword [eax*4 + 0x10081698]
push eax
call fcn.1002bd00
cmp dword [0x100818ac], 3
jne 0x1001fe7c
mov dword [0x100818ac], ebx
jmp 0x1001fe7c
movzx ecx, byte [0x10081bac]
cmp eax, ecx
jne 0x1001fe10
mov edx, dword [0x100817f0]
test edx, edx
je 0x1001fe10
cmp dword [0x10081ba8], ebx
je 0x1001fe10
mov eax, dword [0x100818b0]
mov ecx, dword [eax*4 + 0x100816a4]
add eax, 1
push ecx
mov dword [0x100818b0], eax
call fcn.1002bd00
mov eax, dword [0x100818b0]
cmp eax, 3
jne 0x1001fdf2
xor eax, eax
mov dword [0x100818b0], eax
mov eax, dword [eax*4 + 0x100816a4]
push eax
call fcn.1002bd00
cmp dword [0x100818b0], 3
jne 0x1001fe7c
mov dword [0x100818b0], ebx
jmp 0x1001fe7c
cmp dword [0x10085038], ebx
je 0x1001fe81
movzx ecx, byte [0x10081c4c]
cmp eax, ecx
jne 0x1001fe81
mov edx, dword [0x100817f0]
test edx, edx
je 0x1001fe81
cmp dword [0x10081c48], ebx
je 0x1001fe81
mov eax, dword [0x100818b4]
mov ecx, dword [eax*4 + 0x100816b0]
add eax, 1
push ecx
mov dword [0x100818b4], eax
call fcn.1002bd00
mov eax, dword [0x100818b4]
cmp eax, 3
jne 0x1001fe60
xor eax, eax
mov dword [0x100818b4], eax
mov eax, dword [eax*4 + 0x100816b0]
push eax
call fcn.1002bd00
cmp dword [0x100818b4], 3
jne 0x1001fe7c
mov dword [0x100818b4], ebx
mov esi, 1
mov ecx, dword [esp + 0x44]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.1002e913
add esp, 0x40
ret 8