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

Disassembly:
sub esp, 0x94
push ebx
push ebp
mov ebp, dword [esp + 0xa0]
xor eax, eax
push esi
push edi
xor edi, edi
mov dword [esp + 0x40], 0
mov ebx, dword [ebp]
mov dword [esp + 0x64], 0
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x34], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
mov byte [esp + 0x1f], al
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
cmp dword [ebp + 0x24], eax
jne 0x499a63
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x498806
test dword [ebx + 4], 0x200
je 0x498806
cmp dword [ebx + 0x34], eax
jne 0x498806
mov eax, dword [ebx + 0x1c]
push 1
mov dword [ebx + 0x1c], edi
mov edi, dword [esp + 0x40]
push ebx
push edi
mov dword [esp + 0x5c], eax
call fcn.0044e580
add esp, 0xc
mov dword [esp + 0x18], 0
jmp 0x49880a
mov edi, dword [esp + 0x3c]
push dword [esp + 0xac]
push ebp
call fcn.004ab480
mov esi, eax
add esp, 8
mov dword [esp + 0x10], esi
test esi, esi
je 0x499a73
mov ecx, dword [esi + 0x3c]
mov ebx, 0xffff8000
mov dword [esp + 0x70], ebx
test ecx, ecx
je 0x498854
mov eax, dword [edi + 0x10]
xor ebx, ebx
add eax, 0xc
mov dword [esp + 0x70], ebx
cmp dword [eax], ecx
je 0x498854
lea eax, [eax + 0x10]
inc ebx
cmp dword [eax], ecx
jne 0x498848
mov dword [esp + 0x70], ebx
mov eax, dword [edi + 0x10]
mov ecx, ebx
add ecx, ecx
push dword [eax + ecx*8]
push 0
push dword [esi]
push 0x12
push ebp
call fcn.0047da60
add esp, 0x14
test eax, eax
jne 0x498b5d
mov eax, dword [esi + 0x1c]
shr eax, 7
and eax, 0xffffff01
cmp dword [esi + 0x38], 0
mov dword [esp + 0x58], eax
jne 0x49889d
mov eax, dword [ebp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4988a6
cmp dword [eax + 0x30], 0
je 0x4988a6
cmp byte [ebp + 0xa1], 0
je 0x4988b2
mov dword [esp + 0x74], 0
xor edi, edi
jmp 0x4988d5
lea eax, [esp + 0xa0]
push eax
push 0
push 0x7f
push esi
push ebp
call fcn.004ca160
mov edi, eax
add esp, 0x14
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x74], eax
mov al, byte [esi + 0x2b]
mov dword [esp + 0x4c], edi
mov byte [esp + 0x27], al
cmp al, 1
je 0x4988eb
cmp word [esi + 0x22], 0
jg 0x4988fd
push esi
push ebp
call fcn.004d0b90
add esp, 8
test eax, eax
jne 0x498b5d
push edi
push esi
push ebp
call fcn.00499cc0
add esp, 0xc
test eax, eax
jne 0x498b5d
push ebp
call fcn.00497320
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
je 0x498b5d
cmp byte [ebp + 0x12], 0
jne 0x498934
or dword [edi + 0x98], 0x10
cmp dword [esp + 0x18], 0
jne 0x498946
cmp dword [esp + 0x4c], 0
jne 0x498946
xor eax, eax
jmp 0x49894b
mov eax, 1
push ebx
push eax
push ebp
call fcn.0047e600
add esp, 0xc
cmp dword [esp + 0xb4], 0
jne 0x49898a
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49898a
cmp dword [esp + 0x4c], 0
jne 0x49898a
push ebx
push dword [esp + 0xbc]
push eax
push esi
push ebp
call fcn.004de9d0
add esp, 0x14
test eax, eax
jne 0x4999af
push esi
push ebx
push ebp
call fcn.00448980
mov ecx, dword [ebp + 0x2c]
add esp, 0xc
mov dword [esp + 0x60], eax
movsx eax, word [esi + 0x22]
inc eax
lea ebx, [ecx + 1]
add eax, ecx
mov edx, ebx
mov dword [ebp + 0x2c], eax
cmp byte [esi + 0x2b], 1
mov dword [esp + 0x54], ebx
mov dword [esp + 0x28], edx
jne 0x4989c4
lea edx, [ebx + 1]
inc eax
mov dword [esp + 0x28], edx
mov dword [ebp + 0x2c], eax
test dword [esi + 0x1c], 0x440
lea eax, [edx + 1]
mov dword [esp + 0x44], eax
sete bl
cmp dword [esp + 0xb4], 0
mov byte [esp + 0x26], bl
je 0x498b9b
mov ebp, dword [esp + 0xb4]
xor ecx, ecx
mov edx, dword [ebp]
mov byte [ebp + 4], 1
test edx, edx
jle 0x498a11
lea eax, [ebp + 0xc]
nop
mov dword [eax], 0xffffffff
lea eax, [eax + 8]
mov edx, dword [ebp]
inc ecx
cmp ecx, edx
jl 0x498a00
xor ebp, ebp
mov dword [esp + 0x48], ebp
test edx, edx
jle 0x498b94
movzx eax, word [esi + 0x22]
movsx ebx, ax
xor esi, esi
test ebx, ebx
jle 0x498a6f
mov edi, dword [esp + 0x10]
lea eax, [ebp*8]
mov ebp, dword [esp + 0xb4]
mov dword [esp + 0x30], eax
mov edi, dword [edi + 4]
mov ebp, dword [eax + ebp + 8]
nop dword [eax]
push dword [edi]
push ebp
call fcn.004abf20
add esp, 8
test eax, eax
je 0x498af7
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x498a50
mov ebp, dword [esp + 0x48]
mov bl, byte [esp + 0x26]
mov eax, dword [esp + 0x10]
movzx eax, word [eax + 0x22]
mov edi, eax
cwde
cmp esi, eax
jl 0x498adc
mov ebx, dword [esp + 0xb4]
push str._ROWID_
mov esi, dword [ebx + ebp*8 + 8]
push esi
call fcn.004abf20
add esp, 8
test eax, eax
je 0x498ac7
push str.ROWID
push esi
call fcn.004abf20
add esp, 8
test eax, eax
je 0x498ac7
push 0x51a708
push esi
call fcn.004abf20
add esp, 8
test eax, eax
jne 0x498b64
cmp byte [esp + 0x58], 0
jne 0x498b64
xor bl, bl
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x26], bl
mov eax, dword [esp + 0xb4]
inc ebp
mov dword [esp + 0x48], ebp
cmp ebp, dword [eax]
jge 0x498b90
mov eax, edi
jmp 0x498a23
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xb4]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x48]
mov dword [eax + ecx + 0xc], esi
xor ecx, ecx
movzx eax, byte [esp + 0x26]
cmp ebp, esi
mov edx, dword [edi + 4]
cmove ecx, eax
movsx eax, word [edi + 0x20]
cmp esi, eax
mov bl, cl
mov ecx, ebp
mov byte [esp + 0x26], bl
cmovne ecx, dword [esp + 0x2c]
mov eax, esi
add eax, eax
mov dword [esp + 0x2c], ecx
test byte [edx + eax*8 + 0xe], 0x60
je 0x498a73
add esi, esi
push dword [edx + esi*8]
mov esi, dword [esp + 0xac]
push str.cannot_INSERT_into_generated_column___s_
push esi
call fcn.00489e60
add esp, 0xc
xor edi, edi
jmp 0x4999e8
mov eax, dword [esp + 0xac]
push esi
mov esi, dword [esp + 0xac]
add eax, 8
push eax
push str.table__S_has_no_column_named__s
push esi
call fcn.00489e60
add esp, 0x10
mov byte [esi + 0x11], 1
xor edi, edi
jmp 0x4999ef
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0xa8]
cmp dword [esp + 0x18], 0
je 0x498df4
inc dword [ebp + 0x2c]
mov edi, dword [edi + 0x6c]
mov esi, dword [ebp + 0x2c]
lea eax, [edi + 1]
push eax
push 0
push esi
push 0xb
push dword [esp + 0x24]
call fcn.004b0df0
xor eax, eax
mov byte [esp + 0x90], 0xd
test bl, bl
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], 0
cmovne eax, dword [esp + 0x58]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xa4], 0
movsx eax, word [eax + 0x22]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x30]
push ebp
call fcn.004a71c0
mov ecx, dword [esp + 0xa8]
add esp, 0x20
mov dword [esp + 0x5c], ecx
test eax, eax
jne 0x498b5d
cmp dword [ebp + 0x24], eax
jne 0x498b5d
mov ebx, dword [esp + 0x14]
push esi
push ebx
call fcn.004b1ad0
push edi
push ebx
call fcn.004bb180
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp dword [esp + 0x4c], 0
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
jne 0x498d3b
mov ebp, dword [ebp + 8]
mov esi, dword [esp + 0xa8]
test ebp, ebp
jne 0x498c90
cmp dword [esi + 0x80], ebp
jne 0x498c85
mov eax, dword [esi]
test byte [eax + 0x50], 8
jne 0x498c85
mov byte [esi + 0x17], 1
push esi
call fcn.004b1580
add esp, 4
mov ebp, eax
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x2b], 1
jne 0x498cb0
mov edx, dword [eax + 0x34]
test edx, edx
je 0x498cb2
mov eax, dword [esi]
cmp dword [edx], eax
je 0x498cb2
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x498ca3
jmp 0x498cb2
xor edx, edx
mov edi, 1
cmp dword [ebp + 0x6c], edi
jle 0x498d19
mov eax, dword [ebp]
lea esi, [edi + 0x13]
mov bl, byte [eax + 0x57]
test bl, bl
je 0x498cd0
mov eax, 0x536fc0
jmp 0x498cd5
mov eax, dword [ebp + 0x68]
add eax, esi
mov cl, byte [eax]
cmp cl, 0x70
jne 0x498d06
mov ecx, dword [esp + 0x70]
cmp dword [eax + 0xc], ecx
jne 0x498d10
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x10]
cmp ecx, dword [eax + 0x14]
je 0x498d34
mov eax, dword [eax + 8]
test eax, eax
je 0x498d10
cmp ecx, dword [eax + 0x2c]
je 0x498d34
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x498cf8
jmp 0x498d10
cmp cl, 0xad
jne 0x498d10
cmp dword [eax + 0x10], edx
je 0x498d34
inc edi
add esi, 0x14
cmp edi, dword [ebp + 0x6c]
jl 0x498cc5
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
jmp 0x498e58
mov ebp, dword [esp + 0xa8]
mov edx, dword [ebp + 0x28]
push ebp
mov byte [esp + 0x23], 1
mov dword [esp + 0x38], edx
lea eax, [edx + 1]
mov dword [ebp + 0x28], eax
call fcn.00496920
push ebp
mov edi, eax
call fcn.00496920
push dword [esp + 0x38]
mov esi, dword [esp + 0x20]
mov ebx, eax
push edx
push 0x76
push esi
call fcn.004b0d90
mov eax, dword [esp + 0x98]
push eax
push 0xc
push esi
mov dword [esp + 0x44], eax
call fcn.004b0d30
push edi
push dword [esp + 0x58]
mov esi, eax
push dword [esp + 0x88]
push 0x61
push dword [esp + 0x48]
call fcn.004b0df0
push ebx
push dword [esp + 0x70]
push 0x7f
push dword [esp + 0x58]
call fcn.004b0d90
add esp, 0x48
push ebx
push edi
push dword [esp + 0x3c]
push 0x80
push dword [esp + 0x24]
call fcn.004b0df0
push esi
push dword [esp + 0x2c]
call fcn.004bac00
push esi
push dword [esp + 0x34]
call fcn.004bb180
push edi
push ebp
call fcn.004a5250
push ebx
push ebp
call fcn.004a5250
mov ebx, dword [esp + 0xb4]
add esp, 0x34
mov esi, dword [esp + 0x30]
jmp 0x498e58
mov eax, dword [esp + 0x50]
xorps xmm0, xmm0
movlpd qword [esp + 0x80], xmm0
movlpd qword [esp + 0x88], xmm0
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x34], 0xffffffff
test eax, eax
je 0x498e50
mov esi, dword [eax]
push eax
lea eax, [esp + 0x80]
mov dword [esp + 0x34], esi
push eax
call fcn.004a57e0
add esp, 8
test eax, eax
jne 0x498b5d
jmp 0x498e56
xor esi, esi
mov dword [esp + 0x30], esi
xor ebx, ebx
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x498f18
mov edi, dword [esp + 0x10]
test esi, esi
jle 0x498f41
movsx eax, word [edi + 0x20]
mov dword [esp + 0x2c], eax
test eax, eax
js 0x498ebb
test byte [edi + 0x1c], 0x60
je 0x498ebb
lea edx, [eax - 1]
test edx, edx
js 0x498ebb
mov eax, dword [edi + 4]
mov ecx, edx
mov ebx, dword [esp + 0x2c]
add eax, 0xe
shl ecx, 4
add ecx, eax
nop dword [eax]
test byte [ecx], 0x60
lea eax, [ebx - 1]
lea ecx, [ecx - 0x10]
cmove eax, ebx
sub edx, 1
mov ebx, eax
jns 0x498ea0
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x20]
test byte [edi + 0x1c], 0x62
je 0x498ee6
movsx edx, word [edi + 0x22]
test edx, edx
jle 0x498ee6
mov ecx, dword [edi + 4]
add ecx, 0xe
xor esi, esi
test byte [ecx], 0x62
lea eax, [esi + 1]
lea ecx, [ecx + 0x10]
cmove eax, esi
mov esi, eax
sub edx, 1
jne 0x498ed1
jmp 0x498ee8
xor esi, esi
movsx eax, word [edi + 0x22]
sub eax, esi
mov esi, dword [esp + 0x30]
cmp esi, eax
je 0x498f41
push esi
push eax
mov eax, dword [esp + 0xb4]
add eax, 8
push eax
push str.table__S_has__d_columns_but__d_values_were_supplied
push ebp
call fcn.00489e60
add esp, 0x14
xor edi, edi
jmp 0x4999e8
mov eax, dword [eax]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x2c], edi
cmp esi, eax
je 0x498f3d
push eax
push esi
push str._d_values_for__d_columns
push ebp
call fcn.00489e60
add esp, 0x10
xor edi, edi
jmp 0x4999e8
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x3c]
xor eax, eax
mov ecx, dword [esi + 0x24]
and ecx, 1
or eax, ecx
je 0x498f87
cmp byte [ebp + 0x12], 0
jne 0x498f87
cmp dword [ebp + 0x84], 0
jne 0x498f87
cmp byte [ebp + 0x9f], 0
jne 0x498f87
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
push eax
push 0
push 0x47
push dword [esp + 0x20]
mov dword [esp + 0x88], eax
call fcn.004b0d90
add esp, 0x10
cmp byte [esp + 0x27], 2
je 0x49901e
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x44]
push eax
push 0
push 0xffffffffffffffff
push 0
push 0x71
push edi
push ebp
call fcn.0049c420
mov edi, eax
push 0
lea eax, [edi*4 + 8]
push eax
push esi
call fcn.00487b10
add esp, 0x2c
mov dword [esp + 0x38], eax
test eax, eax
je 0x4999e4
mov eax, dword [esp + 0x10]
xor edx, edx
mov esi, dword [eax + 8]
test edi, edi
jle 0x49900e
mov ebx, dword [esp + 0x38]
nop dword [eax]
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov dword [ebx + edx*4], eax
inc edx
movzx ecx, word [esi + 0x34]
mov eax, dword [ebp + 0x2c]
add eax, ecx
mov dword [ebp + 0x2c], eax
mov esi, dword [esi + 0x14]
cmp edx, edi
jl 0x498fe0
mov edi, dword [esp + 0x38]
inc eax
mov ebx, dword [esp + 0x20]
mov dword [ebp + 0x2c], eax
mov dword [edi + edx*4], eax
jmp 0x499020
mov eax, dword [ebp + 0x2c]
mov edi, dword [esp + 0x38]
inc eax
mov dword [ebp + 0x2c], eax
mov dword [edi + edx*4], eax
jmp 0x499020
xor edi, edi
mov esi, dword [esp + 0xbc]
test esi, esi
je 0x4990ca
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x2b]
cmp al, 1
jne 0x49904f
push dword [ecx]
push str.UPSERT_not_implemented_for_virtual_table___s_
push ebp
call fcn.00489e60
add esp, 0xc
jmp 0x4999e8
cmp al, 2
jne 0x499066
push str.cannot_UPSERT_a_view
push ebp
call fcn.00489e60
add esp, 8
jmp 0x4999e8
push dword [esi]
push ebp
call fcn.004973d0
add esp, 8
test eax, eax
jne 0x4999e8
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x64]
mov dword [edx + 0x34], ecx
nop
cmp dword [esi], 0
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edi
je 0x4990c3
push esi
push edx
push ebp
call fcn.004b0000
add esp, 0xc
test eax, eax
jne 0x4999e4
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0xac]
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x499090
cmp byte [esp + 0x1f], 0
mov edi, dword [esp + 0x14]
je 0x4990f1
push dword [esp + 0x34]
push 0x24
push edi
call fcn.004b0d30
mov dword [esp + 0x78], eax
add esp, 0xc
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x68], eax
jmp 0x49912c
cmp dword [esp + 0x18], 0
je 0x49912c
push ebx
push 0xc
push edi
call fcn.004b0d30
mov esi, eax
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
test eax, eax
js 0x49912c
push dword [esp + 0x28]
mov ecx, dword [esp + 0x60]
add ecx, eax
push ecx
push 0x50
push edi
call fcn.004b0d90
add esp, 0x10
mov eax, dword [esp + 0x10]
xor edx, edx
mov ebx, dword [esp + 0x44]
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x48], ecx
cmp si, word [eax + 0x22]
jge 0x4992e3
nop dword [eax]
movsx eax, word [eax + 0x20]
cmp ecx, eax
jne 0x4991a9
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x499175
push 0
push 0
push ebx
push 0x4c
push edi
call fcn.0045f9a0
add esp, 0x14
jmp 0x4992c1
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x4c
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4992c5
mov eax, dword [esp + 0x10]
shl ecx, 4
mov esi, dword [eax + 4]
movzx eax, word [esi + ecx + 0xe]
add esi, ecx
test al, 0x62
je 0x499324
inc edx
mov dword [esp + 0x20], edx
test al, 0x20
je 0x4991d1
dec ebx
jmp 0x4992c5
test al, 0x40
je 0x4991e5
test byte [esp + 0x74], 1
je 0x4992c5
jmp 0x499158
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x49932f
movzx eax, word [esi + 0xc]
test ax, ax
jne 0x499201
xor esi, esi
jmp 0x499225
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x2b], 0
je 0x49920f
xor esi, esi
jmp 0x499225
mov esi, dword [ecx + 0x34]
test esi, esi
je 0x499225
cmp dword [esi], eax
jge 0x49921e
xor esi, esi
jmp 0x499225
lea eax, [eax + eax*4]
mov esi, dword [esi + eax*4 - 0xc]
cmp byte [ebp + 0x17], 0
je 0x499283
mov dword [esp + 0x94], 0
mov eax, 2
mov dword [esp + 0x84], 0x4aa870
mov dword [esp + 0x80], fcn.004583b0
mov word [esp + 0x90], ax
test esi, esi
je 0x499276
lea eax, [esp + 0x7c]
push esi
push eax
call fcn.004bfe10
add esp, 8
cmp word [esp + 0x90], 0
je 0x499283
push ebx
push esi
push ebp
call fcn.0048c1b0
add esp, 0xc
jmp 0x4992c1
mov edi, dword [ebp]
test esi, esi
je 0x49929c
push 0
push 0
push esi
push edi
call fcn.00457690
add esp, 0x10
mov esi, eax
jmp 0x49929e
xor esi, esi
cmp byte [edi + 0x57], 0
jne 0x4992af
push ebx
push esi
push ebp
call fcn.0048ad00
add esp, 0xc
test esi, esi
je 0x4992bd
push esi
push edi
call fcn.0048dd70
add esp, 8
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebx
mov ecx, dword [esp + 0x48]
inc ecx
mov dword [esp + 0x48], ecx
movsx eax, word [eax + 0x22]
cmp ecx, eax
mov eax, dword [esp + 0x10]
jl 0x499150
dec dword [ebp + 0x38]
test byte [esp + 0x74], 1
mov ebx, dword [ebp + 0x38]
je 0x4995ea
movsx eax, word [eax + 0x22]
inc eax
push eax
push ebp
call fcn.004968c0
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x2c]
push esi
test eax, eax
jns 0x4994c5
push 0xffffffffffffffff
push 0x47
push edi
call fcn.004b0d90
add esp, 0x10
jmp 0x49953f
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x49936e
mov ecx, dword [eax]
xor edx, edx
test ecx, ecx
jle 0x49935a
add eax, 0xc
nop word [eax + eax]
mov edi, dword [esp + 0x48]
cmp dword [eax], edi
mov edi, dword [esp + 0x14]
je 0x499356
inc edx
add eax, 8
cmp edx, ecx
jl 0x499340
jmp 0x49935a
cmp edx, ecx
jl 0x499391
movzx eax, word [esi + 0xc]
test ax, ax
jne 0x499201
xor esi, esi
jmp 0x499225
cmp dword [esp + 0x30], 0
jne 0x499389
movzx eax, word [esi + 0xc]
test ax, ax
jne 0x499201
xor esi, esi
jmp 0x499225
mov edx, dword [esp + 0x48]
sub edx, dword [esp + 0x20]
cmp byte [esp + 0x1f], 0
je 0x4993e6
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4993b6
push ebx
push edx
push dword [esp + 0x3c]
push 0x5e
push edi
call fcn.0045f9a0
add esp, 0x14
jmp 0x4992c1
mov esi, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4992c1
cmp dword [esp + 0x18], 0
je 0x499449
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x44]
je 0x4992c1
mov ecx, dword [edi + 0x6c]
add edx, eax
cmp dword [edi + 0x70], ecx
jg 0x499419
push 0
push ebx
push edx
push 0x51
push edi
call fcn.0045f9a0
add esp, 0x14
jmp 0x4992c1
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], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4992c1
mov ecx, dword [esp + 0x50]
lea eax, [edx + edx*4]
push ebx
mov edi, dword [ecx + eax*4 + 8]
push edi
push ebp
call fcn.0048c370
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x4992bd
mov edx, dword [edi + 4]
mov edi, dword [esp + 0x14]
shr edx, 0x16
not edx
and edx, 1
mov ecx, dword [edi + 0x6c]
or edx, 0x50
cmp dword [edi + 0x70], ecx
jg 0x499496
push 0
push ebx
push esi
push edx
push edi
call fcn.0045f9a0
add esp, 0x14
jmp 0x4992c1
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], dl
jmp 0x4992c1
cmp byte [esp + 0x23], 0
je 0x4994de
push eax
push dword [esp + 0x3c]
push 0x5e
push edi
call fcn.004b0df0
add esp, 0x14
jmp 0x4994f2
mov ecx, dword [esp + 0x54]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 8]
push ebp
call fcn.0048ad00
add esp, 0xc
push esi
push 0x33
push edi
call fcn.004b0d30
push esi
push 0xffffffffffffffff
push 0x47
push dword [esp + 0x2c]
mov edi, eax
call fcn.004b0d90
mov eax, dword [esp + 0x30]
add esp, 0x1c
mov ecx, dword [eax]
mov edx, dword [eax + 0x6c]
cmp byte [ecx + 0x57], 0
je 0x499524
mov eax, 0x536fc0
jmp 0x49952d
mov eax, dword [eax + 0x68]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
push esi
push 0xd
push dword [esp + 0x1c]
mov dword [eax + 8], edx
call fcn.004b0d30
add esp, 0xc
mov eax, dword [esp + 0x10]
lea edi, [esi + 1]
movsx eax, word [eax + 0x24]
dec eax
push eax
push edi
push dword [esp + 0x4c]
push 0x50
push dword [esp + 0x24]
call fcn.004b0df0
mov eax, dword [esp + 0x24]
add esp, 0x14
test byte [eax + 0x1c], 0x60
je 0x499574
push eax
push edi
push ebp
call fcn.00485550
add esp, 0xc
cmp byte [esp + 0x27], 2
je 0x49958f
push edi
mov edi, dword [esp + 0x14]
push edi
push dword [esp + 0x1c]
call fcn.004ac3a0
add esp, 0xc
jmp 0x499593
mov edi, dword [esp + 0x10]
movsx eax, word [edi + 0x22]
mov ecx, esi
push ebx
push dword [esp + 0xbc]
sub ecx, eax
dec ecx
push ecx
push edi
push 1
push 0
push 0x7f
push dword [esp + 0x68]
push ebp
call fcn.00483f20
movsx eax, word [edi + 0x22]
add esp, 0x24
inc eax
cmp eax, 1
jne 0x4995dd
test esi, esi
je 0x4995ee
mov al, byte [ebp + 0x13]
cmp al, 8
jae 0x4995ee
movzx eax, al
mov dword [ebp + eax*4 + 0xa4], esi
inc byte [ebp + 0x13]
jmp 0x4995ee
cmp eax, dword [ebp + 0x1c]
jle 0x4995ee
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], esi
jmp 0x4995ee
mov edi, dword [esp + 0x10]
cmp byte [esp + 0x27], 2
je 0x4998ae
mov cl, byte [edi + 0x2b]
mov edi, dword [esp + 0x14]
cmp cl, 1
jne 0x49961f
push dword [esp + 0x54]
push 0
push 0x4b
push edi
call fcn.004b0d90
mov esi, dword [esp + 0x20]
add esp, 0x10
mov cl, byte [esi + 0x2b]
jmp 0x499623
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
test eax, eax
js 0x499701
cmp byte [esp + 0x1f], 0
je 0x49964c
push dword [esp + 0x28]
push eax
push dword [esp + 0x3c]
push 0x5e
push edi
call fcn.004b0df0
add esp, 0x14
jmp 0x499697
cmp dword [esp + 0x18], 0
jne 0x499697
mov edx, dword [esp + 0x50]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 8]
cmp byte [eax], 0x79
jne 0x499689
cmp cl, 1
je 0x499689
push dword [esp + 0x60]
push dword [esp + 0x2c]
push dword [esp + 0x48]
push 0x7f
push edi
call fcn.004b0df0
add esp, 0x14
mov esi, 1
jmp 0x49973e
push dword [esp + 0x28]
push eax
push ebp
call fcn.0048ad00
add esp, 0xc
cmp byte [esi + 0x2b], 1
je 0x4996da
push dword [esp + 0x28]
push 0x33
push edi
call fcn.004b0d30
push dword [esp + 0x6c]
mov esi, eax
push dword [esp + 0x38]
push dword [esp + 0x54]
push 0x7f
push edi
call fcn.004b0df0
push esi
push edi
call fcn.004bb180
add esp, 0x28
push dword [esp + 0x28]
push 0xd
push edi
call fcn.004b0d30
add esp, 0xc
jmp 0x49973c
mov eax, dword [edi + 0x6c]
add eax, 2
push eax
push dword [esp + 0x2c]
push 0x32
push edi
call fcn.004b0d90
add esp, 0x10
push dword [esp + 0x28]
push 0xd
push edi
call fcn.004b0d30
add esp, 0xc
jmp 0x49973c
cmp cl, 1
je 0x49972b
cmp byte [esp + 0x58], 0
jne 0x49972b
push dword [esp + 0x60]
push dword [esp + 0x2c]
push dword [esp + 0x48]
push 0x7f
push edi
call fcn.004b0df0
add esp, 0x14
mov esi, 1
jmp 0x49973e
push dword [esp + 0x28]
push 0
push 0x4b
push edi
call fcn.004b0d90
add esp, 0x10
xor esi, esi
mov eax, dword [esp + 0x60]
test eax, eax
jle 0x49975b
push dword [esp + 0x28]
push eax
push 0x9f
push dword [ebp + 8]
call fcn.004b0d90
add esp, 0x10
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x1c], 0x60
je 0x499777
push ecx
push dword [esp + 0x48]
push ebp
call fcn.00485550
mov ecx, dword [esp + 0x1c]
add esp, 0xc
cmp byte [ecx + 0x2b], 1
jne 0x4997ff
mov esi, dword [ecx + 0x34]
test esi, esi
je 0x49979b
mov eax, dword [esp + 0x3c]
nop dword [eax]
cmp dword [esi], eax
je 0x49979b
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x499790
push ecx
push ebp
call fcn.004bee20
push 0xfffffffffffffff5
push esi
mov esi, dword [esp + 0x20]
push dword [esp + 0x64]
movsx eax, word [esi + 0x22]
add eax, 2
push eax
push 1
push 7
push edi
call fcn.004b0e50
mov eax, dword [edi + 0x6c]
add esp, 0x24
test eax, eax
jle 0x4997e9
mov ecx, dword [esp + 0xb8]
cmp ecx, 0xb
movzx edx, cx
mov ecx, 2
cmove edx, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebp + 0x80]
mov ecx, ebp
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
jmp 0x4998b6
push dword [esp + 0xbc]
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], 0
push 0
push eax
mov eax, dword [esp + 0x38]
push ebx
push dword [esp + 0xc8]
shr eax, 0x1f
xor al, 1
movzx eax, al
push eax
push 0
push dword [esp + 0x70]
push dword [esp + 0x84]
push dword [esp + 0x64]
push dword [esp + 0x60]
push ecx
push ebp
call fcn.00493b30
mov eax, dword [esp + 0x70]
add esp, 0x34
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, 0
je 0x499871
push 0
push 0
push dword [esp + 0x5c]
push 0
push dword [esp + 0x20]
push ebp
call fcn.00491930
add esp, 0x18
cmp dword [esp + 0x58], 0
je 0x499885
cmp dword [edi + 0xe0], 0
je 0x499885
xor eax, eax
jmp 0x49988a
mov eax, 1
push eax
push esi
mov esi, dword [esp + 0x18]
push 0
push dword [esp + 0x44]
push dword [esp + 0x64]
push dword [esp + 0x78]
push dword [esp + 0x58]
push esi
push ebp
call fcn.00485300
add esp, 0x24
jmp 0x4998b6
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4998cc
push 1
push eax
push 0x56
push edi
call fcn.004b0d90
add esp, 0x10
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x4998fb
movsx eax, word [esi + 0x22]
mov ecx, dword [esp + 0x44]
push ebx
push dword [esp + 0xbc]
sub ecx, eax
sub ecx, 2
push ecx
push esi
push 2
push 0
push 0x7f
push edx
push ebp
call fcn.00483f20
add esp, 0x24
mov ecx, dword [edi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x499915
push ebx
push edi
push ecx
call fcn.00475850
add esp, 0xc
jmp 0x49991e
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + ebx*4], eax
cmp byte [esp + 0x1f], 0
je 0x499979
push dword [esp + 0x68]
mov ebx, dword [esp + 0x38]
push ebx
push 0x27
push edi
call fcn.004b0d90
mov eax, dword [edi]
add esp, 0x10
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x49995a
mov eax, 0x536fc0
push ebx
push 0x7a
push edi
mov dword [eax + 8], edx
call fcn.004b0d30
add esp, 0xc
jmp 0x4999af
mov eax, dword [esp + 0x6c]
push ebx
push 0x7a
push edi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
call fcn.004b0d30
add esp, 0xc
jmp 0x4999af
cmp dword [esp + 0x18], 0
je 0x4999af
push dword [esp + 0x68]
push edi
call fcn.004bac00
mov eax, dword [edi]
add esp, 8
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x49999f
mov eax, 0x536fc0
jmp 0x4999ac
mov eax, dword [esp + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp byte [ebp + 0x12], 0
jne 0x4999cd
cmp dword [ebp + 0x84], 0
jne 0x4999cd
cmp dword [ebp + 0x7c], 0
je 0x4999cd
push ebp
call fcn.00448a80
add esp, 4
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4999e4
push str.rows_inserted
push eax
push edi
call fcn.004834e0
add esp, 0xc
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0x18]
push dword [esp + 0xac]
mov esi, dword [esp + 0x40]
push esi
call fcn.004aaed0
mov eax, dword [esp + 0x58]
add esp, 8
test eax, eax
je 0x499a19
push eax
push esi
call fcn.00458120
add esp, 8
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x499a2e
push eax
push esi
call fcn.004cc3a0
add esp, 8
test ebp, ebp
je 0x499a3e
push 1
push ebp
push esi
call fcn.0044e580
add esp, 0xc
push ebx
mov ebx, esi
push ebx
call fcn.00497a10
add esp, 8
test edi, edi
je 0x499a58
push edi
push ebx
call fcn.00487c30
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret
mov ebp, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
jmp 0x4999f3
mov ebp, dword [esp + 0x18]
xor edi, edi
mov ebx, dword [esp + 0xb4]
jmp 0x4999f3