Function at 0x495c20
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
push ebx
push ebp
xor ebx, ebx
xor eax, eax
push esi
push edi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov eax, dword [edi]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x50], eax
cmp dword [edi + 0x40], ebx
jne 0x496ee8
cmp byte [eax + 0x1e], bl
jne 0x496ee8
mov eax, dword [esp + 0xa8]
push edi
call fcn.0047f150
mov ebp, eax
add esp, 4
mov dword [esp + 0x14], ebp
cmp ebp, ebx
je 0x496ee8
mov esi, dword [ebp + 0x44]
mov ecx, dword [edi]
call fcn.0048c1a0
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x70]
push eax
push ecx
push 0x6b
mov edx, ebp
mov eax, edi
call fcn.004952c0
xor edx, edx
add esp, 0xc
cmp dword [ebp + 0x1c], ebx
push ebp
setne dl
push edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x70], edx
call fcn.0047bea0
add esp, 8
test eax, eax
jne 0x496ee8
mov eax, dword [esp + 0x70]
push eax
mov ecx, ebp
mov eax, edi
call fcn.0047f1b0
add esp, 4
test eax, eax
jne 0x496ee8
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x50]
add ecx, ecx
add ecx, ecx
call fcn.0044ac10
mov ecx, eax
mov dword [esp + 0x34], ecx
cmp ecx, ebx
je 0x496ee8
xor eax, eax
cmp dword [ebp + 8], ebx
jle 0x495d2d
jmp 0x495d20
mov dword [ecx + eax*4], 0xffffffff
inc eax
cmp eax, dword [ebp + 8]
jl 0x495d20
mov eax, dword [edi + 0x44]
mov edx, dword [esp + 0xa8]
mov dword [edx + 0x20], eax
inc dword [edi + 0x44]
mov ecx, dword [edi + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x495d5b
jmp 0x495d50
inc ecx
mov dword [edi + 0x44], ecx
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x495d50
mov ecx, dword [esp + 0xac]
xor eax, eax
cmp dword [ecx], ebx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], ebx
jle 0x495f94
mov dword [esp + 0x2c], ebx
nop
mov edx, dword [esp + 0xac]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [ecx + eax]
lea esi, [esp + 0x7c]
call fcn.00471140
test eax, eax
jne 0x496ee6
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov dword [esp + 0x24], ebx
jle 0x495e8a
mov edx, dword [esp + 0xac]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax + ecx + 4]
mov esi, dword [ebp + 0xc]
add eax, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], edx
mov ecx, dword [esi]
mov al, byte [ecx]
mov edx, dword [esp + 0x30]
test al, al
je 0x495e41
lea esp, [esp]
movzx ebx, byte [edx]
movzx eax, al
mov al, byte [eax + 0x517de8]
cmp al, byte [ebx + 0x517de8]
jne 0x495e3d
mov al, byte [ecx + 1]
inc ecx
inc edx
test al, al
jne 0x495e20
mov ebx, dword [esp + 0x24]
movzx ecx, byte [ecx]
movzx eax, byte [ecx + 0x517de8]
movzx ecx, byte [edx]
movzx edx, byte [ecx + 0x517de8]
sub eax, edx
je 0x495e68
inc ebx
add esi, 0x18
cmp ebx, dword [ebp + 8]
mov dword [esp + 0x24], ebx
jl 0x495e10
jmp 0x495e8a
cmp ebx, dword [ebp + 4]
jne 0x495e7f
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov dword [esp + 0x38], 1
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
mov dword [edx + ebx*4], eax
cmp ebx, dword [ebp + 8]
jl 0x495f30
mov ecx, dword [esp + 0xac]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + edx + 4]
mov cl, byte [esi]
lea ebp, [eax + edx]
mov eax, esi
mov edx, str._ROWID_
test cl, cl
je 0x495ee1
jmp 0x495ec0
movzx ebx, byte [edx]
movzx ecx, cl
mov cl, byte [ecx + 0x517de8]
cmp cl, byte [ebx + 0x517de8]
jne 0x495edd
mov cl, byte [eax + 1]
inc eax
inc edx
test cl, cl
jne 0x495ec0
mov ebx, dword [esp + 0x24]
movzx edx, byte [edx]
movzx ecx, byte [edx + 0x517de8]
movzx edx, byte [eax]
movzx eax, byte [edx + 0x517de8]
sub eax, ecx
je 0x495f1d
mov edx, 0x540048
mov ecx, esi
call fcn.0044ca80
test eax, eax
je 0x495f1d
mov edx, 0x540050
mov ecx, esi
call fcn.0044ca80
test eax, eax
jne 0x495fb8
mov ecx, dword [ebp]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x38], 1
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x5c]
shl edx, 4
mov edx, dword [edx + ecx]
mov ecx, dword [ebp + 0xc]
push edx
lea eax, [ebx + ebx*2]
mov edx, dword [ecx + eax*8]
mov eax, dword [ebp]
push edx
push eax
push 0x17
mov eax, edi
call fcn.00479810
add esp, 0x10
cmp eax, 1
je 0x496ee6
cmp eax, 2
jne 0x495f75
mov ecx, dword [esp + 0x34]
mov dword [ecx + ebx*4], 0xffffffff
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0xac]
add dword [esp + 0x2c], 0x14
inc eax
cmp eax, dword [edx]
mov dword [esp + 0x1c], eax
jl 0x495dc0
xor ebx, ebx
mov ecx, dword [edi]
test dword [ecx + 0xc], 0x4000000
je 0x495fe4
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
push ebp
call fcn.00483f70
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x495fe8
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx + 0xc]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 4]
push eax
push str.no_such_column:__s
call fcn.0044c980
add esp, 8
mov byte [edi + 0x12], 1
jmp 0x496ee6
mov dword [esp + 0x44], ebx
mov eax, dword [ebp + 0x10]
xor ecx, ecx
cmp eax, ebx
je 0x496018
mov eax, dword [eax + 0x20]
inc ecx
cmp eax, ebx
jne 0x495ff1
cmp ecx, ebx
jle 0x496018
mov esi, dword [esp + 0x50]
add ecx, ecx
add ecx, ecx
call fcn.0044ac10
mov dword [esp + 0x4c], eax
cmp eax, ebx
je 0x496ee8
jmp 0x49601c
mov eax, dword [esp + 0x4c]
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x496088
mov dword [esp + 0x24], eax
cmp dword [esp + 0x44], ebx
jne 0x49606e
cmp dword [esp + 0x38], ebx
jne 0x49606e
mov edx, dword [esi + 4]
xor ebp, ebp
xor eax, eax
cmp edx, ebx
jle 0x496074
mov ecx, dword [esi + 8]
mov edi, dword [esp + 0x34]
mov ebx, dword [ecx]
cmp dword [edi + ebx*4], 0
jge 0x496060
inc eax
add ecx, 4
cmp eax, edx
jl 0x496045
mov edi, dword [esp + 0xa4]
xor ebx, ebx
jmp 0x496074
mov edi, dword [esp + 0xa4]
inc dword [edi + 0x48]
xor ebx, ebx
jmp 0x496071
inc dword [edi + 0x48]
mov ebp, dword [edi + 0x48]
mov eax, dword [esp + 0x24]
mov dword [eax], ebp
mov esi, dword [esi + 0x20]
add eax, 4
mov dword [esp + 0x24], eax
cmp esi, ebx
jne 0x496027
mov edi, dword [esp + 0xa4]
mov ebp, dword [edi + 0xc]
cmp ebp, ebx
jne 0x49612e
mov esi, dword [edi]
mov ecx, 0xc0
call fcn.0044ac10
mov ebp, eax
cmp ebp, ebx
je 0x4961bb
push 0xc0
push ebx
push ebp
call fcn.004f08c0
mov dword [ebp], esi
mov eax, dword [esi + 0x88]
add esp, 0xc
cmp eax, ebx
je 0x4960cf
mov dword [eax + 0x3c], ebp
mov ecx, dword [esi + 0x88]
mov dword [ebp + 0x40], ecx
mov dword [ebp + 0x3c], ebx
mov dword [esi + 0x88], ebp
mov dword [ebp + 0x34], 0x26bceaa5
mov dword [edi + 0xc], ebp
cmp ebp, ebx
je 0x496ee8
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x496106
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x496127
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x88
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edi, dword [esp + 0xa4]
cmp byte [edi + 0x13], bl
jne 0x496137
mov byte [ebp + 0x62], 1
mov esi, dword [edi + 0x1a8]
cmp esi, ebx
jne 0x496143
mov esi, edi
mov ecx, dword [esp + 0x5c]
push ecx
mov eax, edi
call fcn.0047e1e0
mov ecx, dword [esp + 0x60]
or byte [esi + 0x158], 1
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x18]
add esp, 4
or dword [esi + 0x150], edx
test byte [ecx + 0x22], 0x10
je 0x4961c2
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
push eax
mov eax, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0xb8]
push edx
push eax
push ecx
mov ecx, dword [esp + 0xc0]
push ecx
push edi
call fcn.00496f60
add esp, 0x20
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xa8], ebx
jmp 0x496ee8
xor ebp, ebp
jmp 0x4960e8
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
cmp edx, ebx
jne 0x4961de
cmp dword [esp + 0x44], ebx
je 0x4961ed
lea esi, [eax + 1]
mov dword [esp + 0x6c], esi
mov esi, dword [ecx + 8]
add esi, eax
mov dword [edi + 0x48], esi
cmp dword [esp + 0x38], ebx
jne 0x4961fd
cmp edx, ebx
jne 0x4961fd
cmp dword [esp + 0x44], ebx
je 0x496207
inc dword [edi + 0x48]
mov edx, dword [edi + 0x48]
mov dword [esp + 0x24], edx
mov eax, dword [edi + 0x48]
lea edx, [eax + 1]
mov dword [esp + 0x2c], edx
mov edx, dword [ecx + 8]
add edx, eax
mov dword [edi + 0x48], edx
cmp dword [esp + 0x68], ebx
je 0x49624f
mov eax, dword [edi + 0x204]
mov edx, dword [ecx]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x20]
push eax
mov dword [edi + 0x204], edx
mov edx, dword [esp + 0xb4]
push edx
push ecx
push edi
mov dword [esp + 0x88], edi
call fcn.0047f240
add esp, 0x10
mov ebx, dword [esp + 0xb0]
lea esi, [esp + 0x7c]
call fcn.00471140
test eax, eax
jne 0x496ee6
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x49627a
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x4962a3
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x28]
xor ebx, ebx
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0xa
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x4962a5
xor ebx, ebx
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
push 4
push ebx
push eax
push ecx
push edx
call fcn.0049d870
add esp, 0x14
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x496ee6
movzx esi, byte [eax + 6]
mov ebx, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], ebx
mov dword [esp + 0x30], esi
jg 0x4962ef
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x49631c
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x28]
xor ebx, ebx
mov byte [eax], 0x3d
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x49631e
xor ebx, ebx
cmp esi, ebx
mov esi, dword [esp + 0xa4]
jne 0x496377
inc dword [esi + 0x48]
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], eax
mov edx, dword [esi + 0x48]
mov dword [esp + 0x64], edx
mov dword [esp + 0x48], eax
jg 0x49634e
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x496377
mov eax, dword [esp + 0x48]
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x64]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x28]
mov byte [eax], 0x69
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edx, dword [esp + 0x18]
push edx
call fcn.0049e2f0
mov eax, dword [esp + 0x54]
add esp, 4
test dword [eax + 0xc], 0x1000
je 0x4963e3
cmp dword [esi + 0x1ac], ebx
jne 0x4963e3
inc dword [esi + 0x48]
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], eax
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x48], eax
jg 0x4963be
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x4963e3
mov eax, dword [esp + 0x48]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x60]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 4]
lea eax, [eax + edx*4]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp dword [esp + 0x68], ebx
jne 0x496544
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x30], ebx
jne 0x49640f
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x20]
push 0x27
push edx
push eax
mov eax, edi
mov ecx, esi
call fcn.00484930
add esp, 0xc
mov ecx, 5
cmp dword [esp + 0xb4], ecx
je 0x496436
mov eax, dword [edi + 0x10]
mov dword [esp + 0x58], ebx
cmp eax, ebx
je 0x49643e
cmp byte [eax + 0x18], cl
je 0x496436
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x496428
jmp 0x49643e
mov dword [esp + 0x58], 1
mov eax, dword [edi + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x496544
cmp dword [esp + 0x58], ebx
jne 0x496468
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
cmp dword [ecx + edx*4], ebx
jle 0x49652d
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0xa4]
push esi
push eax
call fcn.0047e730
mov ecx, dword [esi + 0x14]
mov esi, dword [ebp + 0x1c]
add esp, 8
cmp dword [ebp + 0x20], esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], ecx
jg 0x4964a2
mov edi, ebp
call fcn.004649a0
test eax, eax
je 0x4964a2
mov esi, 1
jmp 0x4964d7
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x1c]
lea ecx, [ecx + edx + 1]
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov byte [eax], 0x27
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov ecx, dword [ebp + 4]
mov edi, dword [ebp]
mov eax, esi
cmp ecx, ebx
je 0x49651f
cmp byte [edi + 0x1e], bl
jne 0x49651f
cmp esi, ebx
jge 0x4964f0
mov eax, dword [ebp + 0x1c]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea esi, [ecx + edx*4]
mov ecx, dword [esi + 0x10]
call fcn.00464f80
mov eax, dword [esp + 0x48]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x496516
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x49652d
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x49652d
mov ecx, dword [esp + 0x48]
mov eax, 0xfffffff0
call fcn.00464f80
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x20]
inc dword [esp + 0x1c]
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x496451
mov esi, dword [ebp + 0x1c]
cmp dword [esp + 0x30], ebx
je 0x4965ea
cmp dword [ebp + 0x20], esi
jg 0x49656b
mov edi, ebp
call fcn.004649a0
test eax, eax
je 0x49656b
mov dword [esp + 0x30], 1
jmp 0x496594
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x28]
mov byte [eax], 0x4a
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x30], esi
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x4965ae
mov edi, ebp
call fcn.004649a0
test eax, eax
je 0x4965ae
mov esi, 1
jmp 0x4965cf
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
mov dword [esp + 0x18], esi
jle 0x496631
mov edx, dword [ebp + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
jmp 0x496631
cmp dword [ebp + 0x20], esi
jg 0x496604
mov edi, ebp
call fcn.004649a0
test eax, eax
je 0x496604
mov dword [esp + 0x18], 1
jmp 0x496631
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x64]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x28]
mov byte [eax], 0x6a
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x18], esi
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x496644
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x496671
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov byte [eax], 0x34
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp dword [esp + 0x38], ebx
je 0x4966c3
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xa4]
call fcn.00475490
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x49669e
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x4966c3
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x24]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x15
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
cmp dword [esp + 0x44], ebx
jne 0x49677f
cmp dword [esp + 0x54], ebx
je 0x496804
mov dword [esp + 0x40], ebx
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xa4]
mov edi, dword [esp + 0x14]
push ecx
push 3
push ebx
push edx
push eax
mov eax, dword [esp + 0x68]
mov ebx, edi
call fcn.00495ae0
or dword [esp + 0x54], eax
xor esi, esi
add esp, 0x14
cmp dword [edi + 8], esi
jle 0x4967bf
mov ecx, dword [esp + 0x34]
cmp dword [ecx + esi*4], 0
jl 0x49679d
mov eax, dword [esp + 0x40]
cmp eax, 0xffffffff
je 0x49679d
cmp esi, 0x20
jge 0x49673c
mov edx, 1
mov ecx, esi
shl edx, cl
test eax, edx
jne 0x49679d
mov ebx, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], ebx
jg 0x496753
mov edi, ebp
call fcn.004649a0
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x4967b5
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x6c]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
add edx, esi
mov byte [eax], 0xa
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 0x4967b5
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xa4]
push edx
push eax
call fcn.00483eb0
add esp, 8
mov dword [esp + 0x40], eax
jmp 0x4966db
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x6c]
push esi
push ecx
lea ebx, [esi + eax]
push edi
mov eax, ebp
call fcn.00474020
add esp, 0xc
inc esi
cmp esi, dword [edi + 8]
jl 0x496717
cmp dword [esp + 0x38], 0
jne 0x496804
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x4967d9
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x496804
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x24]
mov byte [eax], 0xe
mov byte [eax + 3], cl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xa4]
mov edi, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x58]
push 1
push 1
push ecx
push edx
mov ebx, edi
call fcn.00495ae0
xor ebx, ebx
xor esi, esi
add esp, 0x14
cmp dword [edi + 8], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], esi
jle 0x49695e
cmp esi, dword [edi + 4]
jne 0x496897
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], eax
mov dword [esp + 0x3c], eax
jg 0x49686b
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x49694c
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x2c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
add edx, esi
mov byte [eax], 0xa
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x49694c
mov eax, dword [esp + 0x34]
mov eax, dword [eax + esi*4]
cmp eax, ebx
jl 0x4968cf
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
lea esi, [ecx + edx]
mov ecx, dword [esp + 0xac]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0xa4]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4]
call fcn.00475490
mov esi, dword [esp + 0x1c]
jmp 0x49694c
test dword [esp + 0x70], 1
je 0x4968ef
cmp esi, 0x1f
jg 0x4968ef
mov ecx, esi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x30]
test ecx, eax
je 0x49694c
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], eax
mov dword [esp + 0x3c], eax
jg 0x49690a
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x496935
mov eax, dword [esp + 0x3c]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x2c]
add edx, esi
mov byte [eax], 0x1c
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
add eax, esi
push eax
push ecx
push ebp
mov eax, esi
call fcn.00495b60
add esp, 0xc
mov edi, dword [esp + 0x14]
inc esi
cmp esi, dword [edi + 8]
mov dword [esp + 0x1c], esi
jl 0x496847
test byte [esp + 0x70], 1
je 0x496ab1
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
mov edx, dword [edi + 8]
mov dword [esp + 0x3c], edx
jg 0x496983
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x4969ac
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x2c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x3c]
mov byte [eax], 0x1d
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov esi, dword [esp + 0x14]
push ebp
mov eax, esi
call fcn.00484a60
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x2c]
add esp, 4
push edx
mov edx, dword [esp + 0xb0]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0xb0]
push esi
push 1
push edx
push 0x6b
push eax
push ecx
call fcn.00495a70
mov esi, dword [ebp + 0x1c]
add esp, 0x24
cmp dword [ebp + 0x20], esi
jg 0x496a02
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x496a2f
mov eax, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov byte [eax], 0x34
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edx, dword [esp + 0x14]
xor esi, esi
cmp dword [edx + 8], ebx
jle 0x496ab1
mov edi, edx
lea esp, [esp]
mov eax, dword [esp + 0x34]
cmp dword [eax + esi*4], ebx
jge 0x496aab
cmp esi, dword [edi + 4]
je 0x496aab
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], eax
mov dword [esp + 0x3c], eax
jg 0x496a6d
mov edi, ebp
call fcn.004649a0
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x496a98
mov eax, dword [esp + 0x3c]
mov edx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add edx, esi
mov byte [eax], 0x1c
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x2c]
add eax, esi
push eax
push edi
push ebp
mov eax, esi
call fcn.00495b60
add esp, 0xc
inc esi
cmp esi, dword [edi + 8]
jl 0x496a40
cmp dword [esp + 0x68], ebx
jne 0x496c47
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0xb4]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
push ebx
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x30]
neg eax
push 1
sbb eax, eax
and eax, edi
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0xbc]
push edx
push eax
push esi
push ecx
call fcn.00486980
add esp, 0x28
cmp dword [esp + 0x44], ebx
je 0x496b17
mov edx, dword [esp + 0xa4]
push ebx
push edi
push esi
push edx
call fcn.00483b00
add esp, 0x10
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x496b38
mov edi, ebp
call fcn.004649a0
test eax, eax
je 0x496b34
mov dword [esp + 0x30], 1
jmp 0x496b61
mov edi, dword [esp + 0x28]
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x34
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
call fcn.0047fcf0
add esp, 0xc
cmp dword [esp + 0x44], ebx
jne 0x496b8b
cmp dword [esp + 0x38], ebx
je 0x496bc3
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x496b9e
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x496bc3
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x39
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jle 0x496bd8
mov edx, dword [ebp + 4]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov esi, dword [esp + 0x44]
cmp esi, ebx
je 0x496bfb
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xa4]
push eax
push ebx
push ecx
push edx
call fcn.00483b00
add esp, 0x10
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ebx
push ebx
push 1
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0xb8]
push edx
push eax
push ecx
call fcn.00487530
add esp, 0x20
cmp esi, ebx
je 0x496c47
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0xac]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0xa4]
push edx
push eax
call fcn.004847a0
add esp, 8
mov ecx, dword [esp + 0x50]
test dword [ecx + 0xc], 0x1000
je 0x496ca0
mov edx, dword [esp + 0xa4]
cmp dword [edx + 0x1ac], ebx
jne 0x496ca0
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x496c76
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x496ca0
mov edx, dword [ebp + 4]
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x60]
mov ecx, 1
add dword [ebp + 0x1c], ecx
mov byte [eax], 0x14
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
push edi
push eax
mov eax, dword [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0xb4]
push 2
push eax
push 0x6b
push ecx
push edx
call fcn.00495a70
mov esi, dword [ebp + 0x1c]
add esp, 0x24
cmp dword [ebp + 0x20], esi
jg 0x496cef
mov edi, ebp
call fcn.004649a0
mov edi, dword [esp + 0x18]
test eax, eax
jne 0x496d10
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [ebp + 0x1c]
cmp eax, edi
jle 0x496d21
mov ecx, dword [ebp + 4]
lea edx, [edi + edi*4]
mov dword [ecx + edx*4 + 8], eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x496d9a
cmp dword [esp + 0x58], ebx
jne 0x496d47
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
cmp dword [ecx + edx*4], ebx
jle 0x496d8b
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x496d5a
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x496d87
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x1c]
lea edx, [edx + ecx + 1]
mov byte [eax], 0x2b
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x20]
inc dword [esp + 0x1c]
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x496d34
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x496dad
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x496dd2
mov ecx, dword [ebp + 4]
inc dword [ebp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x2b
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov eax, dword [esp + 0xa4]
cmp byte [eax + 0x13], bl
jne 0x496def
cmp dword [eax + 0x1ac], ebx
jne 0x496def
push eax
call fcn.00485050
add esp, 4
mov eax, dword [esp + 0x50]
test dword [eax + 0xc], 0x1000
je 0x496ee6
mov ecx, dword [esp + 0xa4]
cmp dword [ecx + 0x1ac], ebx
jne 0x496ee6
mov edx, ecx
cmp byte [edx + 0x13], bl
jne 0x496ee6
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 0x20], esi
jg 0x496e31
mov edi, ebp
call fcn.004649a0
test eax, eax
jne 0x496e5f
mov edx, dword [ebp + 4]
mov ecx, 1
add dword [ebp + 0x1c], ecx
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x60]
xor ebx, ebx
mov byte [eax], 0x10
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x496e61
xor ebx, ebx
push 1
mov edi, ebp
call fcn.00466020
mov eax, dword [ebp]
add esp, 4
cmp byte [eax + 0x1e], bl
jne 0x496ee6
mov ebp, dword [ebp + 0x10]
mov eax, dword [ebp]
xor ebx, ebx
cmp eax, ebx
je 0x496e86
mov eax, dword [eax + 0x48]
jmp 0x496e8b
mov eax, 0x3b9aca00
xor esi, esi
cmp eax, ebx
jl 0x496e9e
cmp byte [esi + str.rows_updated], bl
je 0x496e9e
inc esi
cmp esi, eax
jle 0x496e91
xor ecx, ecx
mov edi, 0x202
push ebp
cmp ecx, fcn.0044a9d0
jne 0x496ec0
call fcn.00463990
mov eax, str.rows_updated
mov dword [ebp + 4], eax
mov dword [ebp + 0x24], eax
jmp 0x496ed1
call fcn.00463990
mov dword [ebp + 4], str.rows_updated
mov edi, 0xa02
mov dword [ebp + 0x20], ebx
add esp, 4
mov dword [ebp + 0x18], esi
mov word [ebp + 0x1c], di
mov byte [ebp + 0x1f], 1
mov byte [ebp + 0x1e], 3
xor ebx, ebx
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x496efa
mov edx, dword [esp + 0x74]
mov dword [eax + 0x204], edx
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
push eax
push esi
call fcn.0044a9d0
mov ecx, dword [esp + 0x3c]
push ecx
push esi
call fcn.0044a9d0
mov edx, dword [esp + 0xb8]
push edx
call fcn.0047dbd0
mov eax, dword [esp + 0xc0]
add esp, 0x14
push eax
mov edi, esi
call fcn.004727b0
mov ecx, dword [esp + 0xb4]
add esp, 4
push ecx
push esi
call fcn.00471cc0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret