Function at 0x4f8950
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 0x4f98d7
cmp byte [esi + 0x51], 0
jne 0x4f98d7
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4f8a0d
test dword [eax + 4], 0x200
je 0x4f8a0d
cmp dword [eax + 0x34], 0
jne 0x4f8a0d
mov ecx, dword [eax + 0x1c]
push eax
push esi
mov dword [ebp - 0x30], ecx
mov dword [eax + 0x1c], 0
call fcn.00505e50
add esp, 8
mov dword [ebp - 0xc], 0
push dword [ebp + 0xc]
push ebx
call fcn.00506e40
mov edi, eax
add esp, 8
mov dword [ebp - 8], edi
test edi, edi
je 0x4f8c6c
push dword [edi + 0x48]
push esi
call fcn.00503900
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.004e46d0
add esp, 0x1c
test eax, eax
jne 0x4f8c6c
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.00507ca0
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0xc]
push edi
push ebx
mov dword [ebp - 0x68], eax
call fcn.005162a0
add esp, 0x1c
test eax, eax
jne 0x4f8c6c
push dword [ebp - 0x64]
push edi
push ebx
call fcn.004f9a50
add esp, 0xc
test eax, eax
jne 0x4f8c6c
push ebx
call fcn.004f7990
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
test esi, esi
je 0x4f8c6c
cmp byte [ebx + 0x12], 0
jne 0x4f8ac3
or dword [esi + 0x98], 0x20
cmp dword [ebp - 0xc], 0
jne 0x4f8ad3
cmp dword [ebp - 0x3c], 0
jne 0x4f8ad3
xor eax, eax
jmp 0x4f8ad8
mov eax, 1
push dword [ebp - 0x44]
push eax
push ebx
call fcn.004e4f70
add esp, 0xc
cmp dword [ebp + 0x14], 0
jne 0x4f8b06
push dword [ebp - 0x44]
push dword [ebp + 0x18]
push dword [ebp - 0xc]
push edi
push ebx
call fcn.0052f550
add esp, 0x14
test eax, eax
jne 0x4f984b
push edi
push dword [ebp - 0x44]
push ebx
call fcn.004c0f20
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 0x4f8b3e
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 0x4f8d41
mov eax, dword [edx + 4]
xor ecx, ecx
test eax, eax
jle 0x4f8b75
mov eax, dword [edx]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
mov eax, dword [edx + 4]
cmp ecx, eax
jl 0x4f8b63
xor ecx, ecx
mov dword [ebp - 0x14], ecx
test eax, eax
jle 0x4f8d41
movzx eax, word [edi + 0x2a]
mov dword [ebp - 0x60], eax
nop dword [eax]
cwde
xor esi, esi
test eax, eax
jle 0x4f8c06
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.005076d0
add esp, 8
test eax, eax
je 0x4f8bc5
mov ecx, dword [ebp - 0x60]
inc esi
movsx eax, cx
add edi, 0x14
cmp esi, eax
mov eax, dword [ebp - 0x70]
jl 0x4f8ba2
jmp 0x4f8bfd
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 0x4f8c58
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 0x4f8c3e
mov eax, dword [edx]
mov esi, dword [eax + ecx*8]
push esi
call fcn.004f9b00
add esp, 4
test eax, eax
je 0x4f8d24
cmp byte [ebp - 0x74], 0
jne 0x4f8d24
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 0x4f8d41
mov edi, dword [ebp - 8]
jmp 0x4f8b90
lea eax, [esi + esi*4]
push dword [edx + eax*4]
push str.cannot_INSERT_into_generated_column___s_
push ebx
call fcn.004ed670
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.00506880
mov eax, dword [ebp - 0x30]
add esp, 8
test eax, eax
je 0x4f8c93
push eax
push ebx
call fcn.004cd3d0
add esp, 8
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4f8cf2
mov eax, dword [eax]
test eax, eax
je 0x4f8caa
push eax
push ebx
call fcn.004cd3d0
add esp, 8
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 4]
test eax, eax
je 0x4f8cbe
push eax
push ebx
call fcn.004f0920
add esp, 8
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 8]
test eax, eax
je 0x4f8cd2
push eax
push ebx
call fcn.004cd3d0
add esp, 8
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4f8ce6
push eax
push ebx
call fcn.004f0920
add esp, 8
push dword [ebp + 0x1c]
push ebx
call fcn.004eb970
add esp, 8
test esi, esi
je 0x4f8d02
push 1
push esi
push ebx
call fcn.004c59a0
add esp, 0xc
push edi
push ebx
call fcn.004f7e80
mov eax, dword [ebp - 0x34]
add esp, 8
test eax, eax
je 0x4f8d1d
push eax
push ebx
call fcn.004eb970
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.004ed670
add esp, 0x14
mov byte [ebx + 0x11], 1
jmp 0x4f8c6c
cmp dword [ebp - 0xc], 0
je 0x4f8f6a
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.0050aa00
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.00503940
mov ecx, dword [ebp - 0x84]
add esp, 0x20
mov dword [ebp - 0x48], ecx
test eax, eax
jne 0x4f8c6c
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0x51], 0
jne 0x4f8c6c
cmp dword [ebx + 0x24], 0
jne 0x4f8c6c
push esi
mov esi, dword [ebp - 4]
push esi
call fcn.0050b3d0
push edi
push esi
call fcn.00512d70
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 0x4f8ecc
mov eax, dword [ebx + 8]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x4f8e1e
cmp dword [ebx + 0x74], eax
jne 0x4f8e12
mov eax, dword [ebx]
test byte [eax + 0x4c], 8
jne 0x4f8e12
mov byte [ebx + 0x17], 1
push ebx
call fcn.0050b1e0
add esp, 4
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 8]
mov ecx, dword [eax + 0x6c]
cmp dword [edx + 0x38], 0
je 0x4f8e43
mov edx, dword [edx + 0x40]
test edx, edx
je 0x4f8e45
mov eax, dword [ebx]
cmp dword [edx], eax
je 0x4f8e3e
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x4f8e33
mov eax, dword [ebp - 0x24]
jmp 0x4f8e45
xor edx, edx
mov edi, 1
cmp ecx, edi
jle 0x4f8ebb
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 0x4f8e6b
mov eax, 0x5bcde4
jmp 0x4f8e77
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 0x4f8ea6
mov ecx, dword [ebp - 0x44]
cmp dword [eax + 0xc], ecx
jne 0x4f8eb0
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 8]
cmp ecx, dword [eax + 0x1c]
je 0x4f8ecc
mov eax, dword [eax + 8]
test eax, eax
je 0x4f8eb0
cmp ecx, dword [eax + 0x2c]
je 0x4f8ecc
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4f8e98
jmp 0x4f8eb0
cmp cl, 0xa5
jne 0x4f8eb0
cmp dword [eax + 0x10], edx
je 0x4f8ecc
mov eax, dword [ebp - 0x24]
inc edi
mov ecx, dword [eax + 0x6c]
cmp edi, ecx
jl 0x4f8e56
mov eax, dword [ebp - 0x88]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
jmp 0x4f8fb3
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.004f7050
push ebx
mov edi, eax
call fcn.004f7050
push dword [ebp - 0x14]
mov ebx, eax
push edx
push 0x64
push esi
call fcn.0050a9a0
mov eax, dword [ebp - 0x88]
push eax
push 0xe
push esi
mov dword [ebp - 0x24], eax
call fcn.0050a940
push edi
push dword [ebp - 0x14]
mov esi, eax
push dword [ebp - 0x48]
push 0x5b
push dword [ebp - 4]
call fcn.0050aa00
push ebx
push dword [ebp - 0x20]
push 0x78
push dword [ebp - 4]
call fcn.0050a9a0
add esp, 0x48
push ebx
push edi
push dword [ebp - 0x20]
push 0x79
push dword [ebp - 4]
call fcn.0050aa00
push esi
push dword [ebp - 4]
call fcn.00512900
push esi
push dword [ebp - 4]
call fcn.00512d70
push edi
push dword [ebp + 8]
call fcn.00501d00
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.00501d00
mov esi, dword [ebp - 0x14]
add esp, 0x34
jmp 0x4f8fb3
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 0x4f8fae
mov esi, dword [eax]
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x14], esi
push eax
call fcn.005021d0
add esp, 8
test eax, eax
jne 0x4f8c6c
jmp 0x4f8fb3
xor esi, esi
mov dword [ebp - 0x14], esi
cmp dword [ebp + 0x14], 0
mov edi, dword [ebp - 8]
jne 0x4f9000
test esi, esi
jle 0x4f9000
movsx eax, word [edi + 0x28]
mov dword [ebp - 0x1c], eax
test eax, eax
js 0x4f9000
test byte [edi + 0x24], 0x60
je 0x4f9000
lea edx, [eax - 1]
test edx, edx
js 0x4f9000
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 0x4f8fe7
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp + 8]
movsx esi, word [edi + 0x2a]
test esi, esi
jle 0x4f902b
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 0x4f9012
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
test eax, eax
jne 0x4f9059
test edx, edx
je 0x4f9075
sub esi, dword [ebp - 0x40]
cmp edx, esi
je 0x4f9075
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.004ed670
add esp, 0x18
jmp 0x4f8c6c
mov eax, dword [eax + 4]
cmp edx, eax
je 0x4f9075
push eax
push edx
push str._d_values_for__d_columns
push ebx
call fcn.004ed670
add esp, 0x10
jmp 0x4f8c6c
mov esi, dword [ebp - 0x5c]
xor eax, eax
mov ecx, dword [esi + 0x24]
and ecx, 1
or eax, ecx
je 0x4f90a9
cmp byte [ebx + 0x12], 0
jne 0x4f90a9
cmp dword [ebx + 0x78], 0
jne 0x4f90a9
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.0050a9a0
add esp, 0x10
cmp dword [ebp - 0x68], 0
jne 0x4f9123
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.004fbc60
mov edi, eax
push 0
lea eax, [edi*4 + 8]
push eax
push esi
call fcn.004eb9e0
mov ecx, eax
add esp, 0x2c
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x4f8c6c
mov eax, dword [ebp - 8]
xor edx, edx
mov esi, dword [eax + 8]
test edi, edi
jle 0x4f9116
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 0x4f90f4
jmp 0x4f9119
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 0x4f9195
cmp dword [edi + 0x38], 0
je 0x4f913c
push dword [edi]
push str.UPSERT_not_implemented_for_virtual_table___s_
jmp 0x4f8c63
cmp dword [edi + 0xc], 0
je 0x4f9155
push str.cannot_UPSERT_a_view
push ebx
call fcn.004ed670
add esp, 8
jmp 0x4f8c6c
push dword [esi]
push ebx
call fcn.004f7a40
add esp, 8
test eax, eax
jne 0x4f8c6c
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 0x4f9198
push esi
push ecx
push ebx
call fcn.00509e60
add esp, 0xc
jmp 0x4f9198
mov edi, dword [ebp - 0x28]
cmp byte [ebp - 0xd], 0
je 0x4f91bc
push dword [ebp - 0x20]
push 0x25
push dword [ebp - 4]
call fcn.0050a940
mov edx, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0x58], eax
mov eax, dword [edx + 0x6c]
mov dword [ebp - 0x54], eax
jmp 0x4f91f9
cmp dword [ebp - 0xc], 0
je 0x4f91f6
push dword [ebp - 0x24]
mov esi, dword [ebp - 4]
push 0xe
push esi
call fcn.0050a940
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 0x4f91f6
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x48]
add ecx, eax
push ecx
push 0x4d
push esi
call fcn.0050a9a0
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 0x4f9346
mov dword [ebp - 0x40], ecx
jmp 0x4f9223
mov edx, dword [ebp - 4]
movsx eax, word [eax + 0x28]
cmp edi, eax
jne 0x4f9239
push esi
push 0x49
push edx
call fcn.0050a940
jmp 0x4f9326
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 0x4f928a
inc dword [ebp + 0x10]
test al, 0x20
je 0x4f9259
dec esi
jmp 0x4f9329
test al, 0x40
je 0x4f9275
test byte [ebp - 0x64], 1
je 0x4f9329
push esi
push 0x49
push edx
call fcn.0050a940
jmp 0x4f9326
cmp dword [ebp + 0x14], 0
jne 0x4f9290
push esi
push dword [ecx + 4]
push ebx
call fcn.004ee2c0
jmp 0x4f9326
cmp dword [ebp + 0x14], 0
je 0x4f92c3
mov edx, dword [ebp + 0x14]
xor eax, eax
mov edx, dword [edx + 4]
test edx, edx
jle 0x4f92b3
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
add ecx, 4
cmp dword [ecx], edi
je 0x4f92b0
inc eax
add ecx, 8
cmp eax, edx
jl 0x4f92a4
mov ecx, dword [ebp - 0x60]
cmp eax, edx
jl 0x4f92da
push esi
push dword [ecx + 4]
push ebx
call fcn.004ee2c0
jmp 0x4f9326
cmp dword [ebp - 0x14], 0
jne 0x4f92d5
push esi
push dword [ecx + 4]
push ebx
call fcn.004ee2c0
jmp 0x4f9326
mov eax, edi
sub eax, dword [ebp + 0x10]
cmp byte [ebp - 0xd], 0
je 0x4f92f4
push esi
push eax
push dword [ebp - 0x20]
push 0x59
push dword [ebp - 4]
call fcn.0050aa00
add esp, 0x14
jmp 0x4f9329
cmp dword [ebp - 0xc], 0
je 0x4f9315
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x28]
je 0x4f9329
push esi
add eax, ecx
push eax
push 0x4e
push dword [ebp - 4]
call fcn.0050a9a0
add esp, 0x10
jmp 0x4f9329
mov ecx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
push esi
push dword [ecx + eax*4 + 4]
push ebx
call fcn.004edff0
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 0x4f9220
dec dword [ebx + 0x38]
test byte [ebp - 0x64], 1
mov edi, dword [ebx + 0x38]
mov dword [ebp + 0x10], edi
je 0x4f94e7
movsx eax, word [eax + 0x2a]
inc eax
push eax
push ebx
call fcn.004f6ff0
add esp, 8
mov esi, eax
mov eax, dword [ebp - 0x1c]
push esi
test eax, eax
jns 0x4f9386
push 0xffffffffffffffff
push 0x45
push dword [ebp - 4]
call fcn.0050a9a0
add esp, 0x10
jmp 0x4f9408
cmp byte [ebp - 0xd], 0
je 0x4f939f
push eax
push dword [ebp - 0x20]
push 0x59
push dword [ebp - 4]
call fcn.0050aa00
add esp, 0x14
jmp 0x4f93b2
mov ecx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 4]
push ebx
call fcn.004edff0
add esp, 0xc
push esi
push 0x33
push dword [ebp - 4]
call fcn.0050a940
push esi
push 0xffffffffffffffff
push 0x45
push dword [ebp - 4]
mov edi, eax
call fcn.0050a9a0
mov eax, dword [ebp - 4]
add esp, 0x1c
mov edx, dword [eax + 0x6c]
test edi, edi
jns 0x4f93dc
lea edi, [edx - 1]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x4f93eb
mov eax, 0x5bcde4
jmp 0x4f93f7
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.0050a940
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 0x4f9430
push edx
push edi
push dword [ebp - 0x28]
push 0x4d
push eax
call fcn.004d27d0
add esp, 0x14
jmp 0x4f9462
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 0x4f9479
push eax
push edi
push ebx
call fcn.004ea240
mov eax, dword [ebp - 8]
add esp, 0xc
cmp dword [ebp - 0x68], 0
jne 0x4f948c
push edi
push eax
push dword [ebp - 4]
call fcn.00507780
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.004e9580
mov ecx, dword [ebp - 8]
add esp, 0x24
movsx eax, word [ecx + 0x2a]
inc eax
cmp eax, 1
jne 0x4f94da
test esi, esi
je 0x4f94ea
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4f94ea
movzx eax, al
mov dword [ebx + eax*4 + 0x94], esi
inc byte [ebx + 0x13]
jmp 0x4f94ea
cmp eax, dword [ebx + 0x1c]
jle 0x4f94ea
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], esi
jmp 0x4f94ea
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x68], 0
jne 0x4f9749
mov ecx, dword [ecx + 0x38]
mov esi, dword [ebp - 4]
test ecx, ecx
je 0x4f9514
push dword [ebp - 0x38]
push 0
push 0x48
push esi
call fcn.0050a9a0
mov eax, dword [ebp - 8]
add esp, 0x10
mov ecx, dword [eax + 0x38]
mov eax, dword [ebp - 0x1c]
test eax, eax
js 0x4f95e8
cmp byte [ebp - 0xd], 0
je 0x4f9539
push dword [ebp - 0x18]
push eax
push dword [ebp - 0x20]
push 0x59
push esi
call fcn.0050aa00
add esp, 0x14
jmp 0x4f957d
cmp dword [ebp - 0xc], 0
jne 0x4f957d
mov edx, dword [ebp - 0x30]
lea eax, [eax + eax*4]
mov eax, dword [edx + eax*4 + 4]
cmp byte [eax], 0x77
jne 0x4f9570
test ecx, ecx
jne 0x4f9570
push dword [ebp - 0x4c]
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push 0x78
push esi
call fcn.0050aa00
add esp, 0x14
mov esi, 1
jmp 0x4f961e
push dword [ebp - 0x18]
push eax
push ebx
call fcn.004edff0
add esp, 0xc
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
jne 0x4f95c3
push dword [ebp - 0x18]
push 0x33
push esi
call fcn.0050a940
push dword [ebp - 0x4c]
mov esi, eax
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push 0x78
push dword [ebp - 4]
call fcn.0050aa00
push esi
mov esi, dword [ebp - 4]
push esi
call fcn.00512d70
add esp, 0x28
push dword [ebp - 0x18]
push 0xf
push esi
call fcn.0050a940
add esp, 0xc
jmp 0x4f961c
mov eax, dword [esi + 0x6c]
add eax, 2
push eax
push dword [ebp - 0x18]
push 0x32
push esi
call fcn.0050a9a0
add esp, 0x10
push dword [ebp - 0x18]
push 0xf
push esi
call fcn.0050a940
add esp, 0xc
jmp 0x4f961c
test ecx, ecx
jne 0x4f960c
cmp byte [ebp - 0x74], cl
jne 0x4f960c
push dword [ebp - 0x4c]
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push 0x78
push esi
call fcn.0050aa00
add esp, 0x14
mov esi, 1
jmp 0x4f961e
push dword [ebp - 0x18]
push 0
push 0x48
push esi
call fcn.0050a9a0
add esp, 0x10
xor esi, esi
mov eax, dword [ebp - 0x4c]
test eax, eax
jle 0x4f9639
push dword [ebp - 0x18]
push eax
push 0x97
push dword [ebx + 8]
call fcn.0050a9a0
add esp, 0x10
mov ecx, dword [ebp - 8]
test byte [ecx + 0x24], 0x60
je 0x4f9652
push ecx
push dword [ebp - 0x28]
push ebx
call fcn.004ea240
mov ecx, dword [ebp - 8]
add esp, 0xc
cmp dword [ecx + 0x38], 0
je 0x4f96ce
mov esi, dword [ecx + 0x40]
test esi, esi
je 0x4f966d
mov eax, dword [ebp - 0x5c]
cmp dword [esi], eax
je 0x4f966d
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4f9662
push ecx
push ebx
call fcn.005168f0
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.0050aa50
mov eax, dword [esi + 0x6c]
add esp, 0x24
test eax, eax
jle 0x4f96bb
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 0x4f974c
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.004f44f0
push 0
push 0
push dword [ebp - 0x38]
push 0
push dword [ebp - 8]
push ebx
call fcn.004f3710
add esp, 0x4c
cmp dword [ebp + 8], 0
je 0x4f9728
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd8], 0
je 0x4f9728
xor eax, eax
jmp 0x4f972d
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.004ea020
add esp, 0x24
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4f9761
push 1
push eax
push 0x52
push esi
call fcn.0050a9a0
add esp, 0x10
cmp dword [ebp - 0x3c], 0
je 0x4f978e
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.004e9580
add esp, 0x24
mov ecx, dword [esi + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f97a8
push edi
push esi
push ecx
call fcn.004dea90
add esp, 0xc
jmp 0x4f97b1
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edi*4], eax
cmp byte [ebp - 0xd], 0
je 0x4f9810
push dword [ebp - 0x54]
mov edi, dword [ebp - 0x20]
push edi
push 5
push esi
call fcn.0050a9a0
mov eax, dword [esi]
add esp, 0x10
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4f97ea
mov eax, 0x5bcde4
push edi
push 0x74
push esi
mov dword [eax + 8], edx
call fcn.0050a940
add esp, 0xc
jmp 0x4f984b
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.0050a940
add esp, 0xc
jmp 0x4f984b
cmp dword [ebp - 0xc], 0
je 0x4f984b
push dword [ebp - 0x54]
push esi
call fcn.00512900
mov eax, dword [esi]
add esp, 8
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4f9834
mov eax, 0x5bcde4
jmp 0x4f9848
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 0x4f9866
cmp dword [ebx + 0x78], 0
jne 0x4f9866
cmp dword [ebx + 0x70], 0
je 0x4f9866
push ebx
call fcn.004c1010
add esp, 4
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4f8c6c
push 1
push eax
push 0x50
push esi
call fcn.0050a9a0
push 1
push esi
call fcn.005157d0
mov eax, dword [esi]
add esp, 0x18
cmp byte [eax + 0x51], 0
jne 0x4f8c6c
mov esi, dword [esi + 0x74]
mov eax, 0x2400
test word [esi + 8], ax
jne 0x4f98a7
cmp dword [esi + 0x18], 0
je 0x4f98b0
push esi
call fcn.00522250
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 0x4f8c6c
mov esi, dword [ebp + 0x10]
jmp 0x4f8c75