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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
xor eax, eax
mov dword [esp + 0x70], edx
push esi
mov esi, dword [ebp + 0xc]
xor edx, edx
push edi
mov edi, ecx
mov dword [esp + 0xbc], edx
xorps xmm0, xmm0
mov dword [esp + 0x10], edi
mov dword [esp + 0xb8], 0
mov dword [esp + 0xa4], 0
mov edx, dword [edi]
mov dword [esp + 0x58], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x34], eax
movlpd qword [esp + 0xc8], xmm0
mov dword [esp + 0x64], edx
cmp dword [edi + 0x24], eax
jne 0x4b8be2
cmp byte [edx + 0x51], al
jne 0x4b8be2
mov edx, dword [esp + 0x78]
call fcn.00499cf0
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
je 0x4b8bdf
mov edx, dword [esi + 0x48]
mov ecx, dword [edi]
call fcn.004aa320
mov dword [esp + 0x68], eax
mov edx, esi
lea eax, [esp + 0xc0]
mov ecx, edi
push eax
push dword [ebp + 8]
push 0x7f
call fcn.004b6160
add esp, 0xc
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xc]
mov edx, esi
mov ecx, edi
mov dword [esp + 0x94], eax
call fcn.00495ad0
test eax, eax
jne 0x4b8bdf
push dword [esp + 0xc0]
mov edx, esi
mov ecx, edi
call fcn.00499d50
add esp, 4
test eax, eax
jne 0x4b8bdf
mov eax, dword [edi + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0xa0], eax
lea ecx, [eax + 1]
mov dword [edi + 0x28], ecx
test byte [esi + 0x24], 0x80
mov dword [esp + 0x98], ecx
jne 0x4b6d8d
mov dword [esp + 0x38], 0
jmp 0x4b6d9c
mov ecx, esi
call fcn.00493820
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 8]
xor edx, edx
mov dword [esp + 0x74], edx
test ecx, ecx
je 0x4b6de1
mov edx, dword [esp + 0x98]
xor esi, esi
cmp dword [esp + 0x38], ecx
mov eax, edx
mov edi, dword [esp + 0x10]
cmovne eax, dword [esp + 0x18]
inc edx
inc esi
mov dword [esp + 0x18], eax
mov dword [edi + 0x28], edx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4b6db2
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x18], eax
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x4b6e07
mov edx, dword [ecx + 0x20]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x18], eax
mov dword [edi + 0x28], ecx
mov ecx, dword [esp + 0x78]
push 0
mov dword [ecx + 0x34], eax
movsx eax, word [esi + 0x2a]
mov ecx, dword [esp + 0x68]
add eax, edx
lea eax, [eax*4 + 6]
add eax, edx
push eax
call fcn.00452440
mov ecx, eax
add esp, 8
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x4b8bdf
movsx eax, word [esi + 0x2a]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x70], ecx
lea ecx, [ecx + eax*4]
inc eax
push eax
add ecx, 4
push 1
push ecx
mov dword [esp + 0x88], ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x80]
add esp, 0xc
mov ecx, dword [esp + 0x7c]
mov byte [ecx + eax + 1], 0
xor eax, eax
xor ecx, ecx
cmp ax, word [esi + 0x2a]
jge 0x4b6e95
mov edi, dword [esp + 0x2c]
mov dword [edi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x4b6e81
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x78]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x114], eax
mov eax, dword [edi + 8]
movlpd qword [esp + 0x11c], xmm0
mov dword [esp + 0x124], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x110], edi
mov dword [esp + 0x118], ecx
mov dword [esp + 0x128], 0x200
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4b6f0d
cmp dword [edi + 0x74], eax
jne 0x4b6efa
mov eax, dword [edi]
test byte [eax + 0x4c], 8
jne 0x4b6efa
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.00471130
mov dword [esp + 0xc], eax
test eax, eax
je 0x4b8bd2
mov ecx, dword [ebp + 8]
xor al, al
mov byte [esp + 0x27], 0
mov byte [esp + 0x1f], al
mov dword [esp + 0x40], 0
cmp dword [ecx], 0
jle 0x4b7108
lea esi, [ecx + 4]
mov dword [esp + 0x30], esi
nop dword [eax]
nop word [eax + eax]
mov edx, dword [esi]
lea ecx, [esp + 0x110]
call fcn.004857b0
test eax, eax
jne 0x4b8bd2
mov edx, dword [esp + 0x14]
xor edi, edi
movsx eax, word [edx + 0x2a]
test eax, eax
jle 0x4b702e
mov eax, dword [edx + 4]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x44], eax
nop word [eax + eax]
mov edx, dword [eax]
mov esi, dword [esi + 4]
mov dword [esp + 0xa8], edx
sub esi, edx
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4b6fbf
test ecx, ecx
jne 0x4b6fd1
mov edx, dword [esp + 0x14]
movsx eax, word [edx + 0x28]
cmp edi, eax
jne 0x4b6ff2
mov esi, dword [esp + 0x30]
mov byte [esp + 0x1f], 1
mov eax, dword [esi]
mov dword [esp + 0xa4], eax
jmp 0x4b7023
movzx eax, byte [eax + 0x507cb0]
movzx ecx, byte [ecx + 0x507cb0]
sub ecx, eax
jne 0x4b6fd4
inc edx
jmp 0x4b6f90
mov edx, dword [esp + 0x14]
inc edi
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x30]
add eax, 0x14
mov dword [esp + 0x44], eax
movsx ecx, word [edx + 0x2a]
cmp edi, ecx
jge 0x4b702e
jmp 0x4b6f80
cmp dword [esp + 0x38], 0
mov ecx, dword [esp + 0x9c]
je 0x4b7011
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0x10], 1
je 0x4b7011
mov byte [esp + 0x27], 1
jmp 0x4b701f
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0x10], 0x60
jne 0x4b7139
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
mov dword [ecx + edi*4], eax
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x4b7094
cmp dword [esp + 0x38], 0
jne 0x4b7156
mov esi, dword [esi + 4]
mov edx, str._ROWID_
mov ecx, esi
call fcn.00455680
test eax, eax
je 0x4b7078
mov edx, str.ROWID
mov ecx, esi
call fcn.00455680
test eax, eax
je 0x4b7078
mov edx, 0x511cfc
mov ecx, esi
call fcn.00455680
test eax, eax
jne 0x4b7156
mov esi, dword [esp + 0x30]
or edi, 0xffffffff
mov byte [esp + 0x1f], 1
mov edx, str.ROWID
mov eax, dword [esi]
mov dword [esp + 0xa4], eax
jmp 0x4b70a8
test edi, edi
jns 0x4b709f
mov edx, str.ROWID
jmp 0x4b70a8
mov eax, dword [edx + 4]
lea ecx, [edi + edi*4]
mov edx, dword [eax + ecx*4]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
push dword [edx]
mov edx, 0x17
call fcn.00492450
add esp, 0xc
cmp eax, 1
je 0x4b8bd2
cmp eax, 2
jne 0x4b70e9
mov eax, dword [esp + 0x2c]
mov dword [eax + edi*4], 0xffffffff
mov edi, dword [esp + 0x40]
add esi, 0x14
mov eax, dword [ebp + 8]
inc edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x30], esi
cmp edi, dword [eax]
jl 0x4b6f40
mov al, byte [esp + 0x1f]
mov ecx, dword [esp + 0x14]
mov dl, byte [esp + 0x27]
add dl, al
mov byte [esp + 0x6c], dl
test byte [ecx + 0x24], 0x60
je 0x4b7248
movzx eax, word [ecx + 0x2a]
xor edx, edx
xor edi, edi
xor esi, esi
mov dword [esp + 0x44], edx
cmp di, ax
jge 0x4b7244
jmp 0x4b7184
push dword [esp + 0xa8]
push str.cannot_UPDATE_generated_column___s_
push dword [esp + 0x18]
call fcn.00455550
add esp, 0xc
jmp 0x4b8bd2
mov eax, dword [esp + 0x40]
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x10]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 8]
push str.no_such_column:__s
push esi
call fcn.00455550
add esp, 0xc
mov byte [esi + 0x11], 1
jmp 0x4b8bd2
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [eax + esi*4], 0
jge 0x4b7223
mov eax, dword [ecx + 4]
test byte [eax + edi + 0x10], 0x60
je 0x4b7223
mov edx, dword [eax + edi + 4]
xorps xmm0, xmm0
mov eax, dword [esp + 0x2c]
movaps xmmword [esp + 0xd0], xmm0
mov dword [esp + 0xe8], 0
movq qword [esp + 0xe0], xmm0
mov dword [esp + 0xd4], 0x4a2ae0
mov dword [esp + 0xe8], eax
test edx, edx
je 0x4b71ed
lea ecx, [esp + 0xd0]
call fcn.004831c0
mov ecx, dword [esp + 0x14]
cmp byte [esp + 0x1f], 0
mov ax, word [esp + 0xe4]
jne 0x4b7204
mov edx, 0xfffd
and ax, dx
test ax, ax
je 0x4b721f
mov eax, dword [esp + 0x2c]
mov edx, 1
mov dword [esp + 0x44], edx
mov dword [eax + esi*4], 0x1869f
jmp 0x4b7223
mov edx, dword [esp + 0x44]
movzx eax, word [ecx + 0x2a]
inc esi
mov ecx, eax
add edi, 0x14
cwde
cmp esi, eax
jl 0x4b7180
mov eax, ecx
mov ecx, dword [esp + 0x14]
test edx, edx
jne 0x4b7124
mov dl, byte [esp + 0x6c]
cmp dword [ecx + 0x38], 0
je 0x4b7256
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x4b7270
xorps xmm0, xmm0
movlpd qword [esp + 0xa8], xmm0
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0x78]
mov dword [esi + 0x40], eax
movzx eax, dl
mov dword [esi + 0x44], ecx
mov esi, dword [esp + 0x14]
mov edx, esi
mov ecx, dword [esp + 0x10]
push eax
push dword [esp + 0x30]
mov dword [esp + 0xa4], eax
call fcn.004a0760
add esp, 8
mov ecx, eax
cmp dword [ebp + 0x10], 5
mov edx, 1
mov eax, dword [esp + 0x88]
cmove eax, edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x88], eax
xor edi, edi
mov esi, dword [esi + 8]
mov dword [esp + 0x30], edi
test esi, esi
je 0x4b7446
nop dword [eax]
cmp byte [esp + 0x6c], 0
jne 0x4b75c3
cmp ecx, 1
jg 0x4b75c3
cmp esi, dword [esp + 0x38]
je 0x4b75c3
mov edx, dword [esi + 0x24]
test edx, edx
je 0x4b7356
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xd0]
xorps xmm0, xmm0
mov dword [esp + 0xe8], 0
movaps xmmword [esp + 0xd0], xmm0
movq qword [esp + 0xe0], xmm0
mov dword [esp + 0xd4], 0x4a2ae0
mov dword [esp + 0xe8], eax
call fcn.004831c0
cmp byte [esp + 0x1f], 0
mov ax, word [esp + 0xe4]
jne 0x4b734d
mov ecx, 0xfffd
and ax, cx
test ax, ax
jne 0x4b75c3
xor ecx, ecx
xor eax, eax
xor edi, edi
mov dword [esp + 0xa8], ecx
cmp ax, word [esi + 0x32]
jae 0x4b741e
mov dword [esp + 0x44], ecx
mov eax, dword [esi + 4]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x4b738c
mov edx, dword [esp + 0x2c]
cwde
mov eax, dword [edx + eax*4]
not eax
shr eax, 0x1f
jmp 0x4b73fb
mov eax, dword [esi + 0x28]
xorps xmm0, xmm0
movaps xmmword [esp + 0xf0], xmm0
mov dword [esp + 0x108], 0
movq qword [esp + 0x100], xmm0
mov edx, dword [eax + ecx + 4]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xf4], 0x4a2ae0
mov dword [esp + 0x108], eax
test edx, edx
je 0x4b73d8
lea ecx, [esp + 0xf0]
call fcn.004831c0
cmp byte [esp + 0x1f], 0
mov cx, word [esp + 0x104]
jne 0x4b73ef
mov eax, 0xfffd
and cx, ax
xor eax, eax
test cx, cx
mov ecx, dword [esp + 0x44]
setne al
test eax, eax
jne 0x4b7592
movzx eax, word [esi + 0x32]
inc edi
add ecx, 0x14
mov dword [esp + 0x44], ecx
cmp edi, eax
jl 0x4b7371
mov ecx, dword [esp + 0xa8]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x7c]
mov byte [edi + eax + 1], 0
mov eax, dword [esp + 0x70]
mov dword [eax + edi*4], ecx
inc edi
mov esi, dword [esi + 0x14]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x30], edi
test esi, esi
jne 0x4b72d0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x70]
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [ecx + edi*4], eax
cmp dword [esp + 0x88], 0
je 0x4b7478
mov eax, dword [esp + 0x74]
inc eax
push eax
push 1
push dword [esp + 0x84]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp byte [esi + 0x12], 0
jne 0x4b7489
mov eax, dword [esp + 0xc]
or dword [eax + 0x98], 0x20
cmp dword [esp + 0x3c], 0
jne 0x4b749c
cmp dword [esp + 0x50], 0
mov byte [esp + 0x4b], 0
je 0x4b74a1
mov byte [esp + 0x4b], 1
mov eax, dword [esi + 0x74]
test eax, eax
mov ecx, dword [esp + 0x68]
cmovne esi, eax
mov eax, 1
shl eax, cl
mov edx, dword [esi + 0x54]
test edx, eax
jne 0x4b74d1
bts edx, ecx
mov dword [esi + 0x54], edx
cmp ecx, 1
jne 0x4b74d1
mov ecx, esi
call fcn.004988d0
mov ecx, dword [esp + 0x68]
mov eax, dword [esi + 0x50]
mov edx, dword [esp + 0x10]
bts eax, ecx
mov dword [esi + 0x50], eax
mov al, byte [esp + 0x4b]
or byte [esi + 0x14], al
mov esi, dword [esp + 0x14]
cmp dword [esi + 0x38], 0
jne 0x4b756a
mov eax, dword [esp + 0x70]
mov ecx, dword [edx + 0x2c]
inc ecx
cmp byte [esp + 0x27], 0
mov dword [esp + 0x4c], ecx
mov eax, dword [eax + edi*4]
mov dword [esp + 0x84], eax
mov dword [edx + 0x2c], ecx
mov dword [esp + 0x20], ecx
jne 0x4b7522
cmp dword [esp + 0x3c], 0
jne 0x4b7522
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4b7539
lea eax, [ecx + 1]
mov dword [esp + 0x8c], eax
movsx eax, word [esi + 0x2a]
add ecx, eax
mov eax, dword [esp + 0x50]
mov dword [edx + 0x2c], ecx
cmp byte [esp + 0x6c], 0
jne 0x4b754b
cmp dword [esp + 0x3c], 0
jne 0x4b754b
test eax, eax
je 0x4b7557
lea eax, [ecx + 1]
mov dword [esp + 0x4c], eax
mov ecx, eax
mov dword [edx + 0x2c], eax
lea eax, [ecx + 1]
mov dword [esp + 0x90], eax
movsx eax, word [esi + 0x2a]
add eax, ecx
mov dword [edx + 0x2c], eax
cmp dword [esp + 0x94], 0
je 0x4b75e4
mov ecx, dword [edx + 0xf0]
mov eax, dword [esi]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xa8], ecx
mov dword [edx + 0xf0], eax
jmp 0x4b7600
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
mov ecx, dword [edx + 0x2c]
inc ecx
mov dword [edx + 0x2c], ecx
movzx eax, word [esi + 0x34]
add eax, ecx
cmp dword [ebp + 0x10], 0xb
mov dword [edx + 0x2c], eax
jne 0x4b75d7
cmp byte [esi + 0x36], 5
jne 0x4b75d7
mov dword [esp + 0x88], 1
jmp 0x4b75d7
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x2c]
inc ecx
mov dword [edx + 0x2c], ecx
movzx eax, word [esi + 0x34]
add eax, ecx
mov dword [edx + 0x2c], eax
test ecx, ecx
jne 0x4b742b
jmp 0x4b7422
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xa8], eax
je 0x4b761b
push dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, esi
push 0
push 0
push dword [ebp + 0xc]
call fcn.00499e30
add esp, 0x10
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x110]
call fcn.004857b0
test eax, eax
jne 0x4b8bba
cmp dword [esi + 0x38], eax
je 0x4b7661
push dword [ebp + 0x10]
mov edx, dword [esp + 0x7c]
push dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x34]
push dword [esp + 0xb0]
push dword [ebp + 8]
push esi
call fcn.004b8c20
add esp, 0x18
jmp 0x4b8bba
mov eax, dword [esp + 0x10]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
mov ecx, dword [esp + 0x10]
je 0x4b7709
cmp dword [ecx + 0x78], 0
jne 0x4b7709
cmp byte [ecx + 0x12], 0
jne 0x4b7709
cmp dword [ebp + 0x1c], 0
mov esi, dword [esp + 0xc]
jne 0x4b770d
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0xbc], edx
cmp dword [esi + 0x70], ecx
jg 0x4b76d0
push 0
push edx
push 0
mov edx, 0x45
mov ecx, esi
call fcn.00471340
mov ecx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4b770d
mov edi, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x45
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 ecx, dword [esp + 0x10]
jmp 0x4b770d
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
test byte [edx + 0x24], 0x80
jne 0x4b780f
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b7741
push dword [esp + 0x20]
mov edx, 0x48
mov ecx, esi
push dword [esp + 0x88]
push 0
call fcn.00471340
add esp, 0xc
jmp 0x4b7777
mov edx, dword [esp + 0x84]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x1c], 0
je 0x4b7949
mov ecx, dword [esp + 0x10]
push 0x10
push dword [esp + 0x60]
mov esi, 1
mov dword [esp + 0x4c], 0
push dword [ebp + 0xc]
mov dword [esp + 0x60], esi
push ecx
call fcn.0048c8d0
mov eax, dword [esp + 0xbc]
add esp, 0x10
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc8], 0
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test byte [ecx + 0x24], 0x80
jne 0x4b7ad3
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4b7a1e
mov ecx, dword [esp + 0xc]
mov edx, 0x7f
push 0
push dword [esp + 0x24]
push eax
call fcn.00471340
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x4b7a55
mov eax, dword [esp + 0x38]
movzx esi, word [eax + 0x32]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x80], esi
movsx esi, si
lea edx, [eax + 1]
inc eax
add eax, esi
mov dword [esp + 0x28], edx
cmp dword [ebp + 0x1c], 0
mov dword [esp + 0x34], eax
mov dword [ecx + 0x2c], eax
jne 0x4b7785
mov eax, dword [ecx + 0x28]
dec edx
mov dword [esp + 0x58], eax
add edx, esi
inc eax
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x4b7871
push edx
push dword [esp + 0x2c]
mov edx, 0x48
mov ecx, eax
push 0
call fcn.00471340
add esp, 0xc
jmp 0x4b78aa
mov edi, dword [esp + 0xc]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, edi
mov edi, dword [esp + 0x28]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x60], edx
cmp dword [ecx + 0x70], edx
jg 0x4b78d4
push 0
push esi
push dword [esp + 0x60]
mov edx, 0x64
call fcn.00471340
add esp, 0xc
mov dword [esp + 0x60], eax
jmp 0x4b7907
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x58]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x64
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 eax, dword [esp + 0x10]
mov ecx, eax
mov edx, dword [esp + 0x38]
mov esi, dword [eax + 8]
call fcn.00499080
mov edx, eax
test edx, edx
je 0x4b7949
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x4b7937
push edx
mov edx, 0xfffffff7
call fcn.00471ec0
add esp, 4
jmp 0x4b7949
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov ecx, dword [esp + 0x10]
mov eax, 0x1004
cmp byte [ecx + 0x12], 0
jne 0x4b797d
cmp dword [esp + 0x3c], 0
jne 0x4b797d
cmp dword [esp + 0x50], 0
jne 0x4b797d
cmp byte [esp + 0x6c], 0
jne 0x4b797d
cmp dword [esp + 0x88], 0
mov edx, 0x100c
cmove eax, edx
push dword [esp + 0x98]
mov edx, dword [esp + 0x7c]
push eax
push 0
push 0
push dword [ebp + 0xc]
call fcn.004c6960
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x4b8bba
movzx esi, byte [ecx + 0x2e]
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x30]
and ecx, 1
mov dword [esp + 0xb0], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x54], esi
mov dword [esp + 0xc8], ecx
cmp esi, 1
je 0x4b77cc
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x18]
mov byte [ecx + 0x14], 1
cmp esi, 2
jne 0x4b77d0
test edx, edx
js 0x4b77d0
cmp edx, eax
je 0x4b77d0
mov eax, dword [esp + 0x7c]
xor ecx, ecx
sub eax, dword [esp + 0xa0]
cmp byte [eax + edx], cl
cmovne esi, ecx
mov dword [esp + 0x54], esi
jmp 0x4b77cc
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test esi, esi
jne 0x4b7c69
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x70]
inc dword [eax + 0x2c]
mov eax, dword [eax + 0x2c]
mov dword [ecx + edi*4], eax
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4b7a98
mov ecx, dword [esp + 0xc]
mov edx, 0x93
push esi
push dword [esp + 0x24]
push dword [esp + 0x8c]
call fcn.00471340
add esp, 0xc
jmp 0x4b7c69
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x84]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x93
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4b7c69
mov eax, dword [esp + 0x80]
xor esi, esi
movsx edi, ax
test edi, edi
jle 0x4b7b11
mov eax, dword [esp + 0x28]
mov edx, ecx
mov ecx, dword [esp + 0xc]
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.0048aa80
mov ecx, dword [esp + 0x20]
inc esi
add esp, 0xc
cmp esi, edi
jl 0x4b7ae3
mov esi, dword [esp + 0x54]
test esi, esi
je 0x4b7b6a
mov edx, dword [esp + 0x60]
test edx, edx
je 0x4b7b56
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
cmp byte [ecx + 0x51], 0
jne 0x4b7b56
mov eax, dword [eax + 0x68]
lea edx, [edx + edx*4]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.00471ec0
mov word [esi], 0xad
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
mov dword [esp + 0xb4], edi
mov dword [esp + 0x34], eax
jmp 0x4b7c69
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x64]
call fcn.004a1340
mov ecx, dword [esp + 0xc]
mov esi, eax
mov dword [esp + 0x80], esi
mov edx, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], edx
jg 0x4b7ba6
push dword [esp + 0x34]
mov edx, 0x5b
push edi
push dword [esp + 0x30]
call fcn.00471340
add esp, 0xc
mov edx, eax
jmp 0x4b7be0
mov esi, dword [esp + 0x28]
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x5b
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0x10], 0
push edi
push esi
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00472130
mov edx, dword [esi + 0x6c]
add esp, 8
cmp dword [esi + 0x70], edx
jg 0x4b7c17
push dword [esp + 0x28]
mov edx, 0x83
mov ecx, esi
push dword [esp + 0x38]
push dword [esp + 0x60]
call fcn.00471340
add esp, 0xc
mov edx, eax
jmp 0x4b7c4e
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x58]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x83
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x4b7c65
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edi
mov esi, dword [esp + 0x54]
cmp dword [ebp + 0x1c], 0
jne 0x4b7e55
cmp esi, 2
je 0x4b7c81
mov ecx, dword [esp + 0x44]
call fcn.004c74b0
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0xb0]
test eax, eax
jne 0x4b7da4
mov edx, dword [esp + 0x54]
xor esi, esi
test edx, edx
je 0x4b7ccd
test edi, edi
js 0x4b7cb4
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0xa0]
mov byte [eax + edi], 0
mov ecx, dword [esp + 0x68]
test ecx, ecx
js 0x4b7cd1
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0xa0]
mov byte [eax + ecx], 0
jmp 0x4b7cd1
mov ecx, dword [esp + 0x68]
cmp edx, 2
jne 0x4b7d41
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x74]
setns al
sub ecx, eax
test ecx, ecx
jle 0x4b7d41
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], esi
jg 0x4b7d0a
push 0
push 0
push 0
mov edx, 0x11
call fcn.00471340
add esp, 0xc
mov esi, eax
jmp 0x4b7d41
lea eax, [esi + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0
push 0
push dword [esp + 0x84]
push dword [esp + 0xac]
push 0
push 0x61
call fcn.004a4bb0
add esp, 0x18
test esi, esi
je 0x4b7d99
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x6c]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x4b7d81
mov eax, 0x527440
jmp 0x4b7d96
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x54]
test esi, esi
je 0x4b7ed7
test eax, eax
jne 0x4b7de2
mov eax, dword [esp + 0x18]
cmp edi, eax
je 0x4b7de2
mov edi, dword [esp + 0x5c]
cmp dword [esp + 0x68], eax
je 0x4b7de6
push dword [esp + 0xb4]
mov ecx, dword [esp + 0x10]
mov edx, 0x1d
push dword [esp + 0x38]
push edi
push eax
call fcn.00471940
add esp, 0x10
jmp 0x4b7de6
mov edi, dword [esp + 0x5c]
cmp esi, 1
je 0x4b7df9
mov eax, dword [esp + 0x10]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0xc]
cmp dword [esp + 0x38], 0
mov edx, dword [esp + 0x20]
cmovne edx, dword [esp + 0x34]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b7e2a
push 0
push edi
push edx
mov edi, esi
mov edx, 0x32
mov ecx, edi
call fcn.00471340
add esp, 0xc
jmp 0x4b7e59
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0xc]
cmp byte [esp + 0x1f], 0
mov esi, dword [esp + 0x10]
je 0x4b811a
mov edx, dword [esp + 0x4c]
mov ecx, esi
push edx
mov edx, dword [esp + 0xa8]
call fcn.0048afe0
mov edx, dword [esp + 0x50]
add esp, 4
cmp eax, edx
je 0x4b7eb2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4b7eb2
push edx
push eax
mov eax, dword [esp + 0xac]
mov edx, dword [eax + 4]
and edx, 0x200000
neg edx
sbb edx, edx
add edx, 0x4e
call fcn.004714b0
mov edx, dword [esp + 0x54]
add esp, 8
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4b80eb
push 0
push 0
push edx
mov edx, 0xf
mov ecx, edi
call fcn.00471340
add esp, 0xc
jmp 0x4b811a
cmp dword [esp + 0x38], 0
mov edi, dword [esp + 0xc]
je 0x4b8029
mov eax, dword [esp + 0x10]
dec dword [eax + 0x38]
mov ecx, dword [edi + 0x6c]
mov esi, dword [eax + 0x38]
mov dword [esp + 0x40], esi
cmp dword [edi + 0x70], ecx
jg 0x4b7f17
push 0
push dword [esp + 0x60]
mov edx, 0x25
mov ecx, edi
push dword [esp + 0x60]
call fcn.00471340
add esp, 0xc
jmp 0x4b7f4a
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4], 0x25
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0xb8], ecx
cmp dword [edi + 0x70], ecx
jg 0x4b7f7b
push 0
push dword [esp + 0x38]
mov edx, 0x7e
mov ecx, edi
push dword [esp + 0x60]
call fcn.00471340
add esp, 0xc
mov dword [esp + 0xb8], eax
jmp 0x4b7fae
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x4b7fd2
push dword [esp + 0x34]
mov edx, 0x1d
mov ecx, edi
push esi
push dword [esp + 0x20]
call fcn.00471340
add esp, 0xc
mov edx, eax
jmp 0x4b8005
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x1d
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4b7e59
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4b7e59
mov esi, dword [edi + 0x6c]
mov dword [esp + 0x40], esi
cmp dword [edi + 0x70], esi
jg 0x4b805f
push dword [esp + 0x20]
mov edx, 0x2a
mov ecx, edi
push dword [esp + 0x60]
push dword [esp + 0x8c]
call fcn.00471340
mov edx, dword [esp + 0x2c]
mov esi, eax
add esp, 0xc
mov dword [esp + 0x40], esi
jmp 0x4b8095
mov edx, dword [esp + 0x84]
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x2a
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4b80b7
push edx
push esi
push dword [esp + 0x20]
mov edx, 0x20
mov ecx, edi
call fcn.00471340
add esp, 0xc
jmp 0x4b7e59
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4b7e59
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xf
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 + 0x27], 0
jne 0x4b8173
cmp dword [esp + 0x50], 0
jne 0x4b817a
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4b82cb
xor esi, esi
push dword [ebp + 0x10]
mov edx, dword [esp + 0x40]
push dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
push 3
push 0
push dword [ebp + 8]
call fcn.004b6b80
or esi, eax
xor ecx, ecx
mov eax, dword [esp + 0x28]
add esp, 0x14
mov dword [esp + 0x80], esi
xor esi, esi
cmp cx, word [eax + 0x2a]
jge 0x4b825e
xor edi, edi
jmp 0x4b8194
cmp dword [esp + 0x50], 0
je 0x4b8134
mov edx, dword [esp + 0x14]
mov ecx, esi
call fcn.004a0670
mov esi, eax
jmp 0x4b8136
mov eax, dword [esp + 0x14]
mov edx, esi
mov ecx, eax
call fcn.00493870
movsx edx, ax
add edx, dword [esp + 0x8c]
cmp dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x60], edx
je 0x4b8234
cmp esi, 0x20
jge 0x4b81cc
mov eax, 1
mov ecx, esi
shl eax, cl
test dword [esp + 0x80], eax
jne 0x4b8234
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
test byte [eax + edi + 0x10], 1
jne 0x4b8234
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x4b81f9
push 0
push edx
push 0
mov edx, 0x48
mov ecx, eax
call fcn.00471340
jmp 0x4b8247
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edx + 0x6c], eax
mov eax, edx
mov edx, dword [esp + 0x60]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x48
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
jmp 0x4b824a
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x18]
push esi
push dword [esp + 0x20]
call fcn.0048aa80
add esp, 0xc
mov eax, dword [esp + 0x14]
inc esi
add edi, 0x14
movsx eax, word [eax + 0x2a]
cmp esi, eax
jl 0x4b8190
cmp byte [esp + 0x1f], 0
jne 0x4b82c7
cmp dword [esp + 0x38], 0
jne 0x4b82c7
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b8294
mov edx, dword [esp + 0x4c]
mov ecx, esi
push 0
push edx
push dword [esp + 0x28]
mov edx, 0x4d
call fcn.00471340
add esp, 0xc
jmp 0x4b82c7
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x3c]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, eax
push dword [esp + 0x18]
push 1
push 1
push dword [ebp + 8]
call fcn.004b6b80
mov ecx, dword [esp + 0xa4]
xor edx, edx
mov dword [esp + 0x3c], eax
add esp, 0x14
mov eax, dword [esp + 0x14]
xor edi, edi
mov esi, ecx
cmp dx, word [eax + 0x2a]
mov edx, dword [esp + 0x28]
jge 0x4b8485
xor ecx, ecx
mov dword [esp + 0x60], ecx
movsx eax, word [eax + 0x28]
cmp edi, eax
jne 0x4b8374
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x4b833a
push 0
push esi
push 0
mov edx, 0x48
mov ecx, eax
call fcn.00471340
jmp 0x4b8458
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edx + 0x6c], eax
mov eax, edx
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x48
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 0x4b845b
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
movzx eax, word [eax + ecx + 0x10]
test al, 0x60
je 0x4b8393
test al, 0x20
lea eax, [esi - 1]
cmove eax, esi
mov esi, eax
jmp 0x4b845f
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + edi*4]
test eax, eax
js 0x4b83f8
mov ecx, dword [ebp + 8]
lea eax, [eax + eax*4]
push esi
mov eax, dword [ecx + eax*4 + 4]
mov edx, eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x90], eax
call fcn.0048afe0
add esp, 4
cmp eax, esi
je 0x4b845b
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4b845b
mov edx, dword [esp + 0x8c]
push esi
push eax
mov edx, dword [edx + 4]
and edx, 0x200000
neg edx
sbb edx, edx
add edx, 0x4e
call fcn.004714b0
add esp, 8
jmp 0x4b845b
test dword [esp + 0xc0], 1
je 0x4b843a
cmp edi, 0x1f
jg 0x4b843a
mov eax, 1
mov ecx, edi
shl eax, cl
test edx, eax
jne 0x4b843a
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x4b833a
push 0
push esi
push 0
mov edx, 0x48
mov ecx, eax
call fcn.00471340
jmp 0x4b8458
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push esi
push edi
push dword [esp + 0x20]
call fcn.0048aa80
mov dword [esp + 0xd4], 0
add esp, 0xc
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
inc edi
add dword [esp + 0x60], 0x14
inc esi
mov ecx, dword [esp + 0x60]
movsx eax, word [eax + 0x2a]
cmp edi, eax
mov eax, dword [esp + 0x14]
jl 0x4b8310
mov ecx, dword [esp + 0x90]
test byte [eax + 0x24], 0x60
je 0x4b849e
mov edx, ecx
mov ecx, dword [esp + 0x10]
push eax
call fcn.004a14e0
mov eax, dword [esp + 0x18]
add esp, 4
test byte [esp + 0xc0], 1
je 0x4b8650
push dword [esp + 0x90]
mov edi, dword [esp + 0x10]
mov edx, eax
mov ecx, edi
call fcn.004a13f0
mov esi, dword [esp + 0x44]
add esp, 4
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
push esi
push dword [ebp + 0x10]
push dword [esp + 0x28]
push dword [esp + 0x20]
push 1
push dword [ebp + 8]
push 0x7f
call fcn.004b6af0
mov edx, dword [edi + 0x6c]
add esp, 0x1c
cmp dword [esp + 0x38], 0
mov eax, dword [edi + 0x70]
je 0x4b856a
cmp eax, edx
jg 0x4b8517
push dword [esp + 0x34]
mov edx, 0x1d
mov ecx, edi
push esi
push dword [esp + 0x20]
call fcn.00471340
add esp, 0xc
mov edx, eax
jmp 0x4b854a
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x1d
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4b85b7
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0xb4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x4b85b7
cmp eax, edx
jg 0x4b8588
push dword [esp + 0x20]
mov edx, 0x20
mov ecx, edi
push esi
push dword [esp + 0x20]
call fcn.00471340
add esp, 0xc
jmp 0x4b85b7
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov eax, dword [esp + 0x90]
xor esi, esi
mov edi, eax
cmp cx, word [edx + 0x2a]
jge 0x4b8637
mov dword [esp + 0x8c], ecx
mov eax, dword [edx + 4]
movzx eax, word [ecx + eax + 0x10]
test al, 0x60
je 0x4b85ed
test al, 0x20
lea eax, [edi - 1]
cmove eax, edi
mov edi, eax
jmp 0x4b861c
mov eax, dword [esp + 0x2c]
cmp dword [eax + esi*4], 0
jge 0x4b861c
movsx eax, word [edx + 0x28]
cmp esi, eax
je 0x4b861c
mov ecx, dword [esp + 0xc]
push edi
push esi
push dword [esp + 0x20]
call fcn.0048aa80
mov ecx, dword [esp + 0x98]
add esp, 0xc
mov edx, dword [esp + 0x14]
movsx eax, word [edx + 0x2a]
inc esi
add ecx, 0x14
inc edi
mov dword [esp + 0x8c], ecx
cmp esi, eax
jl 0x4b85d5
mov eax, dword [esp + 0x90]
test byte [edx + 0x24], 0x60
mov esi, dword [esp + 0x10]
je 0x4b8658
push edx
mov edx, eax
mov ecx, esi
call fcn.004a14e0
add esp, 4
jmp 0x4b8654
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x94], 0
mov edi, dword [esp + 0x40]
jne 0x4b8940
push 0
push dword [esp + 0x30]
lea eax, [esp + 0x90]
mov ecx, esi
push eax
push edi
push dword [ebp + 0x10]
push dword [esp + 0x80]
push dword [esp + 0x38]
push dword [esp + 0x68]
push dword [esp + 0xb8]
push dword [esp + 0x3c]
push dword [esp + 0x98]
call fcn.004a2b20
add esp, 0x2c
cmp dword [esp + 0x88], 0
jne 0x4b86bc
cmp byte [esp + 0x6c], 0
je 0x4b87a1
cmp dword [esp + 0x38], 0
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx + 0x6c]
mov eax, dword [ecx + 0x70]
je 0x4b874a
cmp eax, esi
jg 0x4b86ef
push dword [esp + 0x34]
mov edx, 0x1d
push edi
push dword [esp + 0x20]
call fcn.00471340
add esp, 0xc
mov esi, eax
jmp 0x4b8722
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x1d
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
jne 0x4b87a1
mov edx, dword [esp + 0xb4]
lea ecx, [esi + esi*4]
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x4b87a5
cmp eax, esi
jg 0x4b876c
push dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov edx, 0x20
push edi
push dword [esp + 0x20]
mov ecx, esi
call fcn.00471340
add esp, 0xc
jmp 0x4b87a5
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [esi + esi*4]
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4b87a9
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x50], 0
je 0x4b87ce
push dword [esp + 0x9c]
mov ecx, dword [esp + 0x14]
push dword [esp + 0x30]
push 0
push edx
mov edx, dword [esp + 0x24]
call fcn.004a0080
add esp, 0x10
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push dword [esp + 0x74]
push dword [esp + 0xa0]
push dword [esp + 0x24]
call fcn.0049aca0
add esp, 0x10
cmp dword [esp + 0xc8], 0
je 0x4b884d
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b881a
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x87
mov ecx, esi
call fcn.00471340
add esp, 0xc
jmp 0x4b884d
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x87
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 edx, dword [esp + 0x50]
cmp edx, 1
jg 0x4b885d
cmp byte [esp + 0x6c], 0
je 0x4b88b5
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b8882
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x7a
mov ecx, esi
call fcn.00471340
mov edx, dword [esp + 0x5c]
add esp, 0xc
jmp 0x4b88b5
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x7a
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
test edx, edx
je 0x4b88da
push dword [esp + 0x9c]
mov edx, dword [esp + 0x18]
push dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x54]
push 0
call fcn.004a0080
add esp, 0x10
mov esi, dword [esp + 0x54]
xor eax, eax
mov edx, dword [esp + 0x14]
cmp esi, 2
mov ecx, dword [esp + 0x10]
push 0
sete al
push 0
lea eax, [eax*2 + 4]
push eax
push dword [esp + 0x7c]
push dword [esp + 0x5c]
push dword [esp + 0xac]
push dword [esp + 0x30]
call fcn.004a4970
add esp, 0x1c
cmp dword [esp + 0x50], 0
je 0x4b8944
push dword [esp + 0x9c]
mov edx, dword [esp + 0x18]
push dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x28]
push dword [ebp + 8]
call fcn.004a1170
add esp, 0x10
jmp 0x4b8944
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x4b89a9
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4b8973
mov ecx, dword [esp + 0xc]
mov edx, 0x52
push 0
push 1
push eax
call fcn.00471340
add esp, 0xc
jmp 0x4b89a9
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0xbc]
mov dword [eax + ecx*4], 0x52
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, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
push edi
push dword [ebp + 0x10]
push dword [esp + 0x28]
push dword [esp + 0x20]
push 2
push dword [ebp + 8]
push 0x7f
call fcn.004b6af0
add esp, 0x1c
cmp esi, 1
je 0x4b8aea
cmp esi, 2
mov esi, dword [esp + 0xc]
jne 0x4b8a1b
mov ecx, dword [esi + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b8a04
push edi
mov edx, esi
call fcn.00471a40
mov ecx, dword [esp + 0x48]
add esp, 4
call fcn.004c74b0
jmp 0x4b8aee
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edi*4], eax
mov ecx, dword [esp + 0x44]
call fcn.004c74b0
jmp 0x4b8aee
cmp dword [esp + 0x38], 0
je 0x4b8aab
mov ecx, dword [esi + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b8a40
push edi
mov edx, esi
call fcn.00471a40
add esp, 4
jmp 0x4b8a49
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edi*4], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b8a73
mov edx, dword [esp + 0xb8]
mov ecx, esi
push 0
push edx
push dword [esp + 0x60]
mov edx, 5
call fcn.00471340
add esp, 0xc
jmp 0x4b8aee
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xb8]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4b8aee
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b8ac9
push 0
push edi
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00471340
add esp, 0xc
jmp 0x4b8aee
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
jmp 0x4b8a99
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x5c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b8b0c
push edx
mov edx, esi
call fcn.00471a40
add esp, 4
jmp 0x4b8b15
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x12], 0
jne 0x4b8b38
cmp dword [eax + 0x78], 0
jne 0x4b8b38
cmp dword [ebp + 0x1c], 0
jne 0x4b8b38
cmp dword [eax + 0x70], 0
je 0x4b8b38
mov ecx, eax
call fcn.004a17a0
mov edx, dword [esp + 0xbc]
test edx, edx
je 0x4b8bba
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4b8b61
push 0
push 1
push edx
mov edx, 0x50
mov ecx, esi
call fcn.00471340
add esp, 0xc
jmp 0x4b8b90
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x50
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, esi
call fcn.00473460
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x4b8bba
mov ecx, dword [esi + 0x74]
mov edx, str.rows_updated
push 0
push 1
push 0xffffffffffffffff
call fcn.004706d0
add esp, 0xc
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x4b8bd2
mov ecx, dword [esp + 0xa8]
mov dword [eax + 0xf0], ecx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x64]
call fcn.00452150
mov esi, dword [ebp + 0xc]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x64]
call fcn.004983b0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4b8c01
mov ecx, dword [esp + 0x64]
mov edx, eax
call fcn.00487d70
test esi, esi
je 0x4b8c10
mov ecx, dword [esp + 0x64]
mov edx, esi
call fcn.00486c40
pop edi
pop esi
mov esp, ebp
pop ebp
ret