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

Disassembly:
sub esp, 0x40
mov eax, dword [0x1007b664]
xor eax, esp
mov dword [esp + 0x3c], eax
mov ecx, 2
cmp dword [0x10083038], ecx
jne 0x1001f0be
xor eax, eax
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8
movzx edx, byte [0x1007fe7c]
mov eax, dword [esp + 0x44]
push ebx
push esi
xor ebx, ebx
xor esi, esi
cmp eax, edx
jne 0x1001f10b
cmp dword [0x1007fe64], ebx
push 1
je 0x1001f0f2
push 0x10050dac
mov dword [0x1007fe64], ebx
call fcn.10001160
jmp 0x1002005f
push 0x10050d9c
mov dword [0x1007fe64], 1
call fcn.10001160
jmp 0x1002005f
movzx edx, byte [0x1007fa38]
cmp eax, edx
jne 0x1001f16f
cmp dword [0x1007f73c], ebx
je 0x1001f135
push 1
push 0x10050d90
mov dword [0x1007f73c], ebx
call fcn.10001160
jmp 0x1002005f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 1
push 0x10050d84
mov dword [0x1007f700], eax
mov dword [0x1007f704], eax
mov dword [0x1007f708], eax
mov dword [0x1007f70c], eax
mov dword [0x1007f710], eax
mov dword [0x1007f73c], 1
call fcn.10001160
jmp 0x1002005f
movzx edx, byte [0x1007fa3c]
cmp eax, edx
jne 0x1001f1b2
cmp dword [0x10080020], ebx
push 1
je 0x1001f199
push 0x10050b28
mov dword [0x10080020], ebx
call fcn.10001160
jmp 0x1002005f
push 0x10050b34
mov dword [0x10080020], 1
call fcn.10001160
jmp 0x1002005f
movzx edx, byte [0x1007fe80]
cmp eax, edx
jne 0x1001f1f5
cmp dword [0x1007fe68], ebx
push 1
je 0x1001f1dc
push 0x10050d74
mov dword [0x1007fe68], ebx
call fcn.10001160
jmp 0x1002005f
push 0x10050d64
mov dword [0x1007fe68], 1
call fcn.10001160
jmp 0x1002005f
movzx edx, byte [0x1007fa20]
cmp eax, edx
jne 0x1001f21e
cmp byte [0x1007fe40], bl
mov dword [0x1007fdb4], ebx
push 6
je 0x1001fcd4
call fcn.100240c0
jmp 0x1002005f
movzx edx, byte [0x1007fa1c]
cmp eax, edx
jne 0x1001f262
mov eax, dword [0x1007f7f0]
test eax, eax
push 1
je 0x1001f249
push 0x10050d5c
mov dword [0x1007f7f0], ebx
call fcn.10001160
jmp 0x1002005f
push 0x10050d54
mov dword [0x1007f7f0], 1
call fcn.10001160
jmp 0x1002005f
movzx edx, byte [0x1007f9f0]
cmp eax, edx
jne 0x1001f2d9
cmp dword [0x1007fe4c], ebx
push 1
je 0x1001f2a6
push 0x10050d48
mov dword [0x1007fe4c], ebx
call fcn.10001160
mov esi, 1
call fcn.10009630
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8
push 0x10050d3c
mov dword [0x1007fe4c], 1
call fcn.10001160
mov esi, 1
call fcn.10009630
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8
movzx edx, byte [0x1007fa28]
cmp eax, edx
jne 0x1001f31c
cmp dword [0x1007ffa4], ebx
push 1
je 0x1001f303
push 0x10050d30
mov dword [0x1007ffa4], ebx
call fcn.10001160
jmp 0x1002005f
push 0x10050d24
mov dword [0x1007ffa4], 1
call fcn.10001160
jmp 0x1002005f
movzx edx, byte [0x1007fa2c]
cmp eax, edx
jne 0x1001f35f
cmp dword [0x1007ffa0], ebx
push 1
je 0x1001f346
push 0x10050d1c
mov dword [0x1007ffa0], ebx
call fcn.10001160
jmp 0x1002005f
push 0x10050d14
mov dword [0x1007ffa0], 1
call fcn.10001160
jmp 0x1002005f
movzx edx, byte [0x1007fa30]
cmp eax, edx
jne 0x1001f374
call fcn.1001d900
jmp 0x1002005f
movzx edx, byte [0x1007fa34]
cmp eax, edx
jne 0x1001f38e
push 0x9c7
call fcn.10025e70
jmp 0x1002005f
movzx edx, byte [0x1007f9f4]
cmp eax, edx
jne 0x1001f3a3
call fcn.1001d830
jmp 0x1002005f
movzx edx, byte [0x100801b0]
cmp eax, edx
jne 0x1001f3f4
cmp dword [0x1007fda8], ebx
je 0x1001f3d5
push 0x470
call fcn.1002c950
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8
push 0xe2
call fcn.1002c950
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8
movzx edx, byte [0x100801bc]
cmp eax, edx
jne 0x1001f461
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1007f968]
add ecx, 0x4b0
cmp ecx, eax
jae 0x10020064
cmp dword [0x1007fda8], ebx
mov dword [0x1007f968], eax
je 0x1001f445
push 0x452
call fcn.1002c950
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8
push 0x27
call fcn.1002c950
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8
movzx edx, byte [0x100801b4]
cmp eax, edx
jne 0x1001f4b2
cmp dword [0x1007fda8], ebx
je 0x1001f493
push 0x2735
call fcn.100271e0
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8
push 0x272f
call fcn.100271e0
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8
movzx edx, byte [0x100801b8]
cmp eax, edx
jne 0x1001f503
cmp dword [0x1007fda8], ebx
je 0x1001f4e4
push 0x2733
call fcn.100271e0
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8
push 0x272c
call fcn.100271e0
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8
movzx edx, byte [0x1007fe48]
cmp eax, edx
jne 0x1001f550
cmp dword [0x1007fe18], ebx
push 1
je 0x1001f532
push 0x10050d08
mov dword [0x1007fe18], ebx
call fcn.10001160
call fcn.10009630
jmp 0x1002005f
push 0x10050cfc
mov dword [0x1007fe18], 1
call fcn.10001160
call fcn.10009630
jmp 0x1002005f
movzx edx, byte [0x1007fe5c]
cmp eax, edx
jne 0x1001f5cf
call fcn.10028fa0
push eax
call fcn.100290f0
mov eax, dword [0x1007fe44]
lea ecx, [eax + 1]
lea esi, [eax + 7]
cmp ecx, esi
jae 0x1002005f
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 + 0x1007fe1c]
lea eax, [eax + eax*2]
cmp word [eax*4 + 0x1007fdd0], bx
jne 0x1001f5b3
add ecx, 1
cmp ecx, esi
jb 0x1001f580
jmp 0x1002005f
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
lea edx, [edx + edx*2]
add edx, edx
sub ecx, edx
mov dword [0x1007fe44], ecx
jmp 0x1002005f
movzx edx, byte [0x1007fac8]
cmp eax, edx
jne 0x1001f61a
mov al, byte [0x1007d3b5]
test al, al
push 1
je 0x1001f5ff
push 0x10050cf4
mov byte [0x1007d3b5], bl
call fcn.10001160
call fcn.1000f0c0
jmp 0x1002005f
push 0x10050cec
mov byte [0x1007d3b5], 1
call fcn.10001160
call fcn.1000f0c0
jmp 0x1002005f
movzx edx, byte [0x1007fadc]
cmp eax, edx
jne 0x1001f687
mov esi, 1
cmp dword [0x1007fdb4], esi
push esi
jne 0x1001f65d
push 0x10050ce4
mov dword [0x1007fdb4], ebx
call fcn.10001160
call fcn.1000f0c0
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8
push 0x10050cdc
mov dword [0x1007fdb4], esi
call fcn.10001160
call fcn.1000f0c0
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8
movzx edx, byte [0x1007fae0]
cmp eax, edx
jne 0x1001f753
cmp byte [0x1007fe3f], bl
jne 0x1001f6d8
cmp dword [0x1007fe60], ebx
jne 0x1001f71c
push 1
push 0x10050ccc
mov byte [0x1007fe3f], 1
call fcn.10001160
mov esi, 1
call fcn.10009630
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8
cmp dword [0x1007fe60], ebx
jne 0x1001f71c
push 1
push 0x10050cbc
mov byte [0x1007fe3f], 1
mov dword [0x1007fe60], 1
call fcn.10001160
mov esi, 1
call fcn.10009630
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8
push 1
push 0x10050cb0
mov byte [0x1007fe3f], bl
mov dword [0x1007fe60], ebx
call fcn.10001160
mov esi, 1
call fcn.10009630
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8
movzx edx, byte [0x1007fad0]
cmp eax, edx
jne 0x1001f7b6
mov esi, 1
cmp dword [0x1007fb04], esi
push esi
jne 0x1001f791
push 0x10050ca4
mov dword [0x1007fb04], ebx
call fcn.10001160
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8
push 0x10042b84
mov dword [0x1007fb04], esi
call fcn.10001160
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8
movzx edx, byte [0x1007fad8]
cmp eax, edx
jne 0x1001f7eb
push 7
call fcn.10001020
test eax, eax
je 0x1002005f
cmp dword [0x10080518], ebx
jne 0x1002005f
mov dword [0x10080518], 1
jmp 0x1002005f
movzx edx, byte [0x1007fad4]
cmp eax, edx
jne 0x1001f84e
mov esi, 1
cmp dword [0x1007fae4], esi
push esi
jne 0x1001f829
push 0x10050c98
mov dword [0x1007fae4], ebx
call fcn.10001160
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8
push 0x10050c8c
mov dword [0x1007fae4], esi
call fcn.10001160
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8
movzx edx, byte [0x1007facc]
cmp eax, edx
jne 0x1001f8fc
mov eax, dword [0x1007faf8]
cmp eax, 5
je 0x1001f8e1
cmp eax, 1
jne 0x1001f882
push eax
push 0x10050c7c
mov dword [0x1007faf8], ecx
call fcn.10001160
jmp 0x1002005f
cmp eax, ecx
jne 0x1001f8a1
push 1
push 0x10050c6c
mov dword [0x1007faf8], 3
call fcn.10001160
jmp 0x1002005f
cmp eax, 3
jne 0x1001f8c1
push 1
push 0x10050c5c
mov dword [0x1007faf8], 4
call fcn.10001160
jmp 0x1002005f
cmp eax, 4
jne 0x1001f8e1
push 1
push 0x10050c4c
mov dword [0x1007faf8], 5
call fcn.10001160
jmp 0x1002005f
push 1
push 0x10050c3c
mov dword [0x1007faf8], 1
call fcn.10001160
jmp 0x1002005f
movzx ecx, byte [0x1007fac4]
cmp eax, ecx
jne 0x1001f93f
cmp dword [0x1007fdb0], ebx
push 1
je 0x1001f926
push 0x10050c30
mov dword [0x1007fdb0], ebx
call fcn.10001160
jmp 0x1002005f
push 0x10050c24
mov dword [0x1007fdb0], 1
call fcn.10001160
jmp 0x1002005f
movzx edx, byte [0x1007fa14]
cmp eax, edx
jne 0x1001f982
cmp dword [0x1007fd3c], ebx
push 1
je 0x1001f969
push 0x10050c18
mov dword [0x1007fd3c], ebx
call fcn.10001160
jmp 0x1002005f
push 0x10050c0c
mov dword [0x1007fd3c], 1
call fcn.10001160
jmp 0x1002005f
movzx ecx, byte [0x1007fa18]
cmp eax, ecx
jne 0x1001f9c5
cmp dword [0x1007fff8], ebx
push 1
je 0x1001f9ac
push 0x10050c00
mov dword [0x1007fff8], ebx
call fcn.10001160
jmp 0x1002005f
push 0x10050bf4
mov dword [0x1007fff8], 1
call fcn.10001160
jmp 0x1002005f
movzx edx, byte [0x1007fabc]
cmp eax, edx
jne 0x1001fa08
cmp dword [0x1007fdac], ebx
push 1
je 0x1001f9ef
push 0x10050be8
mov dword [0x1007fdac], ebx
call fcn.10001160
jmp 0x1002005f
push 0x10050bdc
mov dword [0x1007fdac], 1
call fcn.10001160
jmp 0x1002005f
movzx ecx, byte [0x1007fac0]
cmp eax, ecx
jne 0x1001fa6a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x1007f674], ebx
mov dword [0x1007f5fc], eax
mov dword [0x1007f600], eax
mov dword [0x1007f604], eax
mov dword [0x1007f608], eax
mov dword [0x1007f60c], eax
push 1
je 0x1001fa51
push 0x10050bd4
mov dword [0x1007f674], ebx
call fcn.10001160
jmp 0x1002005f
push 0x10050bcc
mov dword [0x1007f674], 1
call fcn.10001160
jmp 0x1002005f
movzx edx, byte [0x1007fab8]
cmp eax, edx
jne 0x1001fa8b
push 1
push 0x10050bc0
call fcn.10001160
call fcn.1001d6f0
jmp 0x1002005f
movzx ecx, byte [0x1007faa0]
cmp eax, ecx
jne 0x1001faac
push 1
push 0x10050bb4
call fcn.10001160
call fcn.10008890
jmp 0x1002005f
movzx edx, byte [0x1007fa9c]
cmp eax, edx
jne 0x1001facd
push 1
push 0x10050ba8
call fcn.10001160
call fcn.1000c2a0
jmp 0x1002005f
movzx ecx, byte [0x1007fa94]
cmp eax, ecx
jne 0x1001faee
push 1
push 0x10050ba0
call fcn.10001160
call fcn.10023f10
jmp 0x1002005f
movzx edx, byte [0x1007fab0]
cmp eax, edx
jne 0x1001fb11
push 1
push 0x10050b94
call fcn.10001160
push 1
call fcn.10025140
jmp 0x1002005f
movzx ecx, byte [0x1007fab4]
cmp eax, ecx
jne 0x1001fb37
push 1
push 0x10042ae8
call fcn.10001160
push 0xec1b
call fcn.10025e70
jmp 0x1002005f
movzx edx, byte [0x1007fa98]
cmp eax, edx
jne 0x1001fb6a
push 1
push 0x10050b88
call fcn.10001160
cmp byte [0x1007fe89], bl
sete al
mov byte [0x1007fe89], al
movzx eax, al
push eax
call fcn.10001810
jmp 0x1002005f
movzx ecx, byte [0x1007faa4]
cmp eax, ecx
jne 0x1001fb98
push 1
push 0x10050b80
call fcn.10001160
cmp byte [0x1007fe40], bl
setne dl
add dl, 1
push edx
call fcn.100241a0
jmp 0x1002005f
movzx ecx, byte [0x1007faa8]
cmp eax, ecx
jne 0x1001fc53
mov eax, dword [0x10080330]
sub eax, 3
push ebx
je 0x1001fc0c
sub eax, 1
je 0x1001fbf7
push 0x10042f90
call fcn.10001160
cmp dword [0x10074864], 0x10
mov ecx, dword [0x10074850]
mov dword [0x10080330], 3
jae 0x1001fbdf
mov ecx, 0x10074850
mov edx, 0x10080260
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
cmp al, bl
jne 0x1001fbe4
jmp 0x1002005f
push 0x10042f78
call fcn.10001160
mov dword [0x10080330], ebx
jmp 0x1002005f
push 0x10042f84
call fcn.10001160
cmp dword [0x1007489c], 0x10
mov ecx, dword [0x10074888]
mov dword [0x10080330], 4
jae 0x1001fc34
mov ecx, 0x10074888
mov edx, 0x10080260
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
cmp al, bl
jne 0x1001fc40
jmp 0x1002005f
movzx edx, byte [0x1007faac]
cmp eax, edx
jne 0x1001fcac
cmp byte [0x1007fe88], bl
je 0x1001fc88
push ebx
mov byte [0x1007fe88], bl
call fcn.1000a830
push 1
push 0x10050b78
call fcn.10001160
call fcn.1000f0c0
jmp 0x1002005f
push 1
mov byte [0x1007fe88], 1
call fcn.1000a830
push 1
push 0x10050b70
call fcn.10001160
call fcn.1000f0c0
jmp 0x1002005f
movzx ecx, byte [0x1007fa90]
cmp eax, ecx
jne 0x1001fcde
push 1
push 0x10050b68
call fcn.10001160
cmp byte [0x1007fe40], bl
je 0x1001fcd2
push 3
call fcn.100240c0
push 3
call fcn.10023fc0
jmp 0x1002005f
movzx edx, byte [0x1007fa64]
cmp eax, edx
jne 0x1001fd27
push 0x3b
lea eax, [esp + 0xd]
push ebx
push eax
call fcn.1002f140
lea ecx, [esp + 0x16]
push 0x10050b58
push ecx
mov byte [esp + 0x1c], 3
mov byte [esp + 0x1d], 7
call fcn.10030048
add esp, 0x14
push 3
lea edx, [esp + 0xc]
push edx
mov byte [esp + 0x4b], bl
call fcn.10025360
jmp 0x1002005f
movzx ecx, byte [0x1007fa4c]
cmp eax, ecx
jne 0x1001fd48
push ebx
push 0x10050b4c
call fcn.10001160
push ebx
call fcn.10025140
jmp 0x1002005f
movzx edx, byte [0x1007fa68]
cmp eax, edx
jne 0x1001fd6d
call fcn.10012c10
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8
movzx ecx, byte [0x1007fa50]
cmp eax, ecx
jne 0x1001fda3
push ebx
push 0x10050b40
call fcn.10001160
xor eax, eax
cmp dword [0x1007fda4], ebx
sete al
cmp eax, ebx
setne dl
mov dword [0x1007fda4], eax
push edx
call fcn.1000f2c0
jmp 0x1002005f
movzx ecx, byte [0x1007f9fc]
cmp eax, ecx
jne 0x1001fdbd
push 0x2b5d
call fcn.1001afa0
jmp 0x1002005f
movzx edx, byte [0x1007fa00]
cmp eax, edx
jne 0x1001fdd7
push 0x2b62
call fcn.1001afa0
jmp 0x1002005f
movzx ecx, byte [0x1007fa04]
cmp eax, ecx
jne 0x1001fdf1
push 0x2bcb
call fcn.1001afa0
jmp 0x1002005f
movzx edx, byte [0x1007fa08]
cmp eax, edx
jne 0x1001fe0b
push 0x2bc6
call fcn.1001afa0
jmp 0x1002005f
movzx ecx, byte [0x1007fa0c]
cmp eax, ecx
jne 0x1001fe25
push 0x2bc1
call fcn.1001afa0
jmp 0x1002005f
movzx edx, byte [0x1007fa10]
cmp eax, edx
jne 0x1001fe3f
push 0x2b67
call fcn.1001afa0
jmp 0x1002005f
movzx ecx, byte [0x1007fcec]
cmp eax, ecx
jne 0x1001fe6c
mov edx, dword [0x1007f7f0]
test edx, edx
je 0x1001fe6c
cmp dword [0x1007fce8], ebx
je 0x1001fe6c
mov eax, dword [0x1007f6bc]
push eax
call fcn.1002beb0
jmp 0x1002005f
movzx ecx, byte [0x1007fcf8]
cmp eax, ecx
jne 0x1001fe99
mov edx, dword [0x1007f7f0]
test edx, edx
je 0x1001fe99
cmp dword [0x1007fcf4], ebx
je 0x1001fe99
mov eax, dword [0x1007f6c0]
push eax
call fcn.1002beb0
jmp 0x1002005f
movzx ecx, byte [0x1007fd04]
cmp eax, ecx
jne 0x1001fec6
mov edx, dword [0x1007f7f0]
test edx, edx
je 0x1001fec6
cmp dword [0x1007fd00], ebx
je 0x1001fec6
mov eax, dword [0x1007f6c4]
push eax
call fcn.1002beb0
jmp 0x1002005f
movzx ecx, byte [0x1007fd10]
cmp eax, ecx
jne 0x1001fef3
mov edx, dword [0x1007f7f0]
test edx, edx
je 0x1001fef3
cmp dword [0x1007fd0c], ebx
je 0x1001fef3
mov eax, dword [0x1007f6c8]
push eax
call fcn.1002beb0
jmp 0x1002005f
movzx ecx, byte [0x1007fd1c]
cmp eax, ecx
jne 0x1001ff20
mov edx, dword [0x1007f7f0]
test edx, edx
je 0x1001ff20
cmp dword [0x1007fd18], ebx
je 0x1001ff20
mov eax, dword [0x1007f6cc]
push eax
call fcn.1002beb0
jmp 0x1002005f
movzx ecx, byte [0x1007fb0c]
cmp eax, ecx
jne 0x1001ff8d
mov edx, dword [0x1007f7f0]
test edx, edx
je 0x1001ff8d
cmp dword [0x1007fb08], ebx
je 0x1001ff8d
mov eax, dword [0x1007f8ac]
mov ecx, dword [eax*4 + 0x1007f698]
add eax, 1
push ecx
mov dword [0x1007f8ac], eax
call fcn.1002be80
mov eax, dword [0x1007f8ac]
cmp eax, 3
jne 0x1001ff68
xor eax, eax
mov dword [0x1007f8ac], eax
mov eax, dword [eax*4 + 0x1007f698]
push eax
call fcn.1002be80
cmp dword [0x1007f8ac], 3
jne 0x1002005f
mov dword [0x1007f8ac], ebx
jmp 0x1002005f
movzx ecx, byte [0x1007fbac]
cmp eax, ecx
jne 0x1001fff3
mov edx, dword [0x1007f7f0]
test edx, edx
je 0x1001fff3
cmp dword [0x1007fba8], ebx
je 0x1001fff3
mov eax, dword [0x1007f8b0]
mov ecx, dword [eax*4 + 0x1007f6a4]
add eax, 1
push ecx
mov dword [0x1007f8b0], eax
call fcn.1002be80
mov eax, dword [0x1007f8b0]
cmp eax, 3
jne 0x1001ffd5
xor eax, eax
mov dword [0x1007f8b0], eax
mov eax, dword [eax*4 + 0x1007f6a4]
push eax
call fcn.1002be80
cmp dword [0x1007f8b0], 3
jne 0x1002005f
mov dword [0x1007f8b0], ebx
jmp 0x1002005f
cmp dword [0x10083038], ebx
je 0x10020064
movzx ecx, byte [0x1007fc4c]
cmp eax, ecx
jne 0x10020064
mov edx, dword [0x1007f7f0]
test edx, edx
je 0x10020064
cmp dword [0x1007fc48], ebx
je 0x10020064
mov eax, dword [0x1007f8b4]
mov ecx, dword [eax*4 + 0x1007f6b0]
add eax, 1
push ecx
mov dword [0x1007f8b4], eax
call fcn.1002be80
mov eax, dword [0x1007f8b4]
cmp eax, 3
jne 0x10020043
xor eax, eax
mov dword [0x1007f8b4], eax
mov eax, dword [eax*4 + 0x1007f6b0]
push eax
call fcn.1002be80
cmp dword [0x1007f8b4], 3
jne 0x1002005f
mov dword [0x1007f8b4], ebx
mov esi, 1
mov ecx, dword [esp + 0x44]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.1002eab3
add esp, 0x40
ret 8