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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
mov ebx, dword [ebp + 8]
or eax, 0xffffffff
push esi
push edi
mov dword [ebp - 0x28], 0
cmp dword [ebx + 0x24], 0
mov esi, dword [ebx]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 5], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x2c], esi
jne 0x4f6ebc
cmp byte [esi + 0x51], 0
jne 0x4f6ebc
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4f5d8d
test dword [eax + 8], 0x200
je 0x4f5d8d
cmp dword [eax + 0x34], 0
jne 0x4f5d8d
mov ecx, dword [eax]
push eax
push esi
mov dword [ebp - 0x24], ecx
mov dword [eax], 0
call fcn.00503970
add esp, 8
mov dword [ebp - 0x10], 0
push dword [ebp + 0xc]
push ebx
call fcn.00504950
mov edi, eax
add esp, 8
mov dword [ebp - 4], edi
test edi, edi
je 0x4f6ec7
push dword [edi + 0x48]
push esi
call fcn.00501510
mov esi, eax
mov eax, dword [ebp - 0x2c]
mov ecx, esi
mov dword [ebp - 0x3c], esi
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
push 0
push dword [edi]
push 0x12
push ebx
call fcn.004dd530
add esp, 0x1c
test eax, eax
jne 0x4f5fdf
mov eax, dword [edi + 0x24]
shr eax, 5
and eax, 0xffffff01
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0x78
push edi
push ebx
call fcn.00505780
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 0xc]
push edi
push ebx
mov dword [ebp - 0x30], eax
call fcn.00513210
add esp, 0x1c
test eax, eax
jne 0x4f5fdf
push dword [ebp - 0x50]
push edi
push ebx
call fcn.004f7130
add esp, 0xc
test eax, eax
jne 0x4f5fdf
push ebx
call fcn.004f48a0
mov edi, eax
add esp, 4
mov dword [ebp - 0xc], edi
test edi, edi
je 0x4f5fdf
cmp byte [ebx + 0x12], 0
jne 0x4f5e48
or dword [edi + 0x98], 0x20
cmp dword [ebp - 0x10], 0
jne 0x4f5e58
cmp dword [ebp - 0x40], 0
jne 0x4f5e58
xor eax, eax
jmp 0x4f5e5d
mov eax, 1
push esi
push eax
push ebx
call fcn.004ddde0
add esp, 0xc
cmp dword [ebp + 0x14], 0
jne 0x4f5e89
push esi
push dword [ebp + 0x18]
push dword [ebp - 0x10]
push dword [ebp - 4]
push ebx
call fcn.0052ce50
add esp, 0x14
test eax, eax
jne 0x4f6e1b
push dword [ebp - 4]
push esi
push ebx
call fcn.004a5d00
mov ecx, dword [ebx + 0x2c]
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp - 0x58], eax
lea eax, [ecx + 1]
mov esi, eax
mov dword [ebp - 0x60], eax
movsx eax, word [edx + 0x2a]
inc eax
mov dword [ebp - 0x1c], esi
add eax, ecx
mov dword [ebx + 0x2c], eax
cmp dword [edx + 0x38], 0
je 0x4f5ec4
lea esi, [ecx + 2]
inc eax
mov dword [ebp - 0x1c], esi
mov dword [ebx + 0x2c], eax
mov ecx, dword [edx + 0x24]
lea eax, [esi + 1]
mov esi, dword [ebp + 0x14]
shr ecx, 7
not cl
mov dword [ebp - 0x44], eax
and ecx, 0xffffff01
mov dword [ebp + 0x10], ecx
test esi, esi
je 0x4f607a
mov eax, dword [esi + 4]
xor ecx, ecx
test eax, eax
jle 0x4f5f02
nop
mov eax, dword [esi]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
mov eax, dword [esi + 4]
cmp ecx, eax
jl 0x4f5ef0
xor edx, edx
mov dword [ebp - 0x14], edx
test eax, eax
jle 0x4f607a
mov ecx, dword [ebp - 4]
movzx eax, word [ecx + 0x2a]
movsx ebx, ax
xor edi, edi
test ebx, ebx
jle 0x4f5f7a
mov eax, dword [esi]
mov esi, dword [ecx + 4]
lea eax, [eax + edx*8]
mov dword [ebp - 0x38], eax
nop word [eax + eax]
push dword [esi]
push dword [eax]
call fcn.00505210
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x38]
je 0x4f5f50
inc edi
add esi, 0x10
cmp edi, ebx
jl 0x4f5f30
mov edx, dword [ebp - 0x14]
jmp 0x4f5f77
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov dword [eax + 4], edi
movzx eax, dl
mov edx, dword [ebp - 0x14]
cmp edx, edi
cmove ecx, eax
mov eax, dword [ebp - 4]
mov byte [ebp + 0x10], cl
movsx eax, word [eax + 0x28]
cmp edi, eax
jne 0x4f5f77
mov dword [ebp - 0x34], edx
mov byte [ebp + 0x10], cl
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
movzx ebx, word [eax + 0x2a]
movsx eax, bx
cmp edi, eax
jl 0x4f5fad
mov eax, dword [esi]
mov esi, dword [eax + edx*8]
push esi
call fcn.004f7200
add esp, 4
test eax, eax
je 0x4f5fc4
cmp byte [ebp - 0x54], 0
jne 0x4f5fc4
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x34], edx
mov byte [ebp + 0x10], 0
inc edx
mov eax, ebx
mov dword [ebp - 0x14], edx
cmp edx, dword [esi + 4]
jge 0x4f6074
mov ecx, dword [ebp - 4]
jmp 0x4f5f16
mov ebx, dword [ebp + 8]
push esi
push 0
push dword [ebp + 0xc]
push str.table__S_has_no_column_named__s
push ebx
call fcn.004e6910
add esp, 0x14
mov byte [ebx + 0x11], 1
mov esi, dword [ebp + 0x1c]
mov edi, dword [ebp - 0x10]
push dword [ebp + 0xc]
mov ebx, dword [ebp - 0x2c]
push ebx
call fcn.005042d0
mov eax, dword [ebp - 0x24]
add esp, 8
test eax, eax
je 0x4f6005
push eax
push ebx
call fcn.004b2510
add esp, 8
test esi, esi
je 0x4f6efb
mov eax, dword [esi]
test eax, eax
je 0x4f601d
push eax
push ebx
call fcn.004b2510
add esp, 8
mov eax, dword [esi + 4]
test eax, eax
je 0x4f602e
push eax
push ebx
call fcn.004e9950
add esp, 8
mov eax, dword [esi + 8]
test eax, eax
je 0x4f603f
push eax
push ebx
call fcn.004b2510
add esp, 8
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4f6050
push eax
push ebx
call fcn.004e9950
add esp, 8
test ebx, ebx
je 0x4f6ef2
cmp dword [ebx + 0x1e8], 0
je 0x4f6ed2
push esi
push ebx
call fcn.004c9cf0
add esp, 8
jmp 0x4f6efb
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0xc]
cmp dword [ebp - 0x10], 0
je 0x4f62a9
inc dword [ebx + 0x2c]
mov edi, dword [edi + 0x6c]
mov esi, dword [ebx + 0x2c]
lea eax, [edi + 1]
push eax
push 0
push esi
push 0xd
push dword [ebp - 0xc]
call fcn.00507f30
xor eax, eax
mov byte [ebp - 0x88], 0xd
cmp byte [ebp + 0x10], al
mov dword [ebp - 0x84], esi
cmovne eax, dword [ebp - 0x44]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x78], 0
movsx eax, word [eax + 0x2a]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x10]
push ebx
call fcn.00501550
mov ecx, dword [ebp - 0x80]
add esp, 0x20
mov dword [ebp - 0x5c], ecx
test eax, eax
jne 0x4f5fdf
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 0x51], 0
jne 0x4f5fdf
cmp dword [ebx + 0x24], 0
jne 0x4f5fdf
push esi
mov esi, dword [ebp - 0xc]
push esi
call fcn.00508950
push edi
push esi
call fcn.0050ffa0
mov eax, dword [ebp - 0x10]
add esp, 0x10
cmp dword [ebp - 0x40], 0
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jne 0x4f6209
mov eax, dword [ebx + 8]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x4f614f
cmp dword [ebx + 0x74], eax
jne 0x4f6143
mov eax, dword [ebx]
test byte [eax + 0x4c], 8
jne 0x4f6143
mov byte [ebx + 0x17], 1
push ebx
call fcn.00508730
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
mov edi, dword [eax + 0x6c]
cmp dword [ecx + 0x38], 0
je 0x4f6174
mov edx, dword [ecx + 0x40]
test edx, edx
je 0x4f6176
mov eax, dword [ebx]
cmp dword [edx], eax
je 0x4f616f
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x4f6164
mov eax, dword [ebp - 0x18]
jmp 0x4f6176
xor edx, edx
mov esi, 1
cmp edi, esi
jle 0x4f61f8
mov eax, dword [eax]
mov cl, byte [eax + 0x51]
mov byte [ebp + 0x13], cl
test esi, esi
lea eax, [edi - 1]
cmovns eax, esi
test cl, cl
je 0x4f619a
mov eax, 0x5d5314
jmp 0x4f61a6
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov cl, byte [eax]
cmp cl, 0x6c
jne 0x4f61d5
mov ecx, dword [ebp - 0x3c]
cmp dword [eax + 0xc], ecx
jne 0x4f61df
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 4]
cmp ecx, dword [eax + 0x1c]
je 0x4f6209
mov eax, dword [eax + 8]
test eax, eax
je 0x4f61df
cmp ecx, dword [eax + 0x2c]
je 0x4f6209
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4f61c7
jmp 0x4f61df
cmp cl, 0xa3
jne 0x4f61df
cmp dword [eax + 0x10], edx
je 0x4f6209
mov cl, byte [ebp + 0x13]
inc esi
cmp esi, edi
jl 0x4f6187
mov eax, dword [ebp - 0x84]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jmp 0x4f62ef
mov eax, dword [ebp - 0x84]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jmp 0x4f62f2
mov edx, dword [ebx + 0x28]
push ebx
mov byte [ebp - 5], 1
mov dword [ebp - 0x20], edx
lea eax, [edx + 1]
mov dword [ebx + 0x28], eax
call fcn.004f3f80
push ebx
mov edi, eax
call fcn.004f3f80
push dword [ebp - 0x14]
mov ebx, eax
push edx
push 0x71
push dword [ebp - 0xc]
call fcn.00507ed0
mov eax, dword [ebp - 0x84]
push eax
push 0xe
push dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
call fcn.00507e70
push edi
push dword [ebp - 0x14]
mov esi, eax
push dword [ebp - 0x5c]
push 0x5c
push dword [ebp - 0xc]
call fcn.00507f30
push ebx
push dword [ebp - 0x20]
push 0x79
push dword [ebp - 0xc]
call fcn.00507ed0
add esp, 0x48
push ebx
push edi
push dword [ebp - 0x20]
push 0x7a
push dword [ebp - 0xc]
call fcn.00507f30
push esi
push dword [ebp - 0xc]
call fcn.0050fb50
push esi
push dword [ebp - 0xc]
call fcn.0050ffa0
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.004ff570
push ebx
push esi
call fcn.004ff570
mov ebx, dword [ebp - 0x14]
add esp, 0x34
jmp 0x4f62ef
mov eax, dword [ebp - 0x24]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0xffffffff
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x90], ebx
movups xmmword [ebp - 0x80], xmm0
test eax, eax
je 0x4f62ea
mov ebx, dword [eax]
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x14], ebx
push eax
call fcn.004ff9a0
add esp, 8
test eax, eax
jne 0x4f5fdf
jmp 0x4f62ef
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp - 4]
cmp dword [ebp + 0x14], 0
jne 0x4f6303
test ebx, ebx
jle 0x4f6303
movsx eax, word [ecx + 0x28]
mov dword [ebp - 0x34], eax
movsx edx, word [ecx + 0x2a]
xor edi, edi
xor ebx, ebx
xor ecx, ecx
cmp edx, 2
jl 0x4f6348
mov eax, dword [ebp - 4]
lea esi, [edx - 2]
shr esi, 1
mov ecx, dword [eax + 4]
add ecx, 0x1f
inc esi
lea eax, [esi + esi]
mov dword [ebp + 0x10], eax
movzx eax, byte [ecx - 0x10]
lea ecx, [ecx + 0x20]
shr eax, 1
and eax, 1
add edi, eax
movzx eax, byte [ecx - 0x20]
shr eax, 1
and eax, 1
add ebx, eax
sub esi, 1
jne 0x4f6327
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp - 4]
cmp ecx, edx
jge 0x4f6360
mov eax, dword [esi + 4]
add ecx, ecx
movzx eax, byte [eax + ecx*8 + 0xf]
shr eax, 1
and eax, 1
jmp 0x4f6362
xor eax, eax
mov ecx, dword [ebp + 0x14]
test ecx, ecx
jne 0x4f6397
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4f63b9
sub edx, ebx
sub edx, edi
sub edx, eax
cmp ecx, edx
je 0x4f63b9
push ecx
mov ecx, dword [ebp + 8]
push edx
push 0
push dword [ebp + 0xc]
push str.table__S_has__d_columns_but__d_values_were_supplied
push ecx
call fcn.004e6910
add esp, 0x18
jmp 0x4f5fdf
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x14]
cmp ecx, eax
je 0x4f63b9
push eax
push ecx
mov ecx, dword [ebp + 8]
push str._d_values_for__d_columns
push ecx
call fcn.004e6910
add esp, 0x10
jmp 0x4f5fdf
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp + 8]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, 0
je 0x4f63f4
cmp byte [ebx + 0x12], 0
jne 0x4f63f4
cmp dword [ebx + 0x78], 0
mov edi, dword [ebp - 0xc]
jne 0x4f63f7
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
push eax
push 0
push 0x46
push edi
mov dword [ebp - 0x6c], eax
call fcn.00507ed0
add esp, 0x10
jmp 0x4f63f7
mov edi, dword [ebp - 0xc]
cmp dword [ebp - 0x30], 0
jne 0x4f6460
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0xffffffffffffffff
push 0
push 0x6d
push esi
push ebx
call fcn.004f9210
mov esi, eax
push 0
lea eax, [esi*4 + 4]
push eax
push dword [ebp - 0x2c]
call fcn.004e4ce0
add esp, 0x2c
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x4f5fdf
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, dword [eax + 8]
test esi, esi
jle 0x4f6463
mov edi, dword [ebp - 0x4c]
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [edi + ecx*4], eax
inc ecx
movzx eax, word [edx + 0x34]
add dword [ebx + 0x2c], eax
mov edx, dword [edx + 0x14]
cmp ecx, esi
jl 0x4f6445
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x4f64b0
cmp dword [eax + 0x38], 0
je 0x4f6485
push dword [eax]
push str.UPSERT_not_implemented_for_virtual_table___s_
push ebx
call fcn.004e6910
add esp, 0xc
jmp 0x4f5fe2
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x44]
mov dword [edx + 0x34], ecx
cmp dword [esi], 0
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x64]
mov dword [esi + 0x14], edx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], eax
je 0x4f64b0
push esi
push edx
push ebx
call fcn.00507490
add esp, 0xc
cmp byte [ebp - 5], 0
je 0x4f64cc
push dword [ebp - 0x20]
push 0x24
push edi
call fcn.00507e70
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 0x6c]
mov dword [ebp - 0x48], eax
jmp 0x4f64e5
cmp dword [ebp - 0x10], 0
je 0x4f64e8
push dword [ebp - 0x18]
push 0xe
push edi
call fcn.00507e70
mov ecx, eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x68], ecx
add esp, 0xc
dec dword [ebx + 0x38]
test byte [ebp - 0x50], 1
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x18], eax
je 0x4f67f4
mov eax, dword [ebp - 4]
movsx eax, word [eax + 0x2a]
inc eax
push eax
push ebx
call fcn.004f3f20
add esp, 8
mov esi, eax
mov eax, dword [ebp - 0x34]
mov dword [ebp + 0x10], esi
push esi
test eax, eax
jns 0x4f6529
push 0xffffffffffffffff
push 0x46
push edi
call fcn.00507ed0
add esp, 0x10
jmp 0x4f6580
cmp byte [ebp - 5], 0
je 0x4f6540
push eax
push dword [ebp - 0x20]
push 0x5a
push edi
call fcn.00507f30
add esp, 0x14
jmp 0x4f6553
mov ecx, dword [ebp - 0x24]
lea eax, [eax + eax*2]
push dword [ecx + eax*8 + 4]
push ebx
call fcn.004e7380
add esp, 0xc
push esi
push 0x33
push edi
call fcn.00507e70
push dword [ebp + 0x10]
mov esi, eax
push 0xffffffffffffffff
push 0x46
push edi
call fcn.00507ed0
push esi
push edi
call fcn.0050ffa0
push dword [ebp + 0x10]
push 0xf
push edi
call fcn.00507e70
add esp, 0x30
mov edx, dword [ebp - 4]
xor esi, esi
mov dword [ebp - 0x3c], esi
movzx eax, word [edx + 0x2a]
mov ecx, eax
cmp si, ax
jge 0x4f6781
mov ecx, dword [ebp + 0x10]
or eax, 0xffffffff
sub eax, ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], eax
lea edi, [ecx + 1]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4f65d5
mov edx, dword [eax + 4]
xor esi, esi
test edx, edx
jle 0x4f65d5
mov ecx, dword [eax]
mov ebx, dword [ebp - 0x3c]
add ecx, 4
lea eax, [ebx + edi]
cmp dword [ecx], eax
je 0x4f65cf
inc esi
add ecx, 8
cmp esi, edx
jl 0x4f65c0
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov dl, byte [ebp - 5]
mov ecx, dword [ebp - 0x24]
test dl, dl
jne 0x4f65e3
test ecx, ecx
je 0x4f65ec
test eax, eax
je 0x4f6648
cmp esi, dword [eax + 4]
jl 0x4f6648
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx + 4]
test eax, eax
je 0x4f6618
cmp byte [eax], 0xa8
jne 0x4f6618
push edi
push dword [eax + 0x1c]
push 0x4e
push dword [ebx + 8]
call fcn.00507ed0
add esp, 0x10
jmp 0x4f6751
push edi
push eax
push ebx
call fcn.004e8630
add esp, 0xc
cmp eax, edi
je 0x4f6751
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x4f6751
push edi
push eax
push 0x4f
push ecx
call fcn.00507ed0
add esp, 0x10
jmp 0x4f6751
test dl, dl
je 0x4f669b
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4f666c
push edi
push esi
push dword [ebp - 0x20]
push 0x5a
push edx
call fcn.004c6b50
add esp, 0x14
jmp 0x4f6751
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [ebp - 0x20]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4f6751
lea eax, [esi + esi*2]
mov ebx, dword [ecx + eax*8 + 4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x70], eax
test ebx, ebx
je 0x4f66bd
cmp byte [ebx], 0xa8
jne 0x4f66bd
push edi
push dword [ebx + 0x1c]
push 0x4e
push eax
jmp 0x4f66db
push edi
push ebx
push ecx
call fcn.004e8630
add esp, 0xc
cmp eax, edi
je 0x4f66e3
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4f66e3
push edi
push eax
push 0x4f
push ecx
call fcn.00507ed0
add esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x70]
inc dword [eax + 0x2c]
mov ecx, dword [edx + 0x6c]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x50], eax
cmp dword [edx + 0x70], ecx
jg 0x4f670e
push 0
push eax
push edi
push 0x4e
push edx
call fcn.004c6b50
mov edx, dword [ebp - 0x50]
add esp, 0x14
jmp 0x4f673c
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [ebp - 0x50]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [ebx]
and dword [ebx + 4], 0xffffefff
mov byte [ebx + 0x26], al
mov byte [ebx], 0xa8
mov dword [ebx + 0x1c], edx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
inc edi
add dword [ebp - 0x38], 0x10
cmp dword [ebp + 0x14], 0
mov ecx, dword [ebp - 0x3c]
movzx edx, word [eax + 0x2a]
lea eax, [esi + 1]
cmovne eax, esi
add ecx, edi
mov esi, eax
movsx eax, dx
cmp ecx, eax
jl 0x4f65a8
mov edi, dword [ebp - 0xc]
mov ecx, edx
mov edx, dword [ebp - 4]
cmp dword [ebp - 0x30], 0
mov esi, dword [ebp + 0x10]
movzx eax, cx
jne 0x4f67a2
lea eax, [esi + 1]
push eax
push edx
push edi
call fcn.005052a0
mov edx, dword [ebp - 4]
add esp, 0xc
movzx eax, word [edx + 0x2a]
push dword [ebp - 0x18]
cwde
mov ecx, esi
push dword [ebp + 0x18]
sub ecx, eax
dec ecx
push ecx
push edx
push 1
push 0
push 0x78
push dword [ebp - 0x40]
push ebx
call fcn.004e2560
mov eax, dword [ebp - 4]
add esp, 0x24
movsx eax, word [eax + 0x2a]
inc eax
cmp eax, 1
jne 0x4f67e9
test esi, esi
je 0x4f67f4
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4f67f4
movzx eax, al
mov dword [ebx + eax*4 + 0x94], esi
inc byte [ebx + 0x13]
jmp 0x4f67f4
cmp eax, dword [ebx + 0x1c]
jle 0x4f67f4
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], esi
cmp dword [ebp - 0x30], 0
mov esi, dword [ebp - 4]
jne 0x4f6c73
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x4f681b
push dword [ebp - 0x60]
push 0
push 0x49
push edi
call fcn.00507ed0
mov ecx, dword [esi + 0x38]
add esp, 0x10
mov eax, dword [ebp - 0x34]
test eax, eax
js 0x4f68fc
cmp byte [ebp - 5], 0
je 0x4f6840
push dword [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
push 0x5a
push edi
call fcn.00507f30
add esp, 0x14
jmp 0x4f689d
cmp dword [ebp - 0x10], 0
je 0x4f685a
push dword [ebp - 0x1c]
add eax, dword [ebp - 0x5c]
push eax
push 0x4e
push edi
call fcn.00507ed0
add esp, 0x10
jmp 0x4f689d
mov edx, dword [ebp - 0x24]
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*8 + 4]
cmp byte [eax], 0x72
jne 0x4f6890
test ecx, ecx
jne 0x4f6890
push dword [ebp - 0x58]
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
push 0x79
push edi
call fcn.00507f30
mov esi, dword [ebp - 0x1c]
add esp, 0x14
mov dword [ebp + 0x10], 1
jmp 0x4f693b
push dword [ebp - 0x1c]
push eax
push ebx
call fcn.004e7380
add esp, 0xc
cmp dword [esi + 0x38], 0
jne 0x4f68cd
push dword [ebp - 0x1c]
push 0x33
push edi
call fcn.00507e70
push dword [ebp - 0x58]
mov esi, eax
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
push 0x79
push edi
call fcn.00507f30
push esi
push edi
call fcn.0050ffa0
add esp, 0x28
jmp 0x4f68e2
mov eax, dword [edi + 0x6c]
add eax, 2
push eax
push dword [ebp - 0x1c]
push 0x32
push edi
call fcn.00507ed0
add esp, 0x10
push dword [ebp - 0x1c]
push 0xf
push edi
call fcn.00507e70
mov esi, dword [ebp - 0x1c]
add esp, 0xc
mov dword [ebp + 0x10], 0
jmp 0x4f693b
test ecx, ecx
jne 0x4f6923
cmp byte [ebp - 0x54], cl
jne 0x4f6923
push dword [ebp - 0x58]
mov esi, dword [ebp - 0x1c]
push esi
push dword [ebp - 0x28]
push 0x79
push edi
call fcn.00507f30
add esp, 0x14
mov dword [ebp + 0x10], 1
jmp 0x4f693b
mov esi, dword [ebp - 0x1c]
push esi
push 0
push 0x49
push edi
call fcn.00507ed0
add esp, 0x10
mov dword [ebp + 0x10], 0
mov eax, dword [ebp - 0x58]
test eax, eax
jle 0x4f6954
push esi
push eax
push 0x97
push dword [ebx + 8]
call fcn.00507ed0
add esp, 0x10
mov edx, dword [ebp - 4]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x54], esi
xor ebx, ebx
cmp ax, word [edx + 0x2a]
jge 0x4f6b51
xor ecx, ecx
mov dword [ebp - 0x30], ecx
nop
mov edi, dword [ebp - 0x44]
movsx eax, word [edx + 0x28]
add edi, ebx
cmp ebx, eax
jne 0x4f69d3
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4f699f
push 0
push 0
push edi
mov edi, edx
push 0x4a
push edi
call fcn.004c6b50
add esp, 0x14
jmp 0x4f6b35
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4], 0x4a
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4f6b32
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x4f6a07
mov eax, dword [edx + 4]
mov dl, byte [eax + ecx + 0xf]
and dl, 2
je 0x4f69f6
or ecx, 0xffffffff
lea eax, [esi + 1]
test dl, dl
cmove eax, esi
mov dword [ebp - 0x54], eax
jmp 0x4f6a21
mov ecx, ebx
lea eax, [esi + 1]
sub ecx, esi
test dl, dl
cmove eax, esi
mov dword [ebp - 0x54], eax
jmp 0x4f6a21
mov edx, dword [eax + 4]
xor ecx, ecx
test edx, edx
jle 0x4f6a28
mov eax, dword [eax]
add eax, 4
cmp dword [eax], ebx
je 0x4f6a21
inc ecx
add eax, 8
cmp ecx, edx
jl 0x4f6a15
test ecx, ecx
js 0x4f6a99
mov eax, dword [ebp + 0x14]
cmp dword [ebp - 0x14], 0
je 0x4f6a99
test eax, eax
je 0x4f6a37
cmp ecx, dword [eax + 4]
jge 0x4f6a99
cmp byte [ebp - 5], 0
je 0x4f6a55
push edi
mov edi, dword [ebp - 0xc]
push ecx
push dword [ebp - 0x20]
push 0x5a
push edi
call fcn.00507f30
add esp, 0x14
jmp 0x4f6b35
cmp dword [ebp - 0x10], 0
je 0x4f6a7e
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x44]
je 0x4f6b32
push edi
mov edi, dword [ebp - 0xc]
add eax, ecx
push eax
push 0x4f
push edi
call fcn.00507ed0
add esp, 0x10
jmp 0x4f6b35
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp - 0x24]
push edi
push dword [ecx + eax*8 + 4]
push dword [ebp + 8]
call fcn.004e7380
add esp, 0xc
jmp 0x4f6b32
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 0x30]
mov eax, dword [eax + 4]
mov esi, dword [eax + esi + 4]
mov eax, dword [ebp + 8]
cmp byte [eax + 0x17], 0
je 0x4f6af8
mov byte [ebp - 0x78], 2
mov dword [ebp - 0x88], fcn.004b28f0
mov dword [ebp - 0x84], 0x503ea0
mov dword [ebp - 0x74], 0
test esi, esi
je 0x4f6aeb
lea eax, [ebp - 0x8c]
push esi
push eax
call fcn.005245f0
mov eax, dword [ebp + 8]
add esp, 8
cmp byte [ebp - 0x78], 0
je 0x4f6af8
push edi
push esi
push eax
call fcn.004e73e0
add esp, 0xc
jmp 0x4f6b32
test esi, esi
je 0x4f6b0c
cmp byte [esi], 0xa8
jne 0x4f6b0c
push edi
push dword [esi + 0x1c]
push 0x4e
push dword [eax + 8]
jmp 0x4f6b2a
push edi
push esi
push eax
call fcn.004e8630
add esp, 0xc
cmp eax, edi
je 0x4f6b32
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4f6b32
push edi
push eax
push 0x4f
push ecx
call fcn.00507ed0
add esp, 0x10
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
inc ebx
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x54]
add ecx, 0x10
mov dword [ebp - 0x30], ecx
movsx eax, word [edx + 0x2a]
cmp ebx, eax
jl 0x4f6970
cmp dword [edx + 0x38], 0
je 0x4f6bd1
mov esi, dword [edx + 0x40]
test esi, esi
je 0x4f6b70
mov eax, dword [ebp - 0x2c]
cmp dword [esi], eax
je 0x4f6b70
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4f6b65
mov ebx, dword [ebp + 8]
push edx
push ebx
call fcn.00513800
push 0xfffffffffffffff4
push esi
mov esi, dword [ebp - 4]
push dword [ebp - 0x60]
movsx eax, word [esi + 0x2a]
add eax, 2
push eax
push 1
push 0xa
push edi
call fcn.00507f80
mov eax, dword [edi + 0x6c]
add esp, 0x24
test eax, eax
jle 0x4f6bbe
mov ecx, dword [ebp + 0x18]
cmp ecx, 0xb
movzx edx, cx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov dword [ebp + 0x10], 2
cmove edx, dword [ebp + 0x10]
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 0x4f6c73
push dword [ebp + 0x1c]
mov esi, dword [ebp - 0x60]
lea eax, [ebp - 0x70]
push 0
push eax
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
push dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
shr eax, 0x1f
xor al, 1
movzx eax, al
push eax
push 0
push esi
push dword [ebp - 0x64]
push dword [ebp - 0x28]
push dword [ebp - 0x4c]
push edx
push ebx
call fcn.004f1d60
push 0
push 0
push esi
mov esi, dword [ebp - 4]
push 0
push esi
push ebx
call fcn.004ec730
add esp, 0x4c
cmp dword [ebp - 0x70], 0
je 0x4f6c52
cmp dword [ebp - 0x40], 0
jne 0x4f6c4e
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, 0
je 0x4f6c52
mov eax, dword [esi + 0x48]
push 0
push dword [esi]
add eax, 0x38
push eax
call fcn.004b3480
add esp, 0xc
cmp dword [eax + 8], 0
je 0x4f6c52
xor eax, eax
jmp 0x4f6c57
mov eax, 1
push eax
push dword [ebp + 0x10]
push 0
push dword [ebp - 0x4c]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push dword [ebp - 0x28]
push esi
push ebx
call fcn.004e3420
add esp, 0x24
mov edx, dword [ebp - 0x6c]
test edx, edx
je 0x4f6cc6
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4f6c94
push 0
push 1
push edx
push 0x53
push edi
call fcn.004c6b50
add esp, 0x14
jmp 0x4f6cc6
mov ebx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x53
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x4f6cf1
push dword [ebp - 0x18]
movsx eax, word [esi + 0x2a]
push dword [ebp + 0x18]
mov ecx, dword [ebp - 0x44]
sub ecx, eax
sub ecx, 2
push ecx
push esi
push 2
push 0
push 0x78
push edx
push ebx
call fcn.004e2560
add esp, 0x24
mov ecx, dword [edi + 0xc]
mov edx, dword [ebp - 0x18]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4f6d0e
push edx
push edi
push ecx
call fcn.004d4b00
add esp, 0xc
jmp 0x4f6d17
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
cmp byte [ebp - 5], 0
je 0x4f6ddf
mov ecx, dword [edi + 0x6c]
mov edx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x20]
cmp dword [edi + 0x70], ecx
jg 0x4f6d40
push 0
push edx
push esi
push 5
push edi
call fcn.004c6b50
add esp, 0x14
jmp 0x4f6d6b
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4f6d7d
mov eax, 0x5d5314
jmp 0x4f6d91
mov ecx, dword [ebp - 0x68]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4f6dae
push 0
push 0
push esi
push 0x75
push edi
call fcn.004c6b50
add esp, 0x14
jmp 0x4f6e1b
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x75
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4f6e1b
cmp dword [ebp - 0x10], 0
je 0x4f6e1b
mov edx, dword [ebp - 0x48]
push edx
push edi
call fcn.0050fb50
mov eax, dword [edi]
add esp, 8
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4f6e04
mov eax, 0x5d5314
jmp 0x4f6e18
mov ecx, dword [ebp - 0x68]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp byte [ebx + 0x12], 0
jne 0x4f6e36
cmp dword [ebx + 0x78], 0
jne 0x4f6e36
cmp dword [ebx + 0x70], 0
je 0x4f6e36
push ebx
call fcn.004a5df0
add esp, 4
mov edx, dword [ebp - 0x6c]
test edx, edx
je 0x4f5fdf
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4f6e5b
push 0
push 1
push edx
push 0x51
push edi
call fcn.004c6b50
add esp, 0x14
jmp 0x4f6e8a
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x51
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 1
push edi
call fcn.005127a0
mov eax, dword [edi]
add esp, 8
cmp byte [eax + 0x51], 0
jne 0x4f5fdf
push 0
push 1
push 0xffffffffffffffff
push str.rows_inserted
push dword [edi + 0x74]
call fcn.00511130
add esp, 0x14
jmp 0x4f5fdf
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x1c]
jmp 0x4f5fe5
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp + 0x1c]
jmp 0x4f5fe5
cmp esi, dword [ebx + 0x138]
jb 0x4f6ef2
cmp esi, dword [ebx + 0x13c]
jae 0x4f6ef2
mov eax, dword [ebx + 0x134]
mov dword [esi], eax
mov dword [ebx + 0x134], esi
jmp 0x4f6efb
push esi
call fcn.00493e30
add esp, 4
test edi, edi
je 0x4f6f0b
push 1
push edi
push ebx
call fcn.004aaf40
add esp, 0xc
push dword [ebp + 0x14]
push ebx
call fcn.004f4d30
mov ecx, dword [ebp - 0x4c]
add esp, 8
test ecx, ecx
je 0x4f6f6a
test ebx, ebx
je 0x4f6f61
cmp dword [ebx + 0x1e8], 0
je 0x4f6f3c
push ecx
push ebx
call fcn.004c9cf0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, dword [ebx + 0x138]
jb 0x4f6f61
cmp ecx, dword [ebx + 0x13c]
jae 0x4f6f61
mov eax, dword [ebx + 0x134]
pop edi
mov dword [ecx], eax
pop esi
mov dword [ebx + 0x134], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
call fcn.00493e30
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret