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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x4eb6b8]
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 0x45f23f
push 0x20
push str.at_most__d_tables_in_a_join
push eax
call fcn.00425e20
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0049b315
mov esp, ebp
pop ebp
ret
push 0x84
lea eax, [esp + 0x19c]
push 0
push eax
call fcn.004a2b10
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.0045d130
movsx edi, word [esi]
shl edi, 6
add edi, 0x58
add esp, 0xc
mov dword [esp + 0x58], 0
test edi, edi
jle 0x45f2ec
cmp dword [0x4f019c], 0
je 0x45f2bd
cmp dword [0x4f01a8], 0
jg 0x45f2ec
push edi
call fcn.0049dacb
add esp, 4
mov dword [esp + 0x58], eax
test eax, eax
jne 0x45f2e0
mov eax, 1
add dword [0x4f01a8], eax
mov dword [0x4f019c], eax
jmp 0x45f2f5
push edi
push 0
push eax
call fcn.004a2b10
add esp, 0xc
cmp dword [0x4f019c], 0
je 0x45f302
cmp dword [0x4f01a8], 0
jg 0x45f401
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 0x45f341
lea eax, [ecx + ecx + 0xa]
lea ecx, [eax*4]
lea edi, [ebx + 0x24]
mov dword [ebx + 0x20], eax
call fcn.00425af0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x58]
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x45f34f
mov dword [ecx + eax*4], 0xffffffff
or ecx, 0xffffffff
sub ecx, eax
cmp dword [esp + 0x14], 0
mov dword [edx + 0x10], ecx
je 0x45f3a6
cmp word [esi], 0
je 0x45f38a
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push 0x452af0
push eax
mov dword [esp + 0x28], 1
call fcn.00452830
add esp, 0xc
cmp dword [esp + 0x1c], 0
je 0x45f3a6
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.00454950
add esp, 0x10
movsx ecx, word [esi]
test ecx, ecx
jle 0x45f3ce
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 0x45f3b0
mov edi, dword [esp + 0x74]
dec edi
js 0x45f3ef
push edi
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x1a0]
push ecx
push esi
call fcn.0045d6f0
add esp, 0x10
dec edi
jns 0x45f3d5
xor ecx, ecx
cmp dword [0x4f019c], ecx
je 0x45f436
cmp dword [0x4f01a8], ecx
jle 0x45f436
lea edx, [esp + 0x70]
push edx
call fcn.0045cf70
mov eax, dword [esp + 0x5c]
add esp, 4
test eax, eax
je 0x45f41f
push eax
call fcn.0049b3dd
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0049b315
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 0x45f658
mov esi, dword [esp + 0x14]
fld qword [0x4dbf28]
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 0x45f5a6
mov edx, dword [esp + 0x198]
test byte [edi + 0x15], 0xa
jne 0x45f4b5
test esi, esi
jle 0x45f4b1
test byte [edi - 0xf], 0xa
jne 0x45f4b5
xor eax, eax
jmp 0x45f4ba
mov eax, 1
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x40], eax
je 0x45f4cd
test eax, eax
jne 0x45f5a6
xor ecx, ecx
test edx, edx
jle 0x45f4e5
movsx eax, word [edi + 0x16]
cmp dword [esp + ecx*4 + 0x19c], eax
je 0x45f500
inc ecx
cmp ecx, edx
jl 0x45f4d7
xor eax, eax
test dword [esp + 0x38], eax
jne 0x45f509
cmp esi, dword [esp + 0x14]
jne 0x45f593
inc dword [esp + 0x14]
jmp 0x45f593
mov eax, 1
shl eax, cl
jmp 0x45f4e7
cmp dword [esp + 0x54], 0
jne 0x45f51c
mov eax, dword [esp + 0x50]
test eax, eax
je 0x45f51c
mov eax, dword [eax]
jmp 0x45f51e
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.0045e910
fld qword [esp + 0x88]
fcomp st(1)
add esp, 0x20
fnstsw ax
test ah, 0x41
jne 0x45f583
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 0x45f585
fstp st(0)
cmp dword [esp + 0x40], 0
jne 0x45f5a6
mov edx, dword [esp + 0x198]
mov eax, dword [esp + 0x4c]
movsx ecx, word [eax]
inc esi
add edi, 0x24
cmp esi, ecx
jl 0x45f4a1
mov ecx, dword [esp + 0x18]
test ecx, 0x1000
je 0x45f5bc
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 0x45f5f0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x1c]
mov dword [eax + 0x18], edx
inc dword [ecx + 0x1c]
jmp 0x45f5f7
mov dword [eax + 0x18], 0xffffffff
mov edx, dword [esp + 0x198]
xor ecx, ecx
lea eax, [ecx + 1]
test edx, edx
jle 0x45f627
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 0x45f629
inc ecx
rol eax, 1
cmp ecx, edx
jl 0x45f617
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 0x45f463
test dword [esp + 0x44], 0x4000
je 0x45f670
mov eax, dword [esp + 0x50]
test eax, eax
je 0x45f670
mov dword [eax], 0
mov esi, dword [esp + 0x20]
mov edi, dword [esi + 0xc]
test edi, edi
jne 0x45f68b
mov edi, dword [esi]
call fcn.00432060
mov edi, eax
mov dword [esi + 0xc], eax
test edi, edi
je 0x45f6e3
cmp dword [esi + 0x34], 0
jne 0x45f6e3
mov esi, dword [edi + 0x10]
lea ecx, [esi + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], esi
jg 0x45f6ba
call fcn.004320e0
xor ecx, ecx
cmp dword [0x4f019c], ecx
je 0x45f6bc
cmp dword [0x4f01a8], ecx
jle 0x45f6bc
xor esi, esi
jmp 0x45f6db
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 0x45fd0d
jmp 0x45f714
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 0x45f8d2
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.0043ebd0
mov edi, dword [edi + 8]
add esp, 8
mov dword [esp + 0x18], eax
test edi, edi
je 0x45f769
push edi
push eax
push str._z_AS__s
call fcn.0043ebd0
add esp, 0xc
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x45f783
mov edx, dword [ecx]
push edx
push eax
push str._z_WITH_INDEX__s
call fcn.0043ebd0
add esp, 0xc
jmp 0x45f797
test byte [esi + 4], 3
je 0x45f79b
push eax
push str._z_USING_PRIMARY_KEY
call fcn.0043ebd0
add esp, 8
mov dword [esp + 0x18], eax
test dword [esi + 4], 0x1000
je 0x45f7b6
push eax
push str._z_ORDER_BY
call fcn.0043ebd0
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 0x45f7eb
mov edi, ebx
call fcn.004320e0
cmp dword [0x4f019c], 0
je 0x45f7eb
cmp dword [0x4f01a8], 0
jle 0x45f7eb
xor esi, esi
jmp 0x45f813
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 0x45f8be
cmp dword [0x4f019c], 0
je 0x45f836
cmp dword [0x4f01a8], 0
jg 0x45f8be
test esi, esi
js 0x45f83f
cmp esi, dword [ebx + 0x10]
jl 0x45f849
mov eax, dword [ebx + 0x10]
dec eax
js 0x45f8d2
lea eax, [eax + eax*4]
mov edi, dword [ecx + eax*4 + 0xc]
lea esi, [ecx + eax*4]
test edi, edi
je case.0x45f869.5
mov eax, dword [esi + 0x10]
add eax, 9
cmp eax, 8
ja case.0x45f869.5
movzx ecx, byte [eax + 0x461210]
jmp dword [ecx*4 + 0x461200]
push edi
call fcn.0049b3dd
add esp, 4
jmp case.0x45f869.5
push 0
mov ebx, edi
call fcn.00433810
add esp, 4
push edi
call fcn.0049b3dd
mov ebx, dword [esp + 0x60]
add esp, 4
jmp case.0x45f869.5
mov eax, edi
call fcn.00431fe0
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [esi + 0xc], ecx
cmp eax, ecx
jne 0x45f8b2
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
jmp 0x45f8d2
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0xffffffff
jmp 0x45f8d2
cmp dword [esp + 0x18], 0
je 0x45f8d2
mov edx, dword [esp + 0x18]
push edx
call fcn.0049b3dd
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 0x45f93d
mov ecx, dword [eax]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 1
cmp ecx, esi
jle 0x45f939
mov eax, dword [eax + 4]
add eax, 0x14
cmp dword [eax], edx
je 0x45f939
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 0x45f91e
mov ecx, dword [esp + 0x44]
cmp byte [edi + 0x1d], 0
jne 0x45fcf0
cmp dword [edi + 0x18], 0
jne 0x45fcf0
mov esi, dword [esp + 0x10]
test dword [esi + 4], 0x800
jne 0x45f9b3
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.00455310
add esp, 0xc
cmp dword [edi + 4], 0x20
jae 0x45f9d1
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0x20]
xor ecx, ecx
test eax, eax
je 0x45f995
jmp 0x45f990
inc ecx
shr eax, 1
jne 0x45f990
mov edx, dword [ebx + 0x10]
lea eax, [edx - 1]
test eax, eax
js 0x45f9d1
cmp edx, eax
jle 0x45f9d1
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x45f9d1
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 8], ecx
jmp 0x45f9d1
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.00435480
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 0x45fb65
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.0043a9b0
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 0x45fa24
mov edi, ebx
call fcn.004320e0
cmp dword [0x4f019c], 0
je 0x45fa24
cmp dword [0x4f01a8], 0
jg 0x45fa48
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 0x45fa7e
mov edi, ebx
call fcn.004320e0
cmp dword [0x4f019c], 0
je 0x45fa7e
cmp dword [0x4f01a8], 0
jle 0x45fa7e
xor esi, esi
jmp 0x45faa6
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 0x45fb51
cmp dword [0x4f019c], 0
je 0x45fac9
cmp dword [0x4f01a8], 0
jg 0x45fb51
test esi, esi
js 0x45fad2
cmp esi, dword [ebx + 0x10]
jl 0x45fadc
mov eax, dword [ebx + 0x10]
dec eax
js 0x45fb65
lea eax, [eax + eax*4]
mov edi, dword [ecx + eax*4 + 0xc]
lea esi, [ecx + eax*4]
test edi, edi
je case.0x45fafc.5
mov eax, dword [esi + 0x10]
add eax, 9
cmp eax, 8
ja case.0x45fafc.5
movzx ecx, byte [eax + 0x46122c]
jmp dword [ecx*4 + 0x46121c]
push edi
call fcn.0049b3dd
add esp, 4
jmp case.0x45fafc.5
push 0
mov ebx, edi
call fcn.00433810
add esp, 4
push edi
call fcn.0049b3dd
mov ebx, dword [esp + 0x60]
add esp, 4
jmp case.0x45fafc.5
mov eax, edi
call fcn.00431fe0
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov dword [esi + 0xc], ecx
cmp eax, ecx
jne 0x45fb45
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
jmp 0x45fb65
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0xfffffffa
jmp 0x45fb65
cmp dword [esp + 0x24], 0
je 0x45fb65
mov edx, dword [esp + 0x24]
push edx
call fcn.0049b3dd
add esp, 4
mov eax, dword [esp + 0x10]
test dword [eax + 4], 0x800
je 0x45fbcd
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 0x45fba9
mov edi, ebx
call fcn.004320e0
cmp dword [0x4f019c], 0
je 0x45fba5
cmp dword [0x4f01a8], 0
jg 0x45fbcd
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 0x45fc57
mov edx, dword [esi]
mov dword [esp + 0x3c], edx
cmp dword [0x4f019c], edi
je 0x45fbee
cmp dword [0x4f01a8], edi
jg 0x45fc11
push 0x248
call fcn.0049dacb
mov edi, eax
add esp, 4
test edi, edi
jne 0x45fc15
mov eax, 1
add dword [0x4f01a8], eax
mov dword [0x4f019c], eax
xor edi, edi
jmp 0x45fc4c
push 0x248
push 0
push edi
call fcn.004a2b10
mov eax, dword [esp + 0x48]
mov dword [edi], eax
mov ecx, dword [eax + 0x48]
add esp, 0xc
test ecx, ecx
je 0x45fc35
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 0x45fcf0
cmp dword [esi + 0x34], 0
mov edx, dword [esi]
mov dword [esp + 0x3c], edx
jne 0x45fcb6
mov esi, dword [edi + 0x10]
lea ecx, [esi + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], esi
jg 0x45fc8c
call fcn.004320e0
cmp dword [0x4f019c], 0
je 0x45fc8c
cmp dword [0x4f01a8], 0
jle 0x45fc8c
xor esi, esi
jmp 0x45fcac
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 0x45fcf0
mov edx, dword [esi + 0x30]
mov ecx, dword [esp + 0x14]
test edx, ecx
jne 0x45fcf0
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 0x45fcf0
push esi
call fcn.0043a0c0
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 0x45f710
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 0x4611d0
jmp 0x45fd44
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 0x45fe7a
cmp dword [0x4f019c], 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 0x45fdcc
cmp dword [0x4f01a8], 0
jle 0x45fdcc
mov dword [esp + 0x14], 0
jmp 0x45fe63
test eax, eax
jne 0x45fe35
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x45fe2b
cmp dword [0x4f019c], eax
je 0x45fde8
cmp dword [0x4f01a8], eax
jg 0x45fe2b
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0049dacb
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x45fe17
mov ecx, dword [esp + 0x14]
mov eax, 1
add dword [0x4f01a8], eax
mov dword [0x4f019c], eax
mov dword [esp + 0x14], ecx
jmp 0x45fe5c
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
push edx
push 0
push eax
call fcn.004a2b10
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], ecx
jmp 0x45fe5c
mov edx, dword [esp + 0x24]
push edx
push eax
call fcn.0049dc84
add esp, 8
test eax, eax
jne 0x45fe58
mov ecx, 1
add dword [0x4f01a8], ecx
mov dword [0x4f019c], ecx
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0
jne 0x45fe73
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x45fe73
push eax
call fcn.0049b3dd
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x45fe88
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 0x45ff61
mov ecx, dword [0x4f019c]
lea eax, [eax + eax + 0xa]
mov dword [ebx + 0x20], eax
lea edi, [eax*4]
mov eax, dword [ebx + 0x24]
test ecx, ecx
je 0x45fed4
cmp dword [0x4f01a8], 0
jle 0x45fed4
xor edi, edi
jmp 0x45ff4a
test eax, eax
jne 0x45ff25
mov dword [esp + 0x1c], eax
test edi, edi
jle 0x45ff1f
test ecx, ecx
je 0x45feec
cmp dword [0x4f01a8], eax
jg 0x45ff1f
push edi
call fcn.0049dacb
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x45ff13
mov edi, dword [esp + 0x1c]
mov eax, 1
add dword [0x4f01a8], eax
mov dword [0x4f019c], eax
jmp 0x45ff46
push edi
push 0
push eax
call fcn.004a2b10
add esp, 0xc
mov edi, dword [esp + 0x1c]
jmp 0x45ff46
push edi
push eax
call fcn.0049dc84
add esp, 8
test eax, eax
jne 0x45ff44
mov ecx, 1
add dword [0x4f01a8], ecx
mov dword [0x4f019c], ecx
mov edi, eax
test edi, edi
jne 0x45ff5a
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x45ff5a
push eax
call fcn.0049b3dd
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword [ebx + 0x24], edi
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x45ff6f
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 0x460002
mov eax, dword [esp + 0x44]
test byte [eax - 0xf], 8
je 0x460002
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x20], 0
jne 0x45ff9f
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 0x45ffda
mov edi, ebx
call fcn.004320e0
cmp dword [0x4f019c], 0
je 0x45ffda
cmp dword [0x4f01a8], 0
jg 0x460002
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 0x4600e9
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.0045d480
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
call fcn.0045ef90
mov esi, dword [ebx + 0x10]
add esp, 0x1c
lea ecx, [esi + 1]
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], esi
jg 0x460062
mov edi, ebx
call fcn.004320e0
cmp dword [0x4f019c], 0
je 0x460062
cmp dword [0x4f01a8], 0
jg 0x46008a
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 0x4600b1
mov edi, ebx
call fcn.004320e0
cmp dword [0x4f019c], 0
je 0x4600b1
cmp dword [0x4f01a8], 0
jg 0x4600d9
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 0x461081
test al, 2
je 0x46048d
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.0045d480
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.0045d480
add esp, 0x30
cmp dword [esp + 0x34], 0
mov dword [esp + 0x24], eax
je 0x460151
mov dword [esp + 0x24], edi
mov edi, eax
mov dword [esp + 0x40], edi
test edi, edi
je 0x460240
mov edi, dword [edi]
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.00453bd0
mov al, byte [edi]
add esp, 8
cmp al, 0x45
je 0x46017e
mov dword [esp + 0x1c], 0
cmp al, 0x44
jne 0x460186
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 0x4601ad
mov edi, ebx
call fcn.004320e0
cmp dword [0x4f019c], 0
je 0x4601ad
cmp dword [0x4f01a8], 0
jg 0x4601d5
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 0x4601fc
mov edi, ebx
call fcn.004320e0
cmp dword [0x4f019c], 0
je 0x4601fc
cmp dword [0x4f01a8], 0
jg 0x460231
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.0045ee00
jmp 0x4602a4
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 0x46026b
mov edi, ebx
call fcn.004320e0
cmp dword [0x4f019c], 0
je 0x46026b
cmp dword [0x4f01a8], 0
jg 0x4602a4
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 0x460361
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.00453bd0
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 0x4602fe
mov edi, ebx
call fcn.004320e0
cmp dword [0x4f019c], 0
je 0x4602fe
cmp dword [0x4f01a8], 0
jg 0x460326
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 0x460343
cmp al, 0x44
je 0x460343
xor eax, eax
cmp dword [esp + 0x34], eax
setne al
lea eax, [eax + eax + 0x44]
jmp 0x460350
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.0045ee00
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 0x461081
mov esi, dword [ebx + 0x10]
lea ecx, [esi + 1]
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], esi
jg 0x4603b1
mov edi, ebx
call fcn.004320e0
xor edi, edi
cmp dword [0x4f019c], edi
je 0x4603b3
cmp dword [0x4f01a8], edi
jg 0x4603d6
jmp 0x4603b3
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 0x46040a
mov edi, ebx
call fcn.004320e0
cmp dword [0x4f019c], 0
je 0x460408
cmp dword [0x4f01a8], 0
jg 0x46042f
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 0x460431
xor edi, edi
mov esi, dword [ebx + 0x10]
lea ecx, [esi + 1]
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], esi
jg 0x46045e
mov edi, ebx
call fcn.004320e0
cmp dword [0x4f019c], 0
je 0x46045c
cmp dword [0x4f01a8], 0
jg 0x461081
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 0x461081
test al, 0x20
je 0x460bbd
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.0045f040
xor esi, esi
add esp, 0xc
mov dword [esp + 0x40], esi
cmp edi, esi
jle 0x460533
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 0x460507
call fcn.004320e0
cmp dword [0x4f019c], esi
je 0x460507
cmp dword [0x4f01a8], esi
jg 0x46052b
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 0x4604e0
jmp 0x460537
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 0x460562
mov ecx, 0x18
mov dword [esp + 0x48], 0x24
jmp 0x46057d
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 0x4605e0
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.0045d480
mov ebx, dword [esp + 0x38]
mov esi, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
push edx
push ebx
call fcn.00453bd0
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.0045ee00
mov dword [esp + 0x14], 0x78
xor esi, esi
jmp 0x460607
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 0x46070d
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.0045ee50
add esp, 0x10
cmp dword [esp + 0x34], esi
je 0x4606aa
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 0x46067b
call fcn.004320e0
cmp dword [0x4f019c], esi
je 0x460677
cmp dword [0x4f01a8], esi
jg 0x460761
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 0x460761
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 0x4606e0
call fcn.004320e0
cmp dword [0x4f019c], esi
je 0x4606e0
cmp dword [0x4f01a8], esi
jg 0x460761
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 0x460761
cmp dword [esp + 0x34], esi
je 0x46075d
mov ebx, dword [edi + 0x10]
lea ecx, [ebx + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], ebx
jg 0x460736
call fcn.004320e0
cmp dword [0x4f019c], esi
je 0x460736
cmp dword [0x4f01a8], esi
jg 0x46075d
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 0x4607be
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.0045d480
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push eax
push ebx
call fcn.00453bd0
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.0045ee00
xor esi, esi
jmp 0x4607c6
mov dword [esp + 0x40], 1
cmp dword [esp + 0x24], esi
jg 0x46082b
cmp dword [esp + 0x44], esi
jne 0x46082b
cmp dword [esp + 0x34], esi
je 0x4607e5
mov dword [esp + 0x14], 0x63
jmp 0x460916
mov ebx, dword [edi + 0x10]
lea ecx, [ebx + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], ebx
jg 0x46080c
call fcn.004320e0
cmp dword [0x4f019c], esi
je 0x46080c
cmp dword [0x4f01a8], esi
jg 0x460916
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 0x460909
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.0045ee50
add esp, 0x10
cmp dword [esp + 0x34], esi
je 0x4608b7
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 0x460886
call fcn.004320e0
cmp dword [0x4f019c], esi
je 0x460886
cmp dword [0x4f01a8], esi
jg 0x4608ad
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 0x460916
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 0x4608ec
call fcn.004320e0
cmp dword [0x4f019c], esi
je 0x4608ec
cmp dword [0x4f01a8], esi
jg 0x460916
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 0x460a6d
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 0x460953
call fcn.004320e0
cmp dword [0x4f019c], esi
je 0x460953
cmp dword [0x4f01a8], esi
jg 0x460976
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 0x460999
call fcn.004320e0
cmp dword [0x4f019c], esi
je 0x460999
cmp dword [0x4f01a8], esi
jg 0x4609c3
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 0x4609cf
cmp dword [esp + 0x34], esi
je 0x4609e3
cmp dword [esp + 0x40], esi
jne 0x460a6d
cmp dword [esp + 0x34], esi
je 0x460a6d
mov ecx, dword [edi + 0x18]
cmp ecx, esi
je 0x460a6d
cmp dword [0x4f019c], esi
je 0x4609fe
cmp dword [0x4f01a8], esi
jg 0x460a6d
mov eax, dword [edi + 0x10]
dec eax
js 0x460a6d
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.0x460a28.5
mov ecx, dword [eax + 0x10]
add ecx, 9
cmp ecx, 8
ja case.0x460a28.5
movzx ecx, byte [ecx + 0x461248]
jmp dword [ecx*4 + 0x461238]
push ebx
call fcn.0049b3dd
add esp, 4
jmp 0x460a5b
push esi
call fcn.00433810
add esp, 4
push ebx
call fcn.0049b3dd
mov edi, dword [esp + 0x60]
add esp, 4
xor esi, esi
jmp 0x460a5b
mov eax, ebx
call fcn.00431fe0
mov eax, dword [esp + 0x1c]
mov dword [eax + 0xc], 0x4d77f0
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 0x460a90
call fcn.004320e0
cmp dword [0x4f019c], esi
je 0x460a90
cmp dword [0x4f01a8], esi
jg 0x460ab3
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 0x460ad6
call fcn.004320e0
cmp dword [0x4f019c], esi
je 0x460ad6
cmp dword [0x4f01a8], esi
jg 0x460afd
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 0x460b93
mov ebx, dword [edi + 0x10]
lea ecx, [ebx + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], ebx
jg 0x460b2a
call fcn.004320e0
cmp dword [0x4f019c], esi
je 0x460b2a
cmp dword [0x4f01a8], esi
jg 0x460b4d
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 0x460b70
call fcn.004320e0
cmp dword [0x4f019c], esi
je 0x460b70
cmp dword [0x4f01a8], esi
jg 0x460b93
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 0x461081
test al, 0x10
je 0x461014
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.0045f040
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.0045ee50
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 0x460c2f
call fcn.004320e0
cmp dword [0x4f019c], ebx
je 0x460c2f
cmp dword [0x4f01a8], ebx
jg 0x460c51
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 0x460d57
cmp dword [edi + 0x14], esi
jg 0x460c7e
call fcn.004320e0
cmp dword [0x4f019c], ebx
je 0x460c7e
cmp dword [0x4f01a8], ebx
jg 0x460ca4
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 0x460cd8
call fcn.004320e0
cmp dword [0x4f019c], ebx
je 0x460cd8
cmp dword [0x4f01a8], ebx
jle 0x460cd8
mov dword [esp + 0x14], ebx
jmp 0x460cfe
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 0x460d21
call fcn.004320e0
cmp dword [0x4f019c], ebx
je 0x460d21
cmp dword [0x4f01a8], ebx
jg 0x460d47
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 0x460edc
cmp dword [edi + 0x14], esi
jg 0x460d71
call fcn.004320e0
cmp dword [0x4f019c], ebx
je 0x460d71
cmp dword [0x4f01a8], ebx
jg 0x460d97
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 0x460dcb
call fcn.004320e0
cmp dword [0x4f019c], ebx
je 0x460dcb
cmp dword [0x4f01a8], ebx
jle 0x460dcb
mov dword [esp + 0x14], ebx
jmp 0x460df1
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 0x460e18
call fcn.004320e0
cmp dword [0x4f019c], ebx
je 0x460e18
cmp dword [0x4f01a8], ebx
jle 0x460e18
xor eax, eax
jmp 0x460e40
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 0x460ed1
cmp dword [0x4f019c], ebx
je 0x460e5b
cmp dword [0x4f01a8], ebx
jg 0x460ed1
cmp eax, ebx
jl 0x460e64
cmp eax, dword [edi + 0x10]
jl 0x460e6a
mov eax, dword [edi + 0x10]
dec eax
js 0x460ed1
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.0x460e8e.5
mov ecx, dword [eax + 0x10]
add ecx, 9
cmp ecx, 8
ja case.0x460e8e.5
movzx ecx, byte [ecx + 0x461264]
jmp dword [ecx*4 + 0x461254]
push esi
call fcn.0049b3dd
add esp, 4
jmp 0x460ebf
push ebx
mov ebx, esi
call fcn.00433810
add esp, 4
push esi
call fcn.0049b3dd
add esp, 4
xor ebx, ebx
jmp 0x460ebf
mov eax, esi
call fcn.00431fe0
mov eax, dword [esp + 0x1c]
mov dword [eax + 0xc], 0x4d77f0
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 0x460eff
call fcn.004320e0
cmp dword [0x4f019c], ebx
je 0x460eff
cmp dword [0x4f01a8], ebx
jg 0x460f21
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 0x460f44
call fcn.004320e0
cmp dword [0x4f019c], ebx
je 0x460f44
cmp dword [0x4f01a8], ebx
jg 0x460f6a
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 0x460ffe
mov esi, dword [edi + 0x10]
lea ecx, [esi + 1]
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], esi
jg 0x460f97
call fcn.004320e0
cmp dword [0x4f019c], ebx
je 0x460f97
cmp dword [0x4f01a8], ebx
jg 0x460fb9
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 0x460fdc
call fcn.004320e0
cmp dword [0x4f019c], ebx
je 0x460fdc
cmp dword [0x4f01a8], ebx
jg 0x460ffe
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 0x461081
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 0x461051
mov edi, ebx
call fcn.004320e0
cmp dword [0x4f019c], 0
je 0x461051
cmp dword [0x4f01a8], 0
jle 0x461051
xor ecx, ecx
jmp 0x46107d
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 0x4610a5
mov esi, dword [esp + 0x30]
cmp dword [esp + eax*4 + 0x19c], esi
je 0x4610a7
inc eax
rol ecx, 1
cmp eax, edx
jl 0x461095
xor ecx, ecx
mov eax, dword [esp + 0x74]
not ecx
and dword [esp + 0x38], ecx
mov esi, eax
test eax, eax
jle 0x461101
mov edi, dword [esp + 0x7c]
add edi, 0xc
mov edi, edi
test byte [edi], 6
jne 0x4610f9
mov eax, dword [esp + 0x38]
test dword [edi + 0xc], eax
jne 0x4610f9
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0xc], 0
mov eax, dword [edi - 0xc]
je 0x4610e1
test byte [eax + 2], 1
je 0x4610f9
mov edx, dword [esp + 0x64]
push 1
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.00454950
add esp, 0x10
or byte [edi], 4
dec esi
add edi, 0x1c
test esi, esi
jg 0x4610c0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x68], eax
test eax, eax
je 0x4611b3
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 0x461143
mov edi, ebx
call fcn.004320e0
cmp dword [0x4f019c], 0
je 0x461143
cmp dword [0x4f01a8], 0
jg 0x46116b
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 0x4611b3
mov edi, dword [esp + 0x7c]
add edi, 0xc
lea ebx, [ebx]
test byte [edi], 6
jne 0x4611a9
mov edx, dword [esp + 0x38]
test dword [edi + 0xc], edx
jne 0x4611a9
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.00454950
add esp, 0x10
or byte [edi], 4
inc esi
add edi, 0x1c
cmp esi, dword [esp + 0x74]
jl 0x461180
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 0x45fd40
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x58]
lea ecx, [esp + 0x70]
push ecx
mov dword [esi + 0xc], eax
call fcn.0045cf70
mov ecx, dword [esp + 0x228]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0049b315
mov esp, ebp
pop ebp
ret