Function at 0x4f8370
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 0x4f92f7
cmp byte [esi + 0x51], 0
jne 0x4f92f7
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4f842d
test dword [eax + 4], 0x200
je 0x4f842d
cmp dword [eax + 0x34], 0
jne 0x4f842d
mov ecx, dword [eax + 0x1c]
push eax
push esi
mov dword [ebp - 0x30], ecx
mov dword [eax + 0x1c], 0
call fcn.00505880
add esp, 8
mov dword [ebp - 0xc], 0
push dword [ebp + 0xc]
push ebx
call fcn.00506870
mov edi, eax
add esp, 8
mov dword [ebp - 8], edi
test edi, edi
je 0x4f868c
push dword [edi + 0x48]
push esi
call fcn.00503330
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.004e40f0
add esp, 0x1c
test eax, eax
jne 0x4f868c
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.005076d0
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0xc]
push edi
push ebx
mov dword [ebp - 0x68], eax
call fcn.00515cd0
add esp, 0x1c
test eax, eax
jne 0x4f868c
push dword [ebp - 0x64]
push edi
push ebx
call fcn.004f9470
add esp, 0xc
test eax, eax
jne 0x4f868c
push ebx
call fcn.004f73b0
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
test esi, esi
je 0x4f868c
cmp byte [ebx + 0x12], 0
jne 0x4f84e3
or dword [esi + 0x98], 0x20
cmp dword [ebp - 0xc], 0
jne 0x4f84f3
cmp dword [ebp - 0x3c], 0
jne 0x4f84f3
xor eax, eax
jmp 0x4f84f8
mov eax, 1
push dword [ebp - 0x44]
push eax
push ebx
call fcn.004e4990
add esp, 0xc
cmp dword [ebp + 0x14], 0
jne 0x4f8526
push dword [ebp - 0x44]
push dword [ebp + 0x18]
push dword [ebp - 0xc]
push edi
push ebx
call fcn.0052ef60
add esp, 0x14
test eax, eax
jne 0x4f926b
push edi
push dword [ebp - 0x44]
push ebx
call fcn.004c0970
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 0x4f855e
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 0x4f8761
mov eax, dword [edx + 4]
xor ecx, ecx
test eax, eax
jle 0x4f8595
mov eax, dword [edx]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
mov eax, dword [edx + 4]
cmp ecx, eax
jl 0x4f8583
xor ecx, ecx
mov dword [ebp - 0x14], ecx
test eax, eax
jle 0x4f8761
movzx eax, word [edi + 0x2a]
mov dword [ebp - 0x60], eax
nop dword [eax]
cwde
xor esi, esi
test eax, eax
jle 0x4f8626
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.00507100
add esp, 8
test eax, eax
je 0x4f85e5
mov ecx, dword [ebp - 0x60]
inc esi
movsx eax, cx
add edi, 0x14
cmp esi, eax
mov eax, dword [ebp - 0x70]
jl 0x4f85c2
jmp 0x4f861d
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 0x4f8678
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 0x4f865e
mov eax, dword [edx]
mov esi, dword [eax + ecx*8]
push esi
call fcn.004f9520
add esp, 4
test eax, eax
je 0x4f8744
cmp byte [ebp - 0x74], 0
jne 0x4f8744
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 0x4f8761
mov edi, dword [ebp - 8]
jmp 0x4f85b0
lea eax, [esi + esi*4]
push dword [edx + eax*4]
push str.cannot_INSERT_into_generated_column___s_
push ebx
call fcn.004ed090
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.005062b0
mov eax, dword [ebp - 0x30]
add esp, 8
test eax, eax
je 0x4f86b3
push eax
push ebx
call fcn.004cce20
add esp, 8
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4f8712
mov eax, dword [eax]
test eax, eax
je 0x4f86ca
push eax
push ebx
call fcn.004cce20
add esp, 8
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 4]
test eax, eax
je 0x4f86de
push eax
push ebx
call fcn.004f0340
add esp, 8
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 8]
test eax, eax
je 0x4f86f2
push eax
push ebx
call fcn.004cce20
add esp, 8
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4f8706
push eax
push ebx
call fcn.004f0340
add esp, 8
push dword [ebp + 0x1c]
push ebx
call fcn.004eb390
add esp, 8
test esi, esi
je 0x4f8722
push 1
push esi
push ebx
call fcn.004c53f0
add esp, 0xc
push edi
push ebx
call fcn.004f78a0
mov eax, dword [ebp - 0x34]
add esp, 8
test eax, eax
je 0x4f873d
push eax
push ebx
call fcn.004eb390
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.004ed090
add esp, 0x14
mov byte [ebx + 0x11], 1
jmp 0x4f868c
cmp dword [ebp - 0xc], 0
je 0x4f898a
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.0050a430
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.00503370
mov ecx, dword [ebp - 0x84]
add esp, 0x20
mov dword [ebp - 0x48], ecx
test eax, eax
jne 0x4f868c
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0x51], 0
jne 0x4f868c
cmp dword [ebx + 0x24], 0
jne 0x4f868c
push esi
mov esi, dword [ebp - 4]
push esi
call fcn.0050ae00
push edi
push esi
call fcn.005127a0
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 0x4f88ec
mov eax, dword [ebx + 8]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x4f883e
cmp dword [ebx + 0x74], eax
jne 0x4f8832
mov eax, dword [ebx]
test byte [eax + 0x4c], 8
jne 0x4f8832
mov byte [ebx + 0x17], 1
push ebx
call fcn.0050ac10
add esp, 4
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 8]
mov ecx, dword [eax + 0x6c]
cmp dword [edx + 0x38], 0
je 0x4f8863
mov edx, dword [edx + 0x40]
test edx, edx
je 0x4f8865
mov eax, dword [ebx]
cmp dword [edx], eax
je 0x4f885e
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x4f8853
mov eax, dword [ebp - 0x24]
jmp 0x4f8865
xor edx, edx
mov edi, 1
cmp ecx, edi
jle 0x4f88db
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 0x4f888b
mov eax, 0x5bbdd4
jmp 0x4f8897
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 0x4f88c6
mov ecx, dword [ebp - 0x44]
cmp dword [eax + 0xc], ecx
jne 0x4f88d0
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 8]
cmp ecx, dword [eax + 0x1c]
je 0x4f88ec
mov eax, dword [eax + 8]
test eax, eax
je 0x4f88d0
cmp ecx, dword [eax + 0x2c]
je 0x4f88ec
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4f88b8
jmp 0x4f88d0
cmp cl, 0xa5
jne 0x4f88d0
cmp dword [eax + 0x10], edx
je 0x4f88ec
mov eax, dword [ebp - 0x24]
inc edi
mov ecx, dword [eax + 0x6c]
cmp edi, ecx
jl 0x4f8876
mov eax, dword [ebp - 0x88]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
jmp 0x4f89d3
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.004f6a70
push ebx
mov edi, eax
call fcn.004f6a70
push dword [ebp - 0x14]
mov ebx, eax
push edx
push 0x64
push esi
call fcn.0050a3d0
mov eax, dword [ebp - 0x88]
push eax
push 0xe
push esi
mov dword [ebp - 0x24], eax
call fcn.0050a370
push edi
push dword [ebp - 0x14]
mov esi, eax
push dword [ebp - 0x48]
push 0x5b
push dword [ebp - 4]
call fcn.0050a430
push ebx
push dword [ebp - 0x20]
push 0x78
push dword [ebp - 4]
call fcn.0050a3d0
add esp, 0x48
push ebx
push edi
push dword [ebp - 0x20]
push 0x79
push dword [ebp - 4]
call fcn.0050a430
push esi
push dword [ebp - 4]
call fcn.00512330
push esi
push dword [ebp - 4]
call fcn.005127a0
push edi
push dword [ebp + 8]
call fcn.00501720
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.00501720
mov esi, dword [ebp - 0x14]
add esp, 0x34
jmp 0x4f89d3
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 0x4f89ce
mov esi, dword [eax]
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x14], esi
push eax
call fcn.00501bf0
add esp, 8
test eax, eax
jne 0x4f868c
jmp 0x4f89d3
xor esi, esi
mov dword [ebp - 0x14], esi
cmp dword [ebp + 0x14], 0
mov edi, dword [ebp - 8]
jne 0x4f8a20
test esi, esi
jle 0x4f8a20
movsx eax, word [edi + 0x28]
mov dword [ebp - 0x1c], eax
test eax, eax
js 0x4f8a20
test byte [edi + 0x24], 0x60
je 0x4f8a20
lea edx, [eax - 1]
test edx, edx
js 0x4f8a20
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 0x4f8a07
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp + 8]
movsx esi, word [edi + 0x2a]
test esi, esi
jle 0x4f8a4b
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 0x4f8a32
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
test eax, eax
jne 0x4f8a79
test edx, edx
je 0x4f8a95
sub esi, dword [ebp - 0x40]
cmp edx, esi
je 0x4f8a95
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.004ed090
add esp, 0x18
jmp 0x4f868c
mov eax, dword [eax + 4]
cmp edx, eax
je 0x4f8a95
push eax
push edx
push str._d_values_for__d_columns
push ebx
call fcn.004ed090
add esp, 0x10
jmp 0x4f868c
mov esi, dword [ebp - 0x5c]
xor eax, eax
mov ecx, dword [esi + 0x24]
and ecx, 1
or eax, ecx
je 0x4f8ac9
cmp byte [ebx + 0x12], 0
jne 0x4f8ac9
cmp dword [ebx + 0x78], 0
jne 0x4f8ac9
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.0050a3d0
add esp, 0x10
cmp dword [ebp - 0x68], 0
jne 0x4f8b43
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.004fb680
mov edi, eax
push 0
lea eax, [edi*4 + 8]
push eax
push esi
call fcn.004eb400
mov ecx, eax
add esp, 0x2c
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x4f868c
mov eax, dword [ebp - 8]
xor edx, edx
mov esi, dword [eax + 8]
test edi, edi
jle 0x4f8b36
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 0x4f8b14
jmp 0x4f8b39
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 0x4f8bb5
cmp dword [edi + 0x38], 0
je 0x4f8b5c
push dword [edi]
push str.UPSERT_not_implemented_for_virtual_table___s_
jmp 0x4f8683
cmp dword [edi + 0xc], 0
je 0x4f8b75
push str.cannot_UPSERT_a_view
push ebx
call fcn.004ed090
add esp, 8
jmp 0x4f868c
push dword [esi]
push ebx
call fcn.004f7460
add esp, 8
test eax, eax
jne 0x4f868c
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 0x4f8bb8
push esi
push ecx
push ebx
call fcn.00509890
add esp, 0xc
jmp 0x4f8bb8
mov edi, dword [ebp - 0x28]
cmp byte [ebp - 0xd], 0
je 0x4f8bdc
push dword [ebp - 0x20]
push 0x25
push dword [ebp - 4]
call fcn.0050a370
mov edx, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0x58], eax
mov eax, dword [edx + 0x6c]
mov dword [ebp - 0x54], eax
jmp 0x4f8c19
cmp dword [ebp - 0xc], 0
je 0x4f8c16
push dword [ebp - 0x24]
mov esi, dword [ebp - 4]
push 0xe
push esi
call fcn.0050a370
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 0x4f8c16
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x48]
add ecx, eax
push ecx
push 0x4d
push esi
call fcn.0050a3d0
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 0x4f8d66
mov dword [ebp - 0x40], ecx
jmp 0x4f8c43
mov edx, dword [ebp - 4]
movsx eax, word [eax + 0x28]
cmp edi, eax
jne 0x4f8c59
push esi
push 0x49
push edx
call fcn.0050a370
jmp 0x4f8d46
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 0x4f8caa
inc dword [ebp + 0x10]
test al, 0x20
je 0x4f8c79
dec esi
jmp 0x4f8d49
test al, 0x40
je 0x4f8c95
test byte [ebp - 0x64], 1
je 0x4f8d49
push esi
push 0x49
push edx
call fcn.0050a370
jmp 0x4f8d46
cmp dword [ebp + 0x14], 0
jne 0x4f8cb0
push esi
push dword [ecx + 4]
push ebx
call fcn.004edce0
jmp 0x4f8d46
cmp dword [ebp + 0x14], 0
je 0x4f8ce3
mov edx, dword [ebp + 0x14]
xor eax, eax
mov edx, dword [edx + 4]
test edx, edx
jle 0x4f8cd3
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
add ecx, 4
cmp dword [ecx], edi
je 0x4f8cd0
inc eax
add ecx, 8
cmp eax, edx
jl 0x4f8cc4
mov ecx, dword [ebp - 0x60]
cmp eax, edx
jl 0x4f8cfa
push esi
push dword [ecx + 4]
push ebx
call fcn.004edce0
jmp 0x4f8d46
cmp dword [ebp - 0x14], 0
jne 0x4f8cf5
push esi
push dword [ecx + 4]
push ebx
call fcn.004edce0
jmp 0x4f8d46
mov eax, edi
sub eax, dword [ebp + 0x10]
cmp byte [ebp - 0xd], 0
je 0x4f8d14
push esi
push eax
push dword [ebp - 0x20]
push 0x59
push dword [ebp - 4]
call fcn.0050a430
add esp, 0x14
jmp 0x4f8d49
cmp dword [ebp - 0xc], 0
je 0x4f8d35
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x28]
je 0x4f8d49
push esi
add eax, ecx
push eax
push 0x4e
push dword [ebp - 4]
call fcn.0050a3d0
add esp, 0x10
jmp 0x4f8d49
mov ecx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
push esi
push dword [ecx + eax*4 + 4]
push ebx
call fcn.004eda10
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 0x4f8c40
dec dword [ebx + 0x38]
test byte [ebp - 0x64], 1
mov edi, dword [ebx + 0x38]
mov dword [ebp + 0x10], edi
je 0x4f8f07
movsx eax, word [eax + 0x2a]
inc eax
push eax
push ebx
call fcn.004f6a10
add esp, 8
mov esi, eax
mov eax, dword [ebp - 0x1c]
push esi
test eax, eax
jns 0x4f8da6
push 0xffffffffffffffff
push 0x45
push dword [ebp - 4]
call fcn.0050a3d0
add esp, 0x10
jmp 0x4f8e28
cmp byte [ebp - 0xd], 0
je 0x4f8dbf
push eax
push dword [ebp - 0x20]
push 0x59
push dword [ebp - 4]
call fcn.0050a430
add esp, 0x14
jmp 0x4f8dd2
mov ecx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 4]
push ebx
call fcn.004eda10
add esp, 0xc
push esi
push 0x33
push dword [ebp - 4]
call fcn.0050a370
push esi
push 0xffffffffffffffff
push 0x45
push dword [ebp - 4]
mov edi, eax
call fcn.0050a3d0
mov eax, dword [ebp - 4]
add esp, 0x1c
mov edx, dword [eax + 0x6c]
test edi, edi
jns 0x4f8dfc
lea edi, [edx - 1]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x4f8e0b
mov eax, 0x5bbdd4
jmp 0x4f8e17
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.0050a370
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 0x4f8e50
push edx
push edi
push dword [ebp - 0x28]
push 0x4d
push eax
call fcn.004d2220
add esp, 0x14
jmp 0x4f8e82
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 0x4f8e99
push eax
push edi
push ebx
call fcn.004e9c60
mov eax, dword [ebp - 8]
add esp, 0xc
cmp dword [ebp - 0x68], 0
jne 0x4f8eac
push edi
push eax
push dword [ebp - 4]
call fcn.005071b0
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.004e8fa0
mov ecx, dword [ebp - 8]
add esp, 0x24
movsx eax, word [ecx + 0x2a]
inc eax
cmp eax, 1
jne 0x4f8efa
test esi, esi
je 0x4f8f0a
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4f8f0a
movzx eax, al
mov dword [ebx + eax*4 + 0x94], esi
inc byte [ebx + 0x13]
jmp 0x4f8f0a
cmp eax, dword [ebx + 0x1c]
jle 0x4f8f0a
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], esi
jmp 0x4f8f0a
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x68], 0
jne 0x4f9169
mov ecx, dword [ecx + 0x38]
mov esi, dword [ebp - 4]
test ecx, ecx
je 0x4f8f34
push dword [ebp - 0x38]
push 0
push 0x48
push esi
call fcn.0050a3d0
mov eax, dword [ebp - 8]
add esp, 0x10
mov ecx, dword [eax + 0x38]
mov eax, dword [ebp - 0x1c]
test eax, eax
js 0x4f9008
cmp byte [ebp - 0xd], 0
je 0x4f8f59
push dword [ebp - 0x18]
push eax
push dword [ebp - 0x20]
push 0x59
push esi
call fcn.0050a430
add esp, 0x14
jmp 0x4f8f9d
cmp dword [ebp - 0xc], 0
jne 0x4f8f9d
mov edx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 4]
cmp byte [eax], 0x77
jne 0x4f8f90
test ecx, ecx
jne 0x4f8f90
push dword [ebp - 0x4c]
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push 0x78
push esi
call fcn.0050a430
add esp, 0x14
mov esi, 1
jmp 0x4f903e
push dword [ebp - 0x18]
push eax
push ebx
call fcn.004eda10
add esp, 0xc
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
jne 0x4f8fe3
push dword [ebp - 0x18]
push 0x33
push esi
call fcn.0050a370
push dword [ebp - 0x4c]
mov esi, eax
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push 0x78
push dword [ebp - 4]
call fcn.0050a430
push esi
mov esi, dword [ebp - 4]
push esi
call fcn.005127a0
add esp, 0x28
push dword [ebp - 0x18]
push 0xf
push esi
call fcn.0050a370
add esp, 0xc
jmp 0x4f903c
mov eax, dword [esi + 0x6c]
add eax, 2
push eax
push dword [ebp - 0x18]
push 0x32
push esi
call fcn.0050a3d0
add esp, 0x10
push dword [ebp - 0x18]
push 0xf
push esi
call fcn.0050a370
add esp, 0xc
jmp 0x4f903c
test ecx, ecx
jne 0x4f902c
cmp byte [ebp - 0x74], cl
jne 0x4f902c
push dword [ebp - 0x4c]
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push 0x78
push esi
call fcn.0050a430
add esp, 0x14
mov esi, 1
jmp 0x4f903e
push dword [ebp - 0x18]
push 0
push 0x48
push esi
call fcn.0050a3d0
add esp, 0x10
xor esi, esi
mov eax, dword [ebp - 0x4c]
test eax, eax
jle 0x4f9059
push dword [ebp - 0x18]
push eax
push 0x97
push dword [ebx + 8]
call fcn.0050a3d0
add esp, 0x10
mov ecx, dword [ebp - 8]
test byte [ecx + 0x24], 0x60
je 0x4f9072
push ecx
push dword [ebp - 0x28]
push ebx
call fcn.004e9c60
mov ecx, dword [ebp - 8]
add esp, 0xc
cmp dword [ecx + 0x38], 0
je 0x4f90ee
mov esi, dword [ecx + 0x40]
test esi, esi
je 0x4f908d
mov eax, dword [ebp - 0x5c]
cmp dword [esi], eax
je 0x4f908d
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4f9082
push ecx
push ebx
call fcn.00516320
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.0050a480
mov eax, dword [esi + 0x6c]
add esp, 0x24
test eax, eax
jle 0x4f90db
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 0x4f916c
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.004f3f10
push 0
push 0
push dword [ebp - 0x38]
push 0
push dword [ebp - 8]
push ebx
call fcn.004f3130
add esp, 0x4c
cmp dword [ebp + 8], 0
je 0x4f9148
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd8], 0
je 0x4f9148
xor eax, eax
jmp 0x4f914d
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.004e9a40
add esp, 0x24
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4f9181
push 1
push eax
push 0x52
push esi
call fcn.0050a3d0
add esp, 0x10
cmp dword [ebp - 0x3c], 0
je 0x4f91ae
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.004e8fa0
add esp, 0x24
mov ecx, dword [esi + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f91c8
push edi
push esi
push ecx
call fcn.004de4b0
add esp, 0xc
jmp 0x4f91d1
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edi*4], eax
cmp byte [ebp - 0xd], 0
je 0x4f9230
push dword [ebp - 0x54]
mov edi, dword [ebp - 0x20]
push edi
push 5
push esi
call fcn.0050a3d0
mov eax, dword [esi]
add esp, 0x10
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4f920a
mov eax, 0x5bbdd4
push edi
push 0x74
push esi
mov dword [eax + 8], edx
call fcn.0050a370
add esp, 0xc
jmp 0x4f926b
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.0050a370
add esp, 0xc
jmp 0x4f926b
cmp dword [ebp - 0xc], 0
je 0x4f926b
push dword [ebp - 0x54]
push esi
call fcn.00512330
mov eax, dword [esi]
add esp, 8
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4f9254
mov eax, 0x5bbdd4
jmp 0x4f9268
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 0x4f9286
cmp dword [ebx + 0x78], 0
jne 0x4f9286
cmp dword [ebx + 0x70], 0
je 0x4f9286
push ebx
call fcn.004c0a60
add esp, 4
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4f868c
push 1
push eax
push 0x50
push esi
call fcn.0050a3d0
push 1
push esi
call fcn.00515200
mov eax, dword [esi]
add esp, 0x18
cmp byte [eax + 0x51], 0
jne 0x4f868c
mov esi, dword [esi + 0x74]
mov eax, 0x2400
test word [esi + 8], ax
jne 0x4f92c7
cmp dword [esi + 0x18], 0
je 0x4f92d0
push esi
call fcn.00521c70
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 0x4f868c
mov esi, dword [ebp + 0x10]
jmp 0x4f8695