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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x100eb6ac]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 0xc]
push esi
mov esi, dword [ebp + 0xc]
cmp word [esi], 0x20
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], 0
jbe 0x1006718f
push 0x20
push str.at_most__d_tables_in_a_join
push eax
call fcn.1002ddf0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.1009c0cb
mov esp, ebp
pop ebp
ret
push 0x84
lea eax, [esp + 0x19c]
push 0
push eax
call fcn.100a39b0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
add esp, 0xc
push 0x3c
mov dword [esp + 0x74], ecx
push eax
lea ecx, [esp + 0x78]
lea edx, [esp + 0x88]
push ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0xa
mov dword [esp + 0x88], edx
call fcn.10065080
movsx edi, word [esi]
shl edi, 6
add edi, 0x58
add esp, 0xc
mov dword [esp + 0x58], 0
test edi, edi
jle 0x1006723c
cmp dword [0x100f0574], 0
je 0x1006720d
cmp dword [0x100f0580], 0
jg 0x1006723c
push edi
call fcn.1009ce65
add esp, 4
mov dword [esp + 0x58], eax
test eax, eax
jne 0x10067230
mov eax, 1
add dword [0x100f0580], eax
mov dword [0x100f0574], eax
jmp 0x10067245
push edi
push 0
push eax
call fcn.100a39b0
add esp, 0xc
cmp dword [0x100f0574], 0
je 0x10067252
cmp dword [0x100f0580], 0
jg 0x10067351
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
mov dword [edx], eax
mov dword [edx + 4], esi
mov eax, dword [ebx + 0x1c]
lea ecx, [eax + 1]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x24], eax
cmp eax, ecx
jl 0x10067291
lea eax, [ecx + ecx + 0xa]
lea ecx, [eax*4]
lea edi, [ebx + 0x24]
mov dword [ebx + 0x20], eax
call fcn.1002dac0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x58]
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x1006729f
mov dword [ecx + eax*4], 0xffffffff
or ecx, 0xffffffff
sub ecx, eax
cmp dword [esp + 0x14], 0
mov dword [edx + 0x10], ecx
je 0x100672f6
cmp word [esi], 0
je 0x100672da
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push 0x1005aa40
push eax
mov dword [esp + 0x28], 1
call fcn.1005a780
add esp, 0xc
cmp dword [esp + 0x1c], 0
je 0x100672f6
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push 1
push edx
push eax
push ecx
call fcn.1005c8a0
add esp, 0x10
movsx ecx, word [esi]
test ecx, ecx
jle 0x1006731e
lea eax, [esi + 0x1a]
movsx edx, word [eax]
mov edi, dword [esp + 0x198]
mov dword [esp + edi*4 + 0x19c], edx
inc dword [esp + 0x198]
add eax, 0x24
dec ecx
jne 0x10067300
mov edi, dword [esp + 0x74]
dec edi
js 0x1006733f
push edi
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x1a0]
push ecx
push esi
call fcn.10065640
add esp, 0x10
dec edi
jns 0x10067325
xor ecx, ecx
cmp dword [0x100f0574], ecx
je 0x10067386
cmp dword [0x100f0580], ecx
jle 0x10067386
lea edx, [esp + 0x70]
push edx
call fcn.10064ec0
mov eax, dword [esp + 0x5c]
add esp, 4
test eax, eax
je 0x1006736f
push eax
call fcn.1009cc76
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.1009c0cb
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
add eax, 0x18
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], eax
movsx eax, word [esi]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x54], ecx
cmp eax, ecx
jle 0x100675a8
mov esi, dword [esp + 0x14]
fld qword [0x100dbcf0]
mov edx, dword [esp + 0x4c]
fstp qword [esp + 0x68]
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ecx
lea ecx, [esi + esi*8]
lea edi, [edx + ecx*4 + 4]
cmp esi, eax
jge 0x100674f6
mov edx, dword [esp + 0x198]
test byte [edi + 0x15], 0xa
jne 0x10067405
test esi, esi
jle 0x10067401
test byte [edi - 0xf], 0xa
jne 0x10067405
xor eax, eax
jmp 0x1006740a
mov eax, 1
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x40], eax
je 0x1006741d
test eax, eax
jne 0x100674f6
xor ecx, ecx
test edx, edx
jle 0x10067435
movsx eax, word [edi + 0x16]
cmp dword [esp + ecx*4 + 0x19c], eax
je 0x10067450
inc ecx
cmp ecx, edx
jl 0x10067427
xor eax, eax
test dword [esp + 0x38], eax
jne 0x10067459
cmp esi, dword [esp + 0x14]
jne 0x100674e3
inc dword [esp + 0x14]
jmp 0x100674e3
mov eax, 1
shl eax, cl
jmp 0x10067437
cmp dword [esp + 0x54], 0
jne 0x1006746c
mov eax, dword [esp + 0x50]
test eax, eax
je 0x1006746c
mov eax, dword [eax]
jmp 0x1006746e
xor eax, eax
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x48]
push eax
push edi
lea ecx, [esp + 0x88]
push ecx
push edx
call fcn.10066860
fld qword [esp + 0x88]
fcomp st(1)
add esp, 0x20
fnstsw ax
test ah, 0x41
jne 0x100674d3
mov eax, dword [esp + 0x3c]
fstp qword [esp + 0x68]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], esi
jmp 0x100674d5
fstp st(0)
cmp dword [esp + 0x40], 0
jne 0x100674f6
mov edx, dword [esp + 0x198]
mov eax, dword [esp + 0x4c]
movsx ecx, word [eax]
inc esi
add edi, 0x24
cmp esi, ecx
jl 0x100673f1
mov ecx, dword [esp + 0x18]
test ecx, 0x1000
je 0x1006750c
mov edx, dword [esp + 0x50]
mov dword [edx], 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
and dword [esp + 0x44], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x34], edx
xor edx, edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x3c], edx
mov dword [eax + 0x38], edx
cmp ecx, edx
je 0x10067540
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x1c]
mov dword [eax + 0x18], edx
inc dword [ecx + 0x1c]
jmp 0x10067547
mov dword [eax + 0x18], 0xffffffff
mov edx, dword [esp + 0x198]
xor ecx, ecx
lea eax, [ecx + 1]
test edx, edx
jle 0x10067577
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x4c]
lea esi, [esi + esi*8]
movsx esi, word [edi + esi*4 + 0x1a]
cmp dword [esp + ecx*4 + 0x19c], esi
je 0x10067579
inc ecx
rol eax, 1
cmp ecx, edx
jl 0x10067567
xor eax, eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
not eax
and dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
add eax, 0x40
mov dword [esp + 0x10], eax
movsx eax, word [edx]
inc ecx
mov dword [esp + 0x54], ecx
cmp ecx, eax
jl 0x100673b3
test dword [esp + 0x44], 0x4000
je 0x100675c0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x100675c0
mov dword [eax], 0
mov esi, dword [esp + 0x20]
mov edi, dword [esi + 0xc]
test edi, edi
jne 0x100675db
mov edi, dword [esi]
call fcn.10039fa0
mov edi, eax
mov dword [esi + 0xc], eax
test edi, edi
je 0x10067633
cmp dword [esi + 0x34], 0
jne 0x10067633
mov esi, dword [edi + 0x10]
lea ecx, [esi + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], esi
jg 0x1006760a
call fcn.1003a020
xor ecx, ecx
cmp dword [0x100f0574], ecx
je 0x1006760c
cmp dword [0x100f0580], ecx
jle 0x1006760c
xor esi, esi
jmp 0x1006762b
xor ecx, ecx
mov edx, dword [edi + 0x18]
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov byte [eax], 0x5c
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [edi + 0x238], 0
mov eax, dword [esp + 0x20]
inc esi
mov dword [eax + 0x34], esi
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 0x54], 0
mov dword [esp + 0x10], esi
cmp cx, word [edx]
jge 0x10067c5d
jmp 0x10067664
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
cmp byte [ecx + 0x80], 2
mov eax, dword [esi + 0x18]
mov dword [esp + 0x40], eax
jne 0x10067822
mov eax, dword [esi]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + edx*4 + 8]
lea edi, [eax + edx*4 + 4]
push ecx
push str.TABLE__s
call fcn.10046b10
mov edi, dword [edi + 8]
add esp, 8
mov dword [esp + 0x18], eax
test edi, edi
je 0x100676b9
push edi
push eax
push str._z_AS__s
call fcn.10046b10
add esp, 0xc
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x100676d3
mov edx, dword [ecx]
push edx
push eax
push str._z_WITH_INDEX__s
call fcn.10046b10
add esp, 0xc
jmp 0x100676e7
test byte [esi + 4], 3
je 0x100676eb
push eax
push str._z_USING_PRIMARY_KEY
call fcn.10046b10
add esp, 8
mov dword [esp + 0x18], eax
test dword [esi + 4], 0x1000
je 0x10067706
push eax
push str._z_ORDER_BY
call fcn.10046b10
add esp, 8
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov esi, dword [ebx + 0x10]
mov dword [esp + 0x3c], ecx
lea ecx, [esi + 1]
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], esi
jg 0x1006773b
mov edi, ebx
call fcn.1003a020
cmp dword [0x100f0574], 0
je 0x1006773b
cmp dword [0x100f0580], 0
jle 0x1006773b
xor esi, esi
jmp 0x10067763
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0x54]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x2f
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [ebx + 0x238], cl
mov ecx, dword [ebx + 0x18]
mov eax, esi
test ecx, ecx
je 0x1006780e
cmp dword [0x100f0574], 0
je 0x10067786
cmp dword [0x100f0580], 0
jg 0x1006780e
test esi, esi
js 0x1006778f
cmp esi, dword [ebx + 0x10]
jl 0x10067799
mov eax, dword [ebx + 0x10]
dec eax
js 0x10067822
lea eax, [eax + eax*4]
mov edi, dword [ecx + eax*4 + 0xc]
lea esi, [ecx + eax*4]
test edi, edi
je case.0x100677b9.5
mov eax, dword [esi + 0x10]
add eax, 9
cmp eax, 8
ja case.0x100677b9.5
movzx ecx, byte [eax + 0x10069160]
jmp dword [ecx*4 + 0x10069150]
push edi
call fcn.1009cc76
add esp, 4
jmp case.0x100677b9.5
push 0
mov ebx, edi
call fcn.1003b750
add esp, 4
push edi
call fcn.1009cc76
mov ebx, dword [esp + 0x60]
add esp, 4
jmp case.0x100677b9.5
mov eax, edi
call fcn.10039f20
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [esi + 0xc], ecx
cmp eax, ecx
jne 0x10067802
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
jmp 0x10067822
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0xffffffff
jmp 0x10067822
cmp dword [esp + 0x18], 0
je 0x10067822
mov edx, dword [esp + 0x18]
push edx
call fcn.1009cc76
add esp, 4
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov edx, dword [esp + 0x4c]
lea ecx, [eax + eax*8]
mov edi, dword [edx + ecx*4 + 0x10]
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
lea ecx, [edx + ecx*4 + 4]
mov edx, dword [edi + 0x3c]
xor esi, esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x18], 0xfff0bdc0
mov dword [esp + 0x14], esi
cmp edx, esi
je 0x1006788d
mov ecx, dword [eax]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 1
cmp ecx, esi
jle 0x10067889
mov eax, dword [eax + 4]
add eax, 0x14
cmp dword [eax], edx
je 0x10067889
mov esi, dword [esp + 0x14]
inc dword [esp + 0x18]
add eax, 0x18
rol esi, 1
mov dword [esp + 0x14], esi
cmp dword [esp + 0x18], ecx
jl 0x1006786e
mov ecx, dword [esp + 0x44]
cmp byte [edi + 0x1d], 0
jne 0x10067c40
cmp dword [edi + 0x18], 0
jne 0x10067c40
mov esi, dword [esp + 0x10]
test dword [esi + 4], 0x800
jne 0x10067903
movsx eax, word [ecx + 0x16]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push 0x17
push edx
push eax
mov eax, edi
call fcn.1005d260
add esp, 0xc
cmp dword [edi + 4], 0x20
jae 0x10067921
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0x20]
xor ecx, ecx
test eax, eax
je 0x100678e5
jmp 0x100678e0
inc ecx
shr eax, 1
jne 0x100678e0
mov edx, dword [ebx + 0x10]
lea eax, [edx - 1]
test eax, eax
js 0x10067921
cmp edx, eax
jle 0x10067921
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x10067921
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 8], ecx
jmp 0x10067921
mov ecx, dword [edi]
mov edx, dword [edi + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
push ecx
push 0
push edx
push eax
call fcn.1003d3b0
mov esi, dword [esp + 0x20]
add esp, 0x10
mov ecx, dword [esp + 0x44]
movsx edx, word [ecx + 0x16]
mov eax, dword [esi + 0x10]
mov dword [esi + 0x14], edx
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10067ab5
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.100428f0
mov esi, dword [ebx + 0x10]
add esp, 8
lea ecx, [esi + 1]
mov dword [esp + 0x24], eax
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], esi
jg 0x10067974
mov edi, ebx
call fcn.1003a020
cmp dword [0x100f0574], 0
je 0x10067974
cmp dword [0x100f0580], 0
jg 0x10067998
mov edx, dword [ebx + 0x18]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x2a
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [ebx + 0x238], cl
mov esi, dword [ebx + 0x10]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x14]
lea ecx, [esi + 1]
mov dword [esp + 0x3c], eax
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], esi
jg 0x100679ce
mov edi, ebx
call fcn.1003a020
cmp dword [0x100f0574], 0
je 0x100679ce
cmp dword [0x100f0580], 0
jle 0x100679ce
xor esi, esi
jmp 0x100679f6
mov edx, dword [ebx + 0x18]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x17
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [ebx + 0x238], cl
mov ecx, dword [ebx + 0x18]
mov eax, esi
test ecx, ecx
je 0x10067aa1
cmp dword [0x100f0574], 0
je 0x10067a19
cmp dword [0x100f0580], 0
jg 0x10067aa1
test esi, esi
js 0x10067a22
cmp esi, dword [ebx + 0x10]
jl 0x10067a2c
mov eax, dword [ebx + 0x10]
dec eax
js 0x10067ab5
lea eax, [eax + eax*4]
mov edi, dword [ecx + eax*4 + 0xc]
lea esi, [ecx + eax*4]
test edi, edi
je case.0x10067a4c.5
mov eax, dword [esi + 0x10]
add eax, 9
cmp eax, 8
ja case.0x10067a4c.5
movzx ecx, byte [eax + 0x1006917c]
jmp dword [ecx*4 + 0x1006916c]
push edi
call fcn.1009cc76
add esp, 4
jmp case.0x10067a4c.5
push 0
mov ebx, edi
call fcn.1003b750
add esp, 4
push edi
call fcn.1009cc76
mov ebx, dword [esp + 0x60]
add esp, 4
jmp case.0x10067a4c.5
mov eax, edi
call fcn.10039f20
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov dword [esi + 0xc], ecx
cmp eax, ecx
jne 0x10067a95
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
jmp 0x10067ab5
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0xfffffffa
jmp 0x10067ab5
cmp dword [esp + 0x24], 0
je 0x10067ab5
mov edx, dword [esp + 0x24]
push edx
call fcn.1009cc76
add esp, 4
mov eax, dword [esp + 0x10]
test dword [eax + 4], 0x800
je 0x10067b1d
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 4]
mov esi, dword [ebx + 0x10]
inc edx
lea ecx, [esi + 1]
mov dword [esp + 0x1c], edx
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], esi
jg 0x10067af9
mov edi, ebx
call fcn.1003a020
cmp dword [0x100f0574], 0
je 0x10067af5
cmp dword [0x100f0580], 0
jg 0x10067b1d
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x18]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x11
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [ebx + 0x238], cl
mov esi, dword [esp + 0x20]
mov edi, dword [esi + 0xc]
test edi, edi
jne 0x10067ba7
mov edx, dword [esi]
mov dword [esp + 0x3c], edx
cmp dword [0x100f0574], edi
je 0x10067b3e
cmp dword [0x100f0580], edi
jg 0x10067b61
push 0x248
call fcn.1009ce65
mov edi, eax
add esp, 4
test edi, edi
jne 0x10067b65
mov eax, 1
add dword [0x100f0580], eax
mov dword [0x100f0574], eax
xor edi, edi
jmp 0x10067b9c
push 0x248
push 0
push edi
call fcn.100a39b0
mov eax, dword [esp + 0x48]
mov dword [edi], eax
mov ecx, dword [eax + 0x48]
add esp, 0xc
test ecx, ecx
je 0x10067b85
mov dword [ecx + 4], edi
mov ecx, dword [eax + 0x48]
mov dword [edi + 8], ecx
mov dword [edi + 4], 0
mov dword [eax + 0x48], edi
mov dword [edi + 0x50], 0x26bceaa5
mov dword [esi + 0xc], edi
test edi, edi
je 0x10067c40
cmp dword [esi + 0x34], 0
mov edx, dword [esi]
mov dword [esp + 0x3c], edx
jne 0x10067c06
mov esi, dword [edi + 0x10]
lea ecx, [esi + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], esi
jg 0x10067bdc
call fcn.1003a020
cmp dword [0x100f0574], 0
je 0x10067bdc
cmp dword [0x100f0580], 0
jle 0x10067bdc
xor esi, esi
jmp 0x10067bfc
mov ecx, dword [edi + 0x18]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x5c
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [edi + 0x238], cl
mov edx, dword [esp + 0x20]
inc esi
mov dword [edx + 0x34], esi
mov esi, edx
mov eax, dword [esp + 0x18]
test eax, eax
js 0x10067c40
mov edx, dword [esi + 0x30]
mov ecx, dword [esp + 0x14]
test edx, ecx
jne 0x10067c40
or ecx, edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x30], ecx
mov edx, dword [edx + 4]
lea ecx, [eax + eax*2]
mov ecx, dword [edx + ecx*8 + 0x14]
mov edx, dword [ecx]
mov dword [esi + eax*4 + 0x38], edx
cmp eax, 1
jne 0x10067c40
push esi
call fcn.10042000
add esp, 4
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
movsx edx, word [ecx]
add dword [esp + 0x10], 0x40
inc eax
mov dword [esp + 0x54], eax
cmp eax, edx
jl 0x10067660
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x2c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x4c]
xor edx, edx
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x54], 0
mov dword [esp + 0x10], esi
cmp dx, word [eax]
jge 0x10069120
jmp 0x10067c94
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [esp + 0x4c]
mov edi, dword [ebx + 0x1c]
lea ecx, [eax + eax*8]
lea eax, [edx + ecx*4 + 4]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x44], eax
movsx eax, word [eax + 0x16]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x50], ecx
mov ecx, eax
shr eax, 0xb
and eax, 1
mov dword [esp + 0x3c], eax
lea eax, [edi + 1]
shr ecx, 0xd
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0x20]
and ecx, 1
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ecx
cmp edi, eax
jl 0x10067dca
cmp dword [0x100f0574], 0
lea eax, [eax + eax + 0xa]
lea ecx, [eax*4]
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x24], ecx
je 0x10067d1c
cmp dword [0x100f0580], 0
jle 0x10067d1c
mov dword [esp + 0x14], 0
jmp 0x10067db3
test eax, eax
jne 0x10067d85
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x10067d7b
cmp dword [0x100f0574], eax
je 0x10067d38
cmp dword [0x100f0580], eax
jg 0x10067d7b
mov ecx, dword [esp + 0x24]
push ecx
call fcn.1009ce65
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10067d67
mov ecx, dword [esp + 0x14]
mov eax, 1
add dword [0x100f0580], eax
mov dword [0x100f0574], eax
mov dword [esp + 0x14], ecx
jmp 0x10067dac
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
push edx
push 0
push eax
call fcn.100a39b0
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], ecx
jmp 0x10067dac
mov edx, dword [esp + 0x24]
push edx
push eax
call fcn.1009dc36
add esp, 8
test eax, eax
jne 0x10067da8
mov ecx, 1
add dword [0x100f0580], ecx
mov dword [0x100f0574], ecx
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0
jne 0x10067dc3
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x10067dc3
push eax
call fcn.1009cc76
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x10067dd8
mov dword [eax + edi*4], 0xffffffff
or eax, 0xffffffff
sub eax, edi
mov dword [esi + 0x1c], eax
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x20]
lea edx, [ecx + 1]
mov dword [esp + 0x24], ecx
mov dword [ebx + 0x1c], edx
cmp ecx, eax
jl 0x10067eb1
mov ecx, dword [0x100f0574]
lea eax, [eax + eax + 0xa]
mov dword [ebx + 0x20], eax
lea edi, [eax*4]
mov eax, dword [ebx + 0x24]
test ecx, ecx
je 0x10067e24
cmp dword [0x100f0580], 0
jle 0x10067e24
xor edi, edi
jmp 0x10067e9a
test eax, eax
jne 0x10067e75
mov dword [esp + 0x1c], eax
test edi, edi
jle 0x10067e6f
test ecx, ecx
je 0x10067e3c
cmp dword [0x100f0580], eax
jg 0x10067e6f
push edi
call fcn.1009ce65
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x10067e63
mov edi, dword [esp + 0x1c]
mov eax, 1
add dword [0x100f0580], eax
mov dword [0x100f0574], eax
jmp 0x10067e96
push edi
push 0
push eax
call fcn.100a39b0
add esp, 0xc
mov edi, dword [esp + 0x1c]
jmp 0x10067e96
push edi
push eax
call fcn.1009dc36
add esp, 8
test eax, eax
jne 0x10067e94
mov ecx, 1
add dword [0x100f0580], ecx
mov dword [0x100f0574], ecx
mov edi, eax
test edi, edi
jne 0x10067eaa
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x10067eaa
push eax
call fcn.1009cc76
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword [ebx + 0x24], edi
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x10067ebf
mov dword [eax + ecx*4], 0xffffffff
or eax, 0xffffffff
sub eax, ecx
cmp dword [esi], 0
mov dword [esi + 0x20], eax
mov dword [esp + 0x64], eax
jle 0x10067f52
mov eax, dword [esp + 0x44]
test byte [eax - 0xf], 8
je 0x10067f52
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x20], 0
jne 0x10067eef
mov dword [eax + 0x20], 1
mov ecx, dword [eax + 0x20]
mov dword [esi + 0xc], ecx
inc dword [eax + 0x20]
mov eax, dword [ebx + 0x10]
mov edx, dword [esi + 0xc]
lea ecx, [eax + 1]
mov dword [esp + 0x48], edx
mov dword [esp + 0x18], eax
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], eax
jg 0x10067f2a
mov edi, ebx
call fcn.1003a020
cmp dword [0x100f0574], 0
je 0x10067f2a
cmp dword [0x100f0580], 0
jg 0x10067f52
mov ecx, dword [ebx + 0x18]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x48]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x5d
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [ebx + 0x238], cl
mov eax, dword [esi + 4]
test al, 1
je 0x10068039
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
push 0
push 3
push eax
push 0xffffffffffffffff
push ecx
lea edx, [esp + 0x84]
push edx
call fcn.100653d0
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
call fcn.10066ee0
mov esi, dword [ebx + 0x10]
add esp, 0x1c
lea ecx, [esi + 1]
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], esi
jg 0x10067fb2
mov edi, ebx
call fcn.1003a020
cmp dword [0x100f0574], 0
je 0x10067fb2
cmp dword [0x100f0580], 0
jg 0x10067fda
mov ecx, dword [ebx + 0x18]
mov edx, dword [esp + 0x28]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x70
mov dword [eax + 4], 1
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [ebx + 0x238], cl
mov esi, dword [ebx + 0x10]
lea ecx, [esi + 1]
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], esi
jg 0x10068001
mov edi, ebx
call fcn.1003a020
cmp dword [0x100f0574], 0
je 0x10068001
cmp dword [0x100f0580], 0
jg 0x10068029
mov ecx, dword [ebx + 0x18]
mov edx, dword [esp + 0x30]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x1f
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [ebx + 0x238], cl
mov edx, dword [esp + 0x10]
mov dword [edx + 0x28], 0x63
jmp 0x10068fd1
test al, 2
je 0x100683dd
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
push 0
push 0x24
push eax
push 0xffffffffffffffff
push ecx
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x2c], 0x63
call fcn.100653d0
mov ecx, dword [esp + 0x48]
push 0
push 0x18
mov edi, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x58]
push eax
push 0xffffffffffffffff
push ecx
lea edx, [esp + 0x9c]
push edx
call fcn.100653d0
add esp, 0x30
cmp dword [esp + 0x34], 0
mov dword [esp + 0x24], eax
je 0x100680a1
mov dword [esp + 0x24], edi
mov edi, eax
mov dword [esp + 0x40], edi
test edi, edi
je 0x10068190
mov edi, dword [edi]
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.1005bb20
mov al, byte [edi]
add esp, 8
cmp al, 0x45
je 0x100680ce
mov dword [esp + 0x1c], 0
cmp al, 0x44
jne 0x100680d6
mov dword [esp + 0x1c], 1
mov esi, dword [ebx + 0x10]
lea ecx, [esi + 1]
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], esi
jg 0x100680fd
mov edi, ebx
call fcn.1003a020
cmp dword [0x100f0574], 0
je 0x100680fd
cmp dword [0x100f0580], 0
jg 0x10068125
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0x1c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x28]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x71
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [ebx + 0x238], cl
mov esi, dword [ebx + 0x10]
lea ecx, [esi + 1]
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], esi
jg 0x1006814c
mov edi, ebx
call fcn.1003a020
cmp dword [0x100f0574], 0
je 0x1006814c
cmp dword [0x100f0580], 0
jg 0x10068181
mov ecx, dword [ebx + 0x18]
mov edx, dword [esp + 0x34]
neg edx
sbb dl, dl
and dl, 0xbf
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x30]
add dl, 0x6f
mov byte [eax], dl
mov edx, dword [esp + 0x28]
mov dword [eax + 4], ecx
xor ecx, ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [ebx + 0x238], cl
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x10]
call fcn.10066d50
jmp 0x100681f4
mov eax, dword [ebx + 0x10]
lea ecx, [eax + 1]
mov dword [esp + 0x18], eax
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], eax
jg 0x100681bb
mov edi, ebx
call fcn.1003a020
cmp dword [0x100f0574], 0
je 0x100681bb
cmp dword [0x100f0580], 0
jg 0x100681f4
mov ecx, dword [ebx + 0x18]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
neg edx
sbb dl, dl
and dl, 0x21
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x30]
add dl, 0x33
mov byte [eax], dl
mov edx, dword [esp + 0x28]
mov dword [eax + 4], ecx
xor ecx, ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [ebx + 0x238], cl
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100682b1
mov eax, dword [eax]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov eax, dword [eax + 0xc]
push eax
push edi
call fcn.1005bb20
mov ecx, dword [edi + 0x20]
mov dword [esi + 8], ecx
inc dword [edi + 0x20]
mov edx, dword [esi + 8]
mov esi, dword [ebx + 0x10]
add esp, 8
lea ecx, [esi + 1]
mov dword [esp + 0x3c], edx
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], esi
jg 0x1006824e
mov edi, ebx
call fcn.1003a020
cmp dword [0x100f0574], 0
je 0x1006824e
cmp dword [0x100f0580], 0
jg 0x10068276
mov ecx, dword [ebx + 0x18]
mov edx, dword [esp + 0x3c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x6c
mov dword [eax + 4], edx
mov dword [eax + 8], 1
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [ebx + 0x238], cl
mov eax, dword [esp + 0x48]
mov al, byte [eax]
cmp al, 0x46
je 0x10068293
cmp al, 0x44
je 0x10068293
xor eax, eax
cmp dword [esp + 0x34], eax
setne al
lea eax, [eax + eax + 0x44]
jmp 0x100682a0
xor eax, eax
cmp dword [esp + 0x34], eax
sete al
lea eax, [eax + eax + 0x45]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
call fcn.10066d50
mov eax, dword [ebx + 0x10]
mov edx, dword [esp + 0x30]
xor ecx, ecx
cmp dword [esp + 0x34], ecx
mov dword [esi + 0x2c], edx
setne cl
mov dword [esi + 0x30], eax
add ecx, 0x6d
cmp dword [esp + 0x14], 0x63
mov dword [esi + 0x28], ecx
je 0x10068fd1
mov esi, dword [ebx + 0x10]
lea ecx, [esi + 1]
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], esi
jg 0x10068301
mov edi, ebx
call fcn.1003a020
xor edi, edi
cmp dword [0x100f0574], edi
je 0x10068303
cmp dword [0x100f0580], edi
jg 0x10068326
jmp 0x10068303
xor edi, edi
mov ecx, dword [ebx + 0x18]
mov edx, dword [esp + 0x30]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x57
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [ebx + 0x238], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov esi, dword [ebx + 0x10]
mov dword [esp + 0x3c], ecx
lea ecx, [esi + 1]
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], esi
jg 0x1006835a
mov edi, ebx
call fcn.1003a020
cmp dword [0x100f0574], 0
je 0x10068358
cmp dword [0x100f0580], 0
jg 0x1006837f
xor edi, edi
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0x3c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x31
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [ebx + 0x238], 0
jmp 0x10068381
xor edi, edi
mov esi, dword [ebx + 0x10]
lea ecx, [esi + 1]
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], esi
jg 0x100683ae
mov edi, ebx
call fcn.1003a020
cmp dword [0x100f0574], 0
je 0x100683ac
cmp dword [0x100f0580], 0
jg 0x10068fd1
xor edi, edi
mov eax, dword [ebx + 0x18]
mov cl, byte [esp + 0x14]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x28]
mov byte [eax], cl
mov dword [eax + 4], 0x63
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [ebx + 0x238], 0
jmp 0x10068fd1
test al, 0x20
je 0x10068b0d
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov edi, dword [ebx + 0x34]
mov ecx, eax
shr eax, 9
shr ecx, 8
and eax, 1
and ecx, 1
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x74]
push ecx
push edx
mov dword [esp + 0x30], edi
call fcn.10066f90
xor esi, esi
add esp, 0xc
mov dword [esp + 0x40], esi
cmp edi, esi
jle 0x10068483
mov dword [esp + 0x1c], edi
mov dword [esp + 0x40], edi
nop
mov edi, dword [esp + 0x5c]
mov ebx, dword [edi + 0x10]
lea ecx, [ebx + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], ebx
jg 0x10068457
call fcn.1003a020
cmp dword [0x100f0574], esi
je 0x10068457
cmp dword [0x100f0580], esi
jg 0x1006847b
mov ecx, dword [edi + 0x18]
mov edx, dword [esp + 0x24]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
dec edx
mov byte [eax], 0xa
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [edi + 0x238], 0
dec dword [esp + 0x1c]
jne 0x10068430
jmp 0x10068487
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
lea ecx, [eax + edx]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x50]
mov ecx, dword [ecx + 0x28]
cmp byte [edx + ecx], 0
jne 0x100684b2
mov ecx, 0x18
mov dword [esp + 0x48], 0x24
jmp 0x100684cd
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x44], eax
mov ecx, 0x24
mov dword [esp + 0x48], 0x18
mov dword [esp + 0x18], ebx
mov eax, ebx
cmp eax, esi
je 0x10068530
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x40]
mov eax, dword [eax + esi*4]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x40]
push ecx
push eax
push edx
lea eax, [esp + 0x84]
push eax
call fcn.100653d0
mov ebx, dword [esp + 0x38]
mov esi, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
push edx
push ebx
call fcn.1005bb20
movzx eax, word [esi + 0xa]
and eax, 0x28
mov dword [esp + 0x3c], eax
mov eax, esi
mov esi, dword [esp + 0x30]
add esp, 0x20
call fcn.10066d50
mov dword [esp + 0x14], 0x78
xor esi, esi
jmp 0x10068557
xor eax, eax
cmp edx, esi
setle al
mov dword [esp + 0x1c], 1
dec eax
and eax, 0x15
add eax, 0x63
mov dword [esp + 0x14], eax
cmp eax, 0x63
je 0x1006865d
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x50]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
inc dword [ebx + 0x20]
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
add ecx, eax
push ecx
mov eax, edi
call fcn.10066da0
add esp, 0x10
cmp dword [esp + 0x34], esi
je 0x100685fa
mov eax, dword [esp + 0x1c]
mov edx, dword [edi + 0x10]
neg eax
sbb eax, eax
and eax, 0xfffffff2
add eax, 0x2e
lea ecx, [edx + 1]
mov dword [esp + 0x60], eax
mov dword [esp + 0x18], edx
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], edx
jg 0x100685cb
call fcn.1003a020
cmp dword [0x100f0574], esi
je 0x100685c7
cmp dword [0x100f0580], esi
jg 0x100686b1
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
lea edx, [ecx + ecx*4]
mov ecx, dword [edi + 0x18]
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x2c]
mov byte [ecx], al
mov eax, dword [esp + 0x28]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x10], esi
mov byte [edi + 0x238], 0
jmp 0x100686b1
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
lea ecx, [eax + 1]
mov dword [esp + 0x60], edx
mov dword [esp + 0x18], eax
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], eax
jg 0x10068630
call fcn.1003a020
cmp dword [0x100f0574], esi
je 0x10068630
cmp dword [0x100f0580], esi
jg 0x100686b1
mov ecx, dword [edi + 0x18]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x60]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x6c
mov dword [eax + 4], edx
mov dword [eax + 8], 1
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [edi + 0x238], 0
jmp 0x100686b1
cmp dword [esp + 0x34], esi
je 0x100686ad
mov ebx, dword [edi + 0x10]
lea ecx, [ebx + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], ebx
jg 0x10068686
call fcn.1003a020
cmp dword [0x100f0574], esi
je 0x10068686
cmp dword [0x100f0580], esi
jg 0x100686ad
mov ecx, dword [edi + 0x18]
mov edx, dword [esp + 0x2c]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x28]
mov byte [eax], 0x54
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [edi + 0x238], 0
mov ebx, dword [esp + 0x20]
cmp dword [esp + 0x44], esi
je 0x1006870e
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x40]
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x4c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.100653d0
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push eax
push ebx
call fcn.1005bb20
movzx eax, word [esi + 0xa]
and eax, 0x28
mov dword [esp + 0x60], eax
mov eax, esi
mov esi, dword [esp + 0x30]
add esp, 0x20
call fcn.10066d50
xor esi, esi
jmp 0x10068716
mov dword [esp + 0x40], 1
cmp dword [esp + 0x24], esi
jg 0x1006877b
cmp dword [esp + 0x44], esi
jne 0x1006877b
cmp dword [esp + 0x34], esi
je 0x10068735
mov dword [esp + 0x14], 0x63
jmp 0x10068866
mov ebx, dword [edi + 0x10]
lea ecx, [ebx + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], ebx
jg 0x1006875c
call fcn.1003a020
cmp dword [0x100f0574], esi
je 0x1006875c
cmp dword [0x100f0580], esi
jg 0x10068866
mov edx, dword [edi + 0x18]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov byte [eax], 0x33
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
jmp 0x10068859
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
add edx, dword [esp + 0x24]
push eax
push ecx
push esi
push edx
mov eax, edi
call fcn.10066da0
add esp, 0x10
cmp dword [esp + 0x34], esi
je 0x10068807
mov ecx, dword [ebx + 0x20]
mov eax, dword [esp + 0x10]
mov dword [eax + 8], ecx
inc dword [ebx + 0x20]
mov ebx, dword [edi + 0x10]
mov edx, dword [eax + 8]
lea ecx, [ebx + 1]
mov dword [esp + 0x48], edx
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], ebx
jg 0x100687d6
call fcn.1003a020
cmp dword [0x100f0574], esi
je 0x100687d6
cmp dword [0x100f0580], esi
jg 0x100687fd
mov ecx, dword [edi + 0x18]
mov edx, dword [esp + 0x48]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x6c
mov dword [eax + 4], edx
mov dword [eax + 8], 1
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [edi + 0x238], 0
mov dword [esp + 0x14], 0x32
jmp 0x10068866
mov ebx, dword [esp + 0x40]
mov eax, dword [edi + 0x10]
neg ebx
sbb ebx, ebx
and ebx, 0x68
add ebx, 7
lea ecx, [eax + 1]
mov dword [esp + 0x18], eax
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], eax
jg 0x1006883c
call fcn.1003a020
cmp dword [0x100f0574], esi
je 0x1006883c
cmp dword [0x100f0580], esi
jg 0x10068866
mov ecx, dword [edi + 0x18]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x28]
mov byte [eax], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [edi + 0x238], 0
cmp dword [esp + 0x14], 0x63
mov ebx, dword [edi + 0x10]
mov dword [esp + 0x60], ebx
je 0x100689bd
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
lea ecx, [ebx + 1]
mov dword [esp + 0x48], eax
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], ebx
jg 0x100688a3
call fcn.1003a020
cmp dword [0x100f0574], esi
je 0x100688a3
cmp dword [0x100f0580], esi
jg 0x100688c6
mov edx, dword [edi + 0x18]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x48]
mov byte [eax], 0x31
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [edi + 0x238], 0
mov ebx, dword [edi + 0x10]
lea ecx, [ebx + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], ebx
jg 0x100688e9
call fcn.1003a020
cmp dword [0x100f0574], esi
je 0x100688e9
cmp dword [0x100f0580], esi
jg 0x10068913
mov eax, dword [edi + 0x18]
mov cl, byte [esp + 0x14]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x2c]
mov byte [eax], cl
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [edi + 0x238], 0
cmp dword [esp + 0x1c], esi
je 0x1006891f
cmp dword [esp + 0x34], esi
je 0x10068933
cmp dword [esp + 0x40], esi
jne 0x100689bd
cmp dword [esp + 0x34], esi
je 0x100689bd
mov ecx, dword [edi + 0x18]
cmp ecx, esi
je 0x100689bd
cmp dword [0x100f0574], esi
je 0x1006894e
cmp dword [0x100f0580], esi
jg 0x100689bd
mov eax, dword [edi + 0x10]
dec eax
js 0x100689bd
lea edx, [eax + eax*4]
mov ebx, dword [ecx + edx*4 + 0xc]
lea eax, [ecx + edx*4]
mov dword [esp + 0x1c], eax
cmp ebx, esi
je case.0x10068978.5
mov ecx, dword [eax + 0x10]
add ecx, 9
cmp ecx, 8
ja case.0x10068978.5
movzx ecx, byte [ecx + 0x10069198]
jmp dword [ecx*4 + 0x10069188]
push ebx
call fcn.1009cc76
add esp, 4
jmp 0x100689ab
push esi
call fcn.1003b750
add esp, 4
push ebx
call fcn.1009cc76
mov edi, dword [esp + 0x60]
add esp, 4
xor esi, esi
jmp 0x100689ab
mov eax, ebx
call fcn.10039f20
mov eax, dword [esp + 0x1c]
mov dword [eax + 0xc], 0x100d89d0
mov dword [eax + 0x10], 0xfffffffe
mov ebx, dword [edi + 0x10]
lea ecx, [ebx + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], ebx
jg 0x100689e0
call fcn.1003a020
cmp dword [0x100f0574], esi
je 0x100689e0
cmp dword [0x100f0580], esi
jg 0x10068a03
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x2c]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov byte [eax], 0xe
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [edi + 0x238], 0
mov ebx, dword [edi + 0x10]
lea ecx, [ebx + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], ebx
jg 0x10068a26
call fcn.1003a020
cmp dword [0x100f0574], esi
je 0x10068a26
cmp dword [0x100f0580], esi
jg 0x10068a4d
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x68]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x64]
mov byte [eax], 0x13
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [edi + 0x238], 0
cmp dword [esp + 0x3c], esi
jne 0x10068ae3
mov ebx, dword [edi + 0x10]
lea ecx, [ebx + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], ebx
jg 0x10068a7a
call fcn.1003a020
cmp dword [0x100f0574], esi
je 0x10068a7a
cmp dword [0x100f0580], esi
jg 0x10068a9d
mov ecx, dword [edi + 0x18]
mov edx, dword [esp + 0x2c]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x60
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [edi + 0x238], 0
mov ebx, dword [edi + 0x10]
lea ecx, [ebx + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], ebx
jg 0x10068ac0
call fcn.1003a020
cmp dword [0x100f0574], esi
je 0x10068ac0
cmp dword [0x100f0580], esi
jg 0x10068ae3
mov ecx, dword [edi + 0x18]
mov edx, dword [esp + 0x30]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x6f
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [edi + 0x238], 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x5c]
xor ecx, ecx
cmp dword [esp + 0x34], esi
mov dword [eax + 0x2c], edx
setne cl
add ecx, 0x6d
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x30], ecx
jmp 0x10068fd1
test al, 0x10
je 0x10068f64
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov edi, dword [esi + 0x34]
push edx
lea eax, [esp + 0x74]
push eax
push ecx
mov ebx, esi
mov dword [esp + 0x54], edi
call fcn.10066f90
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x34]
add esp, 0xc
push edx
push eax
xor ebx, ebx
push ebx
push edi
mov edi, dword [esp + 0x6c]
mov eax, edi
call fcn.10066da0
mov ecx, dword [esi + 8]
mov esi, dword [edi + 0x10]
mov dword [esp + 0x78], ecx
add esp, 0x10
lea ecx, [esi + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], esi
jg 0x10068b7f
call fcn.1003a020
cmp dword [0x100f0574], ebx
je 0x10068b7f
cmp dword [0x100f0580], ebx
jg 0x10068ba1
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x68]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x6c
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [edi + 0x238], bl
mov esi, dword [edi + 0x10]
lea ecx, [esi + 1]
mov dword [edi + 0x10], ecx
cmp dword [esp + 0x34], ebx
je 0x10068ca7
cmp dword [edi + 0x14], esi
jg 0x10068bce
call fcn.1003a020
cmp dword [0x100f0574], ebx
je 0x10068bce
cmp dword [0x100f0580], ebx
jg 0x10068bf4
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x2c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x28]
mov byte [eax], 0x20
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [edi + 0x238], bl
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov esi, dword [edi + 0x10]
mov dword [esp + 0x68], ecx
lea ecx, [esi + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], esi
jg 0x10068c28
call fcn.1003a020
cmp dword [0x100f0574], ebx
je 0x10068c28
cmp dword [0x100f0580], ebx
jle 0x10068c28
mov dword [esp + 0x14], ebx
jmp 0x10068c4e
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x68]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x31
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [edi + 0x238], bl
mov dword [esp + 0x14], esi
mov esi, dword [edi + 0x10]
lea ecx, [esi + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], esi
jg 0x10068c71
call fcn.1003a020
cmp dword [0x100f0574], ebx
je 0x10068c71
cmp dword [0x100f0580], ebx
jg 0x10068c97
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x2c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x28]
mov byte [eax], 0x32
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [edi + 0x238], bl
mov eax, dword [esp + 0x10]
mov dword [eax + 0x28], 0x6e
jmp 0x10068e2c
cmp dword [edi + 0x14], esi
jg 0x10068cc1
call fcn.1003a020
cmp dword [0x100f0574], ebx
je 0x10068cc1
cmp dword [0x100f0580], ebx
jg 0x10068ce7
mov edx, dword [edi + 0x18]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov byte [eax], 0x6f
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [edi + 0x238], bl
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov esi, dword [edi + 0x10]
mov dword [esp + 0x68], ecx
lea ecx, [esi + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], esi
jg 0x10068d1b
call fcn.1003a020
cmp dword [0x100f0574], ebx
je 0x10068d1b
cmp dword [0x100f0580], ebx
jle 0x10068d1b
mov dword [esp + 0x14], ebx
jmp 0x10068d41
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x68]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x31
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [edi + 0x238], bl
mov dword [esp + 0x14], esi
mov esi, dword [edi + 0x10]
lea ecx, [esi + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], esi
jg 0x10068d68
call fcn.1003a020
cmp dword [0x100f0574], ebx
je 0x10068d68
cmp dword [0x100f0580], ebx
jle 0x10068d68
xor eax, eax
jmp 0x10068d90
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x2c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x28]
mov byte [eax], 0x78
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [edi + 0x238], bl
mov eax, esi
mov ecx, dword [edi + 0x18]
cmp ecx, ebx
je 0x10068e21
cmp dword [0x100f0574], ebx
je 0x10068dab
cmp dword [0x100f0580], ebx
jg 0x10068e21
cmp eax, ebx
jl 0x10068db4
cmp eax, dword [edi + 0x10]
jl 0x10068dba
mov eax, dword [edi + 0x10]
dec eax
js 0x10068e21
lea eax, [eax + eax*4]
mov esi, dword [ecx + eax*4 + 0xc]
lea eax, [ecx + eax*4]
mov dword [esp + 0x1c], eax
cmp esi, ebx
je case.0x10068dde.5
mov ecx, dword [eax + 0x10]
add ecx, 9
cmp ecx, 8
ja case.0x10068dde.5
movzx ecx, byte [ecx + 0x100691b4]
jmp dword [ecx*4 + 0x100691a4]
push esi
call fcn.1009cc76
add esp, 4
jmp 0x10068e0f
push ebx
mov ebx, esi
call fcn.1003b750
add esp, 4
push esi
call fcn.1009cc76
add esp, 4
xor ebx, ebx
jmp 0x10068e0f
mov eax, esi
call fcn.10039f20
mov eax, dword [esp + 0x1c]
mov dword [eax + 0xc], 0x100d89d0
mov dword [eax + 0x10], 0xfffffffe
mov edx, dword [esp + 0x10]
mov dword [edx + 0x28], 0x6d
mov esi, dword [edi + 0x10]
lea ecx, [esi + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], esi
jg 0x10068e4f
call fcn.1003a020
cmp dword [0x100f0574], ebx
je 0x10068e4f
cmp dword [0x100f0580], ebx
jg 0x10068e71
mov ecx, dword [edi + 0x18]
mov edx, dword [esp + 0x2c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0xe
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [edi + 0x238], bl
mov esi, dword [edi + 0x10]
lea ecx, [esi + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], esi
jg 0x10068e94
call fcn.1003a020
cmp dword [0x100f0574], ebx
je 0x10068e94
cmp dword [0x100f0580], ebx
jg 0x10068eba
mov ecx, dword [edi + 0x18]
mov edx, dword [esp + 0x48]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x64]
mov byte [eax], 0x13
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [edi + 0x238], bl
cmp dword [esp + 0x3c], ebx
jne 0x10068f4e
mov esi, dword [edi + 0x10]
lea ecx, [esi + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], esi
jg 0x10068ee7
call fcn.1003a020
cmp dword [0x100f0574], ebx
je 0x10068ee7
cmp dword [0x100f0580], ebx
jg 0x10068f09
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x2c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x60
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [edi + 0x238], bl
mov esi, dword [edi + 0x10]
lea ecx, [esi + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], esi
jg 0x10068f2c
call fcn.1003a020
cmp dword [0x100f0574], ebx
je 0x10068f2c
cmp dword [0x100f0580], ebx
jg 0x10068f4e
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x30]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x6f
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [edi + 0x238], bl
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x30], ecx
mov ebx, edi
jmp 0x10068fd1
mov edx, dword [esp + 0x30]
mov dword [esi + 0x28], 0x6d
mov dword [esi + 0x2c], edx
mov eax, dword [ebx + 0x10]
lea ecx, [eax + 1]
mov dword [esp + 0x18], eax
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], eax
jg 0x10068fa1
mov edi, ebx
call fcn.1003a020
cmp dword [0x100f0574], 0
je 0x10068fa1
cmp dword [0x100f0580], 0
jle 0x10068fa1
xor ecx, ecx
jmp 0x10068fcd
mov edx, dword [ebx + 0x18]
mov ecx, dword [esp + 0x18]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 8], edx
xor edx, edx
mov byte [eax], 0x33
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [ebx + 0x238], dl
inc ecx
mov dword [esi + 0x30], ecx
mov edx, dword [esp + 0x198]
xor eax, eax
lea ecx, [eax + 1]
test edx, edx
jle 0x10068ff5
mov esi, dword [esp + 0x30]
cmp dword [esp + eax*4 + 0x19c], esi
je 0x10068ff7
inc eax
rol ecx, 1
cmp eax, edx
jl 0x10068fe5
xor ecx, ecx
mov eax, dword [esp + 0x74]
not ecx
and dword [esp + 0x38], ecx
mov esi, eax
test eax, eax
jle 0x10069051
mov edi, dword [esp + 0x7c]
add edi, 0xc
mov edi, edi
test byte [edi], 6
jne 0x10069049
mov eax, dword [esp + 0x38]
test dword [edi + 0xc], eax
jne 0x10069049
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0xc], 0
mov eax, dword [edi - 0xc]
je 0x10069031
test byte [eax + 2], 1
je 0x10069049
mov edx, dword [esp + 0x64]
push 1
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.1005c8a0
add esp, 0x10
or byte [edi], 4
dec esi
add edi, 0x1c
test esi, esi
jg 0x10069010
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x68], eax
test eax, eax
je 0x10069103
mov edx, dword [ebx + 0x10]
mov eax, ecx
mov dword [eax + 0x24], edx
mov esi, dword [ebx + 0x10]
lea ecx, [esi + 1]
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], esi
jg 0x10069093
mov edi, ebx
call fcn.1003a020
cmp dword [0x100f0574], 0
je 0x10069093
cmp dword [0x100f0580], 0
jg 0x100690bb
mov edx, dword [ebx + 0x18]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x68]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x5d
mov dword [eax + 4], 1
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [ebx + 0x238], cl
xor esi, esi
cmp dword [esp + 0x74], esi
jle 0x10069103
mov edi, dword [esp + 0x7c]
add edi, 0xc
lea ebx, [ebx]
test byte [edi], 6
jne 0x100690f9
mov edx, dword [esp + 0x38]
test dword [edi + 0xc], edx
jne 0x100690f9
mov eax, dword [esp + 0x64]
mov ecx, dword [edi - 0xc]
mov edx, dword [esp + 0x20]
push 1
push eax
push ecx
push edx
call fcn.1005c8a0
add esp, 0x10
or byte [edi], 4
inc esi
add edi, 0x1c
cmp esi, dword [esp + 0x74]
jl 0x100690d0
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
movsx edx, word [ecx]
add dword [esp + 0x10], 0x40
inc eax
mov dword [esp + 0x54], eax
cmp eax, edx
jl 0x10067c90
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x58]
lea ecx, [esp + 0x70]
push ecx
mov dword [esi + 0xc], eax
call fcn.10064ec0
mov ecx, dword [esp + 0x228]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.1009c0cb
mov esp, ebp
pop ebp
ret