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

Disassembly:
sub esp, 0xb0
push ebx
xor ebx, ebx
xor eax, eax
push esi
push edi
mov edi, dword [esp + 0xc0]
cmp dword [edi + 0x44], ebx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov eax, dword [edi]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x5c], eax
jne 0x495583
cmp byte [eax + 0x40], bl
jne 0x495583
push ebp
mov ebp, dword [esp + 0xc8]
push ebp
push edi
call fcn.0048a110
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x495582
mov eax, dword [esi + 0x44]
mov ecx, dword [edi]
push eax
push ecx
call fcn.00442960
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xd8]
push eax
push 0x6e
push esi
push edi
call fcn.004893b0
xor ecx, ecx
cmp dword [esi + 0xc], ebx
push esi
setne cl
push edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
call fcn.00460080
add esp, 0x24
test eax, eax
jne 0x495582
mov edx, dword [esp + 0x7c]
push edx
push esi
push edi
call fcn.0048a160
add esp, 0xc
test eax, eax
jne 0x495582
mov eax, dword [edi + 0x48]
mov dword [ebp + 0x34], eax
add dword [edi + 0x48], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
add eax, 1
test byte [esi + 0x2c], 0x20
mov dword [esp + 0x40], eax
jne 0x494783
mov dword [esp + 0x1c], ebx
jmp 0x494790
push esi
call fcn.0045e0a0
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 8]
xor ebp, ebp
cmp eax, ebx
je 0x4947c9
mov edx, dword [esp + 0xc8]
mov ecx, dword [eax + 0x38]
and cl, 3
cmp cl, 2
jne 0x4947bb
cmp dword [esp + 0x1c], ebx
je 0x4947bb
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x14], ecx
mov dword [edx + 0x34], ecx
add dword [edi + 0x48], 1
mov eax, dword [eax + 0x14]
add ebp, 1
cmp eax, ebx
jne 0x4947a0
movsx edx, word [esi + 0x26]
mov ecx, dword [esp + 0x60]
add edx, ebp
lea eax, [ebp + edx*4 + 2]
push eax
push ecx
call fcn.0043fd50
add esp, 8
cmp eax, ebx
mov dword [esp + 0x24], eax
je 0x495582
movsx edx, word [esi + 0x26]
lea ebx, [eax + edx*4]
lea eax, [ebp + 1]
push eax
mov dword [esp + 0x78], ebx
lea ebx, [ebx + ebp*4]
push 1
push ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x98], eax
call fcn.004f5b00
xor eax, eax
add esp, 0xc
mov byte [ebx + ebp + 1], 0
cmp word [esi + 0x26], ax
jle 0x494842
mov ecx, dword [esp + 0x24]
jmp 0x494830
mov dword [ecx + eax*4], 0xffffffff
movsx edx, word [esi + 0x26]
add eax, 1
cmp eax, edx
jl 0x494830
mov ebx, dword [esp + 0xcc]
mov ecx, dword [esp + 0xc8]
xor eax, eax
cmp dword [ebx], 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 dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], ecx
mov byte [esp + 0x13], al
mov byte [esp + 0x12], al
mov dword [esp + 0x20], eax
jle 0x494a1a
mov dword [esp + 0x18], eax
mov edx, dword [ebx + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + edx]
push ecx
lea edx, [esp + 0xa4]
push edx
call fcn.0048c620
add esp, 8
test eax, eax
jne 0x495582
xor ebp, ebp
cmp word [esi + 0x26], bp
jle 0x494967
xor ebx, ebx
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + ecx + 4]
mov ecx, dword [esi + 4]
mov edx, dword [ebx + ecx]
push eax
push edx
call fcn.0045afd0
add esp, 8
test eax, eax
je 0x494917
movsx eax, word [esi + 0x26]
add ebp, 1
add ebx, 0x18
cmp ebp, eax
jl 0x4948e1
jmp 0x494960
movsx ecx, word [esi + 0x24]
cmp ebp, ecx
jne 0x49493b
mov edx, dword [esp + 0xcc]
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + eax]
mov byte [esp + 0x12], 1
mov dword [esp + 0x3c], edx
jmp 0x494955
cmp dword [esp + 0x1c], 0
je 0x494955
mov ecx, dword [esi + 4]
lea eax, [ebp + ebp*2]
test byte [ecx + eax*8 + 0x17], 1
je 0x494955
mov byte [esp + 0x13], 1
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [eax + ebp*4], edx
mov ebx, dword [esp + 0xcc]
movsx ecx, word [esi + 0x26]
cmp ebp, ecx
jl 0x4949b3
cmp dword [esp + 0x1c], 0
jne 0x494ab1
mov edx, dword [ebx + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + edx + 4]
push ecx
call fcn.00478bf0
add esp, 4
test eax, eax
je 0x494ab1
mov eax, dword [esp + 0x18]
mov edx, dword [ebx + 8]
mov ecx, dword [eax + edx]
or ebp, 0xffffffff
mov byte [esp + 0x12], 1
mov dword [esp + 0x3c], ecx
mov eax, str.ROWID
jmp 0x4949c8
test ebp, ebp
jge 0x4949be
mov eax, str.ROWID
jmp 0x4949c8
mov eax, dword [esi + 4]
lea edx, [ebp + ebp*2]
mov eax, dword [eax + edx*8]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x60]
mov edx, dword [edx + 0x10]
shl ecx, 4
mov ecx, dword [ecx + edx]
mov edx, dword [esi]
push ecx
push eax
push edx
push 0x17
push edi
call fcn.00481160
add esp, 0x14
cmp eax, 1
je 0x495582
cmp eax, 2
jne 0x494a02
mov eax, dword [esp + 0x24]
mov dword [eax + ebp*4], 0xffffffff
mov eax, dword [esp + 0x20]
add dword [esp + 0x18], 0x18
add eax, 1
cmp eax, dword [ebx]
mov dword [esp + 0x20], eax
jl 0x4948b0
mov bl, byte [esp + 0x13]
mov eax, dword [esp + 0xc8]
add bl, byte [esp + 0x12]
mov ecx, dword [esp + 0x24]
xor ebp, ebp
mov dword [eax + 0x40], ebp
mov dword [eax + 0x44], ebp
movzx eax, bl
push eax
push ecx
push esi
push edi
mov byte [esp + 0x68], bl
mov dword [esp + 0x54], eax
call fcn.00488720
mov dword [esp + 0x28], eax
mov eax, dword [esi + 8]
add esp, 0x10
cmp eax, ebp
mov dword [esp + 0x38], ebp
je 0x494b11
nop
test bl, bl
jne 0x494adb
cmp dword [esp + 0x18], 0
jne 0x494adb
cmp dword [eax + 0x24], 0
jne 0x494adb
cmp eax, dword [esp + 0x1c]
je 0x494adb
movzx ebp, word [eax + 0x32]
xor edx, edx
xor ecx, ecx
test ebp, ebp
mov dword [esp + 0x6c], edx
jle 0x494ae6
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x24]
mov edi, edi
movsx ebp, word [edx]
cmp dword [ebx + ebp*4], 0
jge 0x494ad7
movzx ebp, word [eax + 0x32]
add ecx, 1
add edx, 2
cmp ecx, ebp
jl 0x494a90
mov bl, byte [esp + 0x58]
mov edx, dword [esp + 0x6c]
jmp 0x494ae6
mov eax, dword [esp + 0x20]
mov edx, dword [ebx + 8]
lea ecx, [eax + eax*2]
mov eax, dword [edx + ecx*8 + 4]
push eax
push str.no_such_column:__s
push edi
call fcn.0045aec0
add esp, 0xc
mov byte [edi + 0x11], 1
jmp 0x495582
mov bl, byte [esp + 0x58]
add dword [edi + 0x4c], 1
mov edx, dword [edi + 0x4c]
test edx, edx
jne 0x494af3
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x38]
mov byte [ecx + ebp + 1], 0
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x74]
mov dword [ebp + ecx*4], edx
mov eax, dword [eax + 0x14]
add ecx, 1
test eax, eax
mov dword [esp + 0x38], ecx
jne 0x494a60
push edi
call fcn.00464060
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x495582
cmp byte [edi + 0x12], 0
jne 0x494b33
push ebp
call fcn.0045a560
add esp, 4
mov edx, dword [esp + 0x34]
push edx
push 1
push edi
call fcn.0045f640
add esp, 0xc
test byte [esi + 0x2c], 0x10
je 0x494b93
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0xd4]
push edx
mov edx, dword [esp + 0xd4]
push eax
push ecx
push esi
push edx
mov eax, edi
call fcn.00494410
add esp, 0x1c
xor eax, eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xc8], eax
jmp 0x495582
mov eax, dword [edi + 0x4c]
add eax, 1
mov dword [esp + 0x34], eax
add eax, 1
cmp byte [esp + 0x13], 0
mov ecx, eax
mov dword [edi + 0x4c], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x28], ecx
jne 0x494bc2
cmp dword [esp + 0x48], 0
jne 0x494bc2
cmp dword [esp + 0x18], 0
je 0x494bd2
movsx edx, word [esi + 0x26]
lea ecx, [eax + 1]
add edx, eax
mov dword [esp + 0x50], ecx
mov dword [edi + 0x4c], edx
test bl, bl
jne 0x494be4
cmp dword [esp + 0x48], 0
jne 0x494be4
cmp dword [esp + 0x18], 0
je 0x494bef
add dword [edi + 0x4c], 1
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x54], eax
movsx edx, word [esi + 0x26]
mov eax, dword [edi + 0x4c]
mov ebx, dword [esp + 0xd0]
add edx, eax
cmp dword [esp + 0x4c], 0
lea ecx, [eax + 1]
mov dword [esp + 0x64], ecx
mov dword [edi + 0x4c], edx
je 0x494c31
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x9c]
push ecx
push edi
call fcn.004811f0
mov edx, dword [esp + 0x20]
push edx
push ebx
push esi
push edi
call fcn.0048a1f0
add esp, 0x1c
lea eax, [esp + 0xa0]
push ebx
push eax
call fcn.0048c620
add esp, 8
test eax, eax
jne 0x495582
test byte [esi + 0x2c], 0x20
jne 0x494cd7
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
push ecx
push edx
push eax
push 0x1a
push ebp
call fcn.00457de0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0xdc]
push eax
push 4
push 0
push 0
push ebx
push ecx
push edi
call fcn.004938c0
mov ebx, eax
add esp, 0x30
test ebx, ebx
je 0x495582
lea edx, [esp + 0x90]
push edx
push ebx
call fcn.0048d5c0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
push eax
push ecx
push 0x62
push ebp
call fcn.00457ef0
add esp, 0x18
cmp dword [esp + 0x38], 0
jne 0x494cd1
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
push edx
push eax
push 0x78
push ebp
call fcn.00457ef0
add esp, 0x10
push ebx
jmp 0x494e2f
mov ecx, dword [esp + 0x1c]
movzx ecx, word [ecx + 0x32]
mov eax, dword [edi + 0x4c]
lea edx, [eax + 1]
movsx ebx, cx
lea eax, [ebx + eax + 1]
push edx
mov dword [edi + 0x4c], eax
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x48]
push 0
mov dword [esp + 0x64], eax
add eax, 1
push 0x1a
push ebp
mov dword [esp + 0x88], edx
mov dword [edi + 0x48], eax
call fcn.00457ef0
mov edx, dword [esp + 0x6c]
push ebx
push edx
push 0x35
push ebp
call fcn.00457ef0
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x3c]
push eax
push edi
call fcn.00458560
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0xf8]
mov eax, dword [esp + 0xf0]
push ecx
push 4
push 0
push 0
push edx
push eax
push edi
call fcn.004938c0
add esp, 0x44
test eax, eax
mov dword [esp + 0x6c], eax
je 0x495582
lea ecx, [esp + 0x90]
push ecx
mov edx, eax
push edx
call fcn.0048d5c0
add esp, 8
test ebx, ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], 0
jle 0x494dc5
jmp 0x494d90
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x1c]
add ecx, eax
push ecx
mov ecx, dword [edx + 4]
movsx edx, word [ecx + eax*2]
mov eax, dword [esp + 0x18]
push edx
push eax
push esi
push ebp
call fcn.00479000
mov eax, dword [esp + 0x34]
add eax, 1
add esp, 0x14
cmp eax, ebx
mov dword [esp + 0x20], eax
jl 0x494d90
cmp dword [esp + 0x38], 0
je 0x494dee
mov ecx, dword [esp + 0x80]
push ecx
push ebp
call fcn.004583d0
mov edx, dword [esp + 0x80]
add esp, 8
mov dword [esp + 0x68], ebx
mov dword [esp + 0x30], edx
jmp 0x494e2a
mov eax, dword [esp + 0x1c]
push 0
push eax
push ebp
call fcn.00485090
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x84]
add esp, 8
push eax
push ecx
push ebx
push edx
push 0x2d
push ebp
call fcn.0045a660
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x78]
push eax
push ecx
push 0x69
push ebp
call fcn.00457ef0
add esp, 0x2c
mov edx, dword [esp + 0x6c]
push edx
call fcn.00490ce0
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x74]
add esp, 4
test byte [eax + 0x18], 0x80
je 0x494e6a
cmp dword [edi + 0x1cc], 0
jne 0x494e6a
add dword [edi + 0x4c], 1
mov eax, dword [edi + 0x4c]
push eax
push 0
push 0x17
push ebp
mov dword [esp + 0x94], eax
call fcn.00457ef0
add esp, 0x10
push ebp
call fcn.00457f10
add esp, 4
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x20], eax
jne 0x494f05
mov ecx, 5
cmp dword [esp + 0xd4], ecx
jne 0x494e9a
mov ecx, dword [esp + 0x8c]
push ecx
jmp 0x494eb7
mov eax, dword [esi + 8]
test eax, eax
je 0x494ec2
cmp byte [eax + 0x36], cl
je 0x494eaf
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x494ea1
jmp 0x494ec2
mov edx, dword [esp + 0x8c]
push edx
push 1
push ebx
call fcn.004f5b00
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x494eef
mov eax, dword [esp + 0x90]
test eax, eax
jl 0x494edc
sub eax, dword [esp + 0x2c]
mov byte [eax + ebx], 0
mov eax, dword [esp + 0x94]
test eax, eax
jl 0x494eef
sub eax, dword [esp + 0x2c]
mov byte [eax + ebx], 0
mov eax, dword [esp + 0x2c]
push 0
push 0
push ebx
push eax
push 0x33
push esi
push edi
call fcn.00486160
add esp, 0x1c
cmp dword [esp + 0x38], 0
je 0x494f66
sub ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
cmp byte [ebx + ecx], 0
je 0x494f39
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
push 0x3f
push ebp
call fcn.0045a7a0
add esp, 0x18
cmp dword [esp + 0x1c], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
jne 0x494f50
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
push ecx
push eax
push 0x4c
push ebp
call fcn.00457ef0
add esp, 0x10
jmp 0x494feb
cmp dword [esp + 0x1c], 0
je 0x494fbe
push ebp
call fcn.00457f10
mov edx, dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esp + 0x60]
push edx
push eax
push 0x67
push ebp
mov dword [esp + 0x40], ebx
call fcn.00457ef0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x70]
push ecx
push edx
push 0x54
push ebp
call fcn.00457ef0
mov ecx, dword [esp + 0x38]
push 0
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x58]
push eax
push ebx
push ecx
push 0x3f
push ebp
call fcn.0045a7a0
add esp, 0x3c
jmp 0x494feb
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
push ebx
push edx
push eax
push 0x79
push ebp
call fcn.00457de0
mov ecx, dword [esp + 0x28]
push ebx
push eax
push ecx
push 0x41
push ebp
mov dword [esp + 0x54], eax
call fcn.00457de0
add esp, 0x28
cmp byte [esp + 0x12], 0
je 0x49500e
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x3c]
push ebx
push edx
push edi
call fcn.004792f0
push ebx
push 0x23
push ebp
call fcn.00457e90
add esp, 0x18
cmp byte [esp + 0x13], 0
jne 0x4950b0
cmp dword [esp + 0x18], 0
jne 0x4950bb
cmp dword [esp + 0x48], 0
je 0x49511d
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0x48]
push eax
push esi
push 3
push 0
push ecx
push edx
push edi
call fcn.00489940
or dword [esp + 0x58], eax
xor ebx, ebx
add esp, 0x1c
cmp word [esi + 0x26], bx
jle 0x4950fa
mov dword [esp + 0x34], ebx
mov edi, edi
mov eax, dword [esp + 0x3c]
cmp eax, 0xffffffff
je 0x4950ce
cmp ebx, 0x20
jge 0x49508b
mov edx, 1
mov ecx, ebx
shl edx, cl
test eax, edx
jne 0x4950ce
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x34]
test byte [eax + ecx + 0x17], 1
jne 0x4950ce
mov edx, dword [esp + 0x50]
lea eax, [ebx + edx]
push eax
push 0
push 0x1a
push ebp
call fcn.00457ef0
add esp, 0x10
jmp 0x4950e6
cmp dword [esp + 0x18], 0
je 0x49502f
push esi
push edi
call fcn.00488630
add esp, 8
mov dword [esp + 0x3c], eax
jmp 0x495037
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x14]
lea edx, [ebx + ecx]
push edx
push ebx
push eax
push esi
push ebp
call fcn.00479000
add esp, 0x14
movsx ecx, word [esi + 0x26]
add dword [esp + 0x34], 0x18
add ebx, 1
cmp ebx, ecx
jl 0x495070
cmp byte [esp + 0x12], 0
jne 0x49511d
cmp dword [esp + 0x1c], 0
jne 0x49511d
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
push edx
push eax
push 0x1e
push ebp
call fcn.00457ef0
add esp, 0x10
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0x48]
push ecx
push esi
push 1
push 1
push edx
push eax
push edi
call fcn.00489940
xor ebx, ebx
add esp, 0x1c
cmp word [esi + 0x26], bx
mov dword [esp + 0x80], eax
jle 0x4951e8
movsx ecx, word [esi + 0x24]
cmp ebx, ecx
je 0x4951ac
mov eax, dword [esp + 0x24]
mov eax, dword [eax + ebx*4]
test eax, eax
jl 0x495189
mov ecx, dword [esp + 0x64]
add ecx, ebx
lea edx, [eax + eax*2]
mov eax, dword [esp + 0xcc]
push ecx
mov ecx, dword [eax + 8]
mov edx, dword [ecx + edx*8]
push edx
push edi
call fcn.004792f0
add esp, 0xc
jmp 0x4951d9
test dword [esp + 0x7c], 1
je 0x4951c2
cmp ebx, 0x1f
jg 0x4951c2
mov ecx, ebx
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x80]
test ecx, eax
jne 0x4951c2
mov edx, dword [esp + 0x64]
add edx, ebx
push edx
push 0
push 0x1a
push ebp
call fcn.00457ef0
add esp, 0x10
jmp 0x4951d9
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x14]
add eax, ebx
push eax
push ebx
push ecx
push esi
push ebp
call fcn.00479000
add esp, 0x14
movsx edx, word [esi + 0x26]
add ebx, 1
cmp ebx, edx
jl 0x495153
test byte [esp + 0x7c], 1
je 0x4952b4
movsx eax, word [esi + 0x26]
mov ecx, dword [esp + 0x64]
push eax
push ecx
push 0x2c
push ebp
call fcn.00457ef0
push esi
push ebp
call fcn.00485120
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xe4]
push ebx
push edx
mov edx, dword [esp + 0x68]
push eax
push esi
push 1
push ecx
push 0x6e
push edx
push edi
call fcn.004898d0
add esp, 0x3c
cmp dword [esp + 0x1c], 0
je 0x49525d
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
push eax
push ecx
push ebx
push edx
push 0x3f
push ebp
call fcn.0045a7a0
add esp, 0x18
jmp 0x495273
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
push eax
push ebx
push ecx
push 0x41
push ebp
call fcn.00457de0
add esp, 0x14
xor ebx, ebx
cmp word [esi + 0x26], bx
jle 0x4952b4
jmp 0x495280
mov edx, dword [esp + 0x24]
cmp dword [edx + ebx*4], 0
jge 0x4952a9
movsx eax, word [esi + 0x24]
cmp ebx, eax
je 0x4952a9
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x14]
add ecx, ebx
push ecx
push ebx
push edx
push esi
push ebp
call fcn.00479000
add esp, 0x14
movsx eax, word [esi + 0x26]
add ebx, 1
cmp ebx, eax
jl 0x495280
cmp dword [esp + 0x4c], 0
mov ebx, dword [esp + 0x14]
jne 0x49542c
mov edx, dword [esp + 0x2c]
xor eax, eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xdc]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x88]
push eax
push ecx
push ebx
push edx
push esi
push edi
call fcn.004856f0
add esp, 0x2c
cmp dword [esp + 0x18], 0
je 0x495328
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push eax
push ecx
push 0
push edx
push esi
push edi
call fcn.00488220
add esp, 0x18
cmp dword [esp + 0x4c], 0
jne 0x495336
cmp byte [esp + 0x58], 0
je 0x49536e
cmp dword [esp + 0x1c], 0
je 0x495357
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push 0
push ebx
push 0x3f
push ebp
call fcn.0045a7a0
add esp, 0x18
jmp 0x49536a
mov edx, dword [esp + 0x28]
push edx
push 0
push ebx
push 0x41
push ebp
call fcn.00457de0
add esp, 0x14
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x40]
push eax
push ecx
push ebx
push esi
push edi
call fcn.0048a3e0
add esp, 0x14
cmp dword [esp + 0x18], 0
jne 0x495398
cmp byte [esp + 0x58], 0
jne 0x495398
cmp dword [esp + 0x1c], 0
je 0x4953a6
push 0
push ebx
push 0x46
push ebp
call fcn.00457ef0
add esp, 0x10
cmp dword [esp + 0x4c], 0
jne 0x4953b4
cmp byte [esp + 0x58], 0
je 0x4953c2
mov edx, dword [esp + 0x50]
push edx
push ebp
call fcn.00458250
add esp, 8
cmp dword [esp + 0x18], 0
je 0x4953e4
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
push eax
push ecx
push edx
push 0
push esi
push edi
call fcn.00488220
add esp, 0x18
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x40]
push 0
push 0
push 1
push eax
push ecx
push edx
push ebx
push esi
push edi
call fcn.00485fd0
add esp, 0x24
cmp dword [esp + 0x18], 0
je 0x49542c
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0xd0]
push ecx
push edx
push eax
push esi
push edi
call fcn.00488cd0
add esp, 0x18
mov ecx, dword [esp + 0x60]
test byte [ecx + 0x18], 0x80
je 0x495454
cmp dword [edi + 0x1cc], 0
jne 0x495454
mov edx, dword [esp + 0x84]
push 1
push edx
push 0x22
push ebp
call fcn.00457ef0
add esp, 0x10
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xcc]
push ebx
push eax
mov eax, dword [esp + 0x50]
push ecx
push esi
push 2
push edx
push 0x6e
push eax
push edi
call fcn.004898d0
add esp, 0x24
cmp dword [esp + 0x38], 0
jne 0x4954bd
cmp dword [esp + 0x1c], 0
push ebx
je 0x4954b0
push ebp
call fcn.00457f60
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x64]
push ecx
push edx
push 9
push ebp
call fcn.00457ef0
add esp, 0x18
jmp 0x4954bd
push 0
push 0x10
push ebp
call fcn.00457ef0
add esp, 0x10
mov eax, dword [esp + 0x20]
push eax
push ebp
call fcn.00457f60
mov esi, dword [esi + 8]
add esp, 8
test esi, esi
je 0x495507
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x40]
add ecx, 1
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x44]
cmp byte [edx], 0
je 0x4954f8
push 0
push ebx
push 0x38
push ebp
call fcn.00457ef0
add esp, 0x10
mov esi, dword [esi + 0x14]
add dword [esp + 0x44], 1
add ebx, 1
test esi, esi
jne 0x4954e1
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x14], eax
jge 0x495523
mov ecx, dword [esp + 0x14]
push 0
push ecx
push 0x38
push ebp
call fcn.00457ef0
add esp, 0x10
cmp byte [edi + 0x12], 0
jne 0x49553b
cmp dword [edi + 0x1cc], 0
jne 0x49553b
push edi
call fcn.00485460
add esp, 4
mov edx, dword [esp + 0x60]
test byte [edx + 0x18], 0x80
je 0x495582
cmp dword [edi + 0x1cc], 0
jne 0x495582
cmp byte [edi + 0x12], 0
jne 0x495582
mov eax, dword [esp + 0x84]
push 1
push eax
push 0x20
push ebp
call fcn.00457ef0
push 1
push ebp
call fcn.00459280
push 0
push str.rows_updated
push 0
push 0
push ebp
call fcn.004592f0
add esp, 0x2c
pop ebp
lea ecx, [esp + 0x94]
push ecx
call fcn.00481210
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x60]
push edx
push esi
call fcn.0043f760
mov eax, dword [esp + 0xd0]
push eax
push esi
call fcn.0045f1a0
mov ecx, dword [esp + 0xdc]
push ecx
push esi
call fcn.00478810
mov edx, dword [esp + 0xe8]
push edx
push esi
call fcn.00479930
add esp, 0x24
pop edi
pop esi
pop ebx
add esp, 0xb0
ret