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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x517748]
xor eax, esp
mov dword [esp + 0xe4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push edi
mov edi, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x90], eax
mov dword [esp + 0x74], edx
cmp dword [edi + 0x24], 0
mov eax, dword [edi]
mov dword [esp + 0x14], edi
mov dword [esp + 0xac], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x58], 0
movq qword [esp + 0xb8], xmm0
mov dword [esp + 0x5c], eax
jne 0x4a6e7c
cmp byte [eax + 0x45], 0
jne 0x4a6e7c
call fcn.004893f0
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x4a6e7c
mov ecx, dword [edi]
mov edx, dword [esi + 0x40]
call fcn.00498d00
mov dword [esp + 0x48], eax
mov edx, esi
lea eax, [esp + 0x6c]
mov ecx, edi
push eax
push dword [esp + 0x50]
push 0x6e
call fcn.004a5dc0
mov dword [esp + 0x50], eax
add esp, 0xc
xor eax, eax
mov edx, esi
cmp dword [esi + 0xc], eax
mov ecx, edi
setne al
mov dword [esp + 0x9c], eax
call fcn.00484a90
test eax, eax
jne 0x4a6e7c
push dword [esp + 0x6c]
mov edx, esi
mov ecx, edi
call fcn.00489490
add esp, 4
test eax, eax
jne 0x4a6e7c
mov eax, dword [edi + 0x28]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x18], eax
mov dword [esp + 0xa4], 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 + 0x80], eax
jne 0x4a6ad0
mov dword [esp + 0x38], 0
jmp 0x4a6adb
mov ecx, esi
call fcn.00482bc0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
xor esi, esi
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4a6b17
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
jne 0x4a6b05
cmp dword [esp + 0x38], 0
je 0x4a6b05
mov eax, edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x18], 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 0x4a6ae8
mov eax, dword [esp + 0x10]
movsx eax, word [eax + 0x22]
mov ecx, dword [esp + 0x5c]
add eax, esi
push 0
lea eax, [eax*4 + 2]
add eax, esi
push eax
call fcn.00441d50
mov ecx, eax
add esp, 8
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x4a6e7c
mov eax, dword [esp + 0x10]
movsx eax, word [eax + 0x22]
lea eax, [ecx + eax*4]
lea ecx, [eax + esi*4]
mov dword [esp + 0xa0], eax
lea eax, [esi + 1]
mov dword [esp + 0x78], ecx
push eax
push 1
push ecx
mov dword [esp + 0xa4], eax
call fcn.004c6800
mov eax, dword [esp + 0x84]
add esp, 0xc
xor ecx, ecx
mov byte [eax + esi + 1], 0
xor eax, eax
mov esi, dword [esp + 0x10]
cmp ax, word [esi + 0x22]
jge 0x4a6ba4
mov edi, dword [esp + 0x24]
mov dword [edi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [esi + 0x22]
cmp ecx, eax
jl 0x4a6b90
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
xorps xmm0, xmm0
mov eax, dword [esp + 0x74]
movdqa xmmword [esp + 0xc0], xmm0
mov dword [esp + 0xc4], eax
xor al, al
cmp dword [ecx], 0
movdqa xmmword [esp + 0xd0], xmm0
mov dword [esp + 0xc0], edi
mov byte [esp + 0x68], 0
mov byte [esp + 0x23], al
mov dword [esp + 0x64], 0
jle 0x4a6e3c
xor edi, edi
mov dword [esp + 0x40], edi
mov edx, dword [ecx + 4]
lea ecx, [esp + 0xc0]
mov edx, dword [edx + edi]
call fcn.004751b0
test eax, eax
jne 0x4a6e7c
movsx eax, word [esi + 0x22]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test eax, eax
jle 0x4a6d0c
mov eax, dword [esp + 0x4c]
mov edx, dword [esi + 4]
mov dword [esp + 0x3c], edx
mov eax, dword [eax + 4]
add eax, edi
mov dword [esp + 0x84], eax
mov edi, dword [eax + 4]
mov dword [esp + 0x54], edi
movzx eax, byte [edi]
movzx eax, byte [eax + 0x5039c0]
mov dword [esp + 0x2c], eax
mov eax, edx
jmp 0x4a6c50
mov esi, dword [eax]
mov dl, byte [esi]
movzx eax, dl
movzx eax, byte [eax + 0x5039c0]
sub eax, dword [esp + 0x2c]
jne 0x4a6c95
sub edi, esi
test dl, dl
je 0x4a6c89
movzx eax, byte [edi + esi + 1]
inc esi
movzx ecx, byte [eax + 0x5039c0]
mov dl, byte [esi]
movzx eax, dl
movzx eax, byte [eax + 0x5039c0]
sub eax, ecx
je 0x4a6c66
jmp 0x4a6c8d
test eax, eax
je 0x4a6cb3
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
inc ecx
mov eax, dword [esp + 0x3c]
add eax, 0x10
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], eax
movsx edx, word [esi + 0x22]
cmp ecx, edx
jl 0x4a6c50
jmp 0x4a6d08
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
movsx eax, word [esi + 0x20]
cmp ecx, eax
jne 0x4a6cd7
mov eax, dword [esp + 0x84]
mov byte [esp + 0x23], 1
mov eax, dword [eax]
mov dword [esp + 0x60], eax
jmp 0x4a6cfd
cmp dword [esp + 0x38], 0
je 0x4a6cfd
mov edx, dword [esi + 4]
mov eax, ecx
add eax, eax
test byte [edx + eax*8 + 0xf], 1
mov edx, 1
mov eax, dword [esp + 0x68]
movzx eax, al
cmovne eax, edx
mov dword [esp + 0x68], eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x64]
mov dword [edx + ecx*4], eax
mov edi, dword [esp + 0x40]
movsx eax, word [esi + 0x22]
cmp ecx, eax
jl 0x4a6dbc
cmp dword [esp + 0x38], 0
jne 0x4a6e54
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 4]
add edi, eax
mov dword [esp + 0x60], edi
mov ecx, dword [edi + 4]
mov esi, ecx
mov dword [esp + 0x1c], ecx
mov dl, byte [ecx]
movzx eax, dl
movzx eax, byte [eax + 0x5039c0]
sub eax, 0x5f
jne 0x4a6d80
mov edi, str._ROWID_
sub edi, ecx
test dl, dl
je 0x4a6d74
movzx eax, byte [esi + edi + 1]
inc esi
movzx ecx, byte [eax + 0x5039c0]
mov dl, byte [esi]
movzx eax, dl
movzx eax, byte [eax + 0x5039c0]
sub eax, ecx
je 0x4a6d51
jmp 0x4a6d78
test eax, eax
je 0x4a6da3
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x1c]
mov edx, str.ROWID
call fcn.004449b0
test eax, eax
je 0x4a6da3
mov ecx, dword [edi + 4]
mov edx, 0x508594
call fcn.004449b0
test eax, eax
jne 0x4a6e54
mov eax, dword [esp + 0x60]
or esi, 0xffffffff
mov byte [esp + 0x23], 1
mov edx, str.ROWID
mov eax, dword [eax]
mov dword [esp + 0x60], eax
jmp 0x4a6dd7
test ecx, ecx
jns 0x4a6dcb
mov esi, dword [esp + 0x1c]
mov edx, str.ROWID
jmp 0x4a6dd7
mov eax, dword [esi + 4]
add ecx, ecx
mov esi, dword [esp + 0x1c]
mov edx, dword [eax + ecx*8]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x48]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
mov edx, 0x17
push dword [eax]
call fcn.00481720
add esp, 0xc
cmp eax, 1
je 0x4a6e7c
cmp eax, 2
jne 0x4a6e14
mov eax, dword [esp + 0x24]
mov dword [eax + esi*4], 0xffffffff
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x4c]
inc esi
mov edi, dword [esp + 0x40]
add edi, 0x18
mov dword [esp + 0x64], esi
mov dword [esp + 0x40], edi
cmp esi, dword [ecx]
mov esi, dword [esp + 0x10]
jl 0x4a6bf1
mov al, byte [esp + 0x23]
mov dl, byte [esp + 0x68]
add dl, al
test byte [esi + 0x2a], 0x10
mov byte [esp + 0x3c], dl
je 0x4a6e8c
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x4a6ea6
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x14]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 4]
push dword [eax + ecx*8 + 4]
push str.no_such_column:__s
push esi
call fcn.00444800
add esp, 0xc
mov byte [esi + 0x11], 1
mov ecx, dword [esp + 0xbc]
mov esi, dword [esp + 0x5c]
jmp 0x4a8667
xorps xmm0, xmm0
movlpd qword [esp + 0x88], xmm0
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
mov edi, dword [esp + 0x74]
mov dword [edi + 0x48], eax
mov eax, edi
mov edi, dword [esp + 0x14]
mov dword [eax + 0x4c], ecx
mov eax, dword [edi]
test dword [eax + 0x18], 0x80000
je 0x4a6ed9
movzx eax, dl
mov ecx, esi
mov edx, dword [esp + 0x24]
push eax
call fcn.0048f8e0
mov dl, byte [esp + 0x40]
add esp, 4
jmp 0x4a6edb
xor eax, eax
mov edi, dword [esi + 8]
xor ecx, ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], ecx
test edi, edi
je 0x4a6f86
test dl, dl
jne 0x4a6f4d
test eax, eax
jne 0x4a6f4d
cmp dword [edi + 0x24], eax
jne 0x4a6f4d
cmp edi, dword [esp + 0x38]
je 0x4a6f4d
movzx esi, word [edi + 0x32]
xor edx, edx
mov dword [esp + 0x2c], eax
test esi, esi
jle 0x4a6f5b
mov ecx, dword [edi + 4]
movzx eax, word [ecx]
test ax, ax
js 0x4a6f3d
mov esi, dword [esp + 0x24]
cwde
cmp dword [esi + eax*4], 0
movzx esi, word [edi + 0x32]
jge 0x4a6f3d
inc edx
add ecx, 2
cmp edx, esi
jl 0x4a6f14
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
jmp 0x4a6f5b
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
inc dword [edx + 0x2c]
mov eax, dword [edx + 0x2c]
jmp 0x4a6f57
mov eax, dword [esp + 0x14]
inc dword [eax + 0x2c]
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x4a6f64
mov edx, dword [esp + 0x78]
mov byte [ecx + edx + 1], 0
mov edx, dword [esp + 0xa0]
mov dword [edx + ecx*4], eax
inc ecx
mov edi, dword [edi + 0x14]
mov dl, byte [esp + 0x3c]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x40], ecx
test edi, edi
jne 0x4a6ef0
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + 8]
mov dword [esp + 0x40], edi
test edi, edi
jne 0x4a6fac
call fcn.0049c800
mov ecx, dword [esp + 0x14]
mov edi, eax
mov dword [esp + 0x40], edi
test edi, edi
je 0x4a6e7c
cmp byte [ecx + 0x12], 0
jne 0x4a6fb9
or dword [edi + 0x90], 0x10
mov eax, dword [ecx + 0x7c]
mov edx, ecx
test eax, eax
mov esi, ecx
mov ecx, dword [esp + 0x48]
cmovne edx, eax
cmovne esi, eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x2c], eax
mov ecx, dword [edx + 0x60]
test eax, ecx
jne 0x4a6ff5
or ecx, eax
cmp dword [esp + 0x48], 1
mov dword [edx + 0x60], ecx
jne 0x4a6ff5
mov ecx, edx
call fcn.00487bf0
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
or dword [esi + 0x5c], eax
or byte [esi + 0x14], 1
mov esi, dword [esp + 0x14]
test byte [edx + 0x2a], 0x10
jne 0x4a7083
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x44]
inc eax
mov dword [esp + 0x34], eax
inc eax
cmp byte [esp + 0x68], 0
mov dword [esp + 0x50], eax
mov dword [esi + 0x2c], eax
mov dword [esp + 0x28], eax
jne 0x4a703d
test ecx, ecx
jne 0x4a703d
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4a7054
mov eax, dword [esp + 0x50]
inc eax
mov dword [esp + 0xa8], eax
movsx eax, word [edx + 0x22]
add eax, dword [esp + 0x50]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x54]
cmp byte [esp + 0x3c], 0
jne 0x4a7063
test ecx, ecx
jne 0x4a7063
test eax, eax
je 0x4a706d
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x50], eax
mov ecx, dword [esi + 0x2c]
lea eax, [ecx + 1]
mov dword [esp + 0xb0], eax
movsx eax, word [edx + 0x22]
add eax, ecx
mov dword [esi + 0x2c], eax
cmp dword [esp + 0x9c], 0
je 0x4a70bd
mov eax, dword [esi + 0x1c0]
mov ecx, esi
push dword [esp + 0x18]
mov dword [esp + 0xbc], eax
mov eax, dword [edx]
push dword [esp + 0x94]
mov dword [esp + 0x50], esi
mov dword [esi + 0x1c0], eax
call fcn.00489520
add esp, 8
jmp 0x4a70c8
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x90]
lea ecx, [esp + 0xc0]
call fcn.004751b0
test eax, eax
jne 0x4a865f
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x2a]
test al, 0x10
je 0x4a7121
push dword [ebp + 0x10]
mov edi, dword [esp + 0x28]
push dword [esp + 0x94]
mov edx, dword [esp + 0x7c]
push edi
push dword [esp + 0x6c]
push dword [esp + 0x5c]
push ecx
mov ecx, esi
call fcn.004a8770
mov ecx, dword [esp + 0x60]
add esp, 0x18
mov esi, dword [esp + 0x5c]
jmp 0x4a866b
test al, 0x20
jne 0x4a71c9
push dword [esp + 0x28]
mov edx, 0x4f
mov ecx, edi
push dword [esp + 0x38]
push 0
call fcn.00460c80
mov edx, dword [esp + 0x80]
add esp, 0xc
mov ecx, esi
push dword [esp + 0x80]
push 0x404
push 0
push 0
push dword [esp + 0xa0]
call fcn.004b5540
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4a865f
mov ecx, dword [esi + 0x14]
mov edx, 0x7b
push dword [esp + 0x28]
movzx eax, byte [esi + 0x2d]
push dword [esp + 0x1c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x34], ecx
mov ecx, edi
mov dword [esp + 0x6c], eax
call fcn.00460df0
add esp, 8
cmp dword [esp + 0x64], 0
jne 0x4a71c2
push dword [esp + 0x28]
mov edx, 0x8e
mov ecx, edi
push dword [esp + 0x38]
call fcn.00460df0
add esp, 8
mov ecx, esi
jmp 0x4a7442
mov eax, dword [esp + 0x38]
movzx ecx, word [eax + 0x32]
mov eax, dword [esi + 0x2c]
movsx esi, cx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], esi
lea edx, [eax + 1]
inc eax
add eax, esi
mov dword [esp + 0x30], edx
mov dword [ecx + 0x2c], eax
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x70], eax
inc eax
mov dword [ecx + 0x28], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a721f
push 0
push edx
push 0
mov edx, 0x4f
mov ecx, edi
call fcn.00460c40
add esp, 0xc
jmp 0x4a7255
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], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push esi
push dword [esp + 0x74]
mov edx, 0x6b
mov ecx, edi
call fcn.00460df0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xbc], eax
call fcn.00461c00
push dword [esp + 0x88]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x20]
push 4
push 0
push 0
push dword [esp + 0xa8]
call fcn.004b5540
add esp, 0x1c
mov dword [esp + 0x88], eax
test eax, eax
je 0x4a865f
mov ecx, dword [eax + 0x14]
xor esi, esi
mov dword [esp + 0x84], ecx
mov ecx, dword [eax + 0x18]
movzx eax, byte [eax + 0x2d]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x64], eax
cmp dword [esp + 0x1c], esi
jle 0x4a7301
mov eax, dword [esp + 0x30]
mov ecx, edi
mov edx, dword [esp + 0x10]
add eax, esi
push eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [esp + 0x20]
call fcn.0047af10
inc esi
add esp, 0xc
cmp esi, dword [esp + 0x1c]
jl 0x4a72d1
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4a734e
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
jne 0x4a7339
mov eax, dword [esp + 0xb4]
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.004618a0
add esp, 4
mov word [esi], 0xa1
mov dword [esi + 0x10], 0
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x58], esi
jmp 0x4a743b
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x5c]
call fcn.004905d0
mov edx, dword [edi + 0x88]
mov dword [esp + 0xb4], eax
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x30], edx
jg 0x4a7390
mov esi, dword [esp + 0x58]
mov edx, 0x63
push esi
push dword [esp + 0x20]
mov ecx, edi
push dword [esp + 0x38]
call fcn.00460c40
add esp, 0xc
mov edx, eax
jmp 0x4a73ca
mov esi, dword [esp + 0x30]
lea eax, [edx + 1]
mov dword [edi + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x58]
mov word [eax + ecx*4], 0x63
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x1c]
mov ecx, edi
push dword [esp + 0xb8]
call fcn.00461b70
mov eax, dword [edi + 0xc]
add esp, 8
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a7405
push 0
push esi
push dword [esp + 0x78]
mov edx, 0x7e
mov ecx, edi
call fcn.00460c40
add esp, 0xc
jmp 0x4a743b
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], 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 + 0x88]
call fcn.004b5fe0
mov eax, dword [esp + 0x5c]
test byte [eax + 0x18], 0x80
je 0x4a747d
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x80], 0
jne 0x4a747d
inc dword [eax + 0x2c]
mov edx, 0x4c
mov eax, dword [eax + 0x2c]
mov ecx, edi
push eax
push 0
mov dword [esp + 0x9c], eax
call fcn.00460df0
add esp, 8
mov esi, dword [edi + 0xc]
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x88], ecx
lea eax, [ecx + 1]
mov dword [esi + 0x48], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x4a74b8
mov edx, dword [esi + 0x4c]
lea eax, [ecx*8 + 4]
mov ecx, dword [esi]
push 0
push eax
call fcn.00441f00
mov ecx, dword [esp + 0x90]
add esp, 8
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4a74c6
mov dword [eax + ecx*4], 0xffffffff
mov esi, dword [ebp + 0x10]
or edx, 0xffffffff
sub edx, ecx
cmp dword [esp + 0x9c], 0
mov dword [esp + 0x1c], edx
jne 0x4a757c
cmp esi, 5
je 0x4a74ff
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
je 0x4a751b
cmp byte [eax + 0x36], 5
je 0x4a74ff
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4a74f0
jmp 0x4a751b
push dword [esp + 0x98]
push 1
push dword [esp + 0x80]
call fcn.004c6800
mov ecx, dword [esp + 0x1c]
add esp, 0xc
cmp dword [esp + 0x64], 0
je 0x4a7554
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0xa4]
test eax, eax
js 0x4a7542
mov edi, dword [esp + 0x78]
sub eax, edx
mov byte [eax + edi], 0
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x2c]
test eax, eax
js 0x4a7554
sub eax, edx
mov edx, dword [esp + 0x78]
mov byte [eax + edx], 0
push 0
push 0
push dword [esp + 0x80]
mov edx, ecx
mov ecx, dword [esp + 0x20]
push dword [esp + 0xb0]
push 0
push 0x69
call fcn.004939c0
mov edx, dword [esp + 0x34]
add esp, 0x18
cmp dword [esp + 0x64], 0
je 0x4a762c
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x18]
cmp byte [eax + ecx], 0
je 0x4a75bf
cmp dword [esp + 0x9c], 0
jne 0x4a75bf
push dword [esp + 0x7c]
push dword [esp + 0x5c]
push edx
push ecx
mov edx, 0x1e
mov ecx, edi
call fcn.00461240
add esp, 0x10
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x38], 0
mov edx, dword [esp + 0x28]
cmovne edx, dword [esp + 0x58]
mov ecx, dword [edi + 0x88]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x4a75fe
push 0
push dword [esp + 0x20]
mov ecx, edi
push edx
mov edx, 0x22
call fcn.00460c40
add esp, 0xc
jmp 0x4a7850
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], 0x22
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
jmp 0x4a7843
cmp dword [esp + 0x38], 0
je 0x4a777f
mov esi, dword [edi + 0xc]
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x88], ecx
lea eax, [ecx + 1]
mov dword [esi + 0x48], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x4a7672
mov edx, dword [esi + 0x4c]
lea eax, [ecx*8 + 4]
mov ecx, dword [esi]
push 0
push eax
call fcn.00441f00
mov ecx, dword [esp + 0x90]
add esp, 8
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4a7680
mov dword [eax + ecx*4], 0xffffffff
mov eax, dword [edi + 0xc]
or esi, 0xffffffff
sub esi, ecx
mov ecx, dword [edi + 0x88]
mov dword [esp + 0x30], esi
cmp dword [eax + 0x30], ecx
jg 0x4a76b2
push 0
push dword [esp + 0x20]
mov edx, 0x39
mov ecx, edi
push dword [esp + 0x78]
call fcn.00460c40
add esp, 0xc
jmp 0x4a76ec
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 dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
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 + 0xac], ecx
cmp dword [eax + 0x30], ecx
jg 0x4a7723
push 0
push dword [esp + 0x5c]
mov edx, 0x79
mov ecx, edi
push dword [esp + 0x78]
call fcn.00460c40
add esp, 0xc
mov dword [esp + 0xac], eax
jmp 0x4a775d
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 dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x58]
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 + 0x5c]
mov edx, 0x1e
mov ecx, edi
push esi
push dword [esp + 0x24]
call fcn.00461240
mov esi, dword [ebp + 0x10]
add esp, 0x10
jmp 0x4a7850
mov eax, dword [edi + 0xc]
mov esi, dword [edi + 0x88]
mov dword [esp + 0x30], esi
cmp dword [eax + 0x30], esi
jg 0x4a77b5
push dword [esp + 0x28]
mov ecx, edi
push edx
push dword [esp + 0x3c]
mov edx, 0x3e
call fcn.00460c40
mov edx, dword [esp + 0x34]
add esp, 0xc
mov esi, eax
mov dword [esp + 0x30], eax
jmp 0x4a77ef
lea eax, [esi + 1]
mov dword [edi + 0x88], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x58]
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x40]
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 0x4a7817
push edx
push esi
push dword [esp + 0x20]
mov edx, 0x21
mov ecx, edi
call fcn.00460c40
mov esi, dword [ebp + 0x10]
add esp, 0xc
jmp 0x4a7850
mov edx, dword [esp + 0x18]
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 dword [eax + ecx*4 + 8], esi
mov esi, dword [ebp + 0x10]
mov word [eax + ecx*4], 0x21
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 3], 0
cmp byte [esp + 0x23], 0
je 0x4a790f
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4a787d
cmp byte [eax], 0x9d
jne 0x4a787d
push dword [esp + 0x50]
mov edx, 0x54
push dword [eax + 0x1c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
jmp 0x4a78a9
push dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
mov edx, eax
call fcn.0047b2b0
mov edx, dword [esp + 0x54]
add esp, 4
cmp eax, edx
je 0x4a78b5
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4a78b5
push edx
push eax
mov edx, 0x55
call fcn.00460df0
mov edx, dword [esp + 0x58]
add esp, 8
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a78d9
push 0
push 0
push edx
mov edx, 0x11
mov ecx, edi
call fcn.00460c40
add esp, 0xc
jmp 0x4a790f
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 + 0x68], 0
jne 0x4a79d3
cmp dword [esp + 0x54], 0
jne 0x4a79de
mov edx, dword [esp + 0x44]
test edx, edx
je 0x4a7ae3
xor eax, eax
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
push esi
push dword [esp + 0x14]
mov dword [esp + 0x70], eax
push 3
push 0
push dword [esp + 0x5c]
call fcn.004a67c0
mov edx, dword [esp + 0x7c]
xor ecx, ecx
or edx, eax
add esp, 0x14
mov eax, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0x68], edx
cmp cx, word [eax + 0x22]
jge 0x4a7a6e
mov dword [esp + 0x60], ecx
cmp edx, 0xffffffff
je 0x4a7a31
cmp esi, 0x20
jge 0x4a7997
mov eax, 1
mov ecx, esi
shl eax, cl
test edx, eax
jne 0x4a7a31
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xf], 1
jne 0x4a7a31
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a79f0
mov eax, dword [esp + 0xa8]
mov edx, 0x4f
push 0
add eax, esi
mov ecx, edi
push eax
push 0
call fcn.00460c40
jmp 0x4a7a4b
cmp dword [esp + 0x54], 0
je 0x4a7931
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
call fcn.0048f7f0
jmp 0x4a7933
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 + 0xa8]
add eax, esi
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], 0
jmp 0x4a7a52
mov eax, dword [esp + 0xa8]
mov ecx, edi
mov edx, dword [esp + 0x10]
add eax, esi
push eax
push esi
push dword [esp + 0x20]
call fcn.0047af10
mov edx, dword [esp + 0x74]
add esp, 0xc
mov eax, dword [esp + 0x10]
inc esi
mov ecx, dword [esp + 0x60]
add ecx, 0x10
mov dword [esp + 0x60], ecx
movsx eax, word [eax + 0x22]
cmp esi, eax
jl 0x4a7974
cmp byte [esp + 0x23], 0
jne 0x4a7adf
cmp dword [esp + 0x38], 0
jne 0x4a7adf
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a7aa5
push 0
push dword [esp + 0x54]
mov edx, 0x54
mov ecx, edi
push dword [esp + 0x30]
call fcn.00460c40
add esp, 0xc
jmp 0x4a7adf
mov edx, dword [esp + 0x28]
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 + 0x50]
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 + 0x44]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x14]
push 1
push 1
push dword [esp + 0x5c]
call fcn.004a67c0
mov edx, eax
xor ecx, ecx
mov eax, dword [esp + 0x24]
xor esi, esi
add esp, 0x14
mov dword [esp + 0x34], edx
mov dword [esp + 0x98], ecx
cmp si, word [eax + 0x22]
jge 0x4a7da7
mov esi, dword [esp + 0xb0]
movsx eax, word [eax + 0x20]
cmp ecx, eax
jne 0x4a7b57
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a7c9b
push 0
push esi
push 0
mov edx, 0x4f
mov ecx, edi
call fcn.00460c40
add esp, 0xc
jmp 0x4a7d7f
mov eax, dword [esp + 0x24]
mov eax, dword [eax + ecx*4]
test eax, eax
js 0x4a7c5a
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 4]
mov edx, dword [eax + ecx*8]
test edx, edx
je 0x4a7bde
cmp byte [edx], 0x9d
jne 0x4a7bde
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov dword [esp + 0x88], ecx
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x88]
cmp dword [eax + 0x30], edx
jg 0x4a7bb9
mov edx, dword [esp + 0x2c]
push 0
push esi
push edx
mov edx, 0x54
call fcn.00460c40
add esp, 0xc
jmp 0x4a7d7f
lea eax, [edx + 1]
mov dword [ecx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x2c]
mov eax, dword [eax + 0x58]
mov word [eax + ecx*4], 0x54
jmp 0x4a7d62
mov ecx, dword [esp + 0x14]
push esi
call fcn.0047b2b0
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, esi
je 0x4a7d7f
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov dword [esp + 0x88], ecx
test ecx, ecx
je 0x4a7d7f
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x88]
cmp dword [eax + 0x30], edx
jg 0x4a7c35
mov edx, dword [esp + 0x2c]
push 0
push esi
push edx
mov edx, 0x55
call fcn.00460c40
add esp, 0xc
jmp 0x4a7d7f
lea eax, [edx + 1]
mov dword [ecx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x2c]
mov eax, dword [eax + 0x58]
mov word [eax + ecx*4], 0x55
jmp 0x4a7d62
test dword [esp + 0x6c], 1
je 0x4a7cd6
cmp ecx, 0x1f
jg 0x4a7cd6
mov eax, 1
shl eax, cl
test edx, eax
jne 0x4a7cd6
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a7c9b
push 0
push esi
push 0
mov edx, 0x4f
mov ecx, edi
call fcn.00460c40
add esp, 0xc
jmp 0x4a7d7f
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 0x4a7d83
mov edx, dword [esp + 0x10]
push 0
push esi
push dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0047b010
add esp, 0x10
mov dword [esp + 0x84], eax
cmp eax, esi
je 0x4a7d7f
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov dword [esp + 0x88], ecx
mov edx, dword [ecx + 0x88]
mov dword [esp + 0x2c], edx
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x2c]
cmp dword [edx + 0x30], eax
mov eax, dword [esp + 0x84]
jg 0x4a7d3b
push 0
push esi
push eax
mov edx, 0x55
call fcn.00460c40
add esp, 0xc
jmp 0x4a7d7f
mov edx, dword [esp + 0x2c]
lea eax, [edx + 1]
mov dword [ecx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
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 + 0x10]
inc esi
mov ecx, dword [esp + 0x98]
inc ecx
mov dword [esp + 0x98], ecx
movsx eax, word [eax + 0x22]
cmp ecx, eax
mov eax, dword [esp + 0x10]
jl 0x4a7b24
test byte [esp + 0x6c], 1
je 0x4a7f9d
push dword [esp + 0xb0]
mov edx, eax
mov ecx, edi
call fcn.004906b0
mov eax, dword [esp + 0x48]
add esp, 4
mov esi, eax
test eax, eax
je 0x4a7e14
mov edi, dword [esp + 0x30]
cmp byte [esi + 8], 0x6e
jne 0x4a7e09
cmp byte [esi + 9], 1
jne 0x4a7e09
mov edx, dword [esp + 0x4c]
mov ecx, dword [esi + 0x10]
call fcn.004a5cb0
test eax, eax
je 0x4a7e09
mov ecx, dword [esp + 0x14]
mov edx, esi
push edi
push dword [ebp + 0x10]
push dword [esp + 0x30]
push dword [esp + 0x1c]
call fcn.004a6600
add esp, 0x10
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x4a7dd3
mov edi, dword [esp + 0x40]
cmp dword [esp + 0x38], 0
mov eax, dword [edi + 0xc]
je 0x4a7eec
mov edx, dword [edi + 0x88]
cmp dword [eax + 0x30], edx
jg 0x4a7e4c
push dword [esp + 0x58]
mov edx, 0x1e
mov ecx, edi
push dword [esp + 0x34]
push dword [esp + 0x20]
call fcn.00460c40
add esp, 0xc
mov edx, eax
jmp 0x4a7e86
mov esi, dword [esp + 0x18]
lea eax, [edx + 1]
mov dword [edi + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x58]
mov word [eax + ecx*4], 0x1e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
je 0x4a7ea8
push dword [esp + 0x7c]
mov edx, 0xfffffff2
call fcn.004618a0
mov edx, dword [esp + 0x1c]
add esp, 4
jmp 0x4a7f52
test edx, edx
jns 0x4a7eb3
mov edx, dword [edi + 0x88]
dec edx
mov eax, dword [edi + 0x58]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x7c]
je 0x4a7edf
push 0xfffffffffffffff2
push ecx
mov edx, eax
mov ecx, edi
call fcn.00461a90
mov edx, dword [esp + 0x20]
add esp, 8
jmp 0x4a7f52
mov edx, dword [esp + 0x18]
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf2
jmp 0x4a7f52
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a7f18
push dword [esp + 0x28]
mov edx, 0x21
mov ecx, edi
push dword [esp + 0x34]
push dword [esp + 0x20]
call fcn.00460c40
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x4a7f52
mov esi, dword [esp + 0x30]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x88], eax
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x28]
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 + 0x10]
xor eax, eax
xor esi, esi
cmp ax, word [ecx + 0x22]
jge 0x4a7fa1
mov eax, dword [esp + 0x24]
cmp dword [eax + esi*4], 0
jge 0x4a7f8e
movsx eax, word [ecx + 0x20]
cmp esi, eax
je 0x4a7f8e
mov eax, dword [esp + 0xb0]
add eax, esi
push eax
push esi
push edx
mov edx, ecx
mov ecx, edi
call fcn.0047af10
mov ecx, dword [esp + 0x1c]
add esp, 0xc
movsx eax, word [ecx + 0x22]
inc esi
mov edx, dword [esp + 0x18]
cmp esi, eax
jl 0x4a7f60
jmp 0x4a7fa1
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x9c], 0
jne 0x4a82a1
push dword [esp + 0x24]
lea eax, [esp + 0x70]
mov edx, ecx
push eax
push dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
xor esi, esi
push dword [ebp + 0x10]
mov dword [esp + 0x7c], esi
push dword [esp + 0x4c]
push dword [esp + 0x3c]
push dword [esp + 0x68]
push dword [esp + 0x9c]
push dword [esp + 0x38]
push dword [esp + 0xc4]
call fcn.00491e60
add esp, 0x28
cmp dword [esp + 0x54], esi
je 0x4a8016
movzx eax, byte [esp + 0x3c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push dword [esp + 0x28]
push esi
push dword [esp + 0x34]
call fcn.0048f1a0
add esp, 0x10
cmp dword [esp + 0x6c], esi
jne 0x4a8027
cmp byte [esp + 0x3c], 0
je 0x4a8151
cmp dword [esp + 0x38], esi
mov eax, dword [edi + 0xc]
mov esi, dword [edi + 0x88]
je 0x4a80f5
cmp dword [eax + 0x30], esi
jg 0x4a805c
push dword [esp + 0x58]
mov edx, 0x1e
mov ecx, edi
push 0
push dword [esp + 0x20]
call fcn.00460c40
add esp, 0xc
mov esi, eax
jmp 0x4a8096
mov edx, dword [esp + 0x18]
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 + 0x58]
mov word [eax + ecx*4], 0x1e
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 ecx, dword [edi]
mov eax, esi
cmp byte [ecx + 0x45], 0
je 0x4a80b6
push dword [esp + 0x7c]
mov edx, 0xfffffff2
call fcn.004618a0
add esp, 4
jmp 0x4a8151
test esi, esi
jns 0x4a80c1
mov eax, dword [edi + 0x88]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x58]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4a80e8
push 0xfffffffffffffff2
push dword [esp + 0x80]
mov edx, eax
mov ecx, edi
call fcn.00461a90
add esp, 8
jmp 0x4a8151
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf2
jmp 0x4a8151
cmp dword [eax + 0x30], esi
jg 0x4a8117
push dword [esp + 0x28]
mov edx, 0x21
mov ecx, edi
push 0
push dword [esp + 0x20]
call fcn.00460c40
add esp, 0xc
mov esi, eax
jmp 0x4a8151
mov edx, dword [esp + 0x18]
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 + 0x28]
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 + 0x10]
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push dword [esp + 0xa4]
push dword [esp + 0x88]
push dword [esp + 0x24]
call fcn.0048a6e0
add esp, 0x10
cmp dword [esp + 0x54], 0
jne 0x4a818b
mov al, byte [esp + 0x3c]
test al, al
jne 0x4a818b
cmp dword [esp + 0x38], 0
je 0x4a81f0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a81b2
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x75
mov ecx, edi
call fcn.00460c40
add esp, 0xc
jmp 0x4a81ec
mov edx, dword [esp + 0x18]
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 + 0x3c]
cmp dword [esp + 0x6c], 0
jne 0x4a81fb
test al, al
je 0x4a8227
mov edx, dword [edi + 0x88]
test esi, esi
jns 0x4a8208
lea esi, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x4a8217
mov eax, 0x66bf04
jmp 0x4a8220
mov eax, dword [edi + 0x58]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov al, byte [esp + 0x3c]
cmp dword [esp + 0x54], 0
mov esi, dword [esp + 0x14]
je 0x4a824e
mov edx, dword [esp + 0x10]
mov ecx, esi
movzx eax, al
push eax
push dword [esp + 0x28]
push dword [esp + 0x58]
push 0
call fcn.0048f1a0
add esp, 0x10
mov edx, dword [esp + 0x10]
mov ecx, esi
push 0
push 0
push 1
push dword [esp + 0xac]
push dword [esp + 0x60]
push dword [esp + 0x94]
push dword [esp + 0x30]
call fcn.00493680
add esp, 0x1c
cmp dword [esp + 0x54], 0
je 0x4a82a5
movzx eax, byte [esp + 0x3c]
mov ecx, esi
mov edx, dword [esp + 0x10]
push eax
push dword [esp + 0x28]
push dword [esp + 0x30]
push dword [esp + 0x58]
call fcn.004903b0
add esp, 0x10
jmp 0x4a82a5
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x5c]
test byte [eax + 0x18], 0x80
je 0x4a8323
cmp dword [esi + 0x80], 0
jne 0x4a8323
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a82e6
push 0
push 1
push dword [esp + 0x9c]
mov edx, 0x5b
mov ecx, edi
call fcn.00460c40
add esp, 0xc
jmp 0x4a8323
mov edx, dword [esp + 0x94]
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 eax, dword [esp + 0x44]
test eax, eax
je 0x4a8379
mov edi, dword [esp + 0x30]
nop
cmp byte [eax + 8], 0x6e
jne 0x4a836a
cmp byte [eax + 9], 2
jne 0x4a836a
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax + 0x10]
call fcn.004a5cb0
test eax, eax
je 0x4a8366
mov edx, dword [esp + 0x44]
mov ecx, esi
push edi
push dword [ebp + 0x10]
push dword [esp + 0x30]
push dword [esp + 0x1c]
call fcn.004a6600
add esp, 0x10
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x44], eax
test eax, eax
jne 0x4a8330
mov edi, dword [esp + 0x40]
cmp dword [esp + 0x64], 0
jne 0x4a8462
cmp dword [esp + 0x38], 0
mov eax, dword [edi + 0xc]
je 0x4a8404
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x4a83ae
mov eax, dword [esp + 0x30]
lea eax, [eax*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 0x4a83de
mov edx, dword [esp + 0xac]
mov ecx, edi
push 0
push edx
push dword [esp + 0x78]
mov edx, 7
call fcn.00460c40
add esp, 0xc
jmp 0x4a8462
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 dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xac]
mov word [eax + ecx*4], 7
jmp 0x4a8449
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a8428
push 0
push dword [esp + 0x34]
mov edx, 0xd
mov ecx, edi
push 0
call fcn.00460c40
add esp, 0xc
jmp 0x4a8462
mov edx, dword [esp + 0x30]
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 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edx
mov byte [eax + ecx*4 + 3], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x4a8481
mov eax, dword [esp + 0x1c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x88]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 8]
mov dword [esp + 0x2c], edx
test edx, edx
je 0x4a851c
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x80]
inc eax
mov dword [esp + 0x6c], eax
cmp byte [eax], 0
je 0x4a850b
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a84d1
push 0
push 0
push esi
mov edx, 0x6f
mov ecx, edi
call fcn.00460c40
mov edx, dword [esp + 0x38]
add esp, 0xc
jmp 0x4a8507
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 + 0x6c]
mov edx, dword [edx + 0x14]
inc eax
inc esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x6c], eax
test edx, edx
jne 0x4a84a4
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x80]
jge 0x4a8583
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a854d
push 0
push 0
push edx
mov edx, 0x6f
mov ecx, edi
call fcn.00460c40
add esp, 0xc
jmp 0x4a8583
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 + 0x14]
cmp byte [eax + 0x12], 0
jne 0x4a85a7
cmp dword [eax + 0x80], 0
jne 0x4a85a7
cmp dword [eax + 0x78], 0
je 0x4a85a7
mov ecx, eax
call fcn.00490a30
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x5c]
test byte [esi + 0x18], 0x80
je 0x4a8663
cmp dword [eax + 0x80], 0
jne 0x4a8663
cmp byte [eax + 0x12], 0
jne 0x4a8663
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x4a85f6
push 0
push 1
push dword [esp + 0x9c]
mov edx, 0x57
mov ecx, edi
call fcn.00460c40
add esp, 0xc
jmp 0x4a8633
mov edx, dword [esp + 0x94]
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.00462ca0
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
jne 0x4a8663
mov ecx, dword [edi + 0x64]
mov edx, str.rows_updated
push 0
push 1
push 0xffffffffffffffff
call fcn.00460180
add esp, 0xc
jmp 0x4a8663
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x24]
test ecx, ecx
je 0x4a867c
mov eax, dword [esp + 0xb8]
mov dword [ecx + 0x1c0], eax
test edi, edi
je 0x4a871d
test esi, esi
je 0x4a86c5
cmp dword [esi + 0x1c8], 0
je 0x4a869f
mov edx, edi
mov ecx, esi
call fcn.00441a40
jmp 0x4a871d
cmp edi, dword [esi + 0x120]
jb 0x4a86c5
cmp edi, dword [esi + 0x124]
jae 0x4a86c5
mov eax, dword [esi + 0x11c]
mov dword [edi], eax
dec dword [esi + 0x108]
mov dword [esi + 0x11c], edi
jmp 0x4a871d
cmp dword [0x668758], 0
je 0x4a8713
mov eax, dword [0x66bb18]
test eax, eax
je 0x4a86e1
push eax
call dword [0x6687b0]
add esp, 4
push edi
call dword [0x66878c]
sub dword [0x66bb50], eax
add esp, 4
dec dword [0x66bb74]
push edi
call dword [0x668784]
mov eax, dword [0x66bb18]
add esp, 4
test eax, eax
je 0x4a871d
push eax
call dword [0x6687b8]
jmp 0x4a871a
push edi
call dword [0x668784]
add esp, 4
mov edx, dword [esp + 0x74]
mov ecx, esi
call fcn.00487500
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4a8739
mov edx, eax
mov ecx, esi
call fcn.00477af0
mov eax, dword [esp + 0x90]
test eax, eax
je 0x4a874d
mov edx, eax
mov ecx, esi
call fcn.00476a50
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
call fcn.004c0564
mov esp, ebp
pop ebp
ret