Function at 0x49c0e0
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 0x49e082
cmp byte [edx + 0x51], al
jne 0x49e082
mov edx, dword [esp + 0x78]
call fcn.0047f2d0
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
je 0x49e07f
mov edx, dword [esi + 0x48]
mov ecx, dword [edi]
call fcn.0048f7c0
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.0049b600
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.0047b0b0
test eax, eax
jne 0x49e07f
push dword [esp + 0xc0]
mov edx, esi
mov ecx, edi
call fcn.0047f330
add esp, 4
test eax, eax
jne 0x49e07f
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 0x49c22d
mov dword [esp + 0x38], 0
jmp 0x49c23c
mov ecx, esi
call fcn.00478e00
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 0x49c281
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 0x49c252
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 0x49c2a7
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.00437cf0
mov ecx, eax
add esp, 8
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x49e07f
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 0x49c335
mov edi, dword [esp + 0x2c]
mov dword [edi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x49c321
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 0x49c3ad
cmp dword [edi + 0x74], eax
jne 0x49c39a
mov eax, dword [edi]
test byte [eax + 0x4c], 8
jne 0x49c39a
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.004569e0
mov dword [esp + 0xc], eax
test eax, eax
je 0x49e072
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 0x49c5a8
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.0046afe0
test eax, eax
jne 0x49e072
mov edx, dword [esp + 0x14]
xor edi, edi
movsx eax, word [edx + 0x2a]
test eax, eax
jle 0x49c4ce
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 0x49c45f
test ecx, ecx
jne 0x49c471
mov edx, dword [esp + 0x14]
movsx eax, word [edx + 0x28]
cmp edi, eax
jne 0x49c492
mov esi, dword [esp + 0x30]
mov byte [esp + 0x1f], 1
mov eax, dword [esi]
mov dword [esp + 0xa4], eax
jmp 0x49c4c3
movzx eax, byte [eax + 0x4e7fc8]
movzx ecx, byte [ecx + 0x4e7fc8]
sub ecx, eax
jne 0x49c474
inc edx
jmp 0x49c430
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 0x49c4ce
jmp 0x49c420
cmp dword [esp + 0x38], 0
mov ecx, dword [esp + 0x9c]
je 0x49c4b1
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0x10], 1
je 0x49c4b1
mov byte [esp + 0x27], 1
jmp 0x49c4bf
lea eax, [edi + edi*4]
test byte [ecx + eax*4 + 0x10], 0x60
jne 0x49c5d9
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 0x49c534
cmp dword [esp + 0x38], 0
jne 0x49c5f6
mov esi, dword [esi + 4]
mov edx, str._ROWID_
mov ecx, esi
call fcn.0043af30
test eax, eax
je 0x49c518
mov edx, str.ROWID
mov ecx, esi
call fcn.0043af30
test eax, eax
je 0x49c518
mov edx, 0x4eedb4
mov ecx, esi
call fcn.0043af30
test eax, eax
jne 0x49c5f6
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 0x49c548
test edi, edi
jns 0x49c53f
mov edx, str.ROWID
jmp 0x49c548
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.00477a30
add esp, 0xc
cmp eax, 1
je 0x49e072
cmp eax, 2
jne 0x49c589
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 0x49c3e0
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 0x49c6e8
movzx eax, word [ecx + 0x2a]
xor edx, edx
xor edi, edi
xor esi, esi
mov dword [esp + 0x44], edx
cmp di, ax
jge 0x49c6e4
jmp 0x49c624
push dword [esp + 0xa8]
push str.cannot_UPDATE_generated_column___s_
push dword [esp + 0x18]
call fcn.0043ae00
add esp, 0xc
jmp 0x49e072
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.0043ae00
add esp, 0xc
mov byte [esi + 0x11], 1
jmp 0x49e072
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [eax + esi*4], 0
jge 0x49c6c3
mov eax, dword [ecx + 4]
test byte [eax + edi + 0x10], 0x60
je 0x49c6c3
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], 0x487f80
mov dword [esp + 0xe8], eax
test edx, edx
je 0x49c68d
lea ecx, [esp + 0xd0]
call fcn.004689f0
mov ecx, dword [esp + 0x14]
cmp byte [esp + 0x1f], 0
mov ax, word [esp + 0xe4]
jne 0x49c6a4
mov edx, 0xfffd
and ax, dx
test ax, ax
je 0x49c6bf
mov eax, dword [esp + 0x2c]
mov edx, 1
mov dword [esp + 0x44], edx
mov dword [eax + esi*4], 0x1869f
jmp 0x49c6c3
mov edx, dword [esp + 0x44]
movzx eax, word [ecx + 0x2a]
inc esi
mov ecx, eax
add edi, 0x14
cwde
cmp esi, eax
jl 0x49c620
mov eax, ecx
mov ecx, dword [esp + 0x14]
test edx, edx
jne 0x49c5c4
mov dl, byte [esp + 0x6c]
cmp dword [ecx + 0x38], 0
je 0x49c6f6
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x49c710
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.00485c00
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 0x49c8e6
nop dword [eax]
cmp byte [esp + 0x6c], 0
jne 0x49ca63
cmp ecx, 1
jg 0x49ca63
cmp esi, dword [esp + 0x38]
je 0x49ca63
mov edx, dword [esi + 0x24]
test edx, edx
je 0x49c7f6
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], 0x487f80
mov dword [esp + 0xe8], eax
call fcn.004689f0
cmp byte [esp + 0x1f], 0
mov ax, word [esp + 0xe4]
jne 0x49c7ed
mov ecx, 0xfffd
and ax, cx
test ax, ax
jne 0x49ca63
xor ecx, ecx
xor eax, eax
xor edi, edi
mov dword [esp + 0xa8], ecx
cmp ax, word [esi + 0x32]
jae 0x49c8be
mov dword [esp + 0x44], ecx
mov eax, dword [esi + 4]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x49c82c
mov edx, dword [esp + 0x2c]
cwde
mov eax, dword [edx + eax*4]
not eax
shr eax, 0x1f
jmp 0x49c89b
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], 0x487f80
mov dword [esp + 0x108], eax
test edx, edx
je 0x49c878
lea ecx, [esp + 0xf0]
call fcn.004689f0
cmp byte [esp + 0x1f], 0
mov cx, word [esp + 0x104]
jne 0x49c88f
mov eax, 0xfffd
and cx, ax
xor eax, eax
test cx, cx
mov ecx, dword [esp + 0x44]
setne al
test eax, eax
jne 0x49ca32
movzx eax, word [esi + 0x32]
inc edi
add ecx, 0x14
mov dword [esp + 0x44], ecx
cmp edi, eax
jl 0x49c811
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 0x49c770
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 0x49c918
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 0x49c929
mov eax, dword [esp + 0xc]
or dword [eax + 0x98], 0x20
cmp dword [esp + 0x3c], 0
jne 0x49c93c
cmp dword [esp + 0x50], 0
mov byte [esp + 0x4b], 0
je 0x49c941
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 0x49c971
bts edx, ecx
mov dword [esi + 0x54], edx
cmp ecx, 1
jne 0x49c971
mov ecx, esi
call fcn.0047deb0
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 0x49ca0a
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 0x49c9c2
cmp dword [esp + 0x3c], 0
jne 0x49c9c2
mov eax, dword [esp + 0x50]
test eax, eax
je 0x49c9d9
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 0x49c9eb
cmp dword [esp + 0x3c], 0
jne 0x49c9eb
test eax, eax
je 0x49c9f7
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 0x49ca84
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 0x49caa0
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 0x49ca77
cmp byte [esi + 0x36], 5
jne 0x49ca77
mov dword [esp + 0x88], 1
jmp 0x49ca77
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 0x49c8cb
jmp 0x49c8c2
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xa8], eax
je 0x49cabb
push dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, esi
push 0
push 0
push dword [ebp + 0xc]
call fcn.0047f410
add esp, 0x10
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x110]
call fcn.0046afe0
test eax, eax
jne 0x49e05a
cmp dword [esi + 0x38], eax
je 0x49cb01
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.0049e0c0
add esp, 0x18
jmp 0x49e05a
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 0x49cba9
cmp dword [ecx + 0x78], 0
jne 0x49cba9
cmp byte [ecx + 0x12], 0
jne 0x49cba9
cmp dword [ebp + 0x1c], 0
mov esi, dword [esp + 0xc]
jne 0x49cbad
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 0x49cb70
push 0
push edx
push 0
mov edx, 0x45
mov ecx, esi
call fcn.00456bf0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x49cbad
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 0x49cbad
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
test byte [edx + 0x24], 0x80
jne 0x49ccaf
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49cbe1
push dword [esp + 0x20]
mov edx, 0x48
mov ecx, esi
push dword [esp + 0x88]
push 0
call fcn.00456bf0
add esp, 0xc
jmp 0x49cc17
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 0x49cde9
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.00472100
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 0x49cf73
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x49cebe
mov ecx, dword [esp + 0xc]
mov edx, 0x7f
push 0
push dword [esp + 0x24]
push eax
call fcn.00456bf0
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x49cef5
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 0x49cc25
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 0x49cd11
push edx
push dword [esp + 0x2c]
mov edx, 0x48
mov ecx, eax
push 0
call fcn.00456bf0
add esp, 0xc
jmp 0x49cd4a
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 0x49cd74
push 0
push esi
push dword [esp + 0x60]
mov edx, 0x64
call fcn.00456bf0
add esp, 0xc
mov dword [esp + 0x60], eax
jmp 0x49cda7
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.0047e660
mov edx, eax
test edx, edx
je 0x49cde9
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x49cdd7
push edx
mov edx, 0xfffffff7
call fcn.00457770
add esp, 4
jmp 0x49cde9
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 0x49ce1d
cmp dword [esp + 0x3c], 0
jne 0x49ce1d
cmp dword [esp + 0x50], 0
jne 0x49ce1d
cmp byte [esp + 0x6c], 0
jne 0x49ce1d
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.004abe00
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x49e05a
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 0x49cc6c
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 0x49cc70
test edx, edx
js 0x49cc70
cmp edx, eax
je 0x49cc70
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 0x49cc6c
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 0x49d109
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 0x49cf38
mov ecx, dword [esp + 0xc]
mov edx, 0x93
push esi
push dword [esp + 0x24]
push dword [esp + 0x8c]
call fcn.00456bf0
add esp, 0xc
jmp 0x49d109
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 0x49d109
mov eax, dword [esp + 0x80]
xor esi, esi
movsx edi, ax
test edi, edi
jle 0x49cfb1
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.004702b0
mov ecx, dword [esp + 0x20]
inc esi
add esp, 0xc
cmp esi, edi
jl 0x49cf83
mov esi, dword [esp + 0x54]
test esi, esi
je 0x49d00a
mov edx, dword [esp + 0x60]
test edx, edx
je 0x49cff6
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
cmp byte [ecx + 0x51], 0
jne 0x49cff6
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.00457770
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 0x49d109
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x64]
call fcn.004867e0
mov ecx, dword [esp + 0xc]
mov esi, eax
mov dword [esp + 0x80], esi
mov edx, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], edx
jg 0x49d046
push dword [esp + 0x34]
mov edx, 0x5b
push edi
push dword [esp + 0x30]
call fcn.00456bf0
add esp, 0xc
mov edx, eax
jmp 0x49d080
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.004579e0
mov edx, dword [esi + 0x6c]
add esp, 8
cmp dword [esi + 0x70], edx
jg 0x49d0b7
push dword [esp + 0x28]
mov edx, 0x83
mov ecx, esi
push dword [esp + 0x38]
push dword [esp + 0x60]
call fcn.00456bf0
add esp, 0xc
mov edx, eax
jmp 0x49d0ee
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 0x49d105
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 0x49d2f5
cmp esi, 2
je 0x49d121
mov ecx, dword [esp + 0x44]
call fcn.004ac950
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0xb0]
test eax, eax
jne 0x49d244
mov edx, dword [esp + 0x54]
xor esi, esi
test edx, edx
je 0x49d16d
test edi, edi
js 0x49d154
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0xa0]
mov byte [eax + edi], 0
mov ecx, dword [esp + 0x68]
test ecx, ecx
js 0x49d171
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0xa0]
mov byte [eax + ecx], 0
jmp 0x49d171
mov ecx, dword [esp + 0x68]
cmp edx, 2
jne 0x49d1e1
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x74]
setns al
sub ecx, eax
test ecx, ecx
jle 0x49d1e1
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], esi
jg 0x49d1aa
push 0
push 0
push 0
mov edx, 0x11
call fcn.00456bf0
add esp, 0xc
mov esi, eax
jmp 0x49d1e1
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.0048a050
add esp, 0x18
test esi, esi
je 0x49d239
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x6c]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x49d221
mov eax, 0x503c44
jmp 0x49d236
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 0x49d377
test eax, eax
jne 0x49d282
mov eax, dword [esp + 0x18]
cmp edi, eax
je 0x49d282
mov edi, dword [esp + 0x5c]
cmp dword [esp + 0x68], eax
je 0x49d286
push dword [esp + 0xb4]
mov ecx, dword [esp + 0x10]
mov edx, 0x1d
push dword [esp + 0x38]
push edi
push eax
call fcn.004571f0
add esp, 0x10
jmp 0x49d286
mov edi, dword [esp + 0x5c]
cmp esi, 1
je 0x49d299
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 0x49d2ca
push 0
push edi
push edx
mov edi, esi
mov edx, 0x32
mov ecx, edi
call fcn.00456bf0
add esp, 0xc
jmp 0x49d2f9
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 0x49d5ba
mov edx, dword [esp + 0x4c]
mov ecx, esi
push edx
mov edx, dword [esp + 0xa8]
call fcn.00470810
mov edx, dword [esp + 0x50]
add esp, 4
cmp eax, edx
je 0x49d352
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x49d352
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.00456d60
mov edx, dword [esp + 0x54]
add esp, 8
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49d58b
push 0
push 0
push edx
mov edx, 0xf
mov ecx, edi
call fcn.00456bf0
add esp, 0xc
jmp 0x49d5ba
cmp dword [esp + 0x38], 0
mov edi, dword [esp + 0xc]
je 0x49d4c9
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 0x49d3b7
push 0
push dword [esp + 0x60]
mov edx, 0x25
mov ecx, edi
push dword [esp + 0x60]
call fcn.00456bf0
add esp, 0xc
jmp 0x49d3ea
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 0x49d41b
push 0
push dword [esp + 0x38]
mov edx, 0x7e
mov ecx, edi
push dword [esp + 0x60]
call fcn.00456bf0
add esp, 0xc
mov dword [esp + 0xb8], eax
jmp 0x49d44e
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 0x49d472
push dword [esp + 0x34]
mov edx, 0x1d
mov ecx, edi
push esi
push dword [esp + 0x20]
call fcn.00456bf0
add esp, 0xc
mov edx, eax
jmp 0x49d4a5
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 0x49d2f9
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 0x49d2f9
mov esi, dword [edi + 0x6c]
mov dword [esp + 0x40], esi
cmp dword [edi + 0x70], esi
jg 0x49d4ff
push dword [esp + 0x20]
mov edx, 0x2a
mov ecx, edi
push dword [esp + 0x60]
push dword [esp + 0x8c]
call fcn.00456bf0
mov edx, dword [esp + 0x2c]
mov esi, eax
add esp, 0xc
mov dword [esp + 0x40], esi
jmp 0x49d535
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 0x49d557
push edx
push esi
push dword [esp + 0x20]
mov edx, 0x20
mov ecx, edi
call fcn.00456bf0
add esp, 0xc
jmp 0x49d2f9
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 0x49d2f9
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 0x49d613
cmp dword [esp + 0x50], 0
jne 0x49d61a
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x49d76b
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.0049c020
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 0x49d6fe
xor edi, edi
jmp 0x49d634
cmp dword [esp + 0x50], 0
je 0x49d5d4
mov edx, dword [esp + 0x14]
mov ecx, esi
call fcn.00485b10
mov esi, eax
jmp 0x49d5d6
mov eax, dword [esp + 0x14]
mov edx, esi
mov ecx, eax
call fcn.00478e50
movsx edx, ax
add edx, dword [esp + 0x8c]
cmp dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x60], edx
je 0x49d6d4
cmp esi, 0x20
jge 0x49d66c
mov eax, 1
mov ecx, esi
shl eax, cl
test dword [esp + 0x80], eax
jne 0x49d6d4
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
test byte [eax + edi + 0x10], 1
jne 0x49d6d4
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x49d699
push 0
push edx
push 0
mov edx, 0x48
mov ecx, eax
call fcn.00456bf0
jmp 0x49d6e7
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 0x49d6ea
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x18]
push esi
push dword [esp + 0x20]
call fcn.004702b0
add esp, 0xc
mov eax, dword [esp + 0x14]
inc esi
add edi, 0x14
movsx eax, word [eax + 0x2a]
cmp esi, eax
jl 0x49d630
cmp byte [esp + 0x1f], 0
jne 0x49d767
cmp dword [esp + 0x38], 0
jne 0x49d767
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49d734
mov edx, dword [esp + 0x4c]
mov ecx, esi
push 0
push edx
push dword [esp + 0x28]
mov edx, 0x4d
call fcn.00456bf0
add esp, 0xc
jmp 0x49d767
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.0049c020
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 0x49d925
xor ecx, ecx
mov dword [esp + 0x60], ecx
movsx eax, word [eax + 0x28]
cmp edi, eax
jne 0x49d814
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x49d7da
push 0
push esi
push 0
mov edx, 0x48
mov ecx, eax
call fcn.00456bf0
jmp 0x49d8f8
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 0x49d8fb
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
movzx eax, word [eax + ecx + 0x10]
test al, 0x60
je 0x49d833
test al, 0x20
lea eax, [esi - 1]
cmove eax, esi
mov esi, eax
jmp 0x49d8ff
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + edi*4]
test eax, eax
js 0x49d898
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.00470810
add esp, 4
cmp eax, esi
je 0x49d8fb
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x49d8fb
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.00456d60
add esp, 8
jmp 0x49d8fb
test dword [esp + 0xc0], 1
je 0x49d8da
cmp edi, 0x1f
jg 0x49d8da
mov eax, 1
mov ecx, edi
shl eax, cl
test edx, eax
jne 0x49d8da
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x49d7da
push 0
push esi
push 0
mov edx, 0x48
mov ecx, eax
call fcn.00456bf0
jmp 0x49d8f8
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push esi
push edi
push dword [esp + 0x20]
call fcn.004702b0
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 0x49d7b0
mov ecx, dword [esp + 0x90]
test byte [eax + 0x24], 0x60
je 0x49d93e
mov edx, ecx
mov ecx, dword [esp + 0x10]
push eax
call fcn.00486980
mov eax, dword [esp + 0x18]
add esp, 4
test byte [esp + 0xc0], 1
je 0x49daf0
push dword [esp + 0x90]
mov edi, dword [esp + 0x10]
mov edx, eax
mov ecx, edi
call fcn.00486890
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.0049bf90
mov edx, dword [edi + 0x6c]
add esp, 0x1c
cmp dword [esp + 0x38], 0
mov eax, dword [edi + 0x70]
je 0x49da0a
cmp eax, edx
jg 0x49d9b7
push dword [esp + 0x34]
mov edx, 0x1d
mov ecx, edi
push esi
push dword [esp + 0x20]
call fcn.00456bf0
add esp, 0xc
mov edx, eax
jmp 0x49d9ea
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 0x49da57
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 0x49da57
cmp eax, edx
jg 0x49da28
push dword [esp + 0x20]
mov edx, 0x20
mov ecx, edi
push esi
push dword [esp + 0x20]
call fcn.00456bf0
add esp, 0xc
jmp 0x49da57
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 0x49dad7
mov dword [esp + 0x8c], ecx
mov eax, dword [edx + 4]
movzx eax, word [ecx + eax + 0x10]
test al, 0x60
je 0x49da8d
test al, 0x20
lea eax, [edi - 1]
cmove eax, edi
mov edi, eax
jmp 0x49dabc
mov eax, dword [esp + 0x2c]
cmp dword [eax + esi*4], 0
jge 0x49dabc
movsx eax, word [edx + 0x28]
cmp esi, eax
je 0x49dabc
mov ecx, dword [esp + 0xc]
push edi
push esi
push dword [esp + 0x20]
call fcn.004702b0
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 0x49da75
mov eax, dword [esp + 0x90]
test byte [edx + 0x24], 0x60
mov esi, dword [esp + 0x10]
je 0x49daf8
push edx
mov edx, eax
mov ecx, esi
call fcn.00486980
add esp, 4
jmp 0x49daf4
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x94], 0
mov edi, dword [esp + 0x40]
jne 0x49dde0
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.00487fc0
add esp, 0x2c
cmp dword [esp + 0x88], 0
jne 0x49db5c
cmp byte [esp + 0x6c], 0
je 0x49dc41
cmp dword [esp + 0x38], 0
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx + 0x6c]
mov eax, dword [ecx + 0x70]
je 0x49dbea
cmp eax, esi
jg 0x49db8f
push dword [esp + 0x34]
mov edx, 0x1d
push edi
push dword [esp + 0x20]
call fcn.00456bf0
add esp, 0xc
mov esi, eax
jmp 0x49dbc2
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 0x49dc41
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 0x49dc45
cmp eax, esi
jg 0x49dc0c
push dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov edx, 0x20
push edi
push dword [esp + 0x20]
mov ecx, esi
call fcn.00456bf0
add esp, 0xc
jmp 0x49dc45
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 0x49dc49
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x50], 0
je 0x49dc6e
push dword [esp + 0x9c]
mov ecx, dword [esp + 0x14]
push dword [esp + 0x30]
push 0
push edx
mov edx, dword [esp + 0x24]
call fcn.00485520
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.00480280
add esp, 0x10
cmp dword [esp + 0xc8], 0
je 0x49dced
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49dcba
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x87
mov ecx, esi
call fcn.00456bf0
add esp, 0xc
jmp 0x49dced
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 0x49dcfd
cmp byte [esp + 0x6c], 0
je 0x49dd55
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49dd22
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x7a
mov ecx, esi
call fcn.00456bf0
mov edx, dword [esp + 0x5c]
add esp, 0xc
jmp 0x49dd55
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 0x49dd7a
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.00485520
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.00489e10
add esp, 0x1c
cmp dword [esp + 0x50], 0
je 0x49dde4
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.00486610
add esp, 0x10
jmp 0x49dde4
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x49de49
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x49de13
mov ecx, dword [esp + 0xc]
mov edx, 0x52
push 0
push 1
push eax
call fcn.00456bf0
add esp, 0xc
jmp 0x49de49
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.0049bf90
add esp, 0x1c
cmp esi, 1
je 0x49df8a
cmp esi, 2
mov esi, dword [esp + 0xc]
jne 0x49debb
mov ecx, dword [esi + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49dea4
push edi
mov edx, esi
call fcn.004572f0
mov ecx, dword [esp + 0x48]
add esp, 4
call fcn.004ac950
jmp 0x49df8e
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edi*4], eax
mov ecx, dword [esp + 0x44]
call fcn.004ac950
jmp 0x49df8e
cmp dword [esp + 0x38], 0
je 0x49df4b
mov ecx, dword [esi + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49dee0
push edi
mov edx, esi
call fcn.004572f0
add esp, 4
jmp 0x49dee9
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 0x49df13
mov edx, dword [esp + 0xb8]
mov ecx, esi
push 0
push edx
push dword [esp + 0x60]
mov edx, 5
call fcn.00456bf0
add esp, 0xc
jmp 0x49df8e
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 0x49df8e
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49df69
push 0
push edi
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00456bf0
add esp, 0xc
jmp 0x49df8e
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 0x49df39
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 0x49dfac
push edx
mov edx, esi
call fcn.004572f0
add esp, 4
jmp 0x49dfb5
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 0x49dfd8
cmp dword [eax + 0x78], 0
jne 0x49dfd8
cmp dword [ebp + 0x1c], 0
jne 0x49dfd8
cmp dword [eax + 0x70], 0
je 0x49dfd8
mov ecx, eax
call fcn.00486c40
mov edx, dword [esp + 0xbc]
test edx, edx
je 0x49e05a
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49e001
push 0
push 1
push edx
mov edx, 0x50
mov ecx, esi
call fcn.00456bf0
add esp, 0xc
jmp 0x49e030
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.00458d10
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x49e05a
mov ecx, dword [esi + 0x74]
mov edx, str.rows_updated
push 0
push 1
push 0xffffffffffffffff
call fcn.00455f80
add esp, 0xc
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x49e072
mov ecx, dword [esp + 0xa8]
mov dword [eax + 0xf0], ecx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x64]
call fcn.00437a00
mov esi, dword [ebp + 0xc]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x64]
call fcn.0047d990
mov eax, dword [ebp + 8]
test eax, eax
je 0x49e0a1
mov ecx, dword [esp + 0x64]
mov edx, eax
call fcn.0046d5a0
test esi, esi
je 0x49e0b0
mov ecx, dword [esp + 0x64]
mov edx, esi
call fcn.0046c470
pop edi
pop esi
mov esp, ebp
pop ebp
ret