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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x14]
cmp dword [ebx + 0x24], 0
mov esi, dword [ebx]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x5c], esi
jne 0x4f6d77
cmp byte [esi + 0x51], 0
jne 0x4f6d77
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4f5ead
test dword [eax + 4], 0x200
je 0x4f5ead
cmp dword [eax + 0x34], 0
jne 0x4f5ead
mov ecx, dword [eax + 0x1c]
push eax
push esi
mov dword [ebp - 0x30], ecx
mov dword [eax + 0x1c], 0
call fcn.005032f0
add esp, 8
mov dword [ebp - 0xc], 0
push dword [ebp + 0xc]
push ebx
call fcn.005042e0
mov edi, eax
add esp, 8
mov dword [ebp - 8], edi
test edi, edi
je 0x4f610c
push dword [edi + 0x48]
push esi
call fcn.00500da0
mov ecx, eax
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x10]
add ecx, ecx
push dword [eax + ecx*8]
push 0
push dword [edi]
push 0x12
push ebx
call fcn.004e1b60
add esp, 0x1c
test eax, eax
jne 0x4f610c
mov eax, dword [edi + 0x24]
shr eax, 7
and eax, 0xffffff01
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0x7d
push edi
push ebx
call fcn.00505140
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0xc]
push edi
push ebx
mov dword [ebp - 0x68], eax
call fcn.00513740
add esp, 0x1c
test eax, eax
jne 0x4f610c
push dword [ebp - 0x64]
push edi
push ebx
call fcn.004f6ef0
add esp, 0xc
test eax, eax
jne 0x4f610c
push ebx
call fcn.004f4e30
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
test esi, esi
je 0x4f610c
cmp byte [ebx + 0x12], 0
jne 0x4f5f63
or dword [esi + 0x98], 0x20
cmp dword [ebp - 0xc], 0
jne 0x4f5f73
cmp dword [ebp - 0x3c], 0
jne 0x4f5f73
xor eax, eax
jmp 0x4f5f78
mov eax, 1
push dword [ebp - 0x44]
push eax
push ebx
call fcn.004e2400
add esp, 0xc
cmp dword [ebp + 0x14], 0
jne 0x4f5fa6
push dword [ebp - 0x44]
push dword [ebp + 0x18]
push dword [ebp - 0xc]
push edi
push ebx
call fcn.0052c9d0
add esp, 0x14
test eax, eax
jne 0x4f6ceb
push edi
push dword [ebp - 0x44]
push ebx
call fcn.004be3e0
mov ecx, dword [ebx + 0x2c]
add esp, 0xc
mov dword [ebp - 0x4c], eax
movsx eax, word [edi + 0x2a]
inc eax
lea esi, [ecx + 1]
add eax, ecx
mov edx, esi
mov dword [ebx + 0x2c], eax
cmp dword [edi + 0x38], 0
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x18], edx
je 0x4f5fde
lea edx, [esi + 1]
inc eax
mov dword [ebp - 0x18], edx
mov dword [ebx + 0x2c], eax
test dword [edi + 0x24], 0x440
lea eax, [edx + 1]
mov edx, dword [ebp + 0x14]
sete byte [ebp + 0x13]
mov dword [ebp - 0x28], eax
test edx, edx
je 0x4f61e1
mov eax, dword [edx + 4]
xor ecx, ecx
test eax, eax
jle 0x4f6015
mov eax, dword [edx]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
mov eax, dword [edx + 4]
cmp ecx, eax
jl 0x4f6003
xor ecx, ecx
mov dword [ebp - 0x14], ecx
test eax, eax
jle 0x4f61e1
movzx eax, word [edi + 0x2a]
mov dword [ebp - 0x60], eax
nop dword [eax]
cwde
xor esi, esi
test eax, eax
jle 0x4f60a6
mov eax, dword [edx]
mov edi, dword [edi + 4]
lea eax, [eax + ecx*8]
mov dword [ebp - 0x70], eax
push dword [edi]
push dword [eax]
call fcn.00504b70
add esp, 8
test eax, eax
je 0x4f6065
mov ecx, dword [ebp - 0x60]
inc esi
movsx eax, cx
add edi, 0x14
cmp esi, eax
mov eax, dword [ebp - 0x70]
jl 0x4f6042
jmp 0x4f609d
mov eax, dword [ebp - 0x70]
xor ecx, ecx
cmp dword [ebp - 0x14], esi
mov edx, dword [ebp - 8]
mov dword [eax + 4], esi
movzx eax, byte [ebp + 0x13]
mov edx, dword [edx + 4]
cmove ecx, eax
mov eax, dword [ebp - 8]
mov byte [ebp + 0x13], cl
mov ecx, dword [ebp - 0x14]
movsx eax, word [eax + 0x28]
cmp esi, eax
lea eax, [esi + esi*4]
cmovne ecx, dword [ebp - 0x1c]
test byte [edx + eax*4 + 0x10], 0x60
mov dword [ebp - 0x1c], ecx
jne 0x4f60f8
mov edx, dword [ebp + 0x14]
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
movzx edi, word [edi + 0x2a]
movsx eax, di
cmp esi, eax
jl 0x4f60de
mov eax, dword [edx]
mov esi, dword [eax + ecx*8]
push esi
call fcn.004f6fa0
add esp, 4
test eax, eax
je 0x4f61c4
cmp byte [ebp - 0x74], 0
jne 0x4f61c4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x1c], ecx
mov byte [ebp + 0x13], 0
inc ecx
mov eax, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x60], eax
cmp ecx, dword [edx + 4]
jge 0x4f61e1
mov edi, dword [ebp - 8]
jmp 0x4f6030
lea eax, [esi + esi*4]
push dword [edx + eax*4]
push str.cannot_INSERT_into_generated_column___s_
push ebx
call fcn.004eab10
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x5c]
push eax
push ebx
call fcn.00503d20
mov eax, dword [ebp - 0x30]
add esp, 8
test eax, eax
je 0x4f6133
push eax
push ebx
call fcn.004ca890
add esp, 8
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4f6192
mov eax, dword [eax]
test eax, eax
je 0x4f614a
push eax
push ebx
call fcn.004ca890
add esp, 8
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 4]
test eax, eax
je 0x4f615e
push eax
push ebx
call fcn.004eddc0
add esp, 8
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 8]
test eax, eax
je 0x4f6172
push eax
push ebx
call fcn.004ca890
add esp, 8
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4f6186
push eax
push ebx
call fcn.004eddc0
add esp, 8
push dword [ebp + 0x1c]
push ebx
call fcn.004e8e10
add esp, 8
test esi, esi
je 0x4f61a2
push 1
push esi
push ebx
call fcn.004c2e60
add esp, 0xc
push edi
push ebx
call fcn.004f5320
mov eax, dword [ebp - 0x34]
add esp, 8
test eax, eax
je 0x4f61bd
push eax
push ebx
call fcn.004e8e10
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0
push dword [ebp + 0xc]
push str.table__S_has_no_column_named__s
push ebx
call fcn.004eab10
add esp, 0x14
mov byte [ebx + 0x11], 1
jmp 0x4f610c
cmp dword [ebp - 0xc], 0
je 0x4f640a
mov ecx, dword [ebp - 4]
inc dword [ebx + 0x2c]
mov esi, dword [ebx + 0x2c]
mov edi, dword [ecx + 0x6c]
lea eax, [edi + 1]
push eax
push 0
push esi
push 0xd
push ecx
call fcn.00507ea0
xor eax, eax
mov byte [ebp - 0x8c], 0xd
cmp byte [ebp + 0x13], al
mov dword [ebp - 0x88], esi
cmovne eax, dword [ebp - 0x28]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x7c], 0
movsx eax, word [eax + 0x2a]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0xc]
push ebx
call fcn.00500de0
mov ecx, dword [ebp - 0x84]
add esp, 0x20
mov dword [ebp - 0x48], ecx
test eax, eax
jne 0x4f610c
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0x51], 0
jne 0x4f610c
cmp dword [ebx + 0x24], 0
jne 0x4f610c
push esi
mov esi, dword [ebp - 4]
push esi
call fcn.00508870
push edi
push esi
call fcn.00510210
mov eax, dword [ebp - 0xc]
add esp, 0x10
cmp dword [ebp - 0x3c], 0
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jne 0x4f636c
mov eax, dword [ebx + 8]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x4f62be
cmp dword [ebx + 0x74], eax
jne 0x4f62b2
mov eax, dword [ebx]
test byte [eax + 0x4c], 8
jne 0x4f62b2
mov byte [ebx + 0x17], 1
push ebx
call fcn.00508680
add esp, 4
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 8]
mov ecx, dword [eax + 0x6c]
cmp dword [edx + 0x38], 0
je 0x4f62e3
mov edx, dword [edx + 0x40]
test edx, edx
je 0x4f62e5
mov eax, dword [ebx]
cmp dword [edx], eax
je 0x4f62de
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x4f62d3
mov eax, dword [ebp - 0x24]
jmp 0x4f62e5
xor edx, edx
mov edi, 1
cmp ecx, edi
jle 0x4f635b
mov eax, dword [eax]
mov al, byte [eax + 0x51]
mov byte [ebp + 0x13], al
test edi, edi
lea eax, [ecx - 1]
cmovns eax, edi
cmp byte [ebp + 0x13], 0
je 0x4f630b
mov eax, 0x5b9dd4
jmp 0x4f6317
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov cl, byte [eax]
cmp cl, 0x60
jne 0x4f6346
mov ecx, dword [ebp - 0x44]
cmp dword [eax + 0xc], ecx
jne 0x4f6350
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 8]
cmp ecx, dword [eax + 0x1c]
je 0x4f636c
mov eax, dword [eax + 8]
test eax, eax
je 0x4f6350
cmp ecx, dword [eax + 0x2c]
je 0x4f636c
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4f6338
jmp 0x4f6350
cmp cl, 0xa5
jne 0x4f6350
cmp dword [eax + 0x10], edx
je 0x4f636c
mov eax, dword [ebp - 0x24]
inc edi
mov ecx, dword [eax + 0x6c]
cmp edi, ecx
jl 0x4f62f6
mov eax, dword [ebp - 0x88]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
jmp 0x4f6453
mov edx, dword [ebx + 0x28]
push ebx
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x20], edx
lea eax, [edx + 1]
mov dword [ebx + 0x28], eax
call fcn.004f44f0
push ebx
mov edi, eax
call fcn.004f44f0
push dword [ebp - 0x14]
mov ebx, eax
push edx
push 0x64
push esi
call fcn.00507e40
mov eax, dword [ebp - 0x88]
push eax
push 0xe
push esi
mov dword [ebp - 0x24], eax
call fcn.00507de0
push edi
push dword [ebp - 0x14]
mov esi, eax
push dword [ebp - 0x48]
push 0x5b
push dword [ebp - 4]
call fcn.00507ea0
push ebx
push dword [ebp - 0x20]
push 0x78
push dword [ebp - 4]
call fcn.00507e40
add esp, 0x48
push ebx
push edi
push dword [ebp - 0x20]
push 0x79
push dword [ebp - 4]
call fcn.00507ea0
push esi
push dword [ebp - 4]
call fcn.0050fda0
push esi
push dword [ebp - 4]
call fcn.00510210
push edi
push dword [ebp + 8]
call fcn.004ff1a0
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.004ff1a0
mov esi, dword [ebp - 0x14]
add esp, 0x34
jmp 0x4f6453
mov eax, dword [ebp - 0x30]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0xffffffff
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x94], ebx
movups xmmword [ebp - 0x84], xmm0
test eax, eax
je 0x4f644e
mov esi, dword [eax]
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x14], esi
push eax
call fcn.004ff670
add esp, 8
test eax, eax
jne 0x4f610c
jmp 0x4f6453
xor esi, esi
mov dword [ebp - 0x14], esi
cmp dword [ebp + 0x14], 0
mov edi, dword [ebp - 8]
jne 0x4f64a0
test esi, esi
jle 0x4f64a0
movsx eax, word [edi + 0x28]
mov dword [ebp - 0x1c], eax
test eax, eax
js 0x4f64a0
test byte [edi + 0x24], 0x60
je 0x4f64a0
lea edx, [eax - 1]
test edx, edx
js 0x4f64a0
mov eax, dword [edi + 4]
lea ecx, [edx + 1]
mov ebx, dword [ebp - 0x1c]
lea ecx, [edx + ecx*4]
lea ecx, [eax + ecx*4]
test byte [ecx], 0x60
lea eax, [ebx - 1]
lea ecx, [ecx - 0x14]
cmove eax, ebx
sub edx, 1
mov ebx, eax
jns 0x4f6487
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp + 8]
movsx esi, word [edi + 0x2a]
test esi, esi
jle 0x4f64cb
mov ecx, dword [edi + 4]
mov edx, esi
add ecx, 0x10
xor ebx, ebx
test byte [ecx], 0x62
lea eax, [ebx + 1]
lea ecx, [ecx + 0x14]
cmove eax, ebx
mov ebx, eax
sub edx, 1
jne 0x4f64b2
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
test eax, eax
jne 0x4f64f9
test edx, edx
je 0x4f6515
sub esi, dword [ebp - 0x40]
cmp edx, esi
je 0x4f6515
push edx
push esi
push eax
push dword [ebp + 0xc]
push str.table__S_has__d_columns_but__d_values_were_supplied
push ebx
call fcn.004eab10
add esp, 0x18
jmp 0x4f610c
mov eax, dword [eax + 4]
cmp edx, eax
je 0x4f6515
push eax
push edx
push str._d_values_for__d_columns
push ebx
call fcn.004eab10
add esp, 0x10
jmp 0x4f610c
mov esi, dword [ebp - 0x5c]
xor eax, eax
mov ecx, dword [esi + 0x24]
and ecx, 1
or eax, ecx
je 0x4f6549
cmp byte [ebx + 0x12], 0
jne 0x4f6549
cmp dword [ebx + 0x78], 0
jne 0x4f6549
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
push eax
push 0
push 0x45
push dword [ebp - 4]
mov dword [ebp - 0x6c], eax
call fcn.00507e40
add esp, 0x10
cmp dword [ebp - 0x68], 0
jne 0x4f65c3
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 0xffffffffffffffff
push 0
push 0x61
push edi
push ebx
call fcn.004f9100
mov edi, eax
push 0
lea eax, [edi*4 + 8]
push eax
push esi
call fcn.004e8e80
mov ecx, eax
add esp, 0x2c
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x4f610c
mov eax, dword [ebp - 8]
xor edx, edx
mov esi, dword [eax + 8]
test edi, edi
jle 0x4f65b6
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [ecx + edx*4], eax
inc edx
movzx ecx, word [esi + 0x34]
mov eax, dword [ebx + 0x2c]
add eax, ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebx + 0x2c], eax
mov esi, dword [esi + 0x14]
cmp edx, edi
jl 0x4f6594
jmp 0x4f65b9
mov eax, dword [ebx + 0x2c]
mov edi, dword [ebp - 8]
inc eax
mov dword [ebx + 0x2c], eax
mov dword [ecx + edx*4], eax
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x4f6635
cmp dword [edi + 0x38], 0
je 0x4f65dc
push dword [edi]
push str.UPSERT_not_implemented_for_virtual_table___s_
jmp 0x4f6103
cmp dword [edi + 0xc], 0
je 0x4f65f5
push str.cannot_UPSERT_a_view
push ebx
call fcn.004eab10
add esp, 8
jmp 0x4f610c
push dword [esi]
push ebx
call fcn.004f4ee0
add esp, 8
test eax, eax
jne 0x4f610c
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
mov dword [ecx + 0x34], eax
cmp dword [esi], 0
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], eax
je 0x4f6638
push esi
push ecx
push ebx
call fcn.00507300
add esp, 0xc
jmp 0x4f6638
mov edi, dword [ebp - 0x28]
cmp byte [ebp - 0xd], 0
je 0x4f665c
push dword [ebp - 0x20]
push 0x25
push dword [ebp - 4]
call fcn.00507de0
mov edx, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0x58], eax
mov eax, dword [edx + 0x6c]
mov dword [ebp - 0x54], eax
jmp 0x4f6699
cmp dword [ebp - 0xc], 0
je 0x4f6696
push dword [ebp - 0x24]
mov esi, dword [ebp - 4]
push 0xe
push esi
call fcn.00507de0
mov ecx, eax
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], ecx
test eax, eax
js 0x4f6696
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x48]
add ecx, eax
push ecx
push 0x4d
push esi
call fcn.00507e40
add esp, 0x10
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov esi, edi
xor ecx, ecx
mov dword [ebp + 0x10], 0
xor edi, edi
cmp cx, word [eax + 0x2a]
jge 0x4f67e6
mov dword [ebp - 0x40], ecx
jmp 0x4f66c3
mov edx, dword [ebp - 4]
movsx eax, word [eax + 0x28]
cmp edi, eax
jne 0x4f66d9
push esi
push 0x49
push edx
call fcn.00507de0
jmp 0x4f67c6
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
add ecx, eax
mov dword [ebp - 0x60], ecx
movzx eax, word [ecx + 0x10]
test al, 0x62
je 0x4f672a
inc dword [ebp + 0x10]
test al, 0x20
je 0x4f66f9
dec esi
jmp 0x4f67c9
test al, 0x40
je 0x4f6715
test byte [ebp - 0x64], 1
je 0x4f67c9
push esi
push 0x49
push edx
call fcn.00507de0
jmp 0x4f67c6
cmp dword [ebp + 0x14], 0
jne 0x4f6730
push esi
push dword [ecx + 4]
push ebx
call fcn.004eb760
jmp 0x4f67c6
cmp dword [ebp + 0x14], 0
je 0x4f6763
mov edx, dword [ebp + 0x14]
xor eax, eax
mov edx, dword [edx + 4]
test edx, edx
jle 0x4f6753
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
add ecx, 4
cmp dword [ecx], edi
je 0x4f6750
inc eax
add ecx, 8
cmp eax, edx
jl 0x4f6744
mov ecx, dword [ebp - 0x60]
cmp eax, edx
jl 0x4f677a
push esi
push dword [ecx + 4]
push ebx
call fcn.004eb760
jmp 0x4f67c6
cmp dword [ebp - 0x14], 0
jne 0x4f6775
push esi
push dword [ecx + 4]
push ebx
call fcn.004eb760
jmp 0x4f67c6
mov eax, edi
sub eax, dword [ebp + 0x10]
cmp byte [ebp - 0xd], 0
je 0x4f6794
push esi
push eax
push dword [ebp - 0x20]
push 0x59
push dword [ebp - 4]
call fcn.00507ea0
add esp, 0x14
jmp 0x4f67c9
cmp dword [ebp - 0xc], 0
je 0x4f67b5
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x28]
je 0x4f67c9
push esi
add eax, ecx
push eax
push 0x4e
push dword [ebp - 4]
call fcn.00507e40
add esp, 0x10
jmp 0x4f67c9
mov ecx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
push esi
push dword [ecx + eax*4 + 4]
push ebx
call fcn.004eb490
add esp, 0xc
mov eax, dword [ebp - 8]
inc edi
mov ecx, dword [ebp - 0x40]
inc esi
add ecx, 0x14
mov dword [ebp - 0x40], ecx
movsx eax, word [eax + 0x2a]
cmp edi, eax
mov eax, dword [ebp - 8]
jl 0x4f66c0
dec dword [ebx + 0x38]
test byte [ebp - 0x64], 1
mov edi, dword [ebx + 0x38]
mov dword [ebp + 0x10], edi
je 0x4f6987
movsx eax, word [eax + 0x2a]
inc eax
push eax
push ebx
call fcn.004f4490
add esp, 8
mov esi, eax
mov eax, dword [ebp - 0x1c]
push esi
test eax, eax
jns 0x4f6826
push 0xffffffffffffffff
push 0x45
push dword [ebp - 4]
call fcn.00507e40
add esp, 0x10
jmp 0x4f68a8
cmp byte [ebp - 0xd], 0
je 0x4f683f
push eax
push dword [ebp - 0x20]
push 0x59
push dword [ebp - 4]
call fcn.00507ea0
add esp, 0x14
jmp 0x4f6852
mov ecx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 4]
push ebx
call fcn.004eb490
add esp, 0xc
push esi
push 0x33
push dword [ebp - 4]
call fcn.00507de0
push esi
push 0xffffffffffffffff
push 0x45
push dword [ebp - 4]
mov edi, eax
call fcn.00507e40
mov eax, dword [ebp - 4]
add esp, 0x1c
mov edx, dword [eax + 0x6c]
test edi, edi
jns 0x4f687c
lea edi, [edx - 1]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x4f688b
mov eax, 0x5b9dd4
jmp 0x4f6897
mov eax, dword [ebp - 4]
lea ecx, [edi + edi*4]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
push esi
push 0xf
push dword [ebp - 4]
mov dword [eax + 8], edx
call fcn.00507de0
add esp, 0xc
mov eax, dword [ebp - 8]
lea edi, [esi + 1]
movsx edx, word [eax + 0x2c]
mov eax, dword [ebp - 4]
dec edx
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x4f68d0
push edx
push edi
push dword [ebp - 0x28]
push 0x4d
push eax
call fcn.004cfc90
add esp, 0x14
jmp 0x4f6902
mov ebx, dword [ebp - 4]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [ebx + 0x6c], eax
mov eax, ebx
mov ebx, dword [ebp - 0x28]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [ebp + 8]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp - 8]
test byte [eax + 0x24], 0x60
je 0x4f6919
push eax
push edi
push ebx
call fcn.004e76e0
mov eax, dword [ebp - 8]
add esp, 0xc
cmp dword [ebp - 0x68], 0
jne 0x4f692c
push edi
push eax
push dword [ebp - 4]
call fcn.00504c20
add esp, 0xc
mov edx, dword [ebp - 8]
mov ecx, esi
mov edi, dword [ebp + 0x10]
push edi
push dword [ebp + 0x18]
movsx eax, word [edx + 0x2a]
sub ecx, eax
dec ecx
push ecx
push edx
push 1
push 0
push 0x7d
push dword [ebp - 0x3c]
push ebx
call fcn.004e6a20
mov ecx, dword [ebp - 8]
add esp, 0x24
movsx eax, word [ecx + 0x2a]
inc eax
cmp eax, 1
jne 0x4f697a
test esi, esi
je 0x4f698a
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4f698a
movzx eax, al
mov dword [ebx + eax*4 + 0x94], esi
inc byte [ebx + 0x13]
jmp 0x4f698a
cmp eax, dword [ebx + 0x1c]
jle 0x4f698a
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], esi
jmp 0x4f698a
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x68], 0
jne 0x4f6be9
mov ecx, dword [ecx + 0x38]
mov esi, dword [ebp - 4]
test ecx, ecx
je 0x4f69b4
push dword [ebp - 0x38]
push 0
push 0x48
push esi
call fcn.00507e40
mov eax, dword [ebp - 8]
add esp, 0x10
mov ecx, dword [eax + 0x38]
mov eax, dword [ebp - 0x1c]
test eax, eax
js 0x4f6a88
cmp byte [ebp - 0xd], 0
je 0x4f69d9
push dword [ebp - 0x18]
push eax
push dword [ebp - 0x20]
push 0x59
push esi
call fcn.00507ea0
add esp, 0x14
jmp 0x4f6a1d
cmp dword [ebp - 0xc], 0
jne 0x4f6a1d
mov edx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 4]
cmp byte [eax], 0x77
jne 0x4f6a10
test ecx, ecx
jne 0x4f6a10
push dword [ebp - 0x4c]
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push 0x78
push esi
call fcn.00507ea0
add esp, 0x14
mov esi, 1
jmp 0x4f6abe
push dword [ebp - 0x18]
push eax
push ebx
call fcn.004eb490
add esp, 0xc
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
jne 0x4f6a63
push dword [ebp - 0x18]
push 0x33
push esi
call fcn.00507de0
push dword [ebp - 0x4c]
mov esi, eax
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push 0x78
push dword [ebp - 4]
call fcn.00507ea0
push esi
mov esi, dword [ebp - 4]
push esi
call fcn.00510210
add esp, 0x28
push dword [ebp - 0x18]
push 0xf
push esi
call fcn.00507de0
add esp, 0xc
jmp 0x4f6abc
mov eax, dword [esi + 0x6c]
add eax, 2
push eax
push dword [ebp - 0x18]
push 0x32
push esi
call fcn.00507e40
add esp, 0x10
push dword [ebp - 0x18]
push 0xf
push esi
call fcn.00507de0
add esp, 0xc
jmp 0x4f6abc
test ecx, ecx
jne 0x4f6aac
cmp byte [ebp - 0x74], cl
jne 0x4f6aac
push dword [ebp - 0x4c]
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push 0x78
push esi
call fcn.00507ea0
add esp, 0x14
mov esi, 1
jmp 0x4f6abe
push dword [ebp - 0x18]
push 0
push 0x48
push esi
call fcn.00507e40
add esp, 0x10
xor esi, esi
mov eax, dword [ebp - 0x4c]
test eax, eax
jle 0x4f6ad9
push dword [ebp - 0x18]
push eax
push 0x97
push dword [ebx + 8]
call fcn.00507e40
add esp, 0x10
mov ecx, dword [ebp - 8]
test byte [ecx + 0x24], 0x60
je 0x4f6af2
push ecx
push dword [ebp - 0x28]
push ebx
call fcn.004e76e0
mov ecx, dword [ebp - 8]
add esp, 0xc
cmp dword [ecx + 0x38], 0
je 0x4f6b6e
mov esi, dword [ecx + 0x40]
test esi, esi
je 0x4f6b0d
mov eax, dword [ebp - 0x5c]
cmp dword [esi], eax
je 0x4f6b0d
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4f6b02
push ecx
push ebx
call fcn.00513d90
mov eax, dword [ebp - 8]
push 0xfffffffffffffff4
push esi
push dword [ebp - 0x38]
movsx eax, word [eax + 0x2a]
mov esi, dword [ebp - 4]
add eax, 2
push eax
push 1
push 0xa
push esi
call fcn.00507ef0
mov eax, dword [esi + 0x6c]
add esp, 0x24
test eax, eax
jle 0x4f6b5b
mov ecx, dword [ebp + 0x18]
cmp ecx, 0xb
movzx edx, cx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [ebp + 8], 2
cmove edx, dword [ebp + 8]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebx + 0x74]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
jmp 0x4f6bec
mov eax, dword [ebp + 0x1c]
push eax
push 0
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 0x1c]
push edi
push dword [ebp + 0x18]
shr eax, 0x1f
xor al, 1
movzx eax, al
push eax
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x50]
push dword [ebp - 0x2c]
push dword [ebp - 0x34]
push ecx
push ebx
call fcn.004f1990
push 0
push 0
push dword [ebp - 0x38]
push 0
push dword [ebp - 8]
push ebx
call fcn.004f0bb0
add esp, 0x4c
cmp dword [ebp + 8], 0
je 0x4f6bc8
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd8], 0
je 0x4f6bc8
xor eax, eax
jmp 0x4f6bcd
mov eax, 1
push eax
push esi
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x50]
push dword [ebp - 0x2c]
push dword [ebp - 8]
push ebx
call fcn.004e74c0
add esp, 0x24
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4f6c01
push 1
push eax
push 0x52
push esi
call fcn.00507e40
add esp, 0x10
cmp dword [ebp - 0x3c], 0
je 0x4f6c2e
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x28]
push edi
push dword [ebp + 0x18]
movsx eax, word [ecx + 0x2a]
sub edx, eax
sub edx, 2
push edx
push ecx
push 2
push 0
push 0x7d
push dword [ebp - 0x3c]
push ebx
call fcn.004e6a20
add esp, 0x24
mov ecx, dword [esi + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f6c48
push edi
push esi
push ecx
call fcn.004dbf20
add esp, 0xc
jmp 0x4f6c51
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edi*4], eax
cmp byte [ebp - 0xd], 0
je 0x4f6cb0
push dword [ebp - 0x54]
mov edi, dword [ebp - 0x20]
push edi
push 5
push esi
call fcn.00507e40
mov eax, dword [esi]
add esp, 0x10
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4f6c8a
mov eax, 0x5b9dd4
push edi
push 0x74
push esi
mov dword [eax + 8], edx
call fcn.00507de0
add esp, 0xc
jmp 0x4f6ceb
mov ecx, dword [ebp - 0x58]
lea eax, [edx - 1]
test ecx, ecx
push edi
cmovns eax, ecx
push 0x74
push esi
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
call fcn.00507de0
add esp, 0xc
jmp 0x4f6ceb
cmp dword [ebp - 0xc], 0
je 0x4f6ceb
push dword [ebp - 0x54]
push esi
call fcn.0050fda0
mov eax, dword [esi]
add esp, 8
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4f6cd4
mov eax, 0x5b9dd4
jmp 0x4f6ce8
mov ecx, dword [ebp - 0x58]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp byte [ebx + 0x12], 0
jne 0x4f6d06
cmp dword [ebx + 0x78], 0
jne 0x4f6d06
cmp dword [ebx + 0x70], 0
je 0x4f6d06
push ebx
call fcn.004be4d0
add esp, 4
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4f610c
push 1
push eax
push 0x50
push esi
call fcn.00507e40
push 1
push esi
call fcn.00512c70
mov eax, dword [esi]
add esp, 0x18
cmp byte [eax + 0x51], 0
jne 0x4f610c
mov esi, dword [esi + 0x74]
mov eax, 0x2400
test word [esi + 8], ax
jne 0x4f6d47
cmp dword [esi + 0x18], 0
je 0x4f6d50
push esi
call fcn.0051f6e0
add esp, 4
mov eax, 0xa02
mov dword [esi + 0x10], str.rows_inserted
mov dword [esi + 0x24], 0
mov dword [esi + 0xc], 0xd
mov word [esi + 8], ax
mov byte [esi + 0xa], 1
jmp 0x4f610c
mov esi, dword [ebp + 0x10]
jmp 0x4f6115