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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x577018]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
push edi
mov dword [esp + 0x50], edx
mov edi, ecx
mov dword [esp + 8], edi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x7c], eax
cmp dword [edi + 0x24], 0
mov dword [esp + 0xa4], eax
mov dword [esp + 0x138], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x4c], eax
mov eax, dword [edi]
mov dword [esp + 0xc4], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0xac], 0
movlpd qword [esp + 0xb4], xmm0
mov dword [esp + 0x88], eax
jne 0x497b72
cmp byte [eax + 0x51], 0
jne 0x497b72
call fcn.004738c0
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x497b72
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x1c], 0xfff0bdc0
test ecx, ecx
je 0x49602c
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x49602c
nop
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x496020
mov dword [esp + 0x1c], edx
lea eax, [esp + 0xbc]
mov edx, esi
push eax
push dword [esp + 0x38]
mov ecx, edi
push 0x76
call fcn.00495390
add esp, 0xc
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xc]
mov edx, esi
mov ecx, edi
mov dword [esp + 0xa0], eax
call fcn.0046e2e0
test eax, eax
jne 0x497b72
push dword [esp + 0xbc]
mov edx, esi
mov ecx, edi
call fcn.00473950
add esp, 4
test eax, eax
jne 0x497b72
mov eax, dword [edi + 0x28]
mov dword [esp + 0xc], eax
mov dword [esp + 0x98], eax
lea ecx, [eax + 1]
mov dword [edi + 0x28], ecx
test byte [esi + 0x24], 0x20
mov dword [esp + 0x84], ecx
jne 0x4960ab
mov dword [esp + 0x38], 0
jmp 0x4960ba
mov ecx, esi
call fcn.0046c280
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 8]
xor edx, edx
mov dword [esp + 0x80], edx
test ecx, ecx
je 0x496108
mov edx, dword [esp + 0x84]
xor esi, esi
cmp dword [esp + 0x38], ecx
mov eax, edx
mov edi, dword [esp + 8]
cmovne eax, dword [esp + 0xc]
inc edx
inc esi
mov dword [esp + 0xc], eax
mov dword [edi + 0x28], edx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4960d3
mov dword [esp + 0x80], esi
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x49612f
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x98]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x50]
push 0
mov dword [ecx + 0x34], eax
movsx eax, word [esi + 0x2a]
mov ecx, dword [esp + 0x8c]
add eax, edx
lea eax, [eax*4 + 2]
add eax, edx
push eax
call fcn.00423950
mov ecx, eax
add esp, 8
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x497b72
movsx eax, word [esi + 0x2a]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x80]
mov dword [esp + 0xb0], ecx
lea ecx, [ecx + eax*4]
inc eax
push eax
push 1
push ecx
mov dword [esp + 0x34], ecx
call fcn.00519680
mov eax, dword [esp + 0x8c]
add esp, 0xc
mov ecx, dword [esp + 0x28]
mov byte [ecx + eax + 1], 0
xor eax, eax
xor ecx, ecx
cmp ax, word [esi + 0x2a]
jge 0x4961c4
mov edi, dword [esp + 0x30]
nop dword [eax]
mov dword [edi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x4961b0
mov edi, dword [esp + 8]
mov ecx, dword [esp + 0x74]
xorps xmm0, xmm0
mov eax, dword [esp + 0x50]
movaps xmmword [esp + 0x110], xmm0
mov dword [esp + 0x114], eax
mov eax, 0x200
mov dword [esp + 0x118], ecx
mov ecx, dword [esp + 0x34]
movaps xmmword [esp + 0x120], xmm0
mov word [esp + 0x128], ax
xor al, al
mov dword [esp + 0x110], edi
cmp dword [ecx], 0
mov byte [esp + 0x6c], 0
mov byte [esp + 0x17], al
mov dword [esp + 0x48], 0
jle 0x496497
lea esi, [ecx + 4]
mov dword [esp + 0x18], esi
nop dword [eax + eax]
mov edx, dword [esi]
lea ecx, [esp + 0x110]
call fcn.0045c340
test eax, eax
jne 0x497aa4
mov edx, dword [esp + 0x10]
xor edi, edi
mov dword [esp + 0x20], edi
movsx eax, word [edx + 0x2a]
test eax, eax
jle 0x4962de
mov ecx, dword [edx + 4]
mov eax, ecx
mov dword [esp + 0x54], ecx
mov esi, dword [eax]
mov edi, dword [esp + 0x18]
mov dl, byte [esi]
movzx eax, dl
movzx ecx, byte [eax + 0x554bc0]
mov eax, dword [edi + 4]
mov edi, dword [esp + 0x20]
movzx eax, byte [eax]
movzx eax, byte [eax + 0x554bc0]
sub ecx, eax
jne 0x4962be
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx + 4]
sub edi, esi
test dl, dl
je 0x496347
movzx eax, byte [edi + esi + 1]
inc esi
movzx ecx, byte [eax + 0x554bc0]
mov dl, byte [esi]
movzx eax, dl
movzx eax, byte [eax + 0x554bc0]
sub eax, ecx
je 0x496295
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
inc edi
mov eax, dword [esp + 0x54]
add eax, 0x10
mov dword [esp + 0x20], edi
mov dword [esp + 0x54], eax
movsx ecx, word [edx + 0x2a]
cmp edi, ecx
jl 0x496265
mov esi, dword [esp + 0x18]
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x49641a
cmp dword [esp + 0x38], 0
jne 0x4963d7
mov ecx, dword [esi + 4]
mov esi, ecx
mov dword [esp + 0x54], ecx
mov dl, byte [ecx]
movzx eax, dl
movzx eax, byte [eax + 0x554bc0]
sub eax, 0x5f
jne 0x4963b4
mov edi, str._ROWID_
sub edi, ecx
nop word [eax + eax]
test dl, dl
je 0x4963ac
movzx eax, byte [edi + esi + 1]
inc esi
movzx ecx, byte [eax + 0x554bc0]
mov dl, byte [esi]
movzx eax, dl
movzx eax, byte [eax + 0x554bc0]
sub eax, ecx
je 0x496320
jmp 0x4963b0
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
movsx eax, word [edx + 0x28]
cmp edi, eax
jne 0x496376
mov eax, dword [esi]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x48]
mov byte [esp + 0x17], 1
mov dword [ecx + edi*4], eax
jmp 0x4962de
cmp dword [esp + 0x38], 0
je 0x49639c
mov ecx, dword [edx + 4]
mov eax, edi
add eax, eax
test byte [ecx + eax*8 + 0xf], 1
mov ecx, 1
mov eax, dword [esp + 0x6c]
movzx eax, al
cmovne eax, ecx
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
mov dword [ecx + edi*4], eax
jmp 0x4962de
test eax, eax
je 0x496401
mov ecx, dword [esp + 0x54]
mov edx, str.ROWID
call fcn.00427e20
mov esi, dword [esp + 0x18]
test eax, eax
je 0x496405
mov ecx, dword [esi + 4]
mov edx, 0x55b1fc
call fcn.00427e20
test eax, eax
je 0x496405
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 8]
lea eax, [eax + eax*2]
push dword [ecx + eax*8 + 8]
push str.no_such_column:__s
push esi
call fcn.00427d40
add esp, 0xc
mov byte [esi + 0x11], 1
jmp 0x497aa4
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
or edi, 0xffffffff
mov byte [esp + 0x17], 1
mov edx, str.ROWID
mov dword [esp + 0x64], eax
jmp 0x49642f
test edi, edi
jns 0x496425
mov edx, str.ROWID
jmp 0x49642f
mov eax, dword [edx + 4]
mov ecx, edi
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x1c]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x18]
push dword [edx]
mov edx, 0x17
call fcn.0046a650
add esp, 0xc
cmp eax, 1
je 0x497aa4
cmp eax, 2
jne 0x496473
mov eax, dword [esp + 0x30]
mov dword [eax + edi*4], 0xffffffff
mov edi, dword [esp + 0x48]
add esi, 0x18
mov ecx, dword [esp + 0x34]
inc edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x18], esi
cmp edi, dword [ecx]
jl 0x496230
mov esi, dword [esp + 0x10]
mov al, byte [esp + 0x17]
mov dl, byte [esp + 0x6c]
add dl, al
cmp dword [esi + 0x38], 0
mov byte [esp + 0x48], dl
je 0x4964b0
mov eax, 0xffffffff
or ecx, eax
jmp 0x4964ca
xorps xmm0, xmm0
movlpd qword [esp + 0x90], xmm0
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x50]
mov dword [edi + 0x40], eax
mov eax, edi
mov edi, dword [esp + 8]
mov dword [eax + 0x44], ecx
mov ecx, edi
movzx eax, dl
mov edx, esi
push eax
push dword [esp + 0x34]
mov dword [esp + 0xc8], eax
call fcn.0047a900
add esp, 8
mov ecx, eax
cmp dword [ebp + 0x10], 5
mov edx, 1
mov eax, dword [esp + 0x138]
cmove eax, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x138], eax
mov esi, dword [esi + 8]
test esi, esi
je 0x4966ae
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0xb0]
inc edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], edi
cmp byte [esp + 0x48], 0
jne 0x496711
cmp ecx, 1
jg 0x496711
cmp esi, dword [esp + 0x38]
je 0x496711
mov edx, dword [esi + 0x24]
test edx, edx
je 0x4965ba
mov eax, dword [esp + 0x30]
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], 0x47de00
mov dword [esp + 0xe8], eax
call fcn.00459a40
cmp byte [esp + 0x17], 0
mov cl, byte [esp + 0xe4]
jne 0x4965ab
and cl, 0xfd
xor eax, eax
test cl, cl
setne al
test eax, eax
jne 0x496711
xor ecx, ecx
xor eax, eax
xor edi, edi
mov dword [esp + 0x90], ecx
cmp ax, word [esi + 0x32]
jae 0x49667b
mov dword [esp + 0x54], ecx
mov eax, dword [esi + 4]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x4965f0
mov edx, dword [esp + 0x30]
cwde
mov eax, dword [edx + eax*4]
not eax
shr eax, 0x1f
jmp 0x496658
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 + 0x30]
mov dword [esp + 0xf4], 0x47de00
mov dword [esp + 0x108], eax
test edx, edx
je 0x49663c
lea ecx, [esp + 0xf0]
call fcn.00459a40
cmp byte [esp + 0x17], 0
mov cl, byte [esp + 0x104]
jne 0x49664d
and cl, 0xfd
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x54]
setne al
test eax, eax
jne 0x4966e0
movzx eax, word [esi + 0x32]
inc edi
add ecx, 0x18
mov dword [esp + 0x54], ecx
cmp edi, eax
jl 0x4965d5
mov ecx, dword [esp + 0x90]
mov edi, dword [esp + 0x20]
mov byte [edi], 0
mov eax, dword [esp + 0x40]
inc edi
mov dword [esp + 0x20], edi
mov dword [eax], ecx
add eax, 4
mov esi, dword [esi + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], eax
test esi, esi
jne 0x496534
mov eax, dword [esp + 0x138]
mov edi, dword [esp + 8]
test eax, eax
je 0x4966c9
mov eax, dword [esp + 0x80]
inc eax
push eax
push 1
push dword [esp + 0x30]
call fcn.00519680
add esp, 0xc
mov edi, dword [edi + 8]
mov esi, dword [esp + 8]
mov dword [esp + 0x5c], edi
test edi, edi
je 0x496732
mov eax, edi
mov dword [esp + 0x60], eax
jmp 0x49675d
mov edx, dword [esp + 8]
mov edi, dword [esp + 0x20]
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 0x496725
cmp byte [esi + 0x36], 5
jne 0x496725
mov dword [esp + 0x138], 1
jmp 0x496725
mov edx, dword [esp + 8]
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 0x496682
jmp 0x49667f
cmp dword [esi + 0x74], 0
jne 0x496744
mov eax, dword [esi]
test byte [eax + 0x4c], 8
jne 0x496744
mov byte [esi + 0x17], 1
mov ecx, esi
call fcn.00446150
mov edi, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], edi
test edi, edi
je 0x497aa4
cmp byte [esi + 0x12], 0
jne 0x49676a
or dword [edi + 0x98], 0x20
cmp dword [esp + 0x2c], 0
jne 0x49677d
cmp dword [esp + 0x18], 0
mov byte [esp + 0x5b], 0
je 0x496782
mov byte [esp + 0x5b], 1
mov esi, dword [esi + 0x74]
test esi, esi
jne 0x496795
mov esi, dword [esp + 8]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x1c]
mov edx, esi
mov eax, 1
shl eax, cl
mov ecx, dword [edx + 0x54]
test ecx, eax
jne 0x4967bf
mov eax, dword [esp + 0x1c]
bts ecx, eax
mov dword [edx + 0x54], ecx
cmp eax, 1
jne 0x4967bf
mov ecx, edx
call fcn.00471eb0
mov eax, dword [esi + 0x50]
mov ecx, dword [esp + 0x1c]
bts eax, ecx
mov edx, dword [esp + 8]
mov dword [esi + 0x50], eax
mov al, byte [esp + 0x5b]
or byte [esi + 0x14], al
mov esi, dword [esp + 0x10]
cmp dword [esi + 0x38], 0
jne 0x496859
mov eax, dword [edx + 0x2c]
inc eax
cmp byte [esp + 0x6c], 0
mov dword [esp + 0x9c], eax
lea ecx, [eax + 1]
mov dword [esp + 0x44], ecx
mov dword [edx + 0x2c], ecx
mov dword [esp + 0x24], ecx
jne 0x496814
cmp dword [esp + 0x2c], 0
jne 0x496814
mov eax, dword [esp + 0x18]
test eax, eax
je 0x496828
lea eax, [ecx + 1]
mov dword [esp + 0x78], eax
movsx eax, word [esi + 0x2a]
add ecx, eax
mov eax, dword [esp + 0x18]
mov dword [edx + 0x2c], ecx
cmp byte [esp + 0x48], 0
jne 0x49683a
cmp dword [esp + 0x2c], 0
jne 0x49683a
test eax, eax
je 0x496846
lea eax, [ecx + 1]
mov dword [esp + 0x44], eax
mov ecx, eax
mov dword [edx + 0x2c], eax
lea eax, [ecx + 1]
mov dword [esp + 0xa8], eax
movsx eax, word [esi + 0x2a]
add eax, ecx
mov dword [edx + 0x2c], eax
cmp dword [esp + 0xa0], 0
je 0x4968ae
mov esi, dword [edx + 0xec]
push dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x94], esi
mov esi, dword [esp + 0x14]
push 0
push 0
push dword [esp + 0x98]
mov eax, dword [esi]
mov dword [esp + 0xdc], edx
mov dword [edx + 0xec], eax
mov edx, esi
call fcn.00473a30
mov eax, dword [esp + 0x70]
add esp, 0x10
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], eax
jmp 0x4968ca
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x90], eax
mov edx, dword [esp + 0x8c]
lea ecx, [esp + 0x110]
call fcn.0045c340
test eax, eax
jne 0x497a8c
mov ecx, dword [esp + 8]
cmp dword [esi + 0x38], eax
je 0x496916
push dword [ebp + 0x10]
mov edx, dword [esp + 0x54]
push dword [esp + 0x90]
push dword [esp + 0x38]
push dword [esp + 0x70]
push dword [esp + 0x44]
push esi
call fcn.00497bc0
add esp, 0x18
jmp 0x497a8c
mov eax, dword [ecx + 0x38]
dec eax
mov dword [esp + 0x20], eax
mov dword [ecx + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, 0
je 0x49696f
cmp dword [ecx + 0x78], 0
jne 0x49696f
cmp byte [ecx + 0x12], 0
jne 0x49696f
cmp dword [esp + 0x74], 0
jne 0x49696f
inc dword [ecx + 0x2c]
mov edx, 0x46
mov eax, dword [ecx + 0x2c]
mov ecx, edi
push eax
push 0
mov dword [esp + 0xd0], eax
call fcn.00446560
mov ecx, dword [esp + 0x10]
add esp, 8
test byte [esi + 0x24], 0x20
jne 0x496a6b
mov ecx, dword [edi + 0x6c]
mov edx, dword [esp + 0x9c]
cmp dword [edi + 0x70], ecx
jg 0x4969a0
push dword [esp + 0x24]
mov ecx, edi
push edx
push 0
mov edx, 0x49
call fcn.004463f0
add esp, 0xc
jmp 0x4969cf
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x74], 0
je 0x496ae8
mov ecx, dword [esp + 8]
push 0x10
push dword [esp + 0x24]
mov esi, 1
mov dword [esp + 0x5c], 0
push dword [esp + 0x94]
mov dword [esp + 0x28], esi
push ecx
call fcn.00463de0
mov eax, dword [esp + 0xa4]
add esp, 0x10
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x24], 0x20
jne 0x496bbe
push dword [esp + 0x24]
mov edx, 0x81
mov ecx, edi
push eax
call fcn.00446560
add esp, 8
test esi, esi
jne 0x496cbb
push dword [esp + 0x24]
mov edx, 0x95
mov ecx, edi
push dword [esp + 0xa0]
call fcn.00446560
add esp, 8
jmp 0x496cbb
mov eax, dword [esp + 0x38]
movzx edx, word [eax + 0x32]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0xa4], edx
lea esi, [eax + 1]
inc eax
mov dword [esp + 0x7c], esi
movsx esi, dx
add eax, esi
cmp dword [esp + 0x74], 0
mov dword [esp + 0x4c], eax
mov dword [ecx + 0x2c], eax
jne 0x4969de
mov eax, dword [ecx + 0x28]
mov edx, 0x49
mov dword [esp + 0x70], eax
inc eax
mov dword [ecx + 0x28], eax
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
add eax, esi
push eax
push ecx
push 0
mov ecx, edi
call fcn.00446430
add esp, 0xc
mov edx, 0x71
mov ecx, edi
push esi
push dword [esp + 0x74]
call fcn.00446560
mov edx, dword [esp + 0x40]
add esp, 8
mov ecx, dword [esp + 8]
mov dword [esp + 0x68], eax
call fcn.00447490
mov ecx, dword [esp + 8]
mov eax, 0x1004
cmp byte [ecx + 0x12], 0
jne 0x496b1c
cmp dword [esp + 0x2c], 0
jne 0x496b1c
cmp dword [esp + 0x18], 0
jne 0x496b1c
cmp byte [esp + 0x48], 0
jne 0x496b1c
cmp dword [esp + 0x138], 0
mov edx, 0x100c
cmove eax, edx
push dword [esp + 0x84]
mov edx, dword [esp + 0x54]
push eax
push 0
push 0
push dword [esp + 0x9c]
call fcn.004a77b0
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x54], ecx
test ecx, ecx
je 0x497a8c
movzx esi, byte [ecx + 0x31]
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0xb4], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x1c], esi
cmp esi, 1
je 0x496a1e
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0xc]
mov byte [ecx + 0x14], 1
cmp esi, 2
jne 0x496a22
test edx, edx
js 0x496a22
cmp edx, eax
je 0x496a22
mov ecx, dword [esp + 0x28]
mov eax, edx
sub eax, dword [esp + 0x98]
cmp byte [eax + ecx], 0
mov eax, dword [esp + 0xc]
je 0x496a22
xor esi, esi
mov dword [esp + 0x1c], esi
jmp 0x496a22
mov eax, dword [esp + 0xa4]
xor esi, esi
cwde
test eax, eax
jle 0x496c06
nop dword [eax]
mov eax, dword [esp + 0x7c]
mov edx, ecx
add eax, esi
mov ecx, edi
push eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [esp + 0x14]
call fcn.00461f60
mov ecx, dword [esp + 0xb0]
inc esi
movsx eax, cx
add esp, 0xc
mov ecx, dword [esp + 0x10]
cmp esi, eax
jl 0x496bd0
cmp dword [esp + 0x1c], 0
je 0x496c5d
mov eax, dword [esp + 0x68]
test eax, eax
je 0x496c42
mov ecx, dword [edi]
cmp byte [ecx + 0x51], 0
jne 0x496c42
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x68]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.004470f0
add esp, 4
mov word [esi], 0xab
mov dword [esi + 0x10], 0
mov eax, dword [esp + 0xa4]
movsx esi, ax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xac], esi
mov dword [esp + 0x4c], eax
jmp 0x496cb7
mov edx, dword [esp + 0x38]
push eax
push ecx
mov ecx, dword [esp + 0x90]
call fcn.0047c0a0
add esp, 4
mov edx, 0x66
mov ecx, edi
push eax
push dword [esp + 0x54]
mov eax, dword [esp + 0xb0]
movsx esi, ax
push esi
push dword [esp + 0x8c]
call fcn.00446820
add esp, 0x14
mov edx, 0x85
mov ecx, edi
push esi
push dword [esp + 0x80]
push dword [esp + 0x54]
push dword [esp + 0x7c]
call fcn.004469c0
add esp, 0x10
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x74], 0
jne 0x496eec
cmp esi, 2
je 0x496cd4
mov ecx, dword [esp + 0x54]
call fcn.004a83d0
mov eax, dword [esp + 0xa0]
test eax, eax
jne 0x496da3
mov edx, dword [esp + 0x1c]
xor esi, esi
test edx, edx
je 0x496d4b
mov eax, dword [esp + 0xb4]
test eax, eax
js 0x496d07
sub eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x28]
mov byte [eax + ecx], 0
mov ecx, dword [esp + 0x40]
test ecx, ecx
js 0x496d24
mov edi, dword [esp + 0x28]
mov eax, ecx
sub eax, dword [esp + 0x98]
mov byte [eax + edi], 0
mov edi, dword [esp + 0x5c]
cmp edx, 2
jne 0x496d4b
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x80]
setns al
sub ecx, eax
test ecx, ecx
jle 0x496d4b
mov edx, 0x11
mov ecx, edi
call fcn.004464a0
mov esi, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
push 0
push 0
push dword [esp + 0x30]
push dword [esp + 0xa4]
push 0
push 0x6e
call fcn.0047fb10
add esp, 0x18
test esi, esi
je 0x496d98
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x496d84
mov eax, 0x57ad14
jmp 0x496d95
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0xa0]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x496e56
test eax, eax
jne 0x496de1
mov eax, dword [esp + 0xc]
cmp dword [esp + 0xb4], eax
je 0x496de1
cmp dword [esp + 0x40], eax
je 0x496de1
push dword [esp + 0xac]
mov edx, 0x1c
mov ecx, edi
push dword [esp + 0x50]
push dword [esp + 0x28]
push eax
call fcn.004469c0
add esp, 0x10
cmp esi, 1
je 0x496df4
mov eax, dword [esp + 8]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x38], 0
mov edx, dword [esp + 0x24]
cmovne edx, dword [esp + 0x4c]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x496e22
push 0
push dword [esp + 0x24]
mov ecx, edi
push edx
mov edx, 0x32
call fcn.004463f0
jmp 0x496ee9
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], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x496eec
cmp dword [esp + 0x38], 0
mov ecx, edi
je 0x496eb6
mov eax, dword [esp + 8]
mov edx, 0x24
push dword [esp + 0x20]
push dword [esp + 0x74]
dec dword [eax + 0x38]
mov esi, dword [eax + 0x38]
mov dword [esp + 0x44], esi
call fcn.00446560
push dword [esp + 0x54]
mov edx, 0x80
mov ecx, edi
push dword [esp + 0x7c]
call fcn.00446560
push 0
push dword [esp + 0x60]
mov edx, 0x1c
mov dword [esp + 0xdc], eax
push esi
push dword [esp + 0x28]
mov ecx, edi
call fcn.004469c0
add esp, 0x20
jmp 0x496eec
mov esi, dword [esp + 0x24]
mov edx, 0x29
push esi
push dword [esp + 0x24]
push dword [esp + 0xa4]
call fcn.00446430
add esp, 0xc
mov dword [esp + 0x3c], eax
mov edx, 0x1f
mov ecx, edi
push esi
push eax
push dword [esp + 0x14]
call fcn.00446430
add esp, 0xc
cmp byte [esp + 0x17], 0
je 0x496f9e
mov eax, dword [esp + 0x64]
test eax, eax
je 0x496f1a
cmp byte [eax], 0xa4
jne 0x496f1a
mov esi, dword [esp + 8]
mov edx, dword [esp + 0x44]
push edx
push dword [eax + 0x1c]
mov ecx, dword [esi + 8]
mov edx, 0x4e
jmp 0x496f45
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 8]
mov ecx, esi
push edx
mov edx, eax
call fcn.004622f0
mov edx, dword [esp + 0x48]
add esp, 4
cmp eax, edx
je 0x496f51
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x496f51
push edx
push eax
mov edx, 0x4f
call fcn.00446560
mov edx, dword [esp + 0x4c]
add esp, 8
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x496f6f
push 0
push 0
push edx
mov edx, 0xf
mov ecx, edi
call fcn.004463f0
add esp, 0xc
jmp 0x496f9e
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 + 0x6c], 0
jne 0x497003
cmp dword [esp + 0x18], 0
jne 0x49700a
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x497176
xor eax, eax
push dword [ebp + 0x10]
mov edx, dword [esp + 0x30]
push dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 3
push 0
push dword [esp + 0x44]
mov dword [esp + 0x78], eax
call fcn.00495e60
mov edx, dword [esp + 0x78]
xor esi, esi
or edx, eax
mov dword [esp + 0x7c], esi
mov eax, dword [esp + 0x24]
xor ecx, ecx
add esp, 0x14
mov dword [esp + 0x64], edx
cmp cx, word [eax + 0x2a]
jge 0x497108
mov dword [esp + 0x40], ecx
jmp 0x497024
cmp dword [esp + 0x18], 0
je 0x496fb8
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
call fcn.0047a810
jmp 0x496fba
mov edx, dword [esp + 0x64]
cmp edx, 0xffffffff
je 0x4970c5
cmp esi, 0x20
jge 0x497047
mov eax, 1
mov ecx, esi
shl eax, cl
test edx, eax
jne 0x4970c5
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xf], 1
jne 0x4970c5
mov eax, dword [esp + 0x78]
lea edx, [edi + 0x6c]
mov ecx, dword [edx]
add eax, esi
mov dword [esp + 0xb4], edx
mov dword [esp + 0x6c], eax
cmp dword [edi + 0x70], ecx
jg 0x49708d
push 0
push eax
push 0
mov edx, 0x49
mov ecx, edi
call fcn.004463f0
mov edx, dword [esp + 0xc0]
add esp, 0xc
jmp 0x4970e6
mov esi, dword [esp + 0x6c]
lea eax, [ecx + 1]
mov dword [edx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x68]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4970e6
mov eax, dword [esp + 0x78]
mov ecx, edi
mov edx, dword [esp + 0x10]
add eax, esi
push eax
push esi
push dword [esp + 0x14]
call fcn.00461f60
mov edx, dword [esp + 0x6c]
add esp, 0xc
add edx, 0x6c
mov eax, dword [esp + 0x10]
inc esi
mov ecx, dword [esp + 0x40]
add ecx, 0x10
mov dword [esp + 0x68], esi
mov dword [esp + 0x40], ecx
movsx eax, word [eax + 0x2a]
cmp esi, eax
jl 0x497020
jmp 0x49710f
mov edx, dword [esp + 0x60]
add edx, 0x6c
cmp byte [esp + 0x17], 0
jne 0x497172
cmp dword [esp + 0x38], 0
jne 0x497172
mov ecx, dword [edx]
cmp dword [edi + 0x70], ecx
jg 0x497140
mov edx, dword [esp + 0x44]
mov ecx, edi
push 0
push edx
push dword [esp + 0x2c]
mov edx, 0x4e
call fcn.004463f0
add esp, 0xc
jmp 0x497172
lea eax, [ecx + 1]
mov dword [edx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x4e
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 + 0x2c]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, eax
push dword [esp + 0x14]
push 1
push 1
push dword [esp + 0x44]
call fcn.00495e60
mov edx, eax
xor ecx, ecx
mov eax, dword [esp + 0x24]
xor esi, esi
add esp, 0x14
mov dword [esp + 0x28], edx
mov dword [esp + 0x68], ecx
cmp si, word [eax + 0x2a]
jge 0x497378
mov esi, dword [esp + 0xa8]
movsx eax, word [eax + 0x28]
cmp ecx, eax
jne 0x497214
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4971dc
push 0
push esi
push 0
mov edx, 0x49
mov ecx, edi
call fcn.004463f0
jmp 0x497353
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x5c]
mov dword [eax + ecx*4], 0x49
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 0x49735a
mov eax, dword [esp + 0x30]
mov eax, dword [eax + ecx*4]
test eax, eax
js 0x4972f9
mov ecx, dword [esp + 0x34]
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*8 + 4]
test edx, edx
je 0x49729c
cmp byte [edx], 0xa4
jne 0x49729c
mov ecx, dword [esp + 8]
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x40], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x78], ecx
mov edx, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], edx
jg 0x497264
push 0
push esi
push eax
mov edx, 0x4e
call fcn.004463f0
jmp 0x497353
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x4e
mov edx, dword [esp + 0x40]
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
jmp 0x497356
mov ecx, dword [esp + 8]
push esi
call fcn.004622f0
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, esi
je 0x497356
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x78], ecx
test ecx, ecx
je 0x497356
mov edx, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], edx
jg 0x4972e0
push 0
push esi
push eax
mov edx, 0x4f
call fcn.004463f0
jmp 0x497353
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x4f
jmp 0x49727b
test dword [esp + 0xbc], 1
je 0x497342
cmp ecx, 0x1f
jg 0x497342
mov eax, 1
shl eax, cl
test edx, eax
jne 0x497342
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jle 0x4971c6
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
jmp 0x497283
mov edx, dword [esp + 0x10]
push esi
push ecx
push dword [esp + 0x14]
mov ecx, edi
call fcn.00461f60
add esp, 0xc
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
inc esi
mov ecx, dword [esp + 0x68]
inc ecx
mov dword [esp + 0x68], ecx
movsx eax, word [eax + 0x2a]
cmp ecx, eax
mov eax, dword [esp + 0x10]
jl 0x4971b6
test byte [esp + 0xbc], 1
je 0x49751c
push dword [esp + 0xa8]
mov edx, eax
mov ecx, edi
call fcn.0047c180
mov eax, dword [esp + 0x30]
add esp, 4
mov esi, eax
test eax, eax
je 0x4973e8
mov edi, dword [esp + 0x3c]
cmp byte [esi + 8], 0x76
jne 0x4973dd
cmp byte [esi + 9], 1
jne 0x4973dd
mov edx, dword [esp + 0x34]
mov ecx, dword [esi + 0x10]
call fcn.004952b0
test eax, eax
je 0x4973dd
mov ecx, dword [esp + 8]
mov edx, esi
push edi
push dword [ebp + 0x10]
push dword [esp + 0x2c]
push dword [esp + 0x1c]
call fcn.00495d50
add esp, 0x10
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x4973a7
mov edi, dword [esp + 0x5c]
cmp dword [esp + 0x38], 0
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
je 0x49747b
cmp eax, edx
jg 0x497423
push dword [esp + 0x4c]
mov edx, 0x1c
mov ecx, edi
push dword [esp + 0x40]
push dword [esp + 0x14]
call fcn.004463f0
mov esi, dword [esp + 0x6c]
add esp, 0xc
mov edx, eax
add esi, 0x68
jmp 0x49745c
lea esi, [edi + 0x68]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi]
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x5c]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4974cf
mov eax, dword [esi]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0xac]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x4974cf
cmp eax, edx
jg 0x49749c
push dword [esp + 0x24]
mov edx, 0x1f
mov ecx, edi
push dword [esp + 0x40]
push dword [esp + 0x14]
call fcn.004463f0
add esp, 0xc
jmp 0x4974cf
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x10]
xor eax, eax
xor esi, esi
cmp ax, word [ecx + 0x2a]
jge 0x497520
nop dword [eax]
mov eax, dword [esp + 0x30]
cmp dword [eax + esi*4], 0
jge 0x497511
movsx eax, word [ecx + 0x28]
cmp esi, eax
je 0x497511
mov eax, dword [esp + 0xa8]
mov edx, ecx
add eax, esi
mov ecx, edi
push eax
push esi
push dword [esp + 0x14]
call fcn.00461f60
mov ecx, dword [esp + 0x1c]
add esp, 0xc
movsx eax, word [ecx + 0x2a]
inc esi
cmp esi, eax
jl 0x4974e0
jmp 0x497520
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0xa0], 0
jne 0x4977df
xor esi, esi
lea eax, [esp + 0x138]
push esi
push dword [esp + 0x34]
mov edx, ecx
mov ecx, dword [esp + 0x10]
push eax
push dword [esp + 0x48]
push dword [ebp + 0x10]
push dword [esp + 0x5c]
push dword [esp + 0x3c]
push dword [esp + 0x60]
push dword [esp + 0xa4]
push dword [esp + 0x30]
push dword [esp + 0xd8]
call fcn.0047de40
add esp, 0x2c
cmp dword [esp + 0x18], esi
je 0x497596
push dword [esp + 0xc0]
mov edx, dword [esp + 0x14]
push dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
push esi
push dword [esp + 0x30]
call fcn.0047a0d0
add esp, 0x10
cmp dword [esp + 0x138], esi
jne 0x4975aa
cmp byte [esp + 0x48], 0
je 0x49768f
cmp dword [esp + 0x38], 0
mov esi, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
je 0x49763b
cmp eax, esi
jg 0x4975e3
push dword [esp + 0x4c]
mov edx, 0x1c
mov ecx, edi
push 0
push dword [esp + 0x14]
call fcn.004463f0
mov edx, dword [esp + 0x6c]
add esp, 0xc
mov esi, eax
add edx, 0x68
jmp 0x49761c
lea edx, [edi + 0x68]
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edx]
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x5c]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x49768f
mov eax, dword [edx]
lea ecx, [esi + esi*4]
mov edx, dword [esp + 0xac]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x49768f
cmp eax, esi
jg 0x49765c
push dword [esp + 0x24]
mov edx, 0x1f
mov ecx, edi
push 0
push dword [esp + 0x14]
call fcn.004463f0
add esp, 0xc
mov esi, eax
jmp 0x49768f
mov edx, dword [esp + 0xc]
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 + 0x24]
mov dword [eax + ecx*4], 0x1f
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 + 8]
push 0xffffffffffffffff
push dword [esp + 0xb4]
push dword [esp + 0x8c]
push dword [esp + 0x18]
call fcn.00474a80
add esp, 0x10
cmp dword [esp + 0x18], 1
jg 0x4976c2
mov al, byte [esp + 0x48]
test al, al
je 0x49771a
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4976e3
push 0
push 0
push dword [esp + 0x14]
mov edx, 0x7c
mov ecx, edi
call fcn.004463f0
add esp, 0xc
jmp 0x497716
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x7c
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 + 0x48]
cmp dword [esp + 0x138], 0
jne 0x497728
test al, al
je 0x49774d
mov edx, dword [edi + 0x6c]
test esi, esi
jns 0x497732
lea esi, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x497741
mov eax, 0x57ad14
jmp 0x49774a
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp dword [esp + 0x18], 0
je 0x497775
push dword [esp + 0xc0]
mov edx, dword [esp + 0x14]
push dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
push dword [esp + 0x4c]
push 0
call fcn.0047a0d0
add esp, 0x10
mov esi, dword [esp + 0x1c]
xor eax, eax
mov edx, dword [esp + 0x10]
cmp esi, 2
mov ecx, dword [esp + 8]
push 0
sete al
push 0
lea eax, [eax*2 + 4]
push eax
push dword [esp + 0xbc]
push dword [esp + 0x54]
push dword [esp + 0x98]
push dword [esp + 0x24]
call fcn.0047f840
add esp, 0x1c
cmp dword [esp + 0x18], 0
je 0x4977e3
push dword [esp + 0xc0]
mov edx, dword [esp + 0x14]
push dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
push dword [esp + 0x2c]
push dword [esp + 0x40]
call fcn.0047bbd0
add esp, 0x10
jmp 0x4977e3
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0xc8]
test edx, edx
je 0x49783f
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49780c
push 0
push 1
push edx
mov edx, 0x53
mov ecx, edi
call fcn.004463f0
add esp, 0xc
jmp 0x49783f
mov esi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x53
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 + 0x2c]
test eax, eax
je 0x49789c
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
nop
cmp byte [eax + 8], 0x76
jne 0x497889
cmp byte [eax + 9], 2
jne 0x497889
mov edx, dword [esp + 0x34]
mov ecx, dword [eax + 0x10]
call fcn.004952b0
test eax, eax
je 0x497885
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 8]
push edi
push dword [ebp + 0x10]
push dword [esp + 0x2c]
push esi
call fcn.00495d50
add esp, 0x10
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x497850
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x1c]
cmp esi, 1
je 0x4979bf
cmp esi, 2
jne 0x4978eb
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x3c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4978d4
push edx
mov edx, edi
call fcn.00446ac0
mov ecx, dword [esp + 0x58]
add esp, 4
call fcn.004a83d0
jmp 0x4979bf
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x54]
call fcn.004a83d0
jmp 0x4979bf
cmp dword [esp + 0x38], 0
je 0x49796b
mov ecx, dword [edi + 0xc]
mov esi, dword [esp + 0x3c]
not esi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x497917
push esi
mov edx, edi
call fcn.00446ac0
mov edx, dword [esp + 0x64]
add esp, 4
add edx, 0x6c
jmp 0x497922
mov ecx, dword [ecx + 0x40]
lea edx, [edi + 0x6c]
mov eax, dword [edx]
mov dword [ecx + esi*4], eax
mov ecx, dword [edx]
cmp dword [edi + 0x70], ecx
jg 0x497948
mov edx, dword [esp + 0xc4]
mov ecx, edi
push 0
push edx
push dword [esp + 0x78]
mov edx, 5
call fcn.004463f0
add esp, 0xc
jmp 0x4979bf
lea eax, [ecx + 1]
mov dword [edx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc4]
mov dword [eax + ecx*4], 5
jmp 0x4979ab
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49798c
push 0
push dword [esp + 0x40]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.004463f0
add esp, 0xc
jmp 0x4979bf
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
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 ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4979dd
push edx
mov edx, edi
call fcn.00446ac0
add esp, 4
jmp 0x4979e6
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 8]
cmp byte [eax + 0x12], 0
jne 0x497a0a
cmp dword [eax + 0x78], 0
jne 0x497a0a
cmp dword [esp + 0x74], 0
jne 0x497a0a
cmp dword [eax + 0x70], 0
je 0x497a0a
mov ecx, eax
call fcn.0047c4a0
mov edx, dword [esp + 0xc8]
test edx, edx
je 0x497a8c
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x497a33
push 0
push 1
push edx
mov edx, 0x51
mov ecx, edi
call fcn.004463f0
add esp, 0xc
jmp 0x497a62
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x51
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.00448720
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x497a8c
mov ecx, dword [edi + 0x74]
mov edx, str.rows_updated
push 0
push 1
push 0xffffffffffffffff
call fcn.004456b0
add esp, 0xc
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x497aa4
mov ecx, dword [esp + 0x90]
mov dword [eax + 0xec], ecx
mov edi, dword [esp + 0x88]
cmp dword [edi + 0x1e0], 0
je 0x497ad3
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.00423550
mov edx, dword [esp + 0x50]
mov ecx, edi
call fcn.00471680
mov edx, dword [esp + 0x34]
jmp 0x497b8c
mov esi, dword [esp + 0x30]
cmp esi, dword [edi + 0x130]
jb 0x497b09
cmp esi, dword [edi + 0x134]
jae 0x497b09
mov eax, dword [edi + 0x12c]
mov ecx, edi
mov edx, dword [esp + 0x50]
mov dword [esi], eax
mov dword [edi + 0x12c], esi
call fcn.00471680
mov edx, dword [esp + 0x34]
jmp 0x497b8c
cmp dword [0x577a68], 0
je 0x497b69
mov eax, dword [0x57adf8]
test eax, eax
je 0x497b25
push eax
call dword [0x577ac4]
add esp, 4
push esi
call dword [0x577aa0]
sub dword [0x57ad28], eax
add esp, 4
dec dword [0x57ad4c]
push esi
call dword [0x577a98]
mov eax, dword [0x57adf8]
add esp, 4
test eax, eax
je 0x497b58
push eax
call dword [0x577acc]
add esp, 4
mov edx, dword [esp + 0x50]
mov ecx, edi
call fcn.00471680
mov edx, dword [esp + 0x34]
jmp 0x497b8c
push esi
call dword [0x577a98]
jmp 0x497b55
mov edi, dword [esp + 0x88]
mov ecx, edi
mov edx, dword [esp + 0x50]
call fcn.00471680
mov edx, dword [esp + 0x34]
test edx, edx
je 0x497b93
mov ecx, edi
call fcn.0045edb0
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x497ba7
mov edx, eax
mov ecx, edi
call fcn.0045dbe0
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
call fcn.00517154
mov esp, ebp
pop ebp
ret