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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
push esi
push edi
mov edi, ecx
mov dword [esp + 0x90], 0
mov eax, edx
mov dword [esp + 0xc], edi
xor edx, edx
mov dword [esp + 0x60], eax
xorps xmm0, xmm0
mov dword [esp + 0x64], edx
mov esi, dword [edi]
mov dword [esp + 0x44], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x4c], edx
movq qword [esp + 0xa8], xmm0
mov dword [esp + 0x20], esi
cmp dword [edi + 0x24], edx
jne 0x47291c
cmp byte [esi + 0x45], dl
jne 0x47291c
mov edx, eax
call fcn.00454cf0
mov esi, eax
mov dword [esp + 8], esi
test esi, esi
je 0x472916
mov ecx, dword [edi]
mov edx, dword [esi + 0x40]
call fcn.00464060
mov dword [esp + 0x24], eax
mov edx, esi
lea eax, [esp + 0x6c]
mov ecx, edi
push eax
mov eax, dword [ebp + 8]
push eax
push 0x6e
call fcn.004703c0
add esp, 0xc
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0xc]
mov edx, esi
mov ecx, edi
mov dword [esp + 0x84], eax
call fcn.00450a70
test eax, eax
jne 0x472916
push dword [esp + 0x6c]
mov edx, esi
mov ecx, edi
call fcn.00454d90
add esp, 4
test eax, eax
jne 0x472916
mov eax, dword [edi + 0x28]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x14], eax
mov dword [esp + 0x78], eax
mov dword [ecx + 0x38], eax
inc eax
inc dword [edi + 0x28]
test byte [esi + 0x2a], 0x20
mov edx, dword [edi + 0x28]
mov dword [esp + 0x68], eax
jne 0x470fd7
mov dword [esp + 0x30], 0
jmp 0x470fe2
mov ecx, esi
call fcn.0044ec20
mov dword [esp + 0x30], eax
mov eax, dword [esp + 8]
xor esi, esi
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x47101f
nop
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
jne 0x47100d
cmp dword [esp + 0x30], 0
je 0x47100d
mov eax, edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x14], eax
mov dword [edx + 0x38], eax
inc dword [edi + 0x28]
inc esi
mov ecx, dword [ecx + 0x14]
mov edx, dword [edi + 0x28]
test ecx, ecx
jne 0x470ff0
mov eax, dword [esp + 8]
movsx eax, word [eax + 0x22]
mov ecx, dword [esp + 0x20]
add eax, esi
push 0
lea eax, [eax*4 + 2]
add eax, esi
push eax
call fcn.00410600
mov edx, eax
add esp, 8
mov dword [esp + 0x10], edx
test edx, edx
je 0x472918
mov eax, dword [esp + 8]
movsx eax, word [eax + 0x22]
lea eax, [edx + eax*4]
lea ecx, [eax + esi*4]
mov dword [esp + 0x8c], eax
lea eax, [esi + 1]
mov dword [esp + 0x5c], ecx
push eax
push 1
push ecx
mov dword [esp + 0xa0], eax
call fcn.005cf9e0
mov eax, dword [esp + 0x68]
add esp, 0xc
xor ecx, ecx
mov byte [eax + esi + 1], 0
xor eax, eax
mov esi, dword [esp + 8]
cmp ax, word [esi + 0x22]
jge 0x4710b4
mov edi, dword [esp + 0x10]
nop word [eax + eax]
mov dword [edi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [esi + 0x22]
cmp ecx, eax
jl 0x4710a0
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x60]
xorps xmm0, xmm0
mov edx, dword [ebp + 8]
xor cl, cl
movaps xmmword [esp + 0xb0], xmm0
mov dword [esp + 0xb4], eax
xor al, al
movaps xmmword [esp + 0xc0], xmm0
cmp dword [edx], 0
mov dword [esp + 0xb0], edi
mov dword [esp + 0x48], eax
mov byte [esp + 0x1b], cl
mov dword [esp + 0x38], 0
jle 0x47132c
xor esi, esi
xor edi, edi
mov dword [esp + 0x28], esi
mov edx, dword [edx + 4]
lea ecx, [esp + 0xb0]
mov edx, dword [edx + esi]
call fcn.00442730
test eax, eax
jne 0x47137a
mov edx, dword [esp + 8]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
movsx eax, word [edx + 0x22]
test eax, eax
jle 0x4711c5
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov dword [esp + 0x54], ecx
mov eax, dword [eax + 4]
add eax, esi
mov dword [esp + 0x3c], eax
mov edi, dword [eax + 4]
mov eax, ecx
mov dword [esp + 0x58], edi
nop dword [eax]
mov esi, dword [eax]
movzx eax, byte [edi]
mov dl, byte [esi]
movzx ecx, byte [eax + 0x630888]
movzx eax, dl
movzx eax, byte [eax + 0x630888]
sub eax, ecx
jne 0x47119b
sub edi, esi
nop
test dl, dl
je 0x471193
movzx eax, byte [edi + esi + 1]
inc esi
movzx ecx, byte [eax + 0x630888]
mov dl, byte [esi]
movzx eax, dl
movzx eax, byte [eax + 0x630888]
sub eax, ecx
je 0x471170
jmp 0x471197
test eax, eax
je 0x47120d
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x54]
inc ecx
add eax, 0x10
mov dword [esp + 0x2c], ecx
movsx edx, word [esi + 0x22]
mov dword [esp + 0x54], eax
cmp ecx, edx
jl 0x471150
mov edi, dword [esp + 0x38]
mov edx, esi
mov esi, dword [esp + 0x28]
movsx eax, word [edx + 0x22]
cmp ecx, eax
jl 0x471273
cmp dword [esp + 0x30], 0
jne 0x471341
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add esi, eax
mov ecx, dword [esi + 4]
call fcn.004451b0
test eax, eax
je 0x471341
mov eax, dword [esi]
or edi, 0xffffffff
mov dword [esp + 0x2c], edi
mov edx, str.ROWID
mov byte [esp + 0x1b], 1
mov dword [esp + 0x64], eax
jmp 0x471286
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
movsx eax, word [edx + 0x20]
cmp ecx, eax
jne 0x471239
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov byte [esp + 0x1b], 1
mov eax, dword [eax]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x10]
mov dword [eax + ecx*4], edi
jmp 0x4711c1
cmp dword [esp + 0x30], 0
je 0x471263
mov esi, edx
mov eax, ecx
add eax, eax
mov edx, dword [esi + 4]
test byte [edx + eax*8 + 0xf], 1
mov edx, 1
mov eax, dword [esp + 0x48]
movzx eax, al
cmovne eax, edx
mov edx, esi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4], edi
jmp 0x4711c1
test ecx, ecx
jns 0x47127e
mov edx, str.ROWID
jmp 0x471286
mov eax, dword [edx + 4]
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add ecx, ecx
mov eax, dword [eax + 0x10]
mov esi, dword [eax + ecx*8]
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
cmp byte [eax + 0x99], 0
jne 0x471301
cmp byte [ecx + 0x19a], 0
jne 0x471301
mov ecx, dword [eax + 0x128]
test ecx, ecx
je 0x471301
mov edi, dword [esp + 0xc]
push dword [edi + 0x1c0]
push esi
push edx
mov edx, dword [esp + 0x14]
push dword [edx]
push 0x17
push dword [eax + 0x12c]
call ecx
mov edi, dword [esp + 0x44]
add esp, 0x18
cmp eax, 1
je 0x471383
test eax, eax
je 0x4712f1
cmp eax, 2
jne 0x471371
cmp eax, 2
jne 0x471301
mov eax, dword [esp + 0x10]
mov dword [eax + edi*4], 0xffffffff
mov edi, dword [esp + 0x38]
mov edx, dword [ebp + 8]
inc edi
mov esi, dword [esp + 0x28]
add esi, 0x18
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], esi
cmp edi, dword [edx]
jl 0x471101
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x48]
mov cl, byte [esp + 0x1b]
test byte [esi + 0x2a], 0x10
lea edx, [ecx + eax]
mov byte [esp + 0x54], dl
je 0x4713a5
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x4713bf
mov esi, dword [esp + 0xc]
lea ecx, [edi + edi*2]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
push dword [eax + ecx*8 + 4]
push str.no_such_column:__s
push esi
call fcn.00413090
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov byte [esi + 0x11], 1
mov esi, dword [esp + 0x20]
jmp 0x47291f
mov ecx, dword [esp + 0xc]
call fcn.0044d6b0
mov edx, dword [esp + 0x10]
jmp 0x472918
mov esi, dword [esp + 0xc]
push str.not_authorized
push esi
call fcn.00413090
mov edx, dword [esp + 0x18]
add esp, 8
mov dword [esi + 0xc], 0x17
jmp 0x472918
xorps xmm0, xmm0
movlpd qword [esp + 0x98], xmm0
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
mov edi, dword [esp + 0x60]
mov dword [edi + 0x48], eax
mov eax, edi
mov dword [eax + 0x4c], ecx
mov ecx, dword [esp + 0xc]
movzx eax, dl
mov edx, esi
push eax
push dword [esp + 0x14]
mov dword [esp + 0x60], eax
call fcn.0045b140
mov edi, dword [esi + 8]
xor ecx, ecx
add esp, 8
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], ecx
test edi, edi
je 0x471495
nop word [eax + eax]
cmp byte [esp + 0x54], 0
jne 0x471460
test eax, eax
jne 0x471460
cmp dword [edi + 0x24], eax
jne 0x471460
cmp edi, dword [esp + 0x30]
je 0x471460
movzx esi, word [edi + 0x32]
xor edx, edx
mov dword [esp + 0x3c], eax
test esi, esi
je 0x47146e
mov ecx, dword [edi + 4]
movzx eax, word [ecx]
test ax, ax
js 0x471450
mov esi, dword [esp + 0x10]
cwde
cmp dword [esi + eax*4], 0
movzx esi, word [edi + 0x32]
jge 0x471450
inc edx
add ecx, 2
cmp edx, esi
jl 0x471427
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
jmp 0x47146e
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
inc dword [edx + 0x2c]
mov eax, dword [edx + 0x2c]
jmp 0x47146a
mov eax, dword [esp + 0xc]
inc dword [eax + 0x2c]
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x471477
mov edx, dword [esp + 0x5c]
mov byte [ecx + edx + 1], 0
mov edx, dword [esp + 0x8c]
mov dword [edx + ecx*4], eax
inc ecx
mov edi, dword [edi + 0x14]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
test edi, edi
jne 0x471400
mov ecx, dword [esp + 0xc]
mov edi, dword [ecx + 8]
test edi, edi
jne 0x4714b3
call fcn.00467bc0
mov ecx, dword [esp + 0xc]
mov edi, eax
test edi, edi
je 0x47137a
cmp byte [ecx + 0x12], 0
jne 0x4714c0
or dword [edi + 0x90], 0x10
mov eax, dword [ecx + 0x7c]
mov edx, ecx
test eax, eax
mov esi, ecx
mov ecx, dword [esp + 0x24]
cmovne edx, eax
cmovne esi, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edx + 0x60]
test ecx, eax
jne 0x4714f7
mov eax, dword [esp + 0x24]
bts ecx, eax
mov dword [edx + 0x60], ecx
cmp eax, 1
jne 0x4714f7
mov ecx, edx
call fcn.004535b0
mov eax, dword [esi + 0x5c]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x24]
bts eax, ecx
or byte [esi + 0x14], 1
mov dword [esi + 0x5c], eax
test byte [edx + 0x2a], 0x10
mov esi, dword [esp + 0xc]
jne 0x471588
mov eax, dword [esi + 0x2c]
inc eax
cmp byte [esp + 0x48], 0
mov dword [esp + 0x34], eax
lea ecx, [eax + 1]
mov dword [esp + 0x40], ecx
mov dword [esi + 0x2c], ecx
mov dword [esp + 0x1c], ecx
jne 0x471542
cmp dword [esp + 0x50], 0
jne 0x471542
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x471556
lea eax, [ecx + 1]
mov dword [esp + 0x7c], eax
movsx eax, word [edx + 0x22]
add eax, ecx
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x2c]
cmp byte [esp + 0x54], 0
jne 0x471568
cmp dword [esp + 0x50], 0
jne 0x471568
test eax, eax
je 0x471572
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x40], eax
mov ecx, dword [esi + 0x2c]
lea eax, [ecx + 1]
mov dword [esp + 0x80], eax
movsx eax, word [edx + 0x22]
add eax, ecx
mov dword [esi + 0x2c], eax
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x4715c0
mov eax, dword [esi + 0x1c0]
mov ecx, esi
push dword [esp + 0x14]
mov dword [esp + 0xac], eax
mov eax, dword [edx]
push dword [ebp + 0xc]
mov dword [esp + 0xb4], esi
mov dword [esi + 0x1c0], eax
call fcn.00454e20
add esp, 8
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0xb0]
call fcn.00442730
test eax, eax
jne 0x47137a
mov ecx, dword [esp + 8]
mov al, byte [ecx + 0x2a]
test al, 0x10
je 0x471610
push dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push dword [ebp + 0xc]
mov edx, dword [esp + 0x68]
push dword [esp + 0x18]
push dword [esp + 0x70]
push edi
push ecx
mov ecx, esi
call fcn.004729b0
mov edx, dword [esp + 0x28]
add esp, 0x18
mov esi, dword [esp + 0x20]
jmp 0x47291f
test al, 0x20
jne 0x4716f5
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x471641
push dword [esp + 0x1c]
mov edx, 0x4f
mov ecx, edi
push dword [esp + 0x38]
push 0
call fcn.0042dfe0
add esp, 0xc
jmp 0x47167b
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x4f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov ecx, esi
push 0x404
push 0
push 0
push dword [ebp + 0xc]
call fcn.0047f7d0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x47137a
mov ecx, dword [esi + 0x14]
mov edx, 0x7b
push dword [esp + 0x1c]
movzx eax, byte [esi + 0x2d]
push dword [esp + 0x18]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x44], ecx
mov ecx, edi
mov dword [esp + 0x40], eax
call fcn.0042e190
add esp, 8
cmp dword [esp + 0x38], 0
jne 0x4716ee
push dword [esp + 0x1c]
mov edx, 0x8e
mov ecx, edi
push dword [esp + 0x38]
call fcn.0042e190
add esp, 8
mov ecx, esi
jmp 0x471963
mov eax, dword [esp + 0x30]
movzx ecx, word [eax + 0x32]
mov eax, dword [esi + 0x2c]
movsx edx, cx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], edx
lea esi, [eax + 1]
inc eax
add eax, edx
mov dword [esp + 0x24], esi
mov dword [ecx + 0x2c], eax
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x44], eax
inc eax
mov dword [ecx + 0x28], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x47174f
push 0
push esi
push 0
mov edx, 0x4f
mov ecx, edi
call fcn.0042dfe0
mov edx, dword [esp + 0x34]
add esp, 0xc
jmp 0x471785
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x4f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0xc]
mov esi, dword [edi + 0x88]
mov dword [esp + 0xa4], esi
cmp dword [eax + 0x30], esi
jg 0x4717b9
push 0
push edx
push dword [esp + 0x4c]
mov edx, 0x6b
mov ecx, edi
call fcn.0042dfe0
add esp, 0xc
mov dword [esp + 0xa4], eax
jmp 0x4717ef
lea eax, [esi + 1]
mov dword [edi + 0x88], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x58]
mov esi, dword [esp + 0x44]
mov word [eax + ecx*4], 0x6b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
call fcn.0042efa0
push dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x10]
push 4
push 0
push 0
push dword [ebp + 0xc]
call fcn.0047f7d0
add esp, 0x14
mov dword [esp + 0x98], eax
test eax, eax
je 0x47137a
mov ecx, dword [eax + 0x14]
xor esi, esi
mov dword [esp + 0x74], ecx
mov ecx, dword [eax + 0x18]
movzx eax, byte [eax + 0x2d]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], ecx
test eax, eax
jle 0x47187e
nop dword [eax + eax]
mov eax, dword [esp + 0x24]
mov ecx, edi
mov edx, dword [esp + 8]
add eax, esi
push eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [esp + 0x1c]
call fcn.00447900
mov eax, dword [esp + 0x34]
inc esi
add esp, 0xc
cmp esi, eax
jl 0x471850
cmp dword [esp + 0x38], 0
je 0x4718d1
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
jne 0x4718b9
mov eax, dword [esp + 0xa4]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.0042ec40
add esp, 4
mov word [esi], 0xa1
mov dword [esi + 0x10], 0
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x88], eax
mov dword [esp + 0x4c], esi
jmp 0x47195c
mov edx, dword [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0045be10
mov esi, dword [esp + 0x54]
add esp, 4
mov edx, 0x63
mov ecx, edi
push eax
push esi
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.0042e450
mov eax, dword [edi + 0xc]
add esp, 0x14
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x471926
push 0
push esi
push dword [esp + 0x4c]
mov edx, 0x7e
mov ecx, edi
call fcn.0042dfe0
add esp, 0xc
jmp 0x47195c
mov edx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x7e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x98]
call fcn.00480290
mov eax, dword [esp + 0x20]
test byte [eax + 0x18], 0x80
je 0x4719e3
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x80], 0
jne 0x4719e3
inc dword [eax + 0x2c]
mov edx, dword [eax + 0x2c]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
mov dword [esp + 0x70], edx
cmp dword [eax + 0x30], ecx
jg 0x4719ad
push 0
push edx
push 0
mov edx, 0x4c
mov ecx, edi
call fcn.0042dfe0
add esp, 0xc
jmp 0x4719e3
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x4c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [edi + 0xc]
mov edx, dword [esi + 0x48]
mov dword [esp + 0x28], edx
lea eax, [edx + 1]
mov dword [esi + 0x48], eax
lea eax, [edx - 1]
test edx, eax
jne 0x471a18
mov ecx, dword [esi]
lea eax, [edx*8 + 4]
mov edx, dword [esi + 0x4c]
push 0
push eax
call fcn.004107a0
mov edx, dword [esp + 0x30]
add esp, 8
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x471a26
mov dword [eax + edx*4], 0xffffffff
cmp dword [esp + 0x84], 0
not edx
mov dword [esp + 0x28], edx
jne 0x471ac4
cmp dword [ebp + 0x10], 5
je 0x471a5f
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x471a78
nop dword [eax + eax]
cmp byte [eax + 0x36], 5
je 0x471a5f
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x471a50
jmp 0x471a78
push dword [esp + 0x94]
push 1
push dword [esp + 0x64]
call fcn.005cf9e0
mov ecx, dword [esp + 0x14]
add esp, 0xc
cmp dword [esp + 0x38], 0
mov esi, dword [esp + 0x78]
je 0x471aa3
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x5c]
test eax, eax
js 0x471a95
sub eax, esi
mov byte [eax + edx], 0
mov eax, dword [esp + 0x3c]
test eax, eax
js 0x471aa3
sub eax, esi
mov byte [eax + edx], 0
push 0
push 0
push dword [esp + 0x64]
mov edx, ecx
mov ecx, dword [esp + 0x18]
push esi
push 0
push 0x69
call fcn.0045f010
mov edx, dword [esp + 0x40]
add esp, 0x18
jmp 0x471ac8
mov esi, dword [esp + 0x78]
cmp dword [esp + 0x38], 0
je 0x471b6b
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x14]
sub eax, esi
cmp byte [eax + ecx], 0
je 0x471b09
cmp dword [esp + 0x84], 0
jne 0x471b09
push dword [esp + 0x88]
push dword [esp + 0x50]
push edx
push ecx
mov edx, 0x1e
mov ecx, edi
call fcn.0042e5a0
add esp, 0x10
cmp dword [esp + 0x30], 0
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x1c]
cmovne edx, dword [esp + 0x4c]
mov ecx, dword [edi + 0x88]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x24], esi
cmp dword [eax + 0x30], ecx
jg 0x471b45
push 0
push esi
push edx
mov edx, 0x22
mov ecx, edi
call fcn.0042dfe0
add esp, 0xc
jmp 0x471d7e
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x22
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
jmp 0x471d6d
cmp dword [esp + 0x30], 0
je 0x471cb3
mov esi, dword [edi + 0xc]
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x24], ecx
lea eax, [ecx + 1]
mov dword [esi + 0x48], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x471ba7
mov edx, dword [esi + 0x4c]
lea eax, [ecx*8 + 4]
mov ecx, dword [esi]
push 0
push eax
call fcn.004107a0
add esp, 8
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x4c]
mov esi, dword [esp + 0x24]
test eax, eax
je 0x471bb9
mov dword [eax + esi*4], 0xffffffff
mov eax, dword [edi + 0xc]
not esi
mov ecx, dword [edi + 0x88]
mov dword [esp + 0x24], esi
cmp dword [eax + 0x30], ecx
jg 0x471be9
mov edx, dword [esp + 0x28]
mov ecx, edi
push 0
push edx
push dword [esp + 0x4c]
mov edx, 0x39
call fcn.0042dfe0
add esp, 0xc
jmp 0x471c23
mov edx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x39
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
mov dword [esp + 0x90], ecx
cmp dword [eax + 0x30], ecx
jg 0x471c5a
push 0
push dword [esp + 0x50]
mov edx, 0x79
mov ecx, edi
push dword [esp + 0x4c]
call fcn.0042dfe0
add esp, 0xc
mov dword [esp + 0x90], eax
jmp 0x471c94
mov edx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 0x79
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0
push dword [esp + 0x50]
mov edx, 0x1e
mov ecx, edi
push esi
push dword [esp + 0x20]
call fcn.0042e5a0
add esp, 0x10
jmp 0x471d7e
mov eax, dword [edi + 0xc]
mov esi, dword [edi + 0x88]
mov dword [esp + 0x24], esi
cmp dword [eax + 0x30], esi
jg 0x471ce9
push dword [esp + 0x1c]
mov ecx, edi
push edx
push dword [esp + 0x3c]
mov edx, 0x3e
call fcn.0042dfe0
mov edx, dword [esp + 0x28]
add esp, 0xc
mov esi, eax
mov dword [esp + 0x24], eax
jmp 0x471d23
lea eax, [esi + 1]
mov dword [edi + 0x88], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x58]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x24]
mov word [eax + ecx*4], 0x3e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x471d48
push edx
push esi
push dword [esp + 0x1c]
mov edx, 0x21
mov ecx, edi
call fcn.0042dfe0
add esp, 0xc
jmp 0x471d7e
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x21
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 8], esi
mov byte [eax + ecx*4 + 3], 0
cmp byte [esp + 0x1b], 0
je 0x471e3d
mov eax, dword [esp + 0x64]
test eax, eax
je 0x471dac
cmp byte [eax], 0x9d
jne 0x471dac
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x40]
push edx
push dword [eax + 0x1c]
mov ecx, dword [esi + 8]
mov edx, 0x54
jmp 0x471dd7
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0xc]
mov ecx, esi
push edx
mov edx, eax
call fcn.00447c60
mov edx, dword [esp + 0x44]
add esp, 4
cmp eax, edx
je 0x471de3
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x471de3
push edx
push eax
mov edx, 0x55
call fcn.0042e190
mov edx, dword [esp + 0x48]
add esp, 8
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x471e07
push 0
push 0
push edx
mov edx, 0x11
mov ecx, edi
call fcn.0042dfe0
add esp, 0xc
jmp 0x471e3d
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x48], 0
jne 0x471eff
cmp dword [esp + 0x2c], 0
jne 0x471f0a
mov edx, dword [esp + 0x50]
test edx, edx
je 0x47200a
xor eax, eax
push dword [ebp + 0x10]
mov edx, dword [esp + 0x54]
push dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
push 3
push 0
push dword [ebp + 8]
mov dword [esp + 0x5c], eax
call fcn.00470d40
mov edx, dword [esp + 0x5c]
xor ecx, ecx
or edx, eax
add esp, 0x14
mov eax, dword [esp + 8]
xor esi, esi
mov dword [esp + 0x48], edx
cmp cx, word [eax + 0x22]
jge 0x471f94
mov dword [esp + 0x64], ecx
cmp edx, 0xffffffff
je 0x471f5a
cmp esi, 0x20
jge 0x471ec6
mov eax, 1
mov ecx, esi
shl eax, cl
test edx, eax
jne 0x471f5a
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xf], 1
jne 0x471f5a
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x471f1c
mov eax, dword [esp + 0x7c]
mov edx, 0x4f
push 0
add eax, esi
mov ecx, edi
push eax
push 0
call fcn.0042dfe0
jmp 0x471f71
cmp dword [esp + 0x2c], 0
je 0x471e5f
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
call fcn.0045b050
jmp 0x471e61
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x4f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x7c]
add eax, esi
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], 0
jmp 0x471f78
mov eax, dword [esp + 0x7c]
mov ecx, edi
mov edx, dword [esp + 8]
add eax, esi
push eax
push esi
push dword [esp + 0x1c]
call fcn.00447900
mov edx, dword [esp + 0x54]
add esp, 0xc
mov eax, dword [esp + 8]
inc esi
mov ecx, dword [esp + 0x64]
add ecx, 0x10
mov dword [esp + 0x64], ecx
movsx eax, word [eax + 0x22]
cmp esi, eax
jl 0x471ea3
cmp byte [esp + 0x1b], 0
jne 0x472006
cmp dword [esp + 0x30], 0
jne 0x472006
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x471fcc
mov edx, dword [esp + 0x40]
mov ecx, edi
push 0
push edx
push dword [esp + 0x24]
mov edx, 0x54
call fcn.0042dfe0
add esp, 0xc
jmp 0x472006
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x54
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x50]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x10]
push dword [esp + 0xc]
push 1
push 1
push dword [ebp + 8]
call fcn.00470d40
mov edx, eax
xor ecx, ecx
mov eax, dword [esp + 0x1c]
xor esi, esi
add esp, 0x14
mov dword [esp + 0x34], edx
mov dword [esp + 0x74], ecx
cmp si, word [eax + 0x22]
jge 0x472225
mov esi, dword [esp + 0x80]
movsx eax, word [eax + 0x20]
cmp ecx, eax
jne 0x47207a
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x472130
push 0
push esi
push 0
mov edx, 0x4f
mov ecx, edi
call fcn.0042dfe0
add esp, 0xc
jmp 0x472203
mov eax, dword [esp + 0x10]
mov eax, dword [eax + ecx*4]
test eax, eax
js 0x4720ef
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edx, dword [eax + ecx*8]
test edx, edx
je 0x4720b7
cmp byte [edx], 0x9d
jne 0x4720b7
mov eax, dword [esp + 0xc]
push esi
push dword [edx + 0x1c]
mov edx, 0x54
mov ecx, dword [eax + 8]
call fcn.0042e190
add esp, 8
jmp 0x472203
mov ecx, dword [esp + 0xc]
push esi
call fcn.00447c60
add esp, 4
cmp eax, esi
je 0x472203
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x472203
push esi
push eax
mov edx, 0x55
call fcn.0042e190
add esp, 8
jmp 0x472203
test dword [esp + 0x6c], 1
je 0x47216b
cmp ecx, 0x1f
jg 0x47216b
mov eax, 1
shl eax, cl
test edx, eax
jne 0x47216b
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x472130
push 0
push esi
push 0
mov edx, 0x4f
mov ecx, edi
call fcn.0042dfe0
add esp, 0xc
jmp 0x472203
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x4f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x472207
mov edx, dword [esp + 8]
push 0
push esi
push dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004479f0
add esp, 0x10
mov dword [esp + 0x3c], eax
cmp eax, esi
je 0x472203
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
mov dword [esp + 0x94], ecx
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x88]
mov dword [esp + 0x98], eax
cmp dword [edx + 0x30], eax
mov edx, dword [esp + 0x3c]
jg 0x4721c5
push 0
push esi
push edx
mov edx, 0x55
call fcn.0042dfe0
add esp, 0xc
jmp 0x472203
inc eax
mov dword [ecx + 0x88], eax
mov eax, dword [esp + 0x98]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 0x58]
mov word [eax + ecx*4], 0x55
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 8]
inc esi
mov ecx, dword [esp + 0x74]
inc ecx
mov dword [esp + 0x74], ecx
movsx eax, word [eax + 0x22]
cmp ecx, eax
mov eax, dword [esp + 8]
jl 0x472047
test byte [esp + 0x6c], 1
je 0x472343
push dword [esp + 0x80]
mov edx, eax
mov ecx, edi
call fcn.0045bf00
mov esi, dword [esp + 0x28]
add esp, 4
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0xc]
push esi
push dword [ebp + 0x10]
push dword [esp + 0x24]
push dword [esp + 0x14]
push 1
push dword [ebp + 8]
push 0x6e
call fcn.00470cb0
add esp, 0x1c
cmp dword [esp + 0x30], 0
je 0x472296
push dword [esp + 0x88]
mov edx, 0x1e
mov ecx, edi
push dword [esp + 0x50]
push esi
push dword [esp + 0x20]
call fcn.0042e5a0
mov edx, dword [esp + 0x24]
add esp, 0x10
jmp 0x4722f8
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4722c2
push dword [esp + 0x1c]
mov edx, 0x21
mov ecx, edi
push esi
push dword [esp + 0x1c]
call fcn.0042dfe0
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4722f8
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x21
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 8]
xor eax, eax
xor esi, esi
cmp ax, word [ecx + 0x22]
jge 0x472347
mov eax, dword [esp + 0x10]
cmp dword [eax + esi*4], 0
jge 0x472334
movsx eax, word [ecx + 0x20]
cmp esi, eax
je 0x472334
mov eax, dword [esp + 0x80]
add eax, esi
push eax
push esi
push edx
mov edx, ecx
mov ecx, edi
call fcn.00447900
mov ecx, dword [esp + 0x14]
add esp, 0xc
movsx eax, word [ecx + 0x22]
inc esi
mov edx, dword [esp + 0x14]
cmp esi, eax
jl 0x472306
jmp 0x472347
mov ecx, dword [esp + 8]
cmp dword [esp + 0x84], 0
jne 0x47259d
push dword [esp + 0x10]
lea eax, [esp + 0x70]
mov edx, ecx
push eax
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
xor esi, esi
push dword [ebp + 0x10]
mov dword [esp + 0x7c], esi
push dword [esp + 0x64]
push dword [esp + 0x30]
push dword [esp + 0x58]
push dword [esp + 0x84]
push dword [esp + 0x34]
push dword [esp + 0xb0]
call fcn.0045d760
add esp, 0x28
cmp dword [esp + 0x2c], esi
je 0x4723ba
push dword [esp + 0x58]
mov edx, dword [esp + 0xc]
push dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
push esi
push dword [esp + 0x28]
call fcn.0045a9e0
add esp, 0x10
cmp dword [esp + 0x6c], esi
jne 0x4723cb
cmp byte [esp + 0x54], 0
je 0x47245a
cmp dword [esp + 0x30], esi
je 0x4723f5
push dword [esp + 0x88]
mov edx, 0x1e
mov ecx, edi
push dword [esp + 0x50]
push 0
push dword [esp + 0x20]
call fcn.0042e5a0
add esp, 0x10
mov esi, eax
jmp 0x47245a
mov eax, dword [edi + 0xc]
mov esi, dword [edi + 0x88]
cmp dword [eax + 0x30], esi
jg 0x472420
push dword [esp + 0x1c]
mov edx, 0x21
mov ecx, edi
push 0
push dword [esp + 0x1c]
call fcn.0042dfe0
add esp, 0xc
mov esi, eax
jmp 0x47245a
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
mov dword [edi + 0x88], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x21
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push dword [esp + 0x90]
push dword [esp + 0x70]
push dword [esp + 0x20]
call fcn.00455e80
add esp, 0x10
cmp dword [esp + 0x2c], 0
jne 0x472491
mov al, byte [esp + 0x54]
test al, al
jne 0x472491
cmp dword [esp + 0x30], 0
je 0x4724f6
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4724b8
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x75
mov ecx, edi
call fcn.0042dfe0
add esp, 0xc
jmp 0x4724f2
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x75
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [esp + 0x54]
cmp dword [esp + 0x6c], 0
jne 0x472501
test al, al
je 0x472529
mov edx, dword [edi + 0x88]
test esi, esi
jns 0x47250e
lea esi, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x47251d
mov eax, 0x69aa3c
jmp 0x472526
mov eax, dword [edi + 0x58]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp dword [esp + 0x2c], 0
mov esi, dword [esp + 0xc]
je 0x472550
push dword [esp + 0x58]
mov edx, dword [esp + 0xc]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x48]
push 0
call fcn.0045a9e0
add esp, 0x10
mov edx, dword [esp + 8]
mov ecx, esi
push 0
push 0
push 1
push dword [esp + 0x98]
push dword [esp + 0x50]
push dword [esp + 0x7c]
push dword [esp + 0x2c]
call fcn.0045ecc0
add esp, 0x1c
cmp dword [esp + 0x2c], 0
je 0x4725a1
push dword [esp + 0x58]
mov edx, dword [esp + 0xc]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x24]
push dword [ebp + 8]
call fcn.0045bbf0
add esp, 0x10
jmp 0x4725a1
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
test byte [eax + 0x18], 0x80
je 0x472615
cmp dword [esi + 0x80], 0
jne 0x472615
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4725db
push 0
push 1
push dword [esp + 0x78]
mov edx, 0x5b
mov ecx, edi
call fcn.0042dfe0
add esp, 0xc
jmp 0x472615
mov edx, dword [esp + 0x70]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x5b
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0xc]
push esi
push dword [ebp + 0x10]
push dword [esp + 0x24]
push dword [esp + 0x14]
push 2
push dword [ebp + 8]
push 0x6e
call fcn.00470cb0
add esp, 0x1c
cmp dword [esp + 0x38], 0
jne 0x47271a
cmp dword [esp + 0x30], 0
mov eax, dword [edi + 0xc]
je 0x4726c3
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x472669
lea eax, [esi*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x88]
mov dword [ecx], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x472699
mov edx, dword [esp + 0x90]
mov ecx, edi
push 0
push edx
push dword [esp + 0x4c]
mov edx, 7
call fcn.0042dfe0
add esp, 0xc
jmp 0x47271a
mov edx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x90]
mov word [eax + ecx*4], 7
mov dword [eax + ecx*4 + 8], edx
jmp 0x472705
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4726e4
push 0
push esi
push 0
mov edx, 0xd
mov ecx, edi
call fcn.0042dfe0
add esp, 0xc
jmp 0x47271a
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov byte [eax + ecx*4 + 3], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x472739
mov eax, dword [esp + 0x28]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x88]
mov dword [ecx], eax
mov eax, dword [esp + 8]
mov edx, dword [eax + 8]
mov dword [esp + 0x3c], edx
test edx, edx
je 0x4727d8
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x68]
inc eax
mov dword [esp + 0x58], eax
nop dword [eax]
cmp byte [eax], 0
je 0x4727c7
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x47278d
push 0
push 0
push esi
mov edx, 0x6f
mov ecx, edi
call fcn.0042dfe0
mov edx, dword [esp + 0x48]
add esp, 0xc
jmp 0x4727c3
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x6f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x58]
mov edx, dword [edx + 0x14]
inc eax
inc esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x58], eax
test edx, edx
jne 0x472760
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x68]
jge 0x47283c
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x472806
push 0
push 0
push edx
mov edx, 0x6f
mov ecx, edi
call fcn.0042dfe0
add esp, 0xc
jmp 0x47283c
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x6f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x12], 0
jne 0x472860
cmp dword [eax + 0x80], 0
jne 0x472860
cmp dword [eax + 0x78], 0
je 0x472860
mov ecx, eax
call fcn.0045c390
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x20]
test byte [esi + 0x18], 0x80
je 0x472910
cmp dword [eax + 0x80], 0
jne 0x472910
cmp byte [eax + 0x12], 0
jne 0x472910
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4728ac
push 0
push 1
push dword [esp + 0x78]
mov edx, 0x57
mov ecx, edi
call fcn.0042dfe0
add esp, 0xc
jmp 0x4728e6
mov edx, dword [esp + 0x70]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4], 0x57
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, 1
mov ecx, edi
call fcn.00430130
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
jne 0x472910
mov ecx, dword [edi + 0x64]
mov edx, str.rows_updated
push 0
push 1
push 0xffffffffffffffff
call fcn.0042d510
add esp, 0xc
mov edx, dword [esp + 0x10]
jmp 0x47291c
xor edx, edx
mov esi, dword [esp + 0x20]
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x472937
mov eax, dword [esp + 0xa8]
mov dword [ecx + 0x1c0], eax
test edx, edx
je 0x472980
test esi, esi
je 0x472977
cmp dword [esi + 0x1c8], 0
je 0x472951
mov ecx, esi
call fcn.004102c0
jmp 0x472980
cmp edx, dword [esi + 0x120]
jb 0x472977
cmp edx, dword [esi + 0x124]
jae 0x472977
mov eax, dword [esi + 0x11c]
mov dword [edx], eax
dec dword [esi + 0x108]
mov dword [esi + 0x11c], edx
jmp 0x472980
push edx
call fcn.00410250
add esp, 4
mov edx, dword [esp + 0x60]
mov ecx, esi
call fcn.00452f10
test edi, edi
je 0x472998
mov edx, edi
mov ecx, esi
call fcn.00444c80
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4729a8
mov edx, eax
mov ecx, esi
call fcn.00443c80
pop edi
pop esi
mov esp, ebp
pop ebp
ret