Function at 0x4f6ee0
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 0x4f7e67
cmp byte [esi + 0x51], 0
jne 0x4f7e67
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4f6f9d
test dword [eax + 4], 0x200
je 0x4f6f9d
cmp dword [eax + 0x34], 0
jne 0x4f6f9d
mov ecx, dword [eax + 0x1c]
push eax
push esi
mov dword [ebp - 0x30], ecx
mov dword [eax + 0x1c], 0
call fcn.005043e0
add esp, 8
mov dword [ebp - 0xc], 0
push dword [ebp + 0xc]
push ebx
call fcn.005053d0
mov edi, eax
add esp, 8
mov dword [ebp - 8], edi
test edi, edi
je 0x4f71fc
push dword [edi + 0x48]
push esi
call fcn.00501e90
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.004e2c50
add esp, 0x1c
test eax, eax
jne 0x4f71fc
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.00506230
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0xc]
push edi
push ebx
mov dword [ebp - 0x68], eax
call fcn.00514840
add esp, 0x1c
test eax, eax
jne 0x4f71fc
push dword [ebp - 0x64]
push edi
push ebx
call fcn.004f7fe0
add esp, 0xc
test eax, eax
jne 0x4f71fc
push ebx
call fcn.004f5f10
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
test esi, esi
je 0x4f71fc
cmp byte [ebx + 0x12], 0
jne 0x4f7053
or dword [esi + 0x98], 0x20
cmp dword [ebp - 0xc], 0
jne 0x4f7063
cmp dword [ebp - 0x3c], 0
jne 0x4f7063
xor eax, eax
jmp 0x4f7068
mov eax, 1
push dword [ebp - 0x44]
push eax
push ebx
call fcn.004e34f0
add esp, 0xc
cmp dword [ebp + 0x14], 0
jne 0x4f7096
push dword [ebp - 0x44]
push dword [ebp + 0x18]
push dword [ebp - 0xc]
push edi
push ebx
call fcn.0052dad0
add esp, 0x14
test eax, eax
jne 0x4f7ddb
push edi
push dword [ebp - 0x44]
push ebx
call fcn.004bf4d0
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 0x4f70ce
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 0x4f72d1
mov eax, dword [edx + 4]
xor ecx, ecx
test eax, eax
jle 0x4f7105
mov eax, dword [edx]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
mov eax, dword [edx + 4]
cmp ecx, eax
jl 0x4f70f3
xor ecx, ecx
mov dword [ebp - 0x14], ecx
test eax, eax
jle 0x4f72d1
movzx eax, word [edi + 0x2a]
mov dword [ebp - 0x60], eax
nop dword [eax]
cwde
xor esi, esi
test eax, eax
jle 0x4f7196
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.00505c60
add esp, 8
test eax, eax
je 0x4f7155
mov ecx, dword [ebp - 0x60]
inc esi
movsx eax, cx
add edi, 0x14
cmp esi, eax
mov eax, dword [ebp - 0x70]
jl 0x4f7132
jmp 0x4f718d
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 0x4f71e8
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 0x4f71ce
mov eax, dword [edx]
mov esi, dword [eax + ecx*8]
push esi
call fcn.004f8090
add esp, 4
test eax, eax
je 0x4f72b4
cmp byte [ebp - 0x74], 0
jne 0x4f72b4
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 0x4f72d1
mov edi, dword [ebp - 8]
jmp 0x4f7120
lea eax, [esi + esi*4]
push dword [edx + eax*4]
push str.cannot_INSERT_into_generated_column___s_
push ebx
call fcn.004ebbf0
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.00504e10
mov eax, dword [ebp - 0x30]
add esp, 8
test eax, eax
je 0x4f7223
push eax
push ebx
call fcn.004cb980
add esp, 8
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4f7282
mov eax, dword [eax]
test eax, eax
je 0x4f723a
push eax
push ebx
call fcn.004cb980
add esp, 8
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 4]
test eax, eax
je 0x4f724e
push eax
push ebx
call fcn.004eeea0
add esp, 8
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 8]
test eax, eax
je 0x4f7262
push eax
push ebx
call fcn.004cb980
add esp, 8
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4f7276
push eax
push ebx
call fcn.004eeea0
add esp, 8
push dword [ebp + 0x1c]
push ebx
call fcn.004e9ef0
add esp, 8
test esi, esi
je 0x4f7292
push 1
push esi
push ebx
call fcn.004c3f50
add esp, 0xc
push edi
push ebx
call fcn.004f6410
mov eax, dword [ebp - 0x34]
add esp, 8
test eax, eax
je 0x4f72ad
push eax
push ebx
call fcn.004e9ef0
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.004ebbf0
add esp, 0x14
mov byte [ebx + 0x11], 1
jmp 0x4f71fc
cmp dword [ebp - 0xc], 0
je 0x4f74fa
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.00508f90
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.00501ed0
mov ecx, dword [ebp - 0x84]
add esp, 0x20
mov dword [ebp - 0x48], ecx
test eax, eax
jne 0x4f71fc
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0x51], 0
jne 0x4f71fc
cmp dword [ebx + 0x24], 0
jne 0x4f71fc
push esi
mov esi, dword [ebp - 4]
push esi
call fcn.00509960
push edi
push esi
call fcn.00511310
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 0x4f745c
mov eax, dword [ebx + 8]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x4f73ae
cmp dword [ebx + 0x74], eax
jne 0x4f73a2
mov eax, dword [ebx]
test byte [eax + 0x4c], 8
jne 0x4f73a2
mov byte [ebx + 0x17], 1
push ebx
call fcn.00509770
add esp, 4
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 8]
mov ecx, dword [eax + 0x6c]
cmp dword [edx + 0x38], 0
je 0x4f73d3
mov edx, dword [edx + 0x40]
test edx, edx
je 0x4f73d5
mov eax, dword [ebx]
cmp dword [edx], eax
je 0x4f73ce
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x4f73c3
mov eax, dword [ebp - 0x24]
jmp 0x4f73d5
xor edx, edx
mov edi, 1
cmp ecx, edi
jle 0x4f744b
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 0x4f73fb
mov eax, 0x5bad84
jmp 0x4f7407
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 0x4f7436
mov ecx, dword [ebp - 0x44]
cmp dword [eax + 0xc], ecx
jne 0x4f7440
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 8]
cmp ecx, dword [eax + 0x1c]
je 0x4f745c
mov eax, dword [eax + 8]
test eax, eax
je 0x4f7440
cmp ecx, dword [eax + 0x2c]
je 0x4f745c
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4f7428
jmp 0x4f7440
cmp cl, 0xa5
jne 0x4f7440
cmp dword [eax + 0x10], edx
je 0x4f745c
mov eax, dword [ebp - 0x24]
inc edi
mov ecx, dword [eax + 0x6c]
cmp edi, ecx
jl 0x4f73e6
mov eax, dword [ebp - 0x88]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
jmp 0x4f7543
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.004f55d0
push ebx
mov edi, eax
call fcn.004f55d0
push dword [ebp - 0x14]
mov ebx, eax
push edx
push 0x64
push esi
call fcn.00508f30
mov eax, dword [ebp - 0x88]
push eax
push 0xe
push esi
mov dword [ebp - 0x24], eax
call fcn.00508ed0
push edi
push dword [ebp - 0x14]
mov esi, eax
push dword [ebp - 0x48]
push 0x5b
push dword [ebp - 4]
call fcn.00508f90
push ebx
push dword [ebp - 0x20]
push 0x78
push dword [ebp - 4]
call fcn.00508f30
add esp, 0x48
push ebx
push edi
push dword [ebp - 0x20]
push 0x79
push dword [ebp - 4]
call fcn.00508f90
push esi
push dword [ebp - 4]
call fcn.00510ea0
push esi
push dword [ebp - 4]
call fcn.00511310
push edi
push dword [ebp + 8]
call fcn.00500290
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.00500290
mov esi, dword [ebp - 0x14]
add esp, 0x34
jmp 0x4f7543
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 0x4f753e
mov esi, dword [eax]
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x14], esi
push eax
call fcn.00500760
add esp, 8
test eax, eax
jne 0x4f71fc
jmp 0x4f7543
xor esi, esi
mov dword [ebp - 0x14], esi
cmp dword [ebp + 0x14], 0
mov edi, dword [ebp - 8]
jne 0x4f7590
test esi, esi
jle 0x4f7590
movsx eax, word [edi + 0x28]
mov dword [ebp - 0x1c], eax
test eax, eax
js 0x4f7590
test byte [edi + 0x24], 0x60
je 0x4f7590
lea edx, [eax - 1]
test edx, edx
js 0x4f7590
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 0x4f7577
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp + 8]
movsx esi, word [edi + 0x2a]
test esi, esi
jle 0x4f75bb
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 0x4f75a2
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
test eax, eax
jne 0x4f75e9
test edx, edx
je 0x4f7605
sub esi, dword [ebp - 0x40]
cmp edx, esi
je 0x4f7605
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.004ebbf0
add esp, 0x18
jmp 0x4f71fc
mov eax, dword [eax + 4]
cmp edx, eax
je 0x4f7605
push eax
push edx
push str._d_values_for__d_columns
push ebx
call fcn.004ebbf0
add esp, 0x10
jmp 0x4f71fc
mov esi, dword [ebp - 0x5c]
xor eax, eax
mov ecx, dword [esi + 0x24]
and ecx, 1
or eax, ecx
je 0x4f7639
cmp byte [ebx + 0x12], 0
jne 0x4f7639
cmp dword [ebx + 0x78], 0
jne 0x4f7639
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.00508f30
add esp, 0x10
cmp dword [ebp - 0x68], 0
jne 0x4f76b3
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.004fa1f0
mov edi, eax
push 0
lea eax, [edi*4 + 8]
push eax
push esi
call fcn.004e9f60
mov ecx, eax
add esp, 0x2c
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x4f71fc
mov eax, dword [ebp - 8]
xor edx, edx
mov esi, dword [eax + 8]
test edi, edi
jle 0x4f76a6
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 0x4f7684
jmp 0x4f76a9
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 0x4f7725
cmp dword [edi + 0x38], 0
je 0x4f76cc
push dword [edi]
push str.UPSERT_not_implemented_for_virtual_table___s_
jmp 0x4f71f3
cmp dword [edi + 0xc], 0
je 0x4f76e5
push str.cannot_UPSERT_a_view
push ebx
call fcn.004ebbf0
add esp, 8
jmp 0x4f71fc
push dword [esi]
push ebx
call fcn.004f5fd0
add esp, 8
test eax, eax
jne 0x4f71fc
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 0x4f7728
push esi
push ecx
push ebx
call fcn.005083f0
add esp, 0xc
jmp 0x4f7728
mov edi, dword [ebp - 0x28]
cmp byte [ebp - 0xd], 0
je 0x4f774c
push dword [ebp - 0x20]
push 0x25
push dword [ebp - 4]
call fcn.00508ed0
mov edx, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0x58], eax
mov eax, dword [edx + 0x6c]
mov dword [ebp - 0x54], eax
jmp 0x4f7789
cmp dword [ebp - 0xc], 0
je 0x4f7786
push dword [ebp - 0x24]
mov esi, dword [ebp - 4]
push 0xe
push esi
call fcn.00508ed0
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 0x4f7786
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x48]
add ecx, eax
push ecx
push 0x4d
push esi
call fcn.00508f30
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 0x4f78d6
mov dword [ebp - 0x40], ecx
jmp 0x4f77b3
mov edx, dword [ebp - 4]
movsx eax, word [eax + 0x28]
cmp edi, eax
jne 0x4f77c9
push esi
push 0x49
push edx
call fcn.00508ed0
jmp 0x4f78b6
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 0x4f781a
inc dword [ebp + 0x10]
test al, 0x20
je 0x4f77e9
dec esi
jmp 0x4f78b9
test al, 0x40
je 0x4f7805
test byte [ebp - 0x64], 1
je 0x4f78b9
push esi
push 0x49
push edx
call fcn.00508ed0
jmp 0x4f78b6
cmp dword [ebp + 0x14], 0
jne 0x4f7820
push esi
push dword [ecx + 4]
push ebx
call fcn.004ec840
jmp 0x4f78b6
cmp dword [ebp + 0x14], 0
je 0x4f7853
mov edx, dword [ebp + 0x14]
xor eax, eax
mov edx, dword [edx + 4]
test edx, edx
jle 0x4f7843
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
add ecx, 4
cmp dword [ecx], edi
je 0x4f7840
inc eax
add ecx, 8
cmp eax, edx
jl 0x4f7834
mov ecx, dword [ebp - 0x60]
cmp eax, edx
jl 0x4f786a
push esi
push dword [ecx + 4]
push ebx
call fcn.004ec840
jmp 0x4f78b6
cmp dword [ebp - 0x14], 0
jne 0x4f7865
push esi
push dword [ecx + 4]
push ebx
call fcn.004ec840
jmp 0x4f78b6
mov eax, edi
sub eax, dword [ebp + 0x10]
cmp byte [ebp - 0xd], 0
je 0x4f7884
push esi
push eax
push dword [ebp - 0x20]
push 0x59
push dword [ebp - 4]
call fcn.00508f90
add esp, 0x14
jmp 0x4f78b9
cmp dword [ebp - 0xc], 0
je 0x4f78a5
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x28]
je 0x4f78b9
push esi
add eax, ecx
push eax
push 0x4e
push dword [ebp - 4]
call fcn.00508f30
add esp, 0x10
jmp 0x4f78b9
mov ecx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
push esi
push dword [ecx + eax*4 + 4]
push ebx
call fcn.004ec570
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 0x4f77b0
dec dword [ebx + 0x38]
test byte [ebp - 0x64], 1
mov edi, dword [ebx + 0x38]
mov dword [ebp + 0x10], edi
je 0x4f7a77
movsx eax, word [eax + 0x2a]
inc eax
push eax
push ebx
call fcn.004f5570
add esp, 8
mov esi, eax
mov eax, dword [ebp - 0x1c]
push esi
test eax, eax
jns 0x4f7916
push 0xffffffffffffffff
push 0x45
push dword [ebp - 4]
call fcn.00508f30
add esp, 0x10
jmp 0x4f7998
cmp byte [ebp - 0xd], 0
je 0x4f792f
push eax
push dword [ebp - 0x20]
push 0x59
push dword [ebp - 4]
call fcn.00508f90
add esp, 0x14
jmp 0x4f7942
mov ecx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 4]
push ebx
call fcn.004ec570
add esp, 0xc
push esi
push 0x33
push dword [ebp - 4]
call fcn.00508ed0
push esi
push 0xffffffffffffffff
push 0x45
push dword [ebp - 4]
mov edi, eax
call fcn.00508f30
mov eax, dword [ebp - 4]
add esp, 0x1c
mov edx, dword [eax + 0x6c]
test edi, edi
jns 0x4f796c
lea edi, [edx - 1]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x4f797b
mov eax, 0x5bad84
jmp 0x4f7987
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.00508ed0
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 0x4f79c0
push edx
push edi
push dword [ebp - 0x28]
push 0x4d
push eax
call fcn.004d0d80
add esp, 0x14
jmp 0x4f79f2
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 0x4f7a09
push eax
push edi
push ebx
call fcn.004e87c0
mov eax, dword [ebp - 8]
add esp, 0xc
cmp dword [ebp - 0x68], 0
jne 0x4f7a1c
push edi
push eax
push dword [ebp - 4]
call fcn.00505d10
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.004e7b00
mov ecx, dword [ebp - 8]
add esp, 0x24
movsx eax, word [ecx + 0x2a]
inc eax
cmp eax, 1
jne 0x4f7a6a
test esi, esi
je 0x4f7a7a
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4f7a7a
movzx eax, al
mov dword [ebx + eax*4 + 0x94], esi
inc byte [ebx + 0x13]
jmp 0x4f7a7a
cmp eax, dword [ebx + 0x1c]
jle 0x4f7a7a
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], esi
jmp 0x4f7a7a
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x68], 0
jne 0x4f7cd9
mov ecx, dword [ecx + 0x38]
mov esi, dword [ebp - 4]
test ecx, ecx
je 0x4f7aa4
push dword [ebp - 0x38]
push 0
push 0x48
push esi
call fcn.00508f30
mov eax, dword [ebp - 8]
add esp, 0x10
mov ecx, dword [eax + 0x38]
mov eax, dword [ebp - 0x1c]
test eax, eax
js 0x4f7b78
cmp byte [ebp - 0xd], 0
je 0x4f7ac9
push dword [ebp - 0x18]
push eax
push dword [ebp - 0x20]
push 0x59
push esi
call fcn.00508f90
add esp, 0x14
jmp 0x4f7b0d
cmp dword [ebp - 0xc], 0
jne 0x4f7b0d
mov edx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 4]
cmp byte [eax], 0x77
jne 0x4f7b00
test ecx, ecx
jne 0x4f7b00
push dword [ebp - 0x4c]
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push 0x78
push esi
call fcn.00508f90
add esp, 0x14
mov esi, 1
jmp 0x4f7bae
push dword [ebp - 0x18]
push eax
push ebx
call fcn.004ec570
add esp, 0xc
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
jne 0x4f7b53
push dword [ebp - 0x18]
push 0x33
push esi
call fcn.00508ed0
push dword [ebp - 0x4c]
mov esi, eax
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push 0x78
push dword [ebp - 4]
call fcn.00508f90
push esi
mov esi, dword [ebp - 4]
push esi
call fcn.00511310
add esp, 0x28
push dword [ebp - 0x18]
push 0xf
push esi
call fcn.00508ed0
add esp, 0xc
jmp 0x4f7bac
mov eax, dword [esi + 0x6c]
add eax, 2
push eax
push dword [ebp - 0x18]
push 0x32
push esi
call fcn.00508f30
add esp, 0x10
push dword [ebp - 0x18]
push 0xf
push esi
call fcn.00508ed0
add esp, 0xc
jmp 0x4f7bac
test ecx, ecx
jne 0x4f7b9c
cmp byte [ebp - 0x74], cl
jne 0x4f7b9c
push dword [ebp - 0x4c]
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push 0x78
push esi
call fcn.00508f90
add esp, 0x14
mov esi, 1
jmp 0x4f7bae
push dword [ebp - 0x18]
push 0
push 0x48
push esi
call fcn.00508f30
add esp, 0x10
xor esi, esi
mov eax, dword [ebp - 0x4c]
test eax, eax
jle 0x4f7bc9
push dword [ebp - 0x18]
push eax
push 0x97
push dword [ebx + 8]
call fcn.00508f30
add esp, 0x10
mov ecx, dword [ebp - 8]
test byte [ecx + 0x24], 0x60
je 0x4f7be2
push ecx
push dword [ebp - 0x28]
push ebx
call fcn.004e87c0
mov ecx, dword [ebp - 8]
add esp, 0xc
cmp dword [ecx + 0x38], 0
je 0x4f7c5e
mov esi, dword [ecx + 0x40]
test esi, esi
je 0x4f7bfd
mov eax, dword [ebp - 0x5c]
cmp dword [esi], eax
je 0x4f7bfd
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4f7bf2
push ecx
push ebx
call fcn.00514e90
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.00508fe0
mov eax, dword [esi + 0x6c]
add esp, 0x24
test eax, eax
jle 0x4f7c4b
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 0x4f7cdc
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.004f2a70
push 0
push 0
push dword [ebp - 0x38]
push 0
push dword [ebp - 8]
push ebx
call fcn.004f1c90
add esp, 0x4c
cmp dword [ebp + 8], 0
je 0x4f7cb8
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd8], 0
je 0x4f7cb8
xor eax, eax
jmp 0x4f7cbd
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.004e85a0
add esp, 0x24
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4f7cf1
push 1
push eax
push 0x52
push esi
call fcn.00508f30
add esp, 0x10
cmp dword [ebp - 0x3c], 0
je 0x4f7d1e
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.004e7b00
add esp, 0x24
mov ecx, dword [esi + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f7d38
push edi
push esi
push ecx
call fcn.004dd010
add esp, 0xc
jmp 0x4f7d41
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edi*4], eax
cmp byte [ebp - 0xd], 0
je 0x4f7da0
push dword [ebp - 0x54]
mov edi, dword [ebp - 0x20]
push edi
push 5
push esi
call fcn.00508f30
mov eax, dword [esi]
add esp, 0x10
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4f7d7a
mov eax, 0x5bad84
push edi
push 0x74
push esi
mov dword [eax + 8], edx
call fcn.00508ed0
add esp, 0xc
jmp 0x4f7ddb
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.00508ed0
add esp, 0xc
jmp 0x4f7ddb
cmp dword [ebp - 0xc], 0
je 0x4f7ddb
push dword [ebp - 0x54]
push esi
call fcn.00510ea0
mov eax, dword [esi]
add esp, 8
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4f7dc4
mov eax, 0x5bad84
jmp 0x4f7dd8
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 0x4f7df6
cmp dword [ebx + 0x78], 0
jne 0x4f7df6
cmp dword [ebx + 0x70], 0
je 0x4f7df6
push ebx
call fcn.004bf5c0
add esp, 4
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4f71fc
push 1
push eax
push 0x50
push esi
call fcn.00508f30
push 1
push esi
call fcn.00513d70
mov eax, dword [esi]
add esp, 0x18
cmp byte [eax + 0x51], 0
jne 0x4f71fc
mov esi, dword [esi + 0x74]
mov eax, 0x2400
test word [esi + 8], ax
jne 0x4f7e37
cmp dword [esi + 0x18], 0
je 0x4f7e40
push esi
call fcn.005207e0
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 0x4f71fc
mov esi, dword [ebp + 0x10]
jmp 0x4f7205