Function at 0x1001c6c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1005afac
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10069018]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
cmp dword [0x1242946c], 2
mov eax, dword [0x12418dbc]
mov ecx, dword [0x12418dc0]
mov dword [esp + 0x8c], eax
mov eax, dword [0x12429470]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x98], 0x3e8
mov dword [esp + 0x2c], eax
jne 0x1001c730
cmp eax, 0x3c
jle 0x1001c730
mov dword [esp + 0x2c], 0x3c
mov ebx, 0x1243cb60
call fcn.1002c4b0
call fcn.1002c420
call fcn.1001b7c0
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], 0xffffffff
lea esi, [ebp + 1]
cmp dword [0x1242ab18], ebp
je 0x1001c784
cmp dword [0x1242ab20], esi
jne 0x1001c784
cmp dword [0x1242ab1c], esi
je 0x1001c784
mov edx, dword [0x1242a640]
cmp edx, ebp
je 0x1001c784
lea eax, [esp + 0x34]
call fcn.100372f0
mov edx, dword [0x124294c0]
mov dword [esp + 0x48], edx
mov edx, dword [0x12401528]
mov eax, 0x12401524
call fcn.100372f0
mov ebx, 0xc7
test eax, eax
jne 0x1001c7d5
mov dword [0x12401528], ebp
mov dword [0x1240152c], ebp
mov dword [0x12401524], ebx
mov dword [0x12401530], ebp
mov dword [0x10094e6c], esi
mov dword [0x12401540], ebp
mov dword [0x12401544], ebp
mov dword [esp + 0x14], esi
push ebp
call fcn.1002f520
push esi
call fcn.1002f520
mov esi, dword [0x12401528]
cmp esi, ebp
je 0x1001ce65
mov eax, dword [0x12429ac4]
mov ecx, dword [eax + 8]
mov edx, dword [0x10e54fc]
mov ecx, dword [ecx]
xor eax, eax
cmp edx, ebp
jle 0x1001c818
mov edi, dword [ecx + eax*4]
cmp dword [edi + 0x18], esi
je 0x1001c814
inc eax
cmp eax, edx
jl 0x1001c805
jmp 0x1001c818
cmp edi, ebp
jne 0x1001c837
push esi
call fcn.1001b920
mov eax, 1
mov dword [esp + 0x18], eax
mov dword [0x12401524], ebx
mov dword [0x10094e6c], eax
jmp 0x1001ce3e
cmp esi, dword [0x12418d20]
jne 0x1001c8cd
xor ebx, ebx
cmp dword [0x124294b0], ebp
jne 0x1001c856
cmp dword [0x12405be8], 6
jne 0x1001c85b
mov ebx, 1
cmp dword [0x124294a8], ebp
je 0x1001c8a8
mov eax, dword [0x12401524]
mov edx, dword [0x124016dc]
imul eax, eax, 0x104
sub edx, dword [eax + 0x12405cd4]
mov ecx, dword [0x124016e0]
sub ecx, dword [eax + 0x12405cd8]
mov eax, edx
imul eax, edx
mov edx, ecx
imul edx, ecx
add eax, edx
mov dword [esp + 0x40], eax
mov eax, dword [0x124294ac]
mov ecx, eax
imul ecx, eax
mov eax, dword [esp + 0x40]
cmp eax, ecx
jg 0x1001c8ac
cmp ebx, ebp
je 0x1001c8cd
push esi
mov dword [esp + 0x18], 1
call fcn.1001b920
add esp, 4
call fcn.1001c450
mov dword [0x12401510], ebp
jmp 0x1001ce5f
call fcn.10036e10
push 0x1005fe90
mov ecx, 0x12429a5c
mov bl, al
call dword [0x1005d3f4]
test eax, eax
je 0x1001c8fc
push 0x1005fea4
mov ecx, 0x12429a5c
call dword [0x1005d3f4]
test eax, eax
jne 0x1001c8fe
mov bl, 0xa
mov esi, dword [0x12401524]
imul esi, esi, 0x104
cmp dword [esi + 0x12405c04], 1
je 0x1001ce14
mov edx, edi
call fcn.10036f50
cmp eax, 0xe
je 0x1001ce14
cmp bl, 9
je 0x1001c948
cmp bl, 0xa
je 0x1001c94d
cmp bl, 7
je 0x1001c948
call fcn.1001c450
mov dword [esp + 0x14], 1
jmp 0x1001ce5f
cmp bl, 0xa
jne 0x1001c98a
cmp dword [0x124294e8], ebp
je 0x1001c98a
mov edx, dword [esi + 0x12405ce4]
cmp edx, dword [0x124294ec]
jbe 0x1001c98a
mov eax, dword [esi + 0x12405bf0]
push eax
call fcn.1001b920
add esp, 4
mov dword [esp + 0x14], 1
mov dword [0x100a9900], ebp
call fcn.1001c450
jmp 0x1001ce65
mov edi, dword [0x12401528]
lea eax, [esp + 0x58]
call fcn.10036ef0
mov ecx, dword [esp + 0x58]
cmp ecx, ebp
je 0x1001c9b5
mov eax, dword [esp + 0x5c]
cmp eax, ebp
je 0x1001c9b5
mov dword [esi + 0x12405cd4], ecx
mov dword [esi + 0x12405cd8], eax
mov ecx, dword [esi + 0x12405cd8]
mov edx, dword [esi + 0x12405cd4]
mov eax, dword [0x124016e0]
push ecx
mov ecx, dword [0x124016dc]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push ebp
push edx
lea eax, [esp + 0xb0]
push eax
call fcn.1002e5f0
mov ecx, dword [0x12401524]
cmp eax, ebp
jne 0x1001ca3e
cmp bl, 0xa
jne 0x1001ca87
mov eax, ecx
imul eax, eax, 0x104
cmp dword [eax + 0x12405ce4], ebp
jne 0x1001ca43
mov ecx, dword [0x12401528]
mov dword [eax + 0x12405ce4], ebp
push ecx
mov dword [eax + 0x12405cf0], ebp
call fcn.1001b920
mov dword [esp + 0x18], 1
add esp, 4
call fcn.1001c450
mov dword [0x100a9900], ebp
call fcn.1001e5e0
jmp 0x1001ce65
cmp bl, 0xa
jne 0x1001ca87
mov eax, ecx
imul eax, eax, 0x104
cmp dword [eax + 0x12405ce4], 0x3c
jb 0x1001cb0a
mov ebx, 1
cmp dword [eax + 0x12405cf0], ebx
jg 0x1001cb0f
mov edx, dword [0x12401528]
mov dword [eax + 0x12405ce4], ebp
push edx
mov dword [eax + 0x12405cf0], ebp
call fcn.1001b920
mov dword [esp + 0x18], ebx
jmp 0x1001ca26
cmp bl, 9
jne 0x1001cb01
cmp dword [0x124294b4], ebp
je 0x1001cd50
mov edx, dword [0x124294b8]
cmp edx, ebp
je 0x1001cd50
mov eax, dword [0x12401524]
imul eax, eax, 0x104
mov ecx, dword [eax + 0x12405cec]
cmp ecx, ebp
je 0x1001cd50
mov esi, dword [0x100aa614]
imul edx, edx, 0x3e8
sub esi, ecx
cmp esi, edx
jbe 0x1001cd50
mov dword [eax + 0x12405ce4], ebp
mov dword [eax + 0x12405cec], ebp
mov eax, dword [0x12401528]
push eax
call fcn.1001b920
add esp, 4
call fcn.1001c450
mov dword [esp + 0x14], 1
jmp 0x1001ce65
cmp bl, 0xa
jne 0x1001cd50
mov ebx, 1
cmp dword [esp + 0x48], 3
jne 0x1001cb80
mov ecx, dword [0x12401510]
cmp ecx, ebp
je 0x1001cb80
cmp dword [0x12401528], ecx
jne 0x1001cb80
call fcn.100419d0
cmp eax, ebx
jne 0x1001cb80
cmp dword [0x100a9900], ecx
jne 0x1001cb46
mov dword [esp + 0x14], ebx
mov dword [esp + 0x3c], ebx
jmp 0x1001ce65
mov edi, dword [0x12401510]
call fcn.10041590
mov esi, 1
cmp eax, esi
jne 0x1001cb67
mov dword [esp + 0x14], esi
mov dword [esp + 0x3c], esi
jmp 0x1001ce65
push edi
call fcn.100415f0
test eax, eax
je 0x1001cb7e
mov dword [esp + 0x14], esi
mov dword [esp + 0x3c], esi
jmp 0x1001ce65
mov ebx, esi
cmp dword [0x1242ab18], ebp
je 0x1001cbf5
cmp dword [0x1242ab20], 1
jne 0x1001cbf5
call fcn.1003c0b0
cmp dword [0x1242ab1c], ebp
jne 0x1001cbc4
cmp eax, 1
jne 0x1001cbc9
cmp dword [esp + 0x34], 0xffffffff
je 0x1001cbf5
mov ecx, dword [esp + 0x34]
mov edx, dword [0x12401528]
imul ecx, ecx, 0x104
cmp dword [ecx + 0x12405cdc], edx
jne 0x1001cbf5
jmp 0x1001cbf3
cmp eax, 1
jne 0x1001cbf5
mov edi, dword [0x12401524]
imul edi, edi, 0x104
mov esi, dword [edi + 0x12405ce0]
call fcn.1003ba40
test eax, eax
jne 0x1001cbf3
mov esi, dword [edi + 0x12405cdc]
call fcn.1003ba40
test eax, eax
je 0x1001cbf5
xor ebx, ebx
mov edi, dword [0x12401524]
imul edi, edi, 0x104
cmp dword [edi + 0x12405ce4], ebp
jbe 0x1001cc1a
mov eax, dword [0x12401510]
cmp dword [0x12401528], eax
je 0x1001e5b8
cmp ebx, 1
jne 0x1001cd01
mov ebx, dword [0x12429494]
cmp ebx, 1
je 0x1001cd01
mov ecx, dword [0x12401510]
cmp dword [0x12401528], ecx
je 0x1001cd0e
cmp ebx, 4
je 0x1001cc4d
cmp ebx, ebp
jne 0x1001cc97
mov esi, dword [edi + 0x12405ce0]
cmp esi, ebp
je 0x1001cc97
cmp esi, dword [0x124015dc]
je 0x1001cc97
call fcn.100419d0
cmp eax, 1
jne 0x1001cae1
call fcn.10041560
test eax, eax
jne 0x1001cc97
mov edx, dword [0x12401528]
push edx
call fcn.1001b920
add esp, 4
call fcn.1001c450
mov dword [esp + 0x14], 1
jmp 0x1001ce65
cmp ebx, 2
je 0x1001cca0
cmp ebx, ebp
jne 0x1001ccc5
mov ecx, dword [edi + 0x12405cd8]
mov edx, dword [edi + 0x12405cd4]
push ecx
push edx
call fcn.1001bd10
add esp, 8
cmp eax, 4
jle 0x1001cae1
mov ebx, dword [0x12429494]
cmp ebx, 3
je 0x1001ccce
cmp ebx, ebp
jne 0x1001cd01
mov ecx, dword [0x12401524]
imul ecx, ecx, 0x104
mov esi, dword [ecx + 0x12405cdc]
cmp esi, ebp
je 0x1001cd01
cmp esi, dword [0x124015dc]
je 0x1001cd01
call fcn.100415c0
test eax, eax
jne 0x1001cd01
mov edx, dword [0x12401528]
push edx
jmp 0x1001cae7
mov eax, dword [0x12401528]
cmp dword [0x12401510], eax
jne 0x1001cd59
mov eax, dword [0x12401524]
mov ecx, dword [0x12401514]
imul eax, eax, 0x104
cmp ecx, dword [eax + 0x12405cd4]
jne 0x1001cd59
mov edx, dword [0x12401518]
cmp edx, dword [eax + 0x12405cd8]
jne 0x1001cd59
mov eax, dword [0x1240151c]
cmp eax, dword [0x124016dc]
jne 0x1001cd59
mov ecx, dword [0x12401520]
cmp ecx, dword [0x124016e0]
jne 0x1001cd59
mov dword [esp + 0x14], ebp
jmp 0x1001ce65
mov edx, dword [0x12401510]
lea eax, [esp + 0x40]
call fcn.100372f0
test eax, eax
je 0x1001cd50
mov dword [0x12401530], ebp
cmp edx, dword [0x12401528]
je 0x1001cdc4
mov eax, dword [0x12401524]
imul eax, eax, 0x104
cmp dword [eax + 0x12405ce4], 2
jae 0x1001cdc4
mov esi, dword [esp + 0x40]
mov ecx, edx
mov eax, esi
call fcn.1001b750
imul esi, esi, 0x104
cmp dword [esi + 0x12405ce4], ebp
lea eax, [esi + 0x12405ce4]
jne 0x1001cdb5
mov dword [eax], 1
mov dword [esp + 0x14], ebp
mov dword [0x12401530], ebp
jmp 0x1001ce65
mov esi, dword [0x12401524]
mov ecx, dword [0x124016e0]
imul esi, esi, 0x104
mov edx, dword [0x124016dc]
mov eax, dword [esi + 0x12405cd8]
push ecx
mov ecx, dword [esi + 0x12405cd4]
push edx
mov edx, dword [0x124015a8]
push eax
push ecx
push edx
mov dword [0x12401530], ebp
mov dword [esp + 0x28], ebp
call fcn.1002ee00
test eax, eax
jne 0x1001ce65
mov dword [esi + 0x12405ce4], ebp
mov dword [esi + 0x12405cf0], ebp
jmp 0x1001ce65
mov eax, dword [0x12401528]
mov esi, 1
push eax
mov dword [esp + 0x18], esi
call fcn.1001b920
mov dword [0x12401524], 0xc7
mov dword [0x10094e6c], esi
mov dword [0x12401510], ebp
mov dword [0x12401544], ebp
mov dword [0x12401540], ebp
mov dword [0x12401530], ebp
mov dword [0x1240152c], ebp
mov dword [0x12401528], ebp
add esp, 4
mov dword [0x100a9900], ebp
mov ecx, 0x3e8
or eax, 0xffffffff
mov dword [esp + 0x28], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x64], eax
call dword [0x1005d4d4]
lea ecx, [esp + 0x44]
mov dword [esp + 0xc0], ebp
push ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x48], ebp
call fcn.1001fc60
add esp, 4
mov dword [esp + 0xb4], eax
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
cmp dword [0x1242ab18], ebp
je 0x1001cf17
cmp dword [0x1242ab20], 1
jne 0x1001cf17
cmp dword [0x1242ab1c], ebp
jne 0x1001cf17
lea eax, [esp + 0x4c]
call fcn.1003c360
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x18], ebp
jmp 0x1001cf20
cmp dword [0x12429aec], 0
jne 0x1001cf4a
cmp dword [0x1242ab18], 1
jne 0x1001cf4a
mov eax, dword [0x1242ab2c]
dec eax
cmp eax, 0xa
ja 0x1001cf4a
call fcn.1003c080
test eax, eax
je 0x1001d660
mov edi, dword [esp + 0x18]
mov ebp, edi
imul ebp, ebp, 0x104
mov eax, dword [ebp + 0x12405bf0]
test eax, eax
je 0x1001d660
push eax
call fcn.10014690
add esp, 4
test eax, eax
jne 0x1001d660
mov esi, dword [ebp + 0x12405bf0]
call fcn.10036e10
mov bl, al
lea eax, [ebp + 0x12405c08]
mov ecx, 0x1005fe90
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001cfb6
test dx, dx
je 0x1001cfb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001cfb6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001cf90
xor eax, eax
jmp 0x1001cfbb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1001cfff
mov ecx, 0x1005fea4
lea eax, [ebp + 0x12405c08]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001cff6
test dx, dx
je 0x1001cff2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001cff6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001cfd0
xor eax, eax
jmp 0x1001cffb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1001d001
mov bl, 0xa
lea eax, [ebp + 0x12405c08]
push eax
lea ecx, [esp + 0x24]
call dword [0x1005d418]
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 0xc], 0
je 0x1001d660
cmp dword [esp + 0xb4], 0
je 0x1001d04a
cmp dword [esp + 0x44], 4
jne 0x1001d04a
push 0
push 0x10060678
lea ecx, [esp + 0x28]
call dword [0x1005d3cc]
test eax, eax
jge 0x1001d660
cmp dword [0x12405be8], 0xe
push 0x10060678
lea ecx, [esp + 0x24]
jne 0x1001d06c
call dword [0x1005d3f4]
test eax, eax
jne 0x1001d660
jmp 0x1001d07a
call dword [0x1005d3f4]
test eax, eax
je 0x1001d660
push 0x10060684
lea ecx, [esp + 0x24]
call dword [0x1005d3f4]
test eax, eax
je 0x1001d660
push 0x10060688
lea ecx, [esp + 0x24]
call dword [0x1005d3f4]
test eax, eax
je 0x1001d660
push 0x1006068c
lea ecx, [esp + 0x24]
call dword [0x1005d3f4]
test eax, eax
je 0x1001d660
push 0x10060690
lea ecx, [esp + 0x24]
call dword [0x1005d3f4]
test eax, eax
je 0x1001d660
push 0x10060694
lea ecx, [esp + 0x24]
call dword [0x1005d3f4]
test eax, eax
je 0x1001d660
push 0x10060698
lea ecx, [esp + 0x24]
call dword [0x1005d3f4]
test eax, eax
je 0x1001d660
push 0x1006069c
lea ecx, [esp + 0x24]
call dword [0x1005d3f4]
test eax, eax
je 0x1001d660
push 0
push 0x100604e8
lea ecx, [esp + 0x28]
call dword [0x1005d3cc]
test eax, eax
jge 0x1001d660
cmp bl, 5
jne 0x1001d19b
mov edx, dword [ebp + 0x12405cdc]
cmp edx, dword [0x124015dc]
jne 0x1001d660
cmp dword [ebp + 0x12405bf4], 0xffffffff
jne 0x1001d660
imul edi, edi, 0x104
cmp dword [0x1242942c], 0
mov dword [edi + 0x12405cdc], 0
je 0x1001d17b
push 0xa
call fcn.10001db0
add esp, 4
inc dword [0x124016c4]
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x50], 0
call fcn.1001fc60
add esp, 4
jmp 0x1001e5ae
cmp bl, 0xa
je 0x1001d1eb
cmp bl, 7
jne 0x1001d660
push 0x100606a0
lea edx, [esp + 0x50]
mov ecx, 0x12438184
mov dword [esp + 0x50], 0xffffffff
call fcn.10025ca0
test eax, eax
jle 0x1001d660
call fcn.1001c450
mov ecx, edi
imul ecx, ecx, 0x104
mov ecx, dword [ecx + 0x12405bf0]
mov eax, edi
call fcn.1001b750
jmp 0x1001e5ae
mov esi, dword [ebp + 0x12405bf0]
call fcn.10036dd0
cmp dword [ebp + 0x12405c04], 1
je 0x1001d660
test eax, eax
je 0x1001d217
mov edx, eax
call fcn.10036f50
cmp eax, 0xe
je 0x1001d660
mov eax, dword [ebp + 0x12405cd8]
mov ecx, dword [ebp + 0x12405cd4]
mov edx, dword [0x124016e0]
push eax
mov eax, dword [0x124016dc]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push 0
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.1002e5f0
test eax, eax
jne 0x1001d25b
mov eax, dword [ebp + 0x12405bf0]
push eax
call fcn.1001b920
add esp, 4
jmp 0x1001d660
mov edi, dword [0x1242ab18]
mov edx, dword [0x1242ab1c]
mov ecx, dword [0x1242ab20]
test edi, edi
je 0x1001d2bd
cmp ecx, 1
jne 0x1001d2bd
test edx, edx
jne 0x1001d2bd
call fcn.1003c0b0
cmp eax, ecx
jne 0x1001d2bd
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x1001d660
imul eax, eax, 0x104
mov ecx, dword [eax + 0x12405cdc]
cmp ecx, dword [ebp + 0x12405bf0]
jne 0x1001d660
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
jmp 0x1001d660
cmp dword [esp + 0x30], 0
jne 0x1001d30a
test edi, edi
je 0x1001d30a
cmp ecx, 1
jne 0x1001d30a
test edx, edx
jne 0x1001d30a
call fcn.1003c320
cmp eax, 0xffffffff
je 0x1001d30a
mov ecx, dword [esp + 0x5c]
sub ecx, dword [ebp + 0x12405cd8]
mov edx, ecx
imul edx, ecx
mov ecx, dword [esp + 0x58]
sub ecx, dword [ebp + 0x12405cd4]
imul ecx, ecx
cmp ecx, edx
jge 0x1001d2fd
mov ecx, edx
mov edx, eax
imul edx, eax
cmp edx, ecx
jl 0x1001d660
mov esi, dword [ebp + 0x12405cdc]
xor ebx, ebx
mov dword [esp + 0x30], ebx
cmp esi, dword [0x124015dc]
je 0x1001d35e
call fcn.100415c0
test eax, eax
jne 0x1001d35e
test edi, edi
je 0x1001d367
cmp dword [0x1242ab20], 1
jne 0x1001d367
cmp dword [0x1242ab1c], eax
je 0x1001d346
call fcn.1003c0b0
cmp eax, 1
jne 0x1001d367
call fcn.1003ba40
test eax, eax
jne 0x1001d35e
mov esi, dword [ebp + 0x12405ce0]
call fcn.1003ba40
test eax, eax
je 0x1001d367
mov ebx, 1
mov dword [esp + 0x30], ebx
mov edi, dword [ebp + 0x12405bf0]
call fcn.10041590
mov esi, dword [esp + 0x1c]
cmp eax, 1
jne 0x1001d392
cmp esi, 0xffffffff
je 0x1001d392
cmp esi, dword [esp + 0x38]
jae 0x1001d392
mov eax, dword [esp + 0x18]
mov dword [esp + 0x64], eax
mov dword [esp + 0x38], esi
test ebx, ebx
jne 0x1001d3e3
mov ecx, edi
call fcn.1001b900
test eax, eax
jne 0x1001d660
mov ecx, dword [0x124016dc]
sub ecx, dword [ebp + 0x12405cd4]
mov eax, dword [0x124016e0]
sub eax, dword [ebp + 0x12405cd8]
mov edx, ecx
imul edx, ecx
mov ecx, eax
imul ecx, eax
mov eax, dword [esp + 0x2c]
add edx, ecx
mov ecx, eax
imul ecx, eax
cmp edx, ecx
jle 0x1001d3e3
push edi
call fcn.1001b920
add esp, 4
jmp 0x1001d660
cmp dword [esp + 0x48], 3
jne 0x1001d417
call fcn.100419d0
cmp eax, 1
jne 0x1001d417
cmp dword [0x12401510], 0
je 0x1001d40b
call fcn.10041590
cmp eax, 1
je 0x1001d660
cmp edi, dword [0x100a9900]
je 0x1001d660
test ebx, ebx
je 0x1001d432
cmp esi, 0xffffffff
je 0x1001d432
cmp esi, dword [esp + 0x28]
jae 0x1001d432
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], esi
cmp dword [0x1242ab18], 0
je 0x1001d474
cmp dword [0x1242ab20], 1
jne 0x1001d474
call fcn.1003c0b0
cmp eax, 1
jne 0x1001d474
mov esi, dword [ebp + 0x12405ce0]
call fcn.1003ba40
test eax, eax
jne 0x1001d54d
mov esi, dword [ebp + 0x12405cdc]
call fcn.1003ba40
test eax, eax
jne 0x1001d54d
mov ebx, dword [0x12429494]
cmp ebx, 1
je 0x1001d54d
cmp dword [0x12401510], edi
je 0x1001d54d
cmp ebx, 2
je 0x1001d498
test ebx, ebx
jne 0x1001d4bd
mov eax, dword [ebp + 0x12405cd8]
mov ecx, dword [ebp + 0x12405cd4]
push eax
push ecx
call fcn.1001bd10
add esp, 8
cmp eax, 4
jle 0x1001d660
mov ebx, dword [0x12429494]
cmp ebx, 3
je 0x1001d4c6
test ebx, ebx
jne 0x1001d4f7
mov edx, dword [0x12401524]
imul edx, edx, 0x104
mov esi, dword [edx + 0x12405cdc]
call fcn.100415c0
test eax, eax
jne 0x1001d4f7
mov eax, dword [ebp + 0x12405cdc]
test eax, eax
je 0x1001d4f7
cmp eax, dword [0x124015dc]
jne 0x1001d660
cmp ebx, 4
je 0x1001d500
test ebx, ebx
jne 0x1001d54d
mov esi, dword [ebp + 0x12405ce0]
test esi, esi
je 0x1001d54d
cmp esi, dword [0x124015dc]
je 0x1001d54d
call fcn.100419d0
cmp eax, 1
jne 0x1001d539
call fcn.10041560
test eax, eax
jne 0x1001d54d
mov eax, dword [ebp + 0x12405bf0]
push eax
call fcn.1001b920
add esp, 4
jmp 0x1001d660
mov ecx, dword [ebp + 0x12405bf0]
push ecx
call fcn.1001b920
add esp, 4
jmp 0x1001d660
mov eax, dword [0x12405be8]
cmp eax, 2
jb 0x1001d560
cmp eax, 4
jbe 0x1001d660
cmp eax, 6
jne 0x1001d572
cmp dword [0x12429444], 0
je 0x1001d660
cmp dword [0x12429aec], 0
jne 0x1001d592
cmp dword [0x1242ab18], 1
jne 0x1001d592
cmp dword [0x1242ab2c], 0
je 0x1001d59b
jmp 0x1001d660
cmp dword [0x1242ab18], 0
je 0x1001d5b4
mov ecx, 1
cmp dword [0x1242ab20], ecx
jne 0x1001d5b4
cmp dword [0x1242ab24], ecx
je 0x1001d660
cmp eax, 0xe
je 0x1001d5dd
push ecx
lea eax, [ebp + 0x12405c08]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call dword [0x1005d4b4]
call fcn.10031e70
add esp, 4
test eax, eax
je 0x1001d660
lea eax, [ebp + 0x12405c08]
push eax
call fcn.10031d70
mov esi, eax
add esp, 4
cmp esi, 3
jne 0x1001d622
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x2c]
jle 0x1001d60e
mov edx, dword [ebp + 0x12405bf0]
push edx
call fcn.1001b920
add esp, 4
jmp 0x1001d660
cmp eax, dword [esp + 0x60]
jae 0x1001d660
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x60], eax
jmp 0x1001d660
cmp dword [0x124016f4], 1
je 0x1001d635
call fcn.1003c120
cmp eax, 1
jne 0x1001d63a
cmp esi, 3
jl 0x1001d660
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xffffffff
je 0x1001d660
cmp ecx, dword [esp + esi*4 + 0xa8]
lea eax, [esp + esi*4 + 0xa8]
jae 0x1001d660
mov edx, dword [esp + 0x18]
mov dword [esp + esi*4 + 0x9c], edx
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 0xc8
mov dword [esp + 0x18], eax
jl 0x1001cf20
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], 0x3e8
mov dword [esp + 0x30], 0xffffffff
cmp eax, 0xffffffff
je 0x1001d6c6
mov ecx, dword [0x12401524]
mov esi, dword [0x124015dc]
mov edx, ecx
imul edx, edx, 0x104
cmp esi, dword [edx + 0x12405cdc]
jne 0x1001d6ba
mov eax, dword [esp + 0x98]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], eax
jmp 0x1001d6c6
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], eax
or eax, 0xffffffff
mov ecx, 0x3e8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
mov ebx, 0x12405bf0
cmp dword [0x12405be8], 0xe
je 0x1001d9dc
mov esi, dword [ebx]
test esi, esi
je 0x1001d9dc
mov eax, dword [ebx + 4]
cmp eax, dword [0x12418b54]
jae 0x1001d9dc
cmp eax, 0xffffffff
je 0x1001d9dc
call fcn.10036e10
cmp al, 9
jne 0x1001d9dc
lea esi, [ebx + 0x18]
push 0x100606b4
push esi
call dword [0x1005d148]
add esp, 8
test eax, eax
jne 0x1001d9dc
push esi
call fcn.10024990
add esp, 4
test eax, eax
je 0x1001d9dc
mov eax, dword [0x12405be8]
cmp eax, 2
je 0x1001d9dc
cmp eax, 3
je 0x1001d9dc
cmp eax, 4
je 0x1001d9dc
mov edx, dword [0x124016e0]
mov esi, dword [0x124016dc]
mov eax, edx
sub eax, dword [ebx + 0xe8]
mov ecx, eax
imul ecx, eax
mov eax, esi
sub eax, dword [ebx + 0xe4]
imul eax, eax
cmp eax, ecx
jge 0x1001d7d1
mov eax, ecx
cmp eax, 4
jge 0x1001d7de
xor ebp, ebp
mov dword [esp + 0x1c], ebp
jmp 0x1001d817
mov eax, dword [ebx + 0xe8]
mov ecx, dword [ebx + 0xe4]
push eax
push ecx
push edx
mov edx, dword [esp + 0x38]
push esi
push 0
push edx
lea eax, [esp + 0x34]
push eax
call fcn.1002e5f0
test eax, eax
jne 0x1001d813
mov ecx, dword [ebx]
push ecx
call fcn.1001b920
add esp, 4
jmp 0x1001d9dc
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebx]
call fcn.1001b900
test eax, eax
jne 0x1001d9dc
mov edx, dword [ebx + 0xe8]
mov eax, dword [ebx + 0xe4]
mov ecx, dword [ebx + 0x10]
push edx
push eax
push ecx
mov eax, 0x1243cb60
call fcn.1002c3a0
cmp eax, 1
jne 0x1001d865
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xe8]
mov ecx, dword [ebx + 0xe4]
mov esi, dword [ebx]
push edx
push eax
push ecx
mov edi, 0x1243cb60
call fcn.1002c460
mov eax, dword [0x1243cb80]
mov edx, dword [ebx]
mov ecx, eax
test eax, eax
je 0x1001d885
mov ecx, dword [ecx + 8]
mov eax, dword [eax]
cmp dword [ecx], edx
je 0x1001d971
mov ecx, eax
test eax, eax
jne 0x1001d872
xor edi, edi
cmp dword [0x124294b0], edi
jne 0x1001d9dc
cmp dword [0x12405be8], 6
je 0x1001d9dc
cmp dword [0x124294a8], edi
je 0x1001d8dd
mov ecx, dword [0x124016dc]
sub ecx, dword [ebx + 0xe4]
mov eax, dword [0x124016e0]
sub eax, dword [ebx + 0xe8]
mov edx, ecx
imul edx, ecx
mov ecx, eax
imul ecx, eax
mov eax, dword [0x124294ac]
add edx, ecx
mov ecx, eax
imul ecx, eax
cmp edx, ecx
jg 0x1001d9dc
cmp dword [0x1242ab18], 0
je 0x1001d941
mov eax, 1
cmp dword [0x1242ab20], eax
jne 0x1001d941
cmp dword [0x1242ab24], eax
je 0x1001d9dc
cmp dword [0x1242ab1c], 0
jne 0x1001d941
call fcn.1003c320
cmp eax, 0xffffffff
je 0x1001d941
mov ecx, dword [esp + 0x5c]
sub ecx, dword [ebx + 0xe8]
mov edx, ecx
imul edx, ecx
mov ecx, dword [esp + 0x58]
sub ecx, dword [ebx + 0xe4]
imul ecx, ecx
cmp ecx, edx
jge 0x1001d934
mov ecx, edx
mov edx, eax
imul edx, eax
cmp edx, ecx
jl 0x1001d9dc
cmp ebp, 0xffffffff
je 0x1001d9dc
lea eax, [ebx + 0x18]
push eax
call fcn.10024ab0
mov esi, eax
add esp, 4
cmp esi, 3
jne 0x1001d978
cmp ebp, dword [esp + 0x18]
jge 0x1001d9dc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], eax
jmp 0x1001d9dc
mov edi, 1
jmp 0x1001d941
cmp ebp, dword [esp + 0x2c]
jle 0x1001d9aa
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
mov eax, dword [0x124016e0]
push ecx
mov ecx, dword [0x124016dc]
push edx
push eax
push ecx
call fcn.1002ec60
cmp ebp, eax
jbe 0x1001d9aa
test edi, edi
je 0x1001d9dc
jmp 0x1001d9ae
test edi, edi
je 0x1001d9c8
cmp ebp, dword [esp + esi*4 + 0x80]
lea eax, [esp + esi*4 + 0x80]
jge 0x1001d9dc
mov edx, dword [esp + 0x28]
mov dword [esp + esi*4 + 0x4c], edx
jmp 0x1001d9da
cmp ebp, dword [esp + esi*4 + 0x74]
lea eax, [esp + esi*4 + 0x74]
jge 0x1001d9dc
mov ecx, dword [esp + 0x28]
mov dword [esp + esi*4 + 0x68], ecx
mov dword [eax], ebp
inc dword [esp + 0x28]
add ebx, 0x104
cmp ebx, 0x12412710
jl 0x1001d720
mov ecx, dword [0x12401524]
xor ebx, ebx
cmp dword [esp + 0x14], ebx
jne 0x1001da85
cmp dword [0x12401528], ebx
je 0x1001da85
mov edx, ecx
imul edx, edx, 0x104
cmp dword [edx + 0x12405ce4], ebx
je 0x1001da85
cmp dword [0x1242ab18], ebx
je 0x1001da42
cmp dword [0x1242ab20], ebx
je 0x1001da42
cmp dword [0x1242ab1c], 1
je 0x1001da42
call fcn.1003c0b0
test eax, eax
jne 0x1001e5ae
cmp dword [0x1242949c], ebx
je 0x1001e5ae
lea eax, [esp + 0x4c]
push eax
push ecx
call fcn.100165a0
add esp, 8
test eax, eax
je 0x1001e5ae
call fcn.1001c450
mov eax, dword [esp + 0x4c]
mov ecx, eax
imul ecx, ecx, 0x104
mov ecx, dword [ecx + 0x12405bf0]
call fcn.1001b750
jmp 0x1001e5ae
mov ecx, dword [esp + 0x48]
or edi, 0xffffffff
mov dword [esp + 0x44], ebx
mov dword [esp + 0x34], edi
cmp ecx, 3
jne 0x1001dac2
call fcn.100419d0
cmp eax, 1
jne 0x1001dab9
lea esi, [esp + 0x34]
call fcn.10041660
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x44], eax
sete cl
jmp 0x1001dabe
mov ecx, 2
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x24]
cmp edx, edi
jne 0x1001dad6
cmp eax, edi
je 0x1001db55
cmp ecx, ebx
jne 0x1001dae0
cmp eax, edi
jne 0x1001dafa
jmp 0x1001dafc
cmp ecx, 1
jne 0x1001daeb
cmp edx, edi
jne 0x1001db00
jmp 0x1001dafa
cmp ecx, 2
jne 0x1001db55
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x60], ecx
jl 0x1001dafc
mov edx, eax
cmp edx, edi
je 0x1001db55
call fcn.1001c450
mov esi, edx
imul esi, esi, 0x104
mov ecx, dword [esi + 0x12405bf0]
mov eax, edx
call fcn.1001b750
cmp dword [esi + 0x12405ce8], ebx
jne 0x1001db2e
mov edx, dword [0x100aa614]
mov dword [esi + 0x12405ce8], edx
mov eax, dword [0x12401524]
imul eax, eax, 0x104
add eax, 0x12405c08
push eax
mov ecx, 0x12429a5c
mov dword [0x12401530], ebx
call dword [0x1005d418]
jmp 0x1001e5ae
cmp dword [0x124294bc], ebx
je 0x1001dd2a
xor eax, eax
cmp dword [esp + eax*4 + 0x4c], edi
jne 0x1001db90
inc eax
cmp eax, 3
jl 0x1001db63
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x78]
jmp 0x1001dbb8
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x54]
mov esi, 0x3e8
cmp eax, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], 2
mov dword [esp + 0x24], 2
jge 0x1001dbf1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 2
mov eax, dword [esp + 0xb0]
cmp eax, 0x3e8
jge 0x1001dc14
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x18], ecx
mov esi, eax
mov dword [esp + 0x2c], 2
mov edi, dword [0x124294a4]
test edi, edi
je 0x1001dc25
cmp dword [esp + 0x1c], 0xffffffff
jne 0x1001dc3b
cmp edx, dword [esp + 0x28]
jge 0x1001dc3b
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], 1
mov ecx, dword [0x12429498]
test ecx, ecx
je 0x1001dc4c
cmp dword [esp + 0x18], 0xffffffff
jne 0x1001dc6c
mov eax, dword [esp + 0xac]
cmp eax, esi
jge 0x1001dc6c
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x18], edx
mov esi, eax
mov dword [esp + 0x2c], 1
mov edx, dword [esp + 0x1c]
xor ebx, ebx
cmp edi, ebx
je 0x1001dc7b
cmp edx, 0xffffffff
jne 0x1001dc94
cmp ebp, dword [esp + 0x28]
jge 0x1001dc94
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x18]
cmp ecx, ebx
je 0x1001dca1
cmp eax, 0xffffffff
jne 0x1001dcb9
cmp dword [esp + 0xa8], esi
jge 0x1001dcb9
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x48]
cmp ecx, ebx
jne 0x1001de33
cmp dword [0x12401528], ebx
je 0x1001de21
cmp dword [esp + 0x3c], ebx
jne 0x1001de21
mov esi, dword [0x12401528]
call fcn.10036e10
mov ebx, dword [0x12401524]
imul ebx, ebx, 0x104
lea ebx, [ebx + 0x12405c08]
mov edx, 0x1005fe90
mov ecx, ebx
nop
mov si, word [ecx]
cmp si, word [edx]
jne 0x1001dd8e
test si, si
je 0x1001dd26
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1001dd8e
add ecx, 4
add edx, 4
test si, si
jne 0x1001dd00
xor ecx, ecx
jmp 0x1001dd93
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x74]
cmp eax, ecx
jle 0x1001dd48
mov eax, dword [esp + 0x68]
mov dword [esp + 0x8c], eax
mov ebp, ecx
jmp 0x1001dd55
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x8c], ecx
mov ebp, eax
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x78]
cmp eax, edx
jle 0x1001dd6a
mov ebx, dword [esp + 0x6c]
jmp 0x1001dd70
mov ebx, dword [esp + 0x50]
mov edx, eax
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0x7c]
cmp eax, esi
jle 0x1001dbb4
mov ecx, dword [esp + 0x70]
mov eax, esi
jmp 0x1001dbb8
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x1001ddd3
mov edx, 0x1005fea4
mov ecx, ebx
mov edi, edi
mov si, word [ecx]
cmp si, word [edx]
jne 0x1001ddc6
test si, si
je 0x1001ddc2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1001ddc6
add ecx, 4
add edx, 4
test si, si
jne 0x1001dda0
xor ecx, ecx
jmp 0x1001ddcb
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x1001ddd3
cmp al, 0xa
jne 0x1001ddfc
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
jne 0x1001e197
cmp dword [esp + 0x18], eax
je 0x1001e19b
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
call fcn.1001c4a0
jmp 0x1001e197
cmp al, 9
jne 0x1001e19b
cmp dword [esp + 0x1c], 0xffffffff
je 0x1001e19b
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
call fcn.1001c5a0
jmp 0x1001e197
cmp edx, 0xffffffff
je 0x1001e197
mov dword [esp + 0x14], edx
jmp 0x1001e19b
cmp ecx, 1
jne 0x1001df3f
cmp dword [0x12401528], ebx
je 0x1001df2d
cmp dword [esp + 0x3c], ebx
jne 0x1001df2d
mov esi, dword [0x12401528]
call fcn.10036e10
mov ebx, dword [0x12401524]
imul ebx, ebx, 0x104
lea ebx, [ebx + 0x12405c08]
mov edx, 0x1005fe90
mov ecx, ebx
mov si, word [ecx]
cmp si, word [edx]
jne 0x1001de9c
test si, si
je 0x1001de98
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1001de9c
add ecx, 4
add edx, 4
test si, si
jne 0x1001de76
xor ecx, ecx
jmp 0x1001dea1
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x1001df12
mov edx, 0x1005fea4
mov ecx, ebx
lea esp, [esp]
mov si, word [ecx]
cmp si, word [edx]
jne 0x1001ded6
test si, si
je 0x1001ded2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1001ded6
add ecx, 4
add edx, 4
test si, si
jne 0x1001deb0
xor ecx, ecx
jmp 0x1001dedb
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x1001df12
cmp al, 9
jne 0x1001df0a
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
jne 0x1001e197
mov edi, dword [esp + 0x1c]
cmp edi, eax
je 0x1001e19b
mov eax, dword [esp + 0x24]
call fcn.1001c5a0
jmp 0x1001e197
cmp al, 0xa
jne 0x1001e19b
mov edi, dword [esp + 0x18]
cmp edi, 0xffffffff
je 0x1001e19b
mov eax, dword [esp + 0x2c]
call fcn.1001c4a0
jmp 0x1001e197
cmp eax, 0xffffffff
jne 0x1001e197
mov dword [esp + 0x14], edx
jmp 0x1001e19b
cmp dword [0x12401528], ebx
je 0x1001e112
cmp dword [esp + 0x3c], ebx
jne 0x1001e112
mov esi, dword [0x12401528]
call fcn.10036e10
mov edi, dword [0x12401524]
imul edi, edi, 0x104
lea edi, [edi + 0x12405c08]
mov edx, 0x1005fe90
mov ecx, edi
lea esp, [esp]
mov si, word [ecx]
cmp si, word [edx]
jne 0x1001dfa6
test si, si
je 0x1001dfa2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1001dfa6
add ecx, 4
add edx, 4
test si, si
jne 0x1001df80
xor ecx, ecx
jmp 0x1001dfab
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x1001dfed
mov edx, 0x1005fea4
mov ecx, edi
mov si, word [ecx]
cmp si, word [edx]
jne 0x1001dfdc
test si, si
je 0x1001dfd8
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1001dfdc
add ecx, 4
add edx, 4
test si, si
jne 0x1001dfb6
xor ecx, ecx
jmp 0x1001dfe1
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x1001dfed
cmp al, 0xa
jne 0x1001e070
push edi
call fcn.10031d70
mov edi, dword [esp + 0x20]
add esp, 4
cmp edi, 0xffffffff
je 0x1001df12
mov ebx, dword [0x12401524]
mov ebp, dword [0x124016e0]
mov ecx, edi
imul ecx, ecx, 0x104
mov esi, dword [ecx + 0x12405cd8]
mov ecx, dword [ecx + 0x12405cd4]
sub ecx, dword [0x124016dc]
mov eax, ebx
imul eax, eax, 0x104
mov edx, dword [eax + 0x12405cd8]
mov eax, dword [eax + 0x12405cd4]
sub eax, dword [0x124016dc]
sub edx, ebp
sub esi, ebp
mov ebp, ecx
imul ebp, ecx
mov ecx, esi
imul ecx, esi
add ebp, ecx
mov ecx, eax
imul ecx, eax
mov eax, edx
imul eax, edx
add ecx, eax
cmp ebp, ecx
jg 0x1001e18c
mov dword [esp + 0x14], edi
jmp 0x1001e19b
cmp al, 9
jne 0x1001e19b
push edi
call fcn.10024ab0
mov edi, dword [esp + 0x20]
add esp, 4
cmp edi, 0xffffffff
je 0x1001e098
mov eax, dword [esp + 0x24]
call fcn.1001c4a0
jmp 0x1001e197
mov edi, dword [esp + 0x18]
cmp edi, 0xffffffff
je 0x1001e19b
mov ebx, dword [0x12401524]
mov ebp, dword [0x124016e0]
mov ecx, edi
imul ecx, ecx, 0x104
mov esi, dword [ecx + 0x12405cd8]
mov ecx, dword [ecx + 0x12405cd4]
sub ecx, dword [0x124016dc]
mov eax, ebx
imul eax, eax, 0x104
mov edx, dword [eax + 0x12405cd8]
mov eax, dword [eax + 0x12405cd4]
sub eax, dword [0x124016dc]
sub edx, ebp
sub esi, ebp
mov ebp, ecx
imul ebp, ecx
mov ecx, esi
imul ecx, esi
add ebp, ecx
mov ecx, eax
imul ecx, eax
mov eax, edx
imul eax, edx
add ecx, eax
cmp ebp, ecx
jge 0x1001e18c
mov dword [esp + 0x14], edi
jmp 0x1001e19b
cmp edx, 0xffffffff
je 0x1001e192
cmp eax, 0xffffffff
je 0x1001df36
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [0x124016e0]
mov eax, edi
imul eax, eax, 0x104
mov edx, dword [eax + 0x12405cd8]
mov eax, dword [eax + 0x12405cd4]
sub eax, dword [0x124016dc]
mov ecx, ebx
imul ecx, ecx, 0x104
mov esi, dword [ecx + 0x12405cd8]
mov ecx, dword [ecx + 0x12405cd4]
sub ecx, dword [0x124016dc]
sub edx, ebp
sub esi, ebp
mov ebp, eax
imul ebp, eax
mov eax, edx
imul eax, edx
add ebp, eax
mov edx, ecx
mov eax, esi
imul edx, ecx
imul eax, esi
add edx, eax
cmp edx, ebp
jle 0x1001e18c
mov dword [esp + 0x14], edi
jmp 0x1001e19b
mov dword [esp + 0x14], ebx
jmp 0x1001e19b
cmp eax, 0xffffffff
je 0x1001e19b
mov dword [esp + 0x14], eax
xor ebx, ebx
mov ecx, 5
mov dword [esp + 0x24], ebx
lea eax, [ebx + 1]
cmp dword [0x12405be8], ecx
jne 0x1001e1c1
cmp dword [0x124294a0], eax
jne 0x1001e1cf
mov ebx, eax
mov dword [esp + 0x24], ebx
jmp 0x1001e1cf
cmp dword [0x12429448], eax
jne 0x1001e1cf
mov ebx, eax
mov dword [esp + 0x24], eax
cmp dword [0x1242ab18], 0
je 0x1001e1f2
cmp dword [0x1242ab20], eax
jne 0x1001e1f2
call fcn.1003c0b0
test eax, eax
je 0x1001e1f2
mov ebx, 1
mov dword [esp + 0x24], ebx
cmp dword [0x12405be8], ecx
je 0x1001e20c
cmp ebx, 1
je 0x1001e20c
cmp dword [0x12429444], 1
jne 0x1001e415
mov ebp, dword [esp + 0x30]
test ebp, ebp
jl 0x1001e415
cmp dword [esp + 0x14], 0
jl 0x1001e308
mov edi, dword [esp + 0x14]
imul edi, edi, 0x104
mov esi, dword [edi + 0x12405bf0]
call fcn.10036e10
lea edi, [edi + 0x12405c08]
mov edx, 0x1005fe90
mov ecx, edi
mov si, word [ecx]
cmp si, word [edx]
jne 0x1001e26b
test si, si
je 0x1001e267
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1001e26b
add ecx, 4
add edx, 4
test si, si
jne 0x1001e245
xor ecx, ecx
jmp 0x1001e270
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x1001e2b3
mov edx, 0x1005fea4
mov ecx, edi
jmp 0x1001e280
mov si, word [ecx]
cmp si, word [edx]
jne 0x1001e2a6
test si, si
je 0x1001e2a2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1001e2a6
add ecx, 4
add edx, 4
test si, si
jne 0x1001e280
xor ecx, ecx
jmp 0x1001e2ab
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x1001e2b3
cmp al, 0xa
jne 0x1001e2d3
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x34]
je 0x1001e415
cmp ebx, 1
jne 0x1001e415
mov dword [esp + 0x14], eax
jmp 0x1001e415
cmp al, 9
jne 0x1001e415
mov eax, dword [esp + 0x28]
cmp eax, 4
jle 0x1001e2f1
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
jmp 0x1001e415
cmp dword [esp + 0x38], eax
jg 0x1001e415
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], edx
jmp 0x1001e415
cmp dword [0x12401528], 0
je 0x1001e411
mov esi, dword [0x12401528]
call fcn.10036e10
mov edi, dword [0x12401524]
imul edi, edi, 0x104
lea ebx, [edi + 0x12405c08]
mov edx, 0x1005fe90
mov ecx, ebx
lea esp, [esp]
mov si, word [ecx]
cmp si, word [edx]
jne 0x1001e366
test si, si
je 0x1001e362
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1001e366
add ecx, 4
add edx, 4
test si, si
jne 0x1001e340
xor ecx, ecx
jmp 0x1001e36b
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x1001e3a9
mov edx, 0x1005fea4
mov ecx, ebx
mov si, word [ecx]
cmp si, word [edx]
jne 0x1001e39c
test si, si
je 0x1001e398
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1001e39c
add ecx, 4
add edx, 4
test si, si
jne 0x1001e376
xor ecx, ecx
jmp 0x1001e3a1
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x1001e3a9
cmp al, 0xa
jne 0x1001e3b8
cmp ebp, dword [esp + 0x34]
je 0x1001e415
cmp dword [esp + 0x24], 1
jne 0x1001e415
jmp 0x1001e411
cmp al, 9
jne 0x1001e415
mov eax, dword [edi + 0x12405cd8]
mov ecx, dword [edi + 0x12405cd4]
mov edi, dword [0x124016dc]
mov esi, dword [0x124016e0]
sub ecx, edi
mov edx, ecx
sub eax, esi
imul edx, ecx
mov ecx, eax
imul ecx, eax
add edx, ecx
cmp edx, 4
jg 0x1001e411
mov eax, ebp
imul eax, eax, 0x104
mov ecx, dword [eax + 0x12405cd8]
mov eax, dword [eax + 0x12405cd4]
sub ecx, esi
mov esi, ecx
sub eax, edi
imul esi, ecx
mov ecx, eax
imul ecx, eax
add esi, ecx
cmp edx, esi
jl 0x1001e415
mov dword [esp + 0x14], ebp
mov ebx, dword [esp + 0x14]
cmp ebx, 0xffffffff
jne 0x1001e43a
cmp dword [esp + 0x44], 0
je 0x1001e42b
mov ebx, dword [esp + 0x34]
jmp 0x1001e43a
mov eax, dword [esp + 0x64]
cmp eax, 0xffffffff
je 0x1001e566
mov ebx, eax
test ebx, ebx
jl 0x1001e566
cmp dword [0x1242949c], 0
je 0x1001e461
lea edx, [esp + 0x4c]
push edx
push ebx
call fcn.100165a0
add esp, 8
test eax, eax
je 0x1001e461
mov ebx, dword [esp + 0x4c]
mov edi, ebx
imul edi, edi, 0x104
mov esi, dword [edi + 0x12405bf0]
call fcn.10036e10
lea edi, [edi + 0x12405c08]
mov edx, 0x1005fe90
mov ecx, edi
mov si, word [ecx]
cmp si, word [edx]
jne 0x1001e4a7
test si, si
je 0x1001e4a3
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1001e4a7
add ecx, 4
add edx, 4
test si, si
jne 0x1001e481
xor ecx, ecx
jmp 0x1001e4ac
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x1001e4ea
mov edx, 0x1005fea4
mov ecx, edi
mov si, word [ecx]
cmp si, word [edx]
jne 0x1001e4dd
test si, si
je 0x1001e4d9
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x1001e4dd
add ecx, 4
add edx, 4
test si, si
jne 0x1001e4b7
xor ecx, ecx
jmp 0x1001e4e2
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x1001e4ea
cmp al, 0xa
jne 0x1001e502
cmp dword [esp + 0x44], 0
je 0x1001e4f7
mov ebx, dword [esp + 0x34]
jmp 0x1001e502
mov eax, dword [esp + 0x64]
cmp eax, 0xffffffff
je 0x1001e502
mov ebx, eax
mov esi, ebx
imul esi, esi, 0x104
mov ecx, dword [esi + 0x12405bf0]
cmp ecx, dword [0x12401528]
je 0x1001e5ae
call fcn.1001c450
mov eax, ebx
call fcn.1001b750
cmp dword [esi + 0x12405ce8], 0
jne 0x1001e53c
mov eax, dword [0x100aa614]
mov dword [esi + 0x12405ce8], eax
mov ecx, dword [0x12401524]
imul ecx, ecx, 0x104
add ecx, 0x12405c08
push ecx
mov ecx, 0x12429a5c
mov dword [0x12401530], 0
call dword [0x1005d418]
jmp 0x1001e5ae
cmp dword [0x12401528], 0
je 0x1001e5ae
mov eax, dword [0x12401524]
mov ecx, dword [0x124016e0]
imul eax, eax, 0x104
sub ecx, dword [eax + 0x12405cd8]
mov edx, ecx
imul edx, ecx
mov ecx, dword [0x124016dc]
sub ecx, dword [eax + 0x12405cd4]
mov eax, ecx
imul eax, ecx
cmp eax, edx
jge 0x1001e5a2
mov eax, edx
cmp eax, 0x2710
jle 0x1001e5ae
call fcn.1001c450
lea ecx, [esp + 0x20]
call dword [0x1005d4d0]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret