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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
xor esi, esi
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov eax, dword [ebx]
push edi
mov dword [esp + 0x84], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x64], eax
cmp dword [ebx + 0x40], esi
jne 0x4970ce
cmp byte [eax + 0x41], 0
jne 0x4970ce
mov eax, dword [ebp + 0xc]
push ebx
call fcn.00479c10
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
cmp edi, esi
je 0x4970ce
mov esi, dword [edi + 0x40]
mov ecx, dword [ebx]
call fcn.00489a20
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x40]
push eax
push ecx
push 0x6e
mov edx, edi
mov eax, ebx
call fcn.00494fb0
xor edx, edx
add esp, 0xc
cmp dword [edi + 0xc], edx
mov dword [esp + 0x58], eax
setne dl
push edi
mov eax, ebx
mov dword [esp + 0x78], edx
call fcn.00475c50
add esp, 4
test eax, eax
jne 0x4970ce
mov eax, dword [esp + 0x40]
push eax
mov ecx, edi
mov eax, ebx
call fcn.00479c60
add esp, 4
test eax, eax
jne 0x4970ce
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x38], eax
inc dword [ebx + 0x44]
mov edx, dword [ebx + 0x44]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x5c], eax
inc eax
test byte [edi + 0x2a], 0x20
mov dword [esp + 0x60], eax
jne 0x495a2a
mov dword [esp + 0x20], 0
jmp 0x495a35
mov eax, edi
call fcn.00473e10
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
xor ebx, ebx
test eax, eax
je 0x495a6b
mov esi, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
and cl, 3
cmp cl, 2
jne 0x495a5d
cmp dword [esp + 0x20], 0
je 0x495a5d
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x1c], edx
mov dword [ecx + 0x38], edx
inc dword [esi + 0x44]
mov eax, dword [eax + 0x14]
mov edx, dword [esi + 0x44]
inc ebx
test eax, eax
jne 0x495a41
movsx edx, word [edi + 0x22]
mov esi, dword [esp + 0x64]
add edx, ebx
lea eax, [ebx + edx*4 + 2]
push 0
push eax
call fcn.0043ba30
add esp, 8
mov dword [esp + 0x30], eax
test eax, eax
je 0x4970ce
movsx ecx, word [edi + 0x22]
mov edx, eax
lea eax, [edx + ecx*4]
lea esi, [eax + ebx*4]
mov dword [esp + 0x78], eax
lea eax, [ebx + 1]
push eax
push 1
push esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x44], eax
call fcn.0050e6a0
xor edx, edx
add esp, 0xc
mov byte [esi + ebx + 1], 0
xor ecx, ecx
xor eax, eax
cmp dx, word [edi + 0x22]
jge 0x495ae4
jmp 0x495ad0
mov edx, dword [esp + 0x30]
mov dword [edx + eax*4], 0xffffffff
movsx edx, word [edi + 0x22]
inc eax
cmp eax, edx
jl 0x495ad0
mov edx, dword [ebp + 0xc]
xor eax, eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], ecx
mov dword [esp + 0x9c], edx
mov byte [esp + 0x13], cl
mov byte [esp + 0x12], cl
mov dword [esp + 0x34], ecx
jle 0x495cdb
mov dword [esp + 0x14], ecx
lea ecx, [ecx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + edx]
push ecx
lea esi, [esp + 0x9c]
call fcn.00469010
add esp, 4
test eax, eax
jne 0x4970ce
movsx eax, word [edi + 0x22]
xor esi, esi
test eax, eax
jle 0x495bff
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx + 4]
mov ebx, dword [edi + 4]
add eax, ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x28], edx
mov edi, edi
mov eax, dword [esp + 0x28]
mov ecx, dword [ebx]
push eax
push ecx
call fcn.0043e190
add esp, 8
test eax, eax
je 0x495bc2
movsx eax, word [edi + 0x22]
inc esi
add ebx, 0x18
cmp esi, eax
jl 0x495ba0
jmp 0x495bff
movsx edx, word [edi + 0x20]
cmp esi, edx
jne 0x495bdb
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov byte [esp + 0x12], 1
mov dword [esp + 0x7c], ecx
jmp 0x495bf4
cmp dword [esp + 0x20], 0
je 0x495bf4
mov eax, dword [edi + 4]
lea edx, [esi + esi*2]
test byte [eax + edx*8 + 0x17], 1
je 0x495bf4
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [ecx + esi*4], eax
movsx edx, word [edi + 0x22]
cmp esi, edx
jl 0x495c72
cmp dword [esp + 0x20], 0
jne 0x495d17
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x14]
mov esi, dword [edx + ecx + 4]
lea ebx, [edx + ecx]
push str._ROWID_
push esi
call fcn.0043e190
add esp, 8
test eax, eax
je 0x495c5d
push str.ROWID
push esi
call fcn.0043e190
add esp, 8
test eax, eax
je 0x495c5d
push 0x541fb0
push esi
call fcn.0043e190
add esp, 8
test eax, eax
jne 0x495d17
mov eax, dword [ebx]
mov dword [esp + 0x7c], eax
or esi, 0xffffffff
mov byte [esp + 0x12], 1
mov eax, str.ROWID
jmp 0x495c86
test esi, esi
jge 0x495c7d
mov eax, str.ROWID
jmp 0x495c86
mov edx, dword [edi + 4]
lea ecx, [esi + esi*2]
mov eax, dword [edx + ecx*8]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x64]
mov edx, dword [edx + 0x10]
shl ecx, 4
mov ecx, dword [ecx + edx]
mov edx, dword [edi]
push ecx
push eax
mov eax, dword [ebp + 8]
push edx
push 0x17
call fcn.00472b40
add esp, 0x10
cmp eax, 1
je 0x4970ce
cmp eax, 2
jne 0x495cc2
mov eax, dword [esp + 0x30]
mov dword [eax + esi*4], 0xffffffff
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 0x10]
add dword [esp + 0x14], 0x18
inc eax
cmp eax, dword [ecx]
mov dword [esp + 0x34], eax
jl 0x495b50
mov eax, dword [ebp + 0xc]
mov cl, byte [esp + 0x13]
mov ebx, dword [ebp + 8]
add cl, byte [esp + 0x12]
xor esi, esi
mov dword [eax + 0x48], esi
mov dword [eax + 0x4c], esi
mov eax, dword [ebx]
test dword [eax + 0x18], 0x80000
mov byte [esp + 0x50], cl
je 0x495d42
mov eax, dword [esp + 0x30]
movzx ecx, cl
push ecx
push edi
call fcn.0047f540
add esp, 8
mov dword [esp + 0x48], eax
jmp 0x495d46
mov eax, dword [esp + 0x34]
mov edi, dword [ebp + 8]
lea edx, [eax + eax*2]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edx*8 + 4]
push edx
push str.no_such_column:__s
call fcn.0043e000
add esp, 8
mov byte [edi + 0x11], 1
jmp 0x4970ce
mov dword [esp + 0x48], esi
mov edi, dword [edi + 8]
mov dword [esp + 0x18], esi
cmp edi, esi
je 0x495dd1
cmp byte [esp + 0x50], 0
jne 0x495da1
cmp dword [esp + 0x48], esi
jne 0x495da1
cmp dword [edi + 0x24], esi
jne 0x495da1
cmp edi, dword [esp + 0x20]
je 0x495da1
movzx esi, word [edi + 0x2e]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x28], eax
test esi, esi
jle 0x495dab
mov edx, dword [edi + 4]
movsx eax, word [edx]
mov ebx, dword [esp + 0x30]
cmp dword [ebx + eax*4], 0
jge 0x495d9e
inc ecx
add edx, 2
cmp ecx, esi
jl 0x495d80
mov eax, dword [esp + 0x28]
mov ebx, dword [ebp + 8]
jmp 0x495dab
mov ebx, dword [ebp + 8]
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
test eax, eax
jne 0x495db8
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x18]
mov byte [edx + ecx + 1], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x78]
mov dword [edx + ecx*4], eax
mov edi, dword [edi + 0x14]
inc ecx
xor esi, esi
mov dword [esp + 0x18], ecx
cmp edi, esi
jne 0x495d55
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 8]
test ebx, ebx
jne 0x495e97
mov esi, dword [edi]
push ebx
push 0xd0
call fcn.0043ba30
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x495f48
push 0xd0
push 0
push ebx
call fcn.0050e6a0
mov dword [ebx], esi
mov eax, dword [esi + 4]
add esp, 0xc
test eax, eax
je 0x495e15
mov dword [eax + 0x30], ebx
mov eax, dword [esi + 4]
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x30], 0
mov dword [esi + 4], ebx
mov dword [ebx + 0x28], 0x26bceaa5
mov dword [ebx + 0x18], edi
mov dword [edi + 8], ebx
test ebx, ebx
je 0x495e7a
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x28], eax
jg 0x495e56
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x495e7a
mov eax, dword [esp + 0x28]
inc dword [ebx + 0x20]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + edx*4]
xor ecx, ecx
mov byte [eax], 0x9e
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
cmp dword [edi + 0x198], 0
jne 0x495e8f
mov ecx, dword [edi]
test byte [ecx + 0x3c], 8
jne 0x495e8f
mov byte [edi + 0x17], 1
test ebx, ebx
je 0x4970ce
cmp byte [edi + 0x12], 0
jne 0x495ea1
or dword [ebx + 0x58], 4
mov eax, dword [edi + 0x198]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x495eb5
mov dword [esp + 0x14], edi
mov eax, edi
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax + 0x14c]
mov esi, 1
shl esi, cl
test edx, esi
jne 0x495efb
mov ecx, esi
or ecx, edx
mov edx, dword [eax]
mov dword [eax + 0x14c], ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [edx + 0x10]
shl ecx, 4
mov ecx, dword [edx + ecx + 0xc]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 0x150], edx
cmp ecx, 1
jne 0x495efb
call fcn.00478790
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
or dword [eax + 0x148], esi
or byte [eax + 0x14], 1
test byte [ecx + 0x2a], 0x10
je 0x495f4f
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [ebp + 0x10]
push edx
push eax
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, edi
call fcn.004971c0
add esp, 0x1c
xor eax, eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], eax
jmp 0x4970ce
xor ebx, ebx
jmp 0x495e2f
mov eax, dword [edi + 0x48]
inc eax
mov dword [esp + 0x54], eax
inc eax
cmp byte [esp + 0x13], 0
mov dword [edi + 0x48], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
jne 0x495f78
cmp dword [esp + 0x58], 0
jne 0x495f78
cmp dword [esp + 0x48], 0
je 0x495f88
lea edx, [eax + 1]
mov dword [esp + 0x44], edx
movsx edx, word [ecx + 0x22]
add edx, eax
mov dword [edi + 0x48], edx
cmp byte [esp + 0x50], 0
jne 0x495f9d
cmp dword [esp + 0x58], 0
jne 0x495f9d
cmp dword [esp + 0x48], 0
je 0x495fa7
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x48]
lea edx, [eax + 1]
mov dword [esp + 0x3c], edx
movsx edx, word [ecx + 0x22]
add edx, eax
cmp dword [esp + 0x74], 0
mov dword [edi + 0x48], edx
je 0x495ff0
mov eax, dword [edi + 0x1e8]
mov edx, dword [ecx]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x1c]
push eax
mov dword [edi + 0x1e8], edx
mov edx, dword [ebp + 0x14]
push edx
push ecx
push edi
mov dword [esp + 0x9c], edi
call fcn.00479cf0
add esp, 0x10
mov eax, dword [ebp + 0x14]
push eax
lea esi, [esp + 0x9c]
call fcn.00469010
add esp, 4
test eax, eax
jne 0x4970ce
mov ecx, dword [esp + 0xc]
test byte [ecx + 0x2a], 0x20
jne 0x496108
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x54]
push edx
push eax
push 0
push 0x1a
mov esi, ebx
call fcn.00457e10
mov ecx, dword [esp + 0x70]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push 4
push 0
push 0
push edx
push eax
push ecx
call fcn.004a1990
mov edi, eax
add esp, 0x2c
test edi, edi
je 0x4970ce
mov edx, dword [edi + 0x3c]
movzx ecx, byte [edi + 0x26]
mov esi, dword [ebx + 0x20]
mov eax, dword [edi + 0x40]
mov dword [esp + 0x90], edx
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], esi
mov dword [esp + 0x94], eax
mov dword [esp + 0x14], ecx
jg 0x49608b
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x4960b7
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x1c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x68
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
cmp dword [esp + 0x14], 0
jne 0x496102
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], esi
jg 0x4960d6
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x496102
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x54]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x81
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
push edi
jmp 0x496330
mov edx, dword [esp + 0x20]
movzx ecx, word [edx + 0x2e]
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x48]
lea edx, [eax + 1]
movsx edi, cx
lea eax, [edi + eax + 1]
mov dword [esi + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x6c], eax
inc eax
mov dword [esi + 0x44], eax
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], eax
jg 0x496156
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49617e
mov eax, dword [esp + 0x28]
inc dword [ebx + 0x20]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov byte [eax], 0x1a
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], ecx
mov dword [esp + 0x28], ecx
jg 0x4961a8
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
je 0x4961a4
mov dword [esp + 0x24], 1
jmp 0x4961d4
mov ecx, dword [esp + 0x28]
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], edx
xor edx, edx
mov byte [eax], 0x39
mov byte [eax + 3], 0
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x20]
mov eax, esi
call fcn.004586f0
mov eax, dword [esp + 0x60]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push eax
push 4
push 0
push 0
push ecx
push edx
push esi
call fcn.004a1990
add esp, 0x1c
mov dword [esp + 0x28], eax
test eax, eax
je 0x4970ce
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
movzx eax, byte [eax + 0x26]
xor esi, esi
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
mov dword [esp + 0x14], eax
test edi, edi
jle 0x49625b
lea esp, [esp]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x1c]
add ecx, esi
push ecx
movsx ecx, word [eax + esi*2]
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
push ebx
call fcn.0046c920
inc esi
add esp, 0x14
cmp esi, edi
jl 0x496230
cmp dword [esp + 0x14], 0
je 0x4962b6
mov ecx, dword [esp + 0x24]
cmp ecx, dword [ebx + 0x20]
jge 0x4962a8
mov eax, ecx
mov ecx, dword [ebx]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea esi, [eax + edx*4]
movsx eax, byte [esi + 1]
push ecx
mov ecx, dword [esi + 0x10]
call fcn.00458430
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov byte [esi], 0x9f
mov eax, dword [ebx + 0x20]
dec eax
add esp, 4
cmp dword [esp + 0x24], eax
jne 0x4962a8
mov dword [ebx + 0x20], eax
mov edx, dword [esp + 0x18]
mov dword [esp + 0x70], edi
mov dword [esp + 0x4c], edx
jmp 0x49632b
mov esi, dword [esp + 0x20]
mov eax, ebx
call fcn.004802c0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x4c]
push eax
push edi
push ecx
push 0x31
mov esi, ebx
call fcn.00457e10
push edi
mov edi, dword [esp + 0x38]
push ebx
call fcn.00458620
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
add esp, 0x18
cmp dword [edx + 0x54], esi
jg 0x4962ff
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x49632b
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x6c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x6f
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edx, dword [esp + 0x28]
push edx
call fcn.004a2280
mov eax, dword [esp + 0x68]
add esp, 4
test byte [eax + 0x18], 0x80
je 0x496399
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x19c], 0
jne 0x496399
mov eax, ecx
inc dword [eax + 0x48]
mov edi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], edi
mov esi, dword [eax + 0x48]
mov dword [esp + 0x80], esi
jg 0x496375
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x496399
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x17
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 0x6c]
lea edx, [eax + 1]
mov dword [ecx + 0x6c], edx
lea edx, [eax - 1]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], eax
test eax, edx
jne 0x4963dc
lea ecx, [eax*8 + 4]
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x70]
mov esi, dword [eax]
push 0
push ecx
call fcn.0043bb90
mov edx, dword [esp + 0x20]
mov dword [edx + 0x70], eax
mov eax, dword [esp + 0x30]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x70]
test ecx, ecx
je 0x4963ea
mov dword [ecx + eax*4], 0xffffffff
or esi, 0xffffffff
sub esi, eax
cmp dword [esp + 0x74], 0
mov dword [esp + 0x18], esi
jne 0x49648c
mov ecx, 5
cmp dword [ebp + 0x18], ecx
jne 0x49641e
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x68]
push eax
push 1
push edi
call fcn.0050e6a0
add esp, 0xc
jmp 0x496440
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 8]
test eax, eax
je 0x49643c
lea esp, [esp]
cmp byte [eax + 0x32], cl
je 0x496408
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x496430
mov edi, dword [esp + 0x68]
cmp dword [esp + 0x14], 0
je 0x49646d
mov eax, dword [esp + 0x90]
test eax, eax
jl 0x49645a
sub eax, dword [esp + 0x5c]
mov byte [eax + edi], 0
mov eax, dword [esp + 0x94]
test eax, eax
jl 0x49646d
sub eax, dword [esp + 0x5c]
mov byte [eax + edi], 0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
push 0
push 0
push edi
push ecx
push 0x37
push edx
push eax
call fcn.004837f0
add esp, 0x1c
jmp 0x496490
mov edi, dword [esp + 0x68]
cmp dword [esp + 0x14], 0
je 0x496515
sub edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x1c]
cmp byte [edi + eax], 0
je 0x4964c3
cmp dword [esp + 0x74], 0
jne 0x4964c3
mov ecx, dword [esp + 0x70]
push ecx
push eax
mov eax, dword [esp + 0x54]
push 0x45
push ebx
mov ecx, esi
call fcn.00458080
add esp, 0x10
cmp dword [esp + 0x20], 0
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x4c]
jne 0x4964d6
mov esi, dword [esp + 0x2c]
mov edi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], edi
jg 0x4964f2
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x4966cd
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x18]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x4c
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0x10], ecx
jmp 0x4966c2
cmp dword [esp + 0x20], 0
mov ecx, dword [ebx + 0x18]
je 0x49662d
mov eax, dword [ecx + 0x6c]
lea edx, [eax + 1]
mov dword [ecx + 0x6c], edx
lea edx, [eax - 1]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x38], eax
test eax, edx
jne 0x496563
lea ecx, [eax*8 + 4]
mov eax, dword [esp + 0x5c]
mov edi, dword [eax + 0x70]
mov esi, dword [eax]
push 0
push ecx
call fcn.0043bb90
mov edx, dword [esp + 0x64]
mov dword [edx + 0x70], eax
mov eax, dword [esp + 0x40]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x70]
test ecx, ecx
je 0x496571
mov dword [ecx + eax*4], 0xffffffff
mov edi, dword [ebx + 0x20]
or esi, 0xffffffff
sub esi, eax
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], edi
mov dword [esp + 0x24], esi
jg 0x496592
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x4965be
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x18]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x6d
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], edi
jg 0x4965dd
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
je 0x4965dd
mov edi, 1
jmp 0x496609
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x66
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x1c]
push 0
push eax
mov eax, dword [esp + 0x54]
push 0x45
push ebx
mov ecx, esi
mov dword [esp + 0x94], edi
call fcn.00458080
add esp, 0x10
jmp 0x4966cd
mov edi, dword [ebx + 0x20]
cmp dword [ecx + 0x54], edi
jg 0x49664d
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
je 0x49664d
mov esi, 1
mov dword [esp + 0x24], esi
jmp 0x496686
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov ecx, dword [esp + 0x54]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov byte [eax], 0x82
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov esi, edi
mov dword [esp + 0x24], edi
mov edi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], edi
jg 0x49669e
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x4966cd
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x1c]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
mov byte [eax], 0x49
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov dword [eax + 0xc], ecx
mov byte [eax + 3], 0
cmp byte [esp + 0x12], 0
je 0x496726
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x7c]
mov eax, dword [ebp + 8]
push esi
push edx
push eax
call fcn.0046ddd0
mov edi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
add esp, 0xc
cmp dword [ecx + 0x54], edi
jg 0x496702
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x496726
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
xor ecx, ecx
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x26
mov byte [eax + 3], 0
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
cmp byte [esp + 0x13], 0
jne 0x496805
cmp dword [esp + 0x48], 0
jne 0x496810
cmp dword [esp + 0x58], 0
je 0x4968ac
xor esi, esi
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 8]
push ecx
push 3
push 0
push edx
push eax
mov eax, dword [esp + 0x70]
call fcn.004957c0
mov edx, dword [esp + 0x24]
or esi, eax
mov dword [esp + 0x50], esi
xor ecx, ecx
add esp, 0x18
xor esi, esi
cmp cx, word [edx + 0x22]
jge 0x49685a
mov dword [esp + 0x54], ecx
jmp 0x496790
mov eax, dword [esp + 0x38]
cmp eax, 0xffffffff
je 0x496828
cmp esi, 0x20
jge 0x4967af
mov edx, 1
mov ecx, esi
shl edx, cl
test eax, edx
jne 0x496828
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x54]
test byte [ecx + edx + 0x17], 1
jne 0x496828
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], edi
jg 0x4967d9
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x496844
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x44]
xor ecx, ecx
add edx, esi
mov byte [eax], 0x1a
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
jmp 0x496844
cmp dword [esp + 0x48], 0
je 0x496747
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.0047f460
add esp, 8
mov esi, eax
jmp 0x496749
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
lea ecx, [esi + eax]
mov eax, dword [esp + 0xc]
push ecx
push esi
push edx
push eax
push ebx
call fcn.0046c920
add esp, 0x14
mov ecx, dword [esp + 0xc]
movsx edx, word [ecx + 0x22]
add dword [esp + 0x54], 0x18
inc esi
cmp esi, edx
jl 0x496790
cmp byte [esp + 0x12], 0
jne 0x4968ac
cmp dword [esp + 0x20], 0
jne 0x4968ac
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x496880
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x4968ac
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x1f
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [ebp + 0x18]
mov edi, dword [esp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [esp + 0x5c]
push edi
push 1
push 1
push ecx
push edx
call fcn.004957c0
mov dword [esp + 0x50], eax
xor eax, eax
add esp, 0x18
xor esi, esi
cmp ax, word [edi + 0x22]
jge 0x4969aa
nop
mov edx, dword [esp + 0xc]
movsx ecx, word [edx + 0x20]
cmp esi, ecx
je 0x49693c
mov eax, dword [esp + 0x30]
mov eax, dword [eax + esi*4]
test eax, eax
jl 0x49691c
mov ecx, dword [esp + 0x3c]
lea edx, [eax + eax*2]
mov eax, dword [ebp + 0x10]
add ecx, esi
push ecx
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edx*8]
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.0046ddd0
add esp, 0xc
jmp 0x496997
test dword [esp + 0x40], 1
je 0x496980
cmp esi, 0x1f
jg 0x496980
mov ecx, esi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x38]
test ecx, eax
jne 0x496980
mov edi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], edi
jg 0x496954
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x496997
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x3c]
lea eax, [edi + edi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x1a
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
add edx, esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
jmp 0x496997
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
add eax, esi
push eax
push esi
push ecx
push edx
push ebx
call fcn.0046c920
add esp, 0x14
mov edx, dword [esp + 0xc]
movsx eax, word [edx + 0x22]
inc esi
cmp esi, eax
jl 0x4968e0
mov edi, edx
test byte [esp + 0x40], 1
je 0x496b58
mov ecx, dword [esp + 0x3c]
push ecx
push ebx
mov eax, edi
call fcn.00480340
mov esi, dword [esp + 0x60]
add esp, 8
test esi, esi
je 0x496a12
lea ecx, [ecx]
cmp byte [esi + 8], 0x6e
jne 0x496a0b
cmp byte [esi + 9], 1
jne 0x496a0b
mov edx, dword [esi + 0x10]
mov eax, dword [ebp + 0x10]
push edx
call fcn.00494f50
add esp, 4
test eax, eax
je 0x496a0b
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push edi
push esi
push eax
call fcn.00495630
add esp, 0x18
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x4969d0
cmp dword [esp + 0x20], 0
mov esi, dword [ebx + 0x20]
je 0x496ac3
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], esi
jg 0x496a40
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
je 0x496a40
mov edi, dword [esp + 0x1c]
mov esi, 1
jmp 0x496a73
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x4c]
mov byte [eax], 0x45
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov eax, esi
test edx, edx
je 0x496aaf
cmp byte [ecx + 0x41], 0
jne 0x496aaf
test esi, esi
jge 0x496a8c
mov eax, dword [ebx + 0x20]
dec eax
lea eax, [eax + eax*4]
lea esi, [edx + eax*4]
movsx eax, byte [esi + 1]
push ecx
mov ecx, dword [esi + 0x10]
call fcn.00458430
mov ecx, dword [esp + 0x74]
add esp, 4
mov dword [esi + 0x10], ecx
mov byte [esi + 1], 0xf2
jmp 0x496b11
push ecx
mov ecx, dword [esp + 0x74]
mov eax, 0xfffffff2
call fcn.00458430
add esp, 4
jmp 0x496b11
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], esi
jg 0x496ad8
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x496b0d
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
mov byte [eax], 0x49
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
jmp 0x496b11
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
xor edx, edx
xor esi, esi
cmp dx, word [eax + 0x22]
jge 0x496b5c
nop
mov ecx, dword [esp + 0x30]
cmp dword [ecx + esi*4], 0
jge 0x496b4d
movsx edx, word [eax + 0x20]
cmp esi, edx
je 0x496b4d
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
add eax, esi
push eax
push esi
push edi
push ecx
push ebx
call fcn.0046c920
mov eax, dword [esp + 0x20]
add esp, 0x14
movsx edx, word [eax + 0x22]
inc esi
cmp esi, edx
jl 0x496b20
jmp 0x496b5c
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x74], 0
jne 0x496dee
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x18]
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [ebp + 8]
push edi
push ecx
push edx
xor esi, esi
push eax
mov dword [esp + 0x70], esi
call fcn.004821e0
add esp, 0x2c
cmp dword [esp + 0x48], esi
je 0x496bd1
movzx ecx, byte [esp + 0x50]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [ebp + 8]
push esi
push eax
push ecx
push edx
call fcn.0047eec0
add esp, 0x18
cmp dword [esp + 0x44], 0
jne 0x496be3
cmp byte [esp + 0x50], 0
je 0x496cd5
cmp dword [esp + 0x20], 0
mov esi, dword [ebx + 0x20]
je 0x496c91
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x496c11
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
je 0x496c11
mov esi, 1
mov dword [esp + 0x40], esi
jmp 0x496c3d
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x4c]
xor ecx, ecx
mov byte [eax], 0x45
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov dword [esp + 0x40], esi
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov eax, esi
test edx, edx
je 0x496c7d
cmp byte [ecx + 0x41], 0
jne 0x496c7d
test esi, esi
jge 0x496c56
mov eax, dword [ebx + 0x20]
dec eax
lea eax, [eax + eax*4]
lea esi, [edx + eax*4]
movsx eax, byte [esi + 1]
push ecx
mov ecx, dword [esi + 0x10]
call fcn.00458430
mov ecx, dword [esp + 0x74]
mov dword [esi + 0x10], ecx
mov byte [esi + 1], 0xf2
mov esi, dword [esp + 0x44]
add esp, 4
jmp 0x496cd5
push ecx
mov ecx, dword [esp + 0x74]
mov eax, 0xfffffff2
call fcn.00458430
add esp, 4
jmp 0x496cd5
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x54], esi
jg 0x496cad
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
je 0x496cad
mov esi, 1
jmp 0x496cd5
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x2c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x49
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x60]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [esp + 0x10]
push ecx
push edi
push edx
call fcn.0047ac00
add esp, 0x10
cmp dword [esp + 0x48], 0
jne 0x496d05
cmp byte [esp + 0x50], 0
jne 0x496d05
cmp dword [esp + 0x20], 0
je 0x496d49
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], eax
mov dword [esp + 0x38], eax
jg 0x496d21
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x496d49
inc dword [ebx + 0x20]
mov eax, dword [esp + 0x38]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + edx*4]
xor ecx, ecx
mov byte [eax], 0x62
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
cmp dword [esp + 0x44], 0
jne 0x496d57
cmp byte [esp + 0x50], 0
je 0x496d72
mov eax, dword [ebx + 0x20]
cmp eax, esi
jbe 0x496d68
mov edx, dword [ebx + 4]
lea ecx, [esi + esi*4]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
dec eax
mov dword [ecx + 0x58], eax
cmp dword [esp + 0x48], 0
je 0x496d9c
movzx edx, byte [esp + 0x50]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [ebp + 8]
push ecx
push 0
push edx
push eax
call fcn.0047eec0
add esp, 0x18
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x60]
push 0
push 0
push 1
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [ebp + 8]
push eax
push edi
push ecx
push edx
call fcn.004834e0
add esp, 0x24
cmp dword [esp + 0x48], 0
je 0x496dee
movzx eax, byte [esp + 0x50]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.00480090
add esp, 0x14
mov edx, dword [esp + 0x64]
test byte [edx + 0x18], 0x80
je 0x496e4c
mov eax, dword [ebp + 8]
xor esi, esi
cmp dword [eax + 0x19c], esi
jne 0x496e4c
mov edi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], edi
jg 0x496e1d
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x496e4c
mov eax, dword [ebx + 4]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x80]
mov ecx, 1
add dword [ebx + 0x20], ecx
mov byte [eax], 0x25
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0
mov esi, dword [esp + 0x24]
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0xc]
push esi
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [ebp + 8]
push 2
push eax
push 0x6e
push ecx
push edx
call fcn.00495750
add esp, 0x24
cmp dword [esp + 0x14], 0
jne 0x496f21
cmp dword [esp + 0x20], 0
je 0x496ee4
mov ecx, dword [ebx + 0x18]
or eax, 0xffffffff
sub eax, esi
js 0x496ea1
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x496ea1
mov esi, dword [ebx + 0x20]
mov dword [edx + eax*4], esi
mov eax, dword [ebx + 0x20]
dec eax
mov dword [ecx + 0x58], eax
mov edi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], edi
jg 0x496ec0
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x496f21
mov eax, dword [ebx + 4]
inc dword [ebx + 0x20]
mov ecx, dword [esp + 0x6c]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x84]
mov dword [eax + 4], ecx
mov byte [eax], 8
mov dword [eax + 8], edx
xor ecx, ecx
jmp 0x496f13
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], edi
jg 0x496efc
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x496f21
mov edx, dword [ebx + 4]
inc dword [ebx + 0x20]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*4]
xor ecx, ecx
mov byte [eax], 0xe
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov byte [eax + 1], 0
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], ecx
mov byte [eax + 3], 0
mov ecx, dword [ebx + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x18]
js 0x496f3a
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x496f3a
mov esi, dword [ebx + 0x20]
mov dword [edx + eax*4], esi
mov eax, dword [ebx + 0x20]
mov edx, 1
sub eax, edx
mov dword [ecx + 0x58], eax
mov ecx, dword [esp + 0xc]
mov edi, dword [ecx + 8]
xor ecx, ecx
cmp edi, ecx
je 0x496fcc
mov eax, dword [esp + 0x60]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x68]
inc eax
mov dword [esp + 0x40], eax
lea esp, [esp]
mov eax, dword [esp + 0x40]
cmp byte [eax], 0
je 0x496fbd
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x496f96
push ebx
call fcn.00457d80
xor ecx, ecx
add esp, 4
lea edx, [ecx + 1]
test eax, eax
jne 0x496fbd
add dword [ebx + 0x20], edx
lea eax, [esi + esi*4]
mov esi, dword [ebx + 4]
lea eax, [esi + eax*4]
mov esi, dword [esp + 0x44]
mov byte [eax], 0x3d
mov byte [eax + 3], 0
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0
mov edi, dword [edi + 0x14]
add dword [esp + 0x40], edx
add dword [esp + 0x44], edx
cmp edi, ecx
jne 0x496f70
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x60]
jge 0x49701c
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x54], esi
jg 0x496ff5
push ebx
call fcn.00457d80
add esp, 4
xor ecx, ecx
test eax, eax
jne 0x49701c
mov edx, 1
add dword [ebx + 0x20], edx
mov eax, dword [ebx + 4]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x1c]
mov byte [eax], 0x3d
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0
mov eax, dword [ebp + 8]
cmp byte [eax + 0x12], 0
jne 0x497036
cmp dword [eax + 0x19c], ecx
jne 0x497036
push eax
call fcn.00480a30
add esp, 4
mov ecx, dword [esp + 0x64]
test byte [ecx + 0x18], 0x80
je 0x4970ce
mov edx, dword [ebp + 8]
cmp dword [edx + 0x19c], 0
jne 0x4970ce
mov eax, edx
cmp byte [eax + 0x12], 0
jne 0x4970ce
mov esi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x54], esi
jg 0x497074
push ebx
call fcn.00457d80
add esp, 4
test eax, eax
jne 0x4970a4
mov eax, dword [ebx + 4]
mov ecx, 1
add dword [ebx + 0x20], ecx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x80]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x21
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
push 1
push ebx
call fcn.00459650
mov eax, dword [ebx]
add esp, 8
cmp byte [eax + 0x41], 0
jne 0x4970ce
mov ecx, dword [ebx + 0x10]
push 0
push 1
push str.rows_updated
or eax, 0xffffffff
call fcn.004573c0
add esp, 0xc
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4970e6
mov ecx, dword [esp + 0x88]
mov dword [eax + 0x1e8], ecx
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x64]
test esi, esi
je 0x49718f
test edi, edi
je 0x497137
cmp dword [edi + 0x208], 0
je 0x497111
mov eax, esi
mov ecx, edi
call fcn.0043b790
jmp 0x49718f
cmp esi, dword [edi + 0x114]
jb 0x497137
cmp esi, dword [edi + 0x118]
jae 0x497137
mov edx, dword [edi + 0x110]
mov dword [esi], edx
dec dword [edi + 0xfc]
mov dword [edi + 0x110], esi
jmp 0x49718f
cmp dword [0x55d8c8], 0
je 0x497185
mov eax, dword [0x6261c0]
test eax, eax
je 0x497153
push eax
call dword [0x55d91c]
add esp, 4
push esi
call dword [0x55d8f8]
sub dword [0x626008], eax
dec dword [0x62602c]
add esp, 4
push esi
call dword [0x55d8f0]
mov eax, dword [0x6261c0]
add esp, 4
test eax, eax
je 0x49718f
push eax
call dword [0x55d924]
jmp 0x49718c
push esi
call dword [0x55d8f0]
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
mov eax, edi
call fcn.00478170
mov ecx, dword [ebp + 0x10]
add esp, 4
push ecx
push edi
call fcn.0046ab40
mov edx, dword [ebp + 0x14]
push edx
push edi
call fcn.00469eb0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret