Function at 0x4f55a0
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 0x4f6527
cmp byte [esi + 0x51], 0
jne 0x4f6527
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4f565d
test dword [eax + 4], 0x200
je 0x4f565d
cmp dword [eax + 0x34], 0
jne 0x4f565d
mov ecx, dword [eax + 0x1c]
push eax
push esi
mov dword [ebp - 0x30], ecx
mov dword [eax + 0x1c], 0
call fcn.00502ab0
add esp, 8
mov dword [ebp - 0xc], 0
push dword [ebp + 0xc]
push ebx
call fcn.00503aa0
mov edi, eax
add esp, 8
mov dword [ebp - 8], edi
test edi, edi
je 0x4f58bc
push dword [edi + 0x48]
push esi
call fcn.00500560
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.004e1320
add esp, 0x1c
test eax, eax
jne 0x4f58bc
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.00504900
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0xc]
push edi
push ebx
mov dword [ebp - 0x68], eax
call fcn.00512f20
add esp, 0x1c
test eax, eax
jne 0x4f58bc
push dword [ebp - 0x64]
push edi
push ebx
call fcn.004f66a0
add esp, 0xc
test eax, eax
jne 0x4f58bc
push ebx
call fcn.004f45e0
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
test esi, esi
je 0x4f58bc
cmp byte [ebx + 0x12], 0
jne 0x4f5713
or dword [esi + 0x98], 0x20
cmp dword [ebp - 0xc], 0
jne 0x4f5723
cmp dword [ebp - 0x3c], 0
jne 0x4f5723
xor eax, eax
jmp 0x4f5728
mov eax, 1
push dword [ebp - 0x44]
push eax
push ebx
call fcn.004e1bc0
add esp, 0xc
cmp dword [ebp + 0x14], 0
jne 0x4f5756
push dword [ebp - 0x44]
push dword [ebp + 0x18]
push dword [ebp - 0xc]
push edi
push ebx
call fcn.0052c1b0
add esp, 0x14
test eax, eax
jne 0x4f649b
push edi
push dword [ebp - 0x44]
push ebx
call fcn.004bdb90
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 0x4f578e
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 0x4f5991
mov eax, dword [edx + 4]
xor ecx, ecx
test eax, eax
jle 0x4f57c5
mov eax, dword [edx]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
mov eax, dword [edx + 4]
cmp ecx, eax
jl 0x4f57b3
xor ecx, ecx
mov dword [ebp - 0x14], ecx
test eax, eax
jle 0x4f5991
movzx eax, word [edi + 0x2a]
mov dword [ebp - 0x60], eax
nop dword [eax]
cwde
xor esi, esi
test eax, eax
jle 0x4f5856
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.00504330
add esp, 8
test eax, eax
je 0x4f5815
mov ecx, dword [ebp - 0x60]
inc esi
movsx eax, cx
add edi, 0x14
cmp esi, eax
mov eax, dword [ebp - 0x70]
jl 0x4f57f2
jmp 0x4f584d
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 0x4f58a8
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 0x4f588e
mov eax, dword [edx]
mov esi, dword [eax + ecx*8]
push esi
call fcn.004f6750
add esp, 4
test eax, eax
je 0x4f5974
cmp byte [ebp - 0x74], 0
jne 0x4f5974
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 0x4f5991
mov edi, dword [ebp - 8]
jmp 0x4f57e0
lea eax, [esi + esi*4]
push dword [edx + eax*4]
push str.cannot_INSERT_into_generated_column___s_
push ebx
call fcn.004ea2c0
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.005034e0
mov eax, dword [ebp - 0x30]
add esp, 8
test eax, eax
je 0x4f58e3
push eax
push ebx
call fcn.004ca040
add esp, 8
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4f5942
mov eax, dword [eax]
test eax, eax
je 0x4f58fa
push eax
push ebx
call fcn.004ca040
add esp, 8
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 4]
test eax, eax
je 0x4f590e
push eax
push ebx
call fcn.004ed570
add esp, 8
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 8]
test eax, eax
je 0x4f5922
push eax
push ebx
call fcn.004ca040
add esp, 8
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4f5936
push eax
push ebx
call fcn.004ed570
add esp, 8
push dword [ebp + 0x1c]
push ebx
call fcn.004e85c0
add esp, 8
test esi, esi
je 0x4f5952
push 1
push esi
push ebx
call fcn.004c2610
add esp, 0xc
push edi
push ebx
call fcn.004f4ad0
mov eax, dword [ebp - 0x34]
add esp, 8
test eax, eax
je 0x4f596d
push eax
push ebx
call fcn.004e85c0
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.004ea2c0
add esp, 0x14
mov byte [ebx + 0x11], 1
jmp 0x4f58bc
cmp dword [ebp - 0xc], 0
je 0x4f5bba
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.00507670
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.005005a0
mov ecx, dword [ebp - 0x84]
add esp, 0x20
mov dword [ebp - 0x48], ecx
test eax, eax
jne 0x4f58bc
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0x51], 0
jne 0x4f58bc
cmp dword [ebx + 0x24], 0
jne 0x4f58bc
push esi
mov esi, dword [ebp - 4]
push esi
call fcn.00508040
push edi
push esi
call fcn.0050f9e0
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 0x4f5b1c
mov eax, dword [ebx + 8]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x4f5a6e
cmp dword [ebx + 0x74], eax
jne 0x4f5a62
mov eax, dword [ebx]
test byte [eax + 0x4c], 8
jne 0x4f5a62
mov byte [ebx + 0x17], 1
push ebx
call fcn.00507e50
add esp, 4
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 8]
mov ecx, dword [eax + 0x6c]
cmp dword [edx + 0x38], 0
je 0x4f5a93
mov edx, dword [edx + 0x40]
test edx, edx
je 0x4f5a95
mov eax, dword [ebx]
cmp dword [edx], eax
je 0x4f5a8e
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x4f5a83
mov eax, dword [ebp - 0x24]
jmp 0x4f5a95
xor edx, edx
mov edi, 1
cmp ecx, edi
jle 0x4f5b0b
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 0x4f5abb
mov eax, 0x5b8cd4
jmp 0x4f5ac7
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 0x4f5af6
mov ecx, dword [ebp - 0x44]
cmp dword [eax + 0xc], ecx
jne 0x4f5b00
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 8]
cmp ecx, dword [eax + 0x1c]
je 0x4f5b1c
mov eax, dword [eax + 8]
test eax, eax
je 0x4f5b00
cmp ecx, dword [eax + 0x2c]
je 0x4f5b1c
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4f5ae8
jmp 0x4f5b00
cmp cl, 0xa5
jne 0x4f5b00
cmp dword [eax + 0x10], edx
je 0x4f5b1c
mov eax, dword [ebp - 0x24]
inc edi
mov ecx, dword [eax + 0x6c]
cmp edi, ecx
jl 0x4f5aa6
mov eax, dword [ebp - 0x88]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
jmp 0x4f5c03
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.004f3ca0
push ebx
mov edi, eax
call fcn.004f3ca0
push dword [ebp - 0x14]
mov ebx, eax
push edx
push 0x64
push esi
call fcn.00507610
mov eax, dword [ebp - 0x88]
push eax
push 0xe
push esi
mov dword [ebp - 0x24], eax
call fcn.005075b0
push edi
push dword [ebp - 0x14]
mov esi, eax
push dword [ebp - 0x48]
push 0x5b
push dword [ebp - 4]
call fcn.00507670
push ebx
push dword [ebp - 0x20]
push 0x78
push dword [ebp - 4]
call fcn.00507610
add esp, 0x48
push ebx
push edi
push dword [ebp - 0x20]
push 0x79
push dword [ebp - 4]
call fcn.00507670
push esi
push dword [ebp - 4]
call fcn.0050f570
push esi
push dword [ebp - 4]
call fcn.0050f9e0
push edi
push dword [ebp + 8]
call fcn.004fe960
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.004fe960
mov esi, dword [ebp - 0x14]
add esp, 0x34
jmp 0x4f5c03
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 0x4f5bfe
mov esi, dword [eax]
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x14], esi
push eax
call fcn.004fee30
add esp, 8
test eax, eax
jne 0x4f58bc
jmp 0x4f5c03
xor esi, esi
mov dword [ebp - 0x14], esi
cmp dword [ebp + 0x14], 0
mov edi, dword [ebp - 8]
jne 0x4f5c50
test esi, esi
jle 0x4f5c50
movsx eax, word [edi + 0x28]
mov dword [ebp - 0x1c], eax
test eax, eax
js 0x4f5c50
test byte [edi + 0x24], 0x60
je 0x4f5c50
lea edx, [eax - 1]
test edx, edx
js 0x4f5c50
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 0x4f5c37
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp + 8]
movsx esi, word [edi + 0x2a]
test esi, esi
jle 0x4f5c7b
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 0x4f5c62
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
test eax, eax
jne 0x4f5ca9
test edx, edx
je 0x4f5cc5
sub esi, dword [ebp - 0x40]
cmp edx, esi
je 0x4f5cc5
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.004ea2c0
add esp, 0x18
jmp 0x4f58bc
mov eax, dword [eax + 4]
cmp edx, eax
je 0x4f5cc5
push eax
push edx
push str._d_values_for__d_columns
push ebx
call fcn.004ea2c0
add esp, 0x10
jmp 0x4f58bc
mov esi, dword [ebp - 0x5c]
xor eax, eax
mov ecx, dword [esi + 0x24]
and ecx, 1
or eax, ecx
je 0x4f5cf9
cmp byte [ebx + 0x12], 0
jne 0x4f5cf9
cmp dword [ebx + 0x78], 0
jne 0x4f5cf9
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.00507610
add esp, 0x10
cmp dword [ebp - 0x68], 0
jne 0x4f5d73
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.004f88b0
mov edi, eax
push 0
lea eax, [edi*4 + 8]
push eax
push esi
call fcn.004e8630
mov ecx, eax
add esp, 0x2c
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x4f58bc
mov eax, dword [ebp - 8]
xor edx, edx
mov esi, dword [eax + 8]
test edi, edi
jle 0x4f5d66
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 0x4f5d44
jmp 0x4f5d69
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 0x4f5de5
cmp dword [edi + 0x38], 0
je 0x4f5d8c
push dword [edi]
push str.UPSERT_not_implemented_for_virtual_table___s_
jmp 0x4f58b3
cmp dword [edi + 0xc], 0
je 0x4f5da5
push str.cannot_UPSERT_a_view
push ebx
call fcn.004ea2c0
add esp, 8
jmp 0x4f58bc
push dword [esi]
push ebx
call fcn.004f4690
add esp, 8
test eax, eax
jne 0x4f58bc
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 0x4f5de8
push esi
push ecx
push ebx
call fcn.00506ad0
add esp, 0xc
jmp 0x4f5de8
mov edi, dword [ebp - 0x28]
cmp byte [ebp - 0xd], 0
je 0x4f5e0c
push dword [ebp - 0x20]
push 0x25
push dword [ebp - 4]
call fcn.005075b0
mov edx, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0x58], eax
mov eax, dword [edx + 0x6c]
mov dword [ebp - 0x54], eax
jmp 0x4f5e49
cmp dword [ebp - 0xc], 0
je 0x4f5e46
push dword [ebp - 0x24]
mov esi, dword [ebp - 4]
push 0xe
push esi
call fcn.005075b0
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 0x4f5e46
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x48]
add ecx, eax
push ecx
push 0x4d
push esi
call fcn.00507610
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 0x4f5f96
mov dword [ebp - 0x40], ecx
jmp 0x4f5e73
mov edx, dword [ebp - 4]
movsx eax, word [eax + 0x28]
cmp edi, eax
jne 0x4f5e89
push esi
push 0x49
push edx
call fcn.005075b0
jmp 0x4f5f76
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 0x4f5eda
inc dword [ebp + 0x10]
test al, 0x20
je 0x4f5ea9
dec esi
jmp 0x4f5f79
test al, 0x40
je 0x4f5ec5
test byte [ebp - 0x64], 1
je 0x4f5f79
push esi
push 0x49
push edx
call fcn.005075b0
jmp 0x4f5f76
cmp dword [ebp + 0x14], 0
jne 0x4f5ee0
push esi
push dword [ecx + 4]
push ebx
call fcn.004eaf10
jmp 0x4f5f76
cmp dword [ebp + 0x14], 0
je 0x4f5f13
mov edx, dword [ebp + 0x14]
xor eax, eax
mov edx, dword [edx + 4]
test edx, edx
jle 0x4f5f03
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
add ecx, 4
cmp dword [ecx], edi
je 0x4f5f00
inc eax
add ecx, 8
cmp eax, edx
jl 0x4f5ef4
mov ecx, dword [ebp - 0x60]
cmp eax, edx
jl 0x4f5f2a
push esi
push dword [ecx + 4]
push ebx
call fcn.004eaf10
jmp 0x4f5f76
cmp dword [ebp - 0x14], 0
jne 0x4f5f25
push esi
push dword [ecx + 4]
push ebx
call fcn.004eaf10
jmp 0x4f5f76
mov eax, edi
sub eax, dword [ebp + 0x10]
cmp byte [ebp - 0xd], 0
je 0x4f5f44
push esi
push eax
push dword [ebp - 0x20]
push 0x59
push dword [ebp - 4]
call fcn.00507670
add esp, 0x14
jmp 0x4f5f79
cmp dword [ebp - 0xc], 0
je 0x4f5f65
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x28]
je 0x4f5f79
push esi
add eax, ecx
push eax
push 0x4e
push dword [ebp - 4]
call fcn.00507610
add esp, 0x10
jmp 0x4f5f79
mov ecx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
push esi
push dword [ecx + eax*4 + 4]
push ebx
call fcn.004eac40
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 0x4f5e70
dec dword [ebx + 0x38]
test byte [ebp - 0x64], 1
mov edi, dword [ebx + 0x38]
mov dword [ebp + 0x10], edi
je 0x4f6137
movsx eax, word [eax + 0x2a]
inc eax
push eax
push ebx
call fcn.004f3c40
add esp, 8
mov esi, eax
mov eax, dword [ebp - 0x1c]
push esi
test eax, eax
jns 0x4f5fd6
push 0xffffffffffffffff
push 0x45
push dword [ebp - 4]
call fcn.00507610
add esp, 0x10
jmp 0x4f6058
cmp byte [ebp - 0xd], 0
je 0x4f5fef
push eax
push dword [ebp - 0x20]
push 0x59
push dword [ebp - 4]
call fcn.00507670
add esp, 0x14
jmp 0x4f6002
mov ecx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 4]
push ebx
call fcn.004eac40
add esp, 0xc
push esi
push 0x33
push dword [ebp - 4]
call fcn.005075b0
push esi
push 0xffffffffffffffff
push 0x45
push dword [ebp - 4]
mov edi, eax
call fcn.00507610
mov eax, dword [ebp - 4]
add esp, 0x1c
mov edx, dword [eax + 0x6c]
test edi, edi
jns 0x4f602c
lea edi, [edx - 1]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x4f603b
mov eax, 0x5b8cd4
jmp 0x4f6047
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.005075b0
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 0x4f6080
push edx
push edi
push dword [ebp - 0x28]
push 0x4d
push eax
call fcn.004cf440
add esp, 0x14
jmp 0x4f60b2
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 0x4f60c9
push eax
push edi
push ebx
call fcn.004e6e90
mov eax, dword [ebp - 8]
add esp, 0xc
cmp dword [ebp - 0x68], 0
jne 0x4f60dc
push edi
push eax
push dword [ebp - 4]
call fcn.005043e0
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.004e61d0
mov ecx, dword [ebp - 8]
add esp, 0x24
movsx eax, word [ecx + 0x2a]
inc eax
cmp eax, 1
jne 0x4f612a
test esi, esi
je 0x4f613a
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4f613a
movzx eax, al
mov dword [ebx + eax*4 + 0x94], esi
inc byte [ebx + 0x13]
jmp 0x4f613a
cmp eax, dword [ebx + 0x1c]
jle 0x4f613a
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], esi
jmp 0x4f613a
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x68], 0
jne 0x4f6399
mov ecx, dword [ecx + 0x38]
mov esi, dword [ebp - 4]
test ecx, ecx
je 0x4f6164
push dword [ebp - 0x38]
push 0
push 0x48
push esi
call fcn.00507610
mov eax, dword [ebp - 8]
add esp, 0x10
mov ecx, dword [eax + 0x38]
mov eax, dword [ebp - 0x1c]
test eax, eax
js 0x4f6238
cmp byte [ebp - 0xd], 0
je 0x4f6189
push dword [ebp - 0x18]
push eax
push dword [ebp - 0x20]
push 0x59
push esi
call fcn.00507670
add esp, 0x14
jmp 0x4f61cd
cmp dword [ebp - 0xc], 0
jne 0x4f61cd
mov edx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 4]
cmp byte [eax], 0x77
jne 0x4f61c0
test ecx, ecx
jne 0x4f61c0
push dword [ebp - 0x4c]
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push 0x78
push esi
call fcn.00507670
add esp, 0x14
mov esi, 1
jmp 0x4f626e
push dword [ebp - 0x18]
push eax
push ebx
call fcn.004eac40
add esp, 0xc
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
jne 0x4f6213
push dword [ebp - 0x18]
push 0x33
push esi
call fcn.005075b0
push dword [ebp - 0x4c]
mov esi, eax
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push 0x78
push dword [ebp - 4]
call fcn.00507670
push esi
mov esi, dword [ebp - 4]
push esi
call fcn.0050f9e0
add esp, 0x28
push dword [ebp - 0x18]
push 0xf
push esi
call fcn.005075b0
add esp, 0xc
jmp 0x4f626c
mov eax, dword [esi + 0x6c]
add eax, 2
push eax
push dword [ebp - 0x18]
push 0x32
push esi
call fcn.00507610
add esp, 0x10
push dword [ebp - 0x18]
push 0xf
push esi
call fcn.005075b0
add esp, 0xc
jmp 0x4f626c
test ecx, ecx
jne 0x4f625c
cmp byte [ebp - 0x74], cl
jne 0x4f625c
push dword [ebp - 0x4c]
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push 0x78
push esi
call fcn.00507670
add esp, 0x14
mov esi, 1
jmp 0x4f626e
push dword [ebp - 0x18]
push 0
push 0x48
push esi
call fcn.00507610
add esp, 0x10
xor esi, esi
mov eax, dword [ebp - 0x4c]
test eax, eax
jle 0x4f6289
push dword [ebp - 0x18]
push eax
push 0x97
push dword [ebx + 8]
call fcn.00507610
add esp, 0x10
mov ecx, dword [ebp - 8]
test byte [ecx + 0x24], 0x60
je 0x4f62a2
push ecx
push dword [ebp - 0x28]
push ebx
call fcn.004e6e90
mov ecx, dword [ebp - 8]
add esp, 0xc
cmp dword [ecx + 0x38], 0
je 0x4f631e
mov esi, dword [ecx + 0x40]
test esi, esi
je 0x4f62bd
mov eax, dword [ebp - 0x5c]
cmp dword [esi], eax
je 0x4f62bd
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4f62b2
push ecx
push ebx
call fcn.00513570
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.005076c0
mov eax, dword [esi + 0x6c]
add esp, 0x24
test eax, eax
jle 0x4f630b
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 0x4f639c
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.004f1140
push 0
push 0
push dword [ebp - 0x38]
push 0
push dword [ebp - 8]
push ebx
call fcn.004f0360
add esp, 0x4c
cmp dword [ebp + 8], 0
je 0x4f6378
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd8], 0
je 0x4f6378
xor eax, eax
jmp 0x4f637d
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.004e6c70
add esp, 0x24
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4f63b1
push 1
push eax
push 0x52
push esi
call fcn.00507610
add esp, 0x10
cmp dword [ebp - 0x3c], 0
je 0x4f63de
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.004e61d0
add esp, 0x24
mov ecx, dword [esi + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f63f8
push edi
push esi
push ecx
call fcn.004db6e0
add esp, 0xc
jmp 0x4f6401
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edi*4], eax
cmp byte [ebp - 0xd], 0
je 0x4f6460
push dword [ebp - 0x54]
mov edi, dword [ebp - 0x20]
push edi
push 5
push esi
call fcn.00507610
mov eax, dword [esi]
add esp, 0x10
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4f643a
mov eax, 0x5b8cd4
push edi
push 0x74
push esi
mov dword [eax + 8], edx
call fcn.005075b0
add esp, 0xc
jmp 0x4f649b
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.005075b0
add esp, 0xc
jmp 0x4f649b
cmp dword [ebp - 0xc], 0
je 0x4f649b
push dword [ebp - 0x54]
push esi
call fcn.0050f570
mov eax, dword [esi]
add esp, 8
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4f6484
mov eax, 0x5b8cd4
jmp 0x4f6498
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 0x4f64b6
cmp dword [ebx + 0x78], 0
jne 0x4f64b6
cmp dword [ebx + 0x70], 0
je 0x4f64b6
push ebx
call fcn.004bdc80
add esp, 4
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4f58bc
push 1
push eax
push 0x50
push esi
call fcn.00507610
push 1
push esi
call fcn.00512440
mov eax, dword [esi]
add esp, 0x18
cmp byte [eax + 0x51], 0
jne 0x4f58bc
mov esi, dword [esi + 0x74]
mov eax, 0x2400
test word [esi + 8], ax
jne 0x4f64f7
cmp dword [esi + 0x18], 0
je 0x4f6500
push esi
call fcn.0051eec0
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 0x4f58bc
mov esi, dword [ebp + 0x10]
jmp 0x4f58c5