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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
push esi
mov esi, ecx
mov dword [esp + 0x24], 0
push edi
mov edi, edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x78], edi
cmp dword [esi + 0x24], 0
mov eax, dword [esi]
mov dword [esp + 0x48], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x40], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov byte [esp + 0x22], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], eax
jne 0x10184248
cmp byte [eax + 0x51], 0
jne 0x10184248
mov ecx, dword [ebp + 8]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x1018313a
test dword [ecx + 4], 0x200
je 0x1018313a
cmp dword [ecx + 0x34], 0
jne 0x1018313a
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x54], edx
mov edx, ecx
mov dword [ecx + 0x1c], 0
mov ecx, eax
push 1
call fcn.1018c2d0
add esp, 4
mov dword [esp + 0x1c], 0
mov edx, edi
mov ecx, esi
call fcn.1017b5a0
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x10183559
mov edx, dword [edi + 0x48]
mov ecx, dword [esp + 0x50]
call fcn.1018ba90
mov ecx, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x50]
add ecx, ecx
mov edx, 0x12
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, esi
push 0
push dword [edi]
call fcn.10173d00
add esp, 0xc
test eax, eax
jne 0x10183559
mov eax, dword [edi + 0x24]
mov edx, edi
shr eax, 7
mov ecx, esi
and eax, 0xffffff01
mov dword [esp + 0x80], eax
lea eax, [esp + 0x84]
push eax
push 0
push 0x7d
call fcn.101978d0
add esp, 0xc
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0xc]
mov edx, edi
mov ecx, esi
mov dword [esp + 0x88], eax
call fcn.10177380
test eax, eax
jne 0x10183559
push dword [esp + 0x84]
mov edx, edi
mov ecx, esi
call fcn.1017b600
add esp, 4
test eax, eax
jne 0x10183559
mov ecx, esi
call fcn.1018f230
mov dword [esp + 0x14], eax
test eax, eax
je 0x10183559
cmp byte [esi + 0x12], 0
jne 0x1018320e
or dword [eax + 0x98], 0x20
cmp dword [esp + 0x1c], 0
jne 0x10183220
cmp dword [esp + 0x6c], 0
jne 0x10183220
xor edx, edx
jmp 0x10183225
mov edx, 1
push dword [esp + 0x24]
mov ecx, esi
call fcn.1017a2e0
add esp, 4
cmp dword [ebp + 0xc], 0
jne 0x10183258
push dword [esp + 0x24]
mov edx, edi
mov ecx, esi
push dword [ebp + 0x10]
push dword [esp + 0x24]
call fcn.10186640
add esp, 0xc
test eax, eax
jne 0x101841da
mov edx, dword [esp + 0x24]
mov ecx, esi
push edi
call fcn.10182e30
mov ecx, dword [esi + 0x2c]
add esp, 4
mov dword [esp + 0x64], eax
lea eax, [ecx + 1]
mov edx, eax
mov dword [esp + 0x5c], eax
movsx eax, word [edi + 0x2a]
inc eax
mov dword [esp + 0x34], edx
add eax, ecx
mov dword [esi + 0x2c], eax
cmp dword [edi + 0x38], 0
je 0x10183296
lea edx, [ecx + 2]
inc eax
mov dword [esp + 0x34], edx
mov dword [esi + 0x2c], eax
test dword [edi + 0x24], 0x440
lea eax, [edx + 1]
mov edx, dword [ebp + 0xc]
sete byte [esp + 0x23]
mov dword [esp + 0x4c], eax
test edx, edx
je 0x1018340e
mov eax, dword [edx + 4]
xor ecx, ecx
test eax, eax
jle 0x101832d2
nop dword [eax]
mov eax, dword [edx]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
mov eax, dword [edx + 4]
cmp ecx, eax
jl 0x101832c0
xor edx, edx
mov dword [esp + 0x2c], edx
test eax, eax
jle 0x1018340e
movzx eax, word [edi + 0x2a]
mov dword [esp + 0x7c], eax
cwde
xor edi, edi
test eax, eax
jle 0x1018338d
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
lea ecx, [eax + edx*8]
mov eax, dword [esp + 0x18]
mov dword [esp + 0xbc], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
nop dword [eax]
mov edx, dword [eax]
mov ecx, dword [ecx]
call fcn.10137240
test eax, eax
je 0x10183341
mov eax, dword [esp + 0x30]
inc edi
mov edx, dword [esp + 0x7c]
add eax, 0x14
movsx ecx, dx
cmp edi, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xbc]
jl 0x10183310
mov edx, dword [esp + 0x2c]
jmp 0x1018338d
mov eax, dword [esp + 0xbc]
xor ecx, ecx
mov edx, dword [esp + 0x2c]
cmp edx, edi
mov esi, dword [esp + 0x18]
mov dword [eax + 4], edi
movzx eax, byte [esp + 0x23]
cmove ecx, eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x23], cl
mov ecx, edx
movsx eax, word [eax + 0x28]
cmp edi, eax
lea eax, [edi + edi*4]
cmovne ecx, dword [esp + 0x38]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 4]
mov esi, dword [esp + 0x60]
test byte [ecx + eax*4 + 0x10], 0x60
jne 0x10183545
mov eax, dword [esp + 0x18]
movzx eax, word [eax + 0x2a]
cwde
cmp edi, eax
jl 0x101833f1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edi, dword [eax + edx*8]
mov edx, str._ROWID_
mov ecx, edi
call fcn.10137240
test eax, eax
je 0x101833d6
mov edx, str.ROWID
mov ecx, edi
call fcn.10137240
test eax, eax
je 0x101833d6
mov edx, 0x1029512c
mov ecx, edi
call fcn.10137240
test eax, eax
jne 0x10183603
cmp byte [esp + 0x80], 0
jne 0x10183603
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x38], edx
mov byte [esp + 0x23], 0
mov ecx, dword [esp + 0x18]
inc edx
mov dword [esp + 0x2c], edx
movzx eax, word [ecx + 0x2a]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x7c], eax
cmp edx, dword [ecx + 4]
jl 0x101832e8
cmp dword [esp + 0x1c], 0
je 0x101837a4
mov ecx, dword [esp + 0x14]
mov edx, 0xd
inc dword [esi + 0x2c]
mov edi, dword [esi + 0x2c]
mov eax, dword [ecx + 0x6c]
mov dword [esp + 0x7c], eax
inc eax
push eax
push 0
push edi
call fcn.10152f10
mov edx, dword [esp + 0x28]
xor eax, eax
add esp, 0xc
mov byte [esp + 0x90], 0xd
cmp byte [esp + 0x23], al
mov ecx, esi
mov dword [esp + 0x94], edi
cmovne eax, dword [esp + 0x4c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xa0], 0
movsx eax, word [eax + 0x2a]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x90]
push eax
call fcn.10193d70
mov ecx, dword [esp + 0x9c]
add esp, 4
mov dword [esp + 0x44], ecx
test eax, eax
jne 0x10183559
mov eax, dword [esp + 0x50]
cmp byte [eax + 0x51], 0
jne 0x10183559
cmp dword [esi + 0x24], 0
jne 0x10183559
mov ecx, dword [esp + 0x14]
mov edx, edi
call fcn.10153560
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x14]
call fcn.10153920
cmp dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
jne 0x101836d2
mov eax, dword [esi + 8]
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x1018350f
cmp dword [esi + 0x74], eax
jne 0x10183504
mov eax, dword [esi]
test byte [eax + 0x4c], 8
jne 0x10183504
mov byte [esi + 0x17], 1
mov ecx, esi
call fcn.10152cc0
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x6c]
mov dword [esp + 0x30], eax
cmp dword [ecx + 0x38], 0
je 0x10183624
mov edx, dword [ecx + 0x40]
test edx, edx
je 0x10183626
mov eax, dword [esi]
cmp dword [edx], eax
je 0x1018353c
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x10183531
mov eax, dword [esp + 0x30]
jmp 0x10183626
lea eax, [edi + edi*4]
push dword [ecx + eax*4]
push str.cannot_INSERT_into_generated_column___s_
push esi
call fcn.10137110
add esp, 0xc
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x50]
mov ecx, esi
mov edx, dword [esp + 0x78]
call fcn.10179c60
mov eax, dword [esp + 0x54]
test eax, eax
je 0x1018357d
mov edx, eax
mov ecx, esi
call fcn.10169870
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x101835d0
mov edx, dword [eax]
test edx, edx
je 0x10183594
mov ecx, esi
call fcn.10169870
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 4]
test edx, edx
je 0x101835a5
mov ecx, esi
call fcn.10168740
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
test edx, edx
je 0x101835b6
mov ecx, esi
call fcn.10169870
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x101835c7
mov ecx, esi
call fcn.10168740
mov eax, dword [ebp + 0x14]
mov edx, eax
mov ecx, esi
call fcn.10133d20
test edi, edi
je 0x101835e2
push 1
mov edx, edi
mov ecx, esi
call fcn.1018c2d0
add esp, 4
mov edx, dword [ebp + 0xc]
mov ecx, esi
call fcn.101798e0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x101835fd
mov edx, eax
mov ecx, esi
call fcn.10133d20
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 0
push dword [esp + 0x80]
push str.table__S_has_no_column_named__s
push esi
call fcn.10137110
add esp, 0x14
mov byte [esi + 0x11], 1
jmp 0x10183559
xor edx, edx
mov edi, 1
cmp eax, edi
jle 0x101836be
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov cl, byte [eax + 0x51]
mov eax, dword [esp + 0x30]
mov byte [esp + 0x23], cl
dec eax
test edi, edi
cmovns eax, edi
test cl, cl
je 0x10183655
mov eax, 0x102d44a4
jmp 0x10183662
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov cl, byte [eax]
cmp cl, 0x60
jne 0x10183693
mov ecx, dword [esp + 0x24]
cmp dword [eax + 0xc], ecx
jne 0x1018369d
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x18]
cmp ecx, dword [eax + 0x1c]
je 0x101836d2
mov eax, dword [eax + 8]
test eax, eax
je 0x1018369d
cmp ecx, dword [eax + 0x2c]
je 0x101836d2
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x10183685
jmp 0x1018369d
cmp cl, 0xa5
jne 0x1018369d
cmp dword [eax + 0x10], edx
je 0x101836d2
mov eax, dword [esp + 0x30]
inc edi
mov cl, byte [esp + 0x23]
cmp edi, eax
jl 0x10183644
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
jmp 0x101837f2
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
jmp 0x101837f6
mov edx, dword [esi + 0x28]
mov ecx, esi
mov byte [esp + 0x22], 1
mov dword [esp + 0x40], edx
lea eax, [edx + 1]
mov dword [esi + 0x28], eax
call fcn.1016f4f0
mov edi, eax
call fcn.1016f4f0
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push edx
mov edx, 0x64
mov dword [esp + 0x38], eax
call fcn.10153040
mov eax, dword [esp + 0x9c]
mov edx, 0xe
mov ecx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x48], eax
call fcn.10152fe0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, 0x5b
mov esi, eax
push edi
push dword [esp + 0x30]
push dword [esp + 0x4c]
call fcn.10152f10
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, 0x78
push dword [esp + 0x30]
push dword [esp + 0x44]
call fcn.10153040
push dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov edx, 0x79
push edi
push dword [esp + 0x50]
call fcn.10152f10
mov ecx, dword [esp + 0x28]
add esp, 0x14
mov edx, esi
call fcn.101530b0
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.10153920
mov esi, dword [esp + 0x60]
mov edx, edi
mov ecx, esi
call fcn.1016f510
mov edx, dword [esp + 0x30]
call fcn.1016f510
mov edi, dword [esp + 0x2c]
jmp 0x101837f2
mov eax, dword [esp + 0x54]
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0xa0], xmm0
mov dword [esp + 0x90], esi
mov dword [esp + 0x40], 0xffffffff
test eax, eax
je 0x101837ec
mov edi, dword [eax]
lea ecx, [esp + 0x90]
mov edx, eax
mov dword [esp + 0x2c], edi
call fcn.10167370
test eax, eax
jne 0x10183559
jmp 0x101837f2
xor edi, edi
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x18]
cmp dword [ebp + 0xc], 0
jne 0x1018384b
test edi, edi
jle 0x1018384b
movsx eax, word [ecx + 0x28]
mov dword [esp + 0x38], eax
test eax, eax
js 0x1018384b
test byte [ecx + 0x24], 0x60
je 0x1018384b
lea edx, [eax - 1]
test edx, edx
js 0x1018384b
mov eax, dword [esp + 0x18]
lea ecx, [edx + 1]
lea ecx, [edx + ecx*4]
mov eax, dword [eax + 4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x38]
nop dword [eax]
test byte [ecx], 0x60
lea eax, [eax - 1]
lea ecx, [ecx - 0x14]
cmove eax, dword [esp + 0x38]
sub edx, 1
mov dword [esp + 0x38], eax
jns 0x10183830
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
movsx edi, word [eax + 0x2a]
test edi, edi
jle 0x1018387c
mov ecx, dword [eax + 4]
mov edx, edi
add ecx, 0x10
xor esi, esi
test byte [ecx], 0x62
lea eax, [esi + 1]
lea ecx, [ecx + 0x14]
cmove eax, esi
mov esi, eax
sub edx, 1
jne 0x10183861
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x60]
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x2c]
test eax, eax
jne 0x101838b0
test edx, edx
je 0x101838cc
sub edi, dword [esp + 0x28]
cmp edx, edi
je 0x101838cc
push edx
push edi
push eax
push dword [esp + 0x84]
push str.table__S_has__d_columns_but__d_values_were_supplied
push esi
call fcn.10137110
add esp, 0x18
jmp 0x10183559
mov eax, dword [eax + 4]
cmp edx, eax
je 0x101838cc
push eax
push edx
push str._d_values_for__d_columns
push esi
call fcn.10137110
add esp, 0x10
jmp 0x10183559
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x10183909
cmp byte [esi + 0x12], 0
jne 0x10183909
cmp dword [esi + 0x78], 0
jne 0x10183909
inc dword [esi + 0x2c]
mov edx, 0x45
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x14]
push eax
push 0
mov dword [esp + 0x94], eax
call fcn.10153040
add esp, 8
cmp dword [esp + 0x88], 0
jne 0x1018399f
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x4c]
mov edx, edi
push eax
push 0
push 0xffffffffffffffff
push 0
push 0x61
mov ecx, esi
call fcn.10186320
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x40], eax
push 0
lea eax, [eax*4 + 8]
push eax
call fcn.10134010
mov ecx, eax
add esp, 0x20
mov dword [esp + 0x58], ecx
test ecx, ecx
je 0x10183559
mov edi, dword [edi + 8]
xor edx, edx
cmp dword [esp + 0x28], edx
jle 0x10183995
nop dword [eax]
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [ecx + edx*4], eax
inc edx
movzx ecx, word [edi + 0x34]
mov eax, dword [esi + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x2c], eax
mov edi, dword [edi + 0x14]
cmp edx, dword [esp + 0x28]
jl 0x10183970
jmp 0x10183998
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esi + 0x2c], eax
mov dword [ecx + edx*4], eax
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x10183a15
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x38], 0
je 0x101839bc
push dword [eax]
push str.UPSERT_not_implemented_for_virtual_table___s_
jmp 0x10183550
cmp dword [eax + 0xc], 0
je 0x101839d5
push str.cannot_UPSERT_a_view
push esi
call fcn.10137110
add esp, 8
jmp 0x10183559
mov edx, dword [edi]
mov ecx, esi
call fcn.10178790
test eax, eax
jne 0x10183559
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [edx + 0x34], ecx
cmp dword [edi], 0
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x68]
mov dword [edi + 0x14], edx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], eax
je 0x10183a15
push edi
mov ecx, esi
call fcn.1019ac20
add esp, 4
cmp byte [esp + 0x22], 0
je 0x10183a40
push dword [esp + 0x40]
mov edi, dword [esp + 0x18]
mov edx, 0x25
mov ecx, edi
call fcn.10152fe0
mov dword [esp + 0x78], eax
add esp, 4
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x70], eax
jmp 0x10183a88
cmp dword [esp + 0x1c], 0
je 0x10183a88
push dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
mov edx, 0xe
mov ecx, edi
call fcn.10152fe0
mov dword [esp + 0x74], eax
add esp, 4
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x38]
test eax, eax
js 0x10183a88
mov ecx, dword [esp + 0x44]
mov edx, 0x4d
push dword [esp + 0x34]
add ecx, eax
push ecx
mov ecx, edi
call fcn.10153040
add esp, 8
mov ecx, dword [esp + 0x18]
xor edx, edx
mov edi, dword [esp + 0x4c]
xor eax, eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], edx
cmp ax, word [ecx + 0x2a]
jge 0x10183c60
mov dword [esp + 0x3c], eax
nop
movsx eax, word [ecx + 0x28]
cmp edx, eax
jne 0x10183acc
mov ecx, dword [esp + 0x14]
mov edx, 0x49
push edi
call fcn.10152fe0
jmp 0x10183c3e
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov dword [esp + 0x28], ecx
movzx eax, word [ecx + 0x10]
test al, 0x62
je 0x10183b91
inc dword [esp + 0x30]
test al, 0x20
je 0x10183af3
dec edi
jmp 0x10183c45
test al, 0x40
je 0x10183b19
test byte [esp + 0x84], 1
je 0x10183c45
mov ecx, dword [esp + 0x14]
mov edx, 0x49
push edi
call fcn.10152fe0
jmp 0x10183c3e
cmp dword [ebp + 0xc], 0
jne 0x10183b97
cmp byte [esi + 0x17], 0
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], eax
je 0x10183b8a
mov dword [esp + 0xa8], 0
mov ecx, 2
mov dword [esp + 0x98], 0x10169920
mov dword [esp + 0x94], fcn.10169a40
mov word [esp + 0xa4], cx
test eax, eax
je 0x10183b7b
mov edx, eax
lea ecx, [esp + 0x90]
call fcn.10164cc0
cmp word [esp + 0xa4], 0
mov eax, dword [esp + 0x28]
je 0x10183b8a
push edi
mov edx, eax
mov ecx, esi
call fcn.1016daa0
jmp 0x10183c3e
mov edx, eax
jmp 0x10183c36
cmp dword [ebp + 0xc], 0
je 0x10183bd2
mov edx, dword [ebp + 0xc]
xor eax, eax
mov edx, dword [edx + 4]
test edx, edx
jle 0x10183bc4
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x24]
mov ecx, dword [ecx]
add ecx, 4
nop
cmp dword [ecx], esi
je 0x10183bbc
inc eax
add ecx, 8
cmp eax, edx
jl 0x10183bb0
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x28]
cmp eax, edx
jge 0x10183b1f
mov edx, dword [esp + 0x24]
jmp 0x10183be3
cmp dword [esp + 0x2c], 0
je 0x10183b1f
mov eax, edx
sub eax, dword [esp + 0x30]
cmp byte [esp + 0x22], 0
je 0x10183c03
mov ecx, dword [esp + 0x14]
mov edx, 0x59
push edi
push eax
push dword [esp + 0x48]
call fcn.10152f10
add esp, 0xc
jmp 0x10183c41
cmp dword [esp + 0x1c], 0
je 0x10183c2b
mov ecx, dword [esp + 0x44]
cmp ecx, dword [esp + 0x4c]
je 0x10183c45
add eax, ecx
mov edx, 0x4e
mov ecx, dword [esp + 0x14]
push edi
push eax
call fcn.10153040
add esp, 8
jmp 0x10183c41
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x54]
mov edx, dword [eax + edx*4 + 4]
push edi
mov ecx, esi
call fcn.1016dc60
add esp, 4
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
inc edx
add dword [esp + 0x3c], 0x14
inc edi
mov dword [esp + 0x24], edx
movsx eax, word [ecx + 0x2a]
cmp edx, eax
jl 0x10183ab0
dec dword [esi + 0x38]
test byte [esp + 0x84], 1
mov eax, dword [esi + 0x38]
mov dword [esp + 0x44], eax
je 0x10183e00
movsx edx, word [ecx + 0x2a]
mov ecx, esi
inc edx
call fcn.1016f530
mov edi, eax
mov eax, dword [esp + 0x38]
push edi
test eax, eax
jns 0x10183ca7
mov ecx, dword [esp + 0x18]
mov edx, 0x45
push 0xffffffffffffffff
call fcn.10153040
add esp, 8
jmp 0x10183d48
cmp byte [esp + 0x26], 0
je 0x10183cc6
mov ecx, dword [esp + 0x18]
mov edx, 0x59
push eax
push dword [esp + 0x48]
call fcn.10152f10
add esp, 0xc
jmp 0x10183cdb
lea edx, [eax + eax*4]
mov ecx, esi
mov eax, dword [esp + 0x58]
mov edx, dword [eax + edx*4 + 4]
call fcn.1016dc60
add esp, 4
mov ecx, dword [esp + 0x14]
mov edx, 0x33
push edi
call fcn.10152fe0
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, 0x45
mov dword [esp + 0x28], eax
push edi
push 0xffffffffffffffff
call fcn.10153040
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x28]
mov edx, dword [eax + 0x6c]
test ecx, ecx
jns 0x10183d17
lea ecx, [edx - 1]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x10183d26
mov eax, 0x102d44a4
jmp 0x10183d33
mov eax, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], edx
mov edx, 0xf
push edi
call fcn.10152fe0
add esp, 4
mov eax, dword [esp + 0x18]
lea ecx, [edi + 1]
mov edx, 0x4d
movsx eax, word [eax + 0x2c]
dec eax
push eax
push ecx
push dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
call fcn.10152f10
mov ecx, dword [esp + 0x24]
add esp, 0xc
test byte [ecx + 0x24], 0x60
je 0x10183d87
push ecx
lea edx, [edi + 1]
mov ecx, esi
call fcn.10182c50
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp dword [esp + 0x88], 0
jne 0x10183da3
lea eax, [edi + 1]
mov edx, ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.10182b60
add esp, 4
mov edx, dword [esp + 0x18]
mov ecx, edi
push dword [esp + 0x44]
push dword [ebp + 0x10]
movsx eax, word [edx + 0x2a]
sub ecx, eax
dec ecx
push ecx
push edx
mov edx, dword [esp + 0x7c]
mov ecx, esi
push 1
push 0
push 0x7d
call fcn.10198260
mov ecx, dword [esp + 0x34]
add esp, 0x1c
movsx eax, word [ecx + 0x2a]
inc eax
cmp eax, 1
jne 0x10183df5
test edi, edi
je 0x10183e00
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x10183e00
movzx eax, al
mov dword [esi + eax*4 + 0x94], edi
inc byte [esi + 0x13]
jmp 0x10183e00
cmp eax, dword [esi + 0x1c]
jle 0x10183e00
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edi
cmp dword [esp + 0x88], 0
jne 0x101840bf
mov ecx, dword [ecx + 0x38]
test ecx, ecx
je 0x10183e35
push dword [esp + 0x5c]
mov ecx, dword [esp + 0x18]
mov edx, 0x48
push 0
call fcn.10153040
mov edi, dword [esp + 0x20]
add esp, 8
mov ecx, dword [edi + 0x38]
jmp 0x10183e39
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
test eax, eax
js 0x10183f0b
cmp byte [esp + 0x22], 0
je 0x10183e68
push dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov edx, 0x59
push eax
push dword [esp + 0x48]
call fcn.10152f10
add esp, 0xc
jmp 0x10183e95
cmp dword [esp + 0x1c], 0
jne 0x10183e95
mov edx, dword [esp + 0x54]
lea eax, [eax + eax*4]
mov edx, dword [edx + eax*4 + 4]
cmp byte [edx], 0x77
jne 0x10183e87
test ecx, ecx
je 0x10183f18
push dword [esp + 0x34]
mov ecx, esi
call fcn.1016dc60
add esp, 4
cmp dword [edi + 0x38], 0
mov edi, dword [esp + 0x14]
mov ecx, edi
jne 0x10183ede
push dword [esp + 0x34]
mov edx, 0x33
call fcn.10152fe0
add esp, 4
mov edx, 0x78
mov ecx, edi
mov esi, eax
push dword [esp + 0x64]
push dword [esp + 0x38]
push dword [esp + 0x50]
call fcn.10152f10
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.10153920
mov esi, dword [esp + 0x60]
jmp 0x10183ef6
mov eax, dword [edi + 0x6c]
mov edx, 0x32
add eax, 2
push eax
push dword [esp + 0x38]
call fcn.10153040
add esp, 8
push dword [esp + 0x34]
mov edx, 0xf
mov ecx, edi
call fcn.10152fe0
add esp, 4
jmp 0x10183f53
test ecx, ecx
jne 0x10183f3c
cmp byte [esp + 0x80], cl
jne 0x10183f3c
push dword [esp + 0x64]
mov ecx, dword [esp + 0x18]
mov edx, 0x78
push dword [esp + 0x38]
push dword [esp + 0x50]
call fcn.10152f10
add esp, 0xc
mov edi, 1
jmp 0x10183f55
push dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov edx, 0x48
push 0
call fcn.10153040
add esp, 8
xor edi, edi
mov eax, dword [esp + 0x64]
test eax, eax
jle 0x10183f72
push dword [esp + 0x34]
mov ecx, dword [esi + 8]
mov edx, 0x97
push eax
call fcn.10153040
add esp, 8
mov ecx, dword [esp + 0x18]
test byte [ecx + 0x24], 0x60
je 0x10183f8f
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.10182c50
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp dword [ecx + 0x38], 0
je 0x1018401c
mov edi, dword [ecx + 0x40]
test edi, edi
je 0x10183faf
mov eax, dword [esp + 0x50]
cmp dword [edi], eax
je 0x10183faf
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x10183fa4
mov edx, ecx
mov ecx, esi
call fcn.1019d020
mov ecx, dword [esp + 0x14]
mov edx, 0xa
push 0xfffffffffffffff4
push edi
mov edi, dword [esp + 0x20]
push dword [esp + 0x64]
movsx eax, word [edi + 0x2a]
add eax, 2
push eax
push 1
call fcn.101532d0
mov eax, dword [esp + 0x28]
add esp, 0x14
mov eax, dword [eax + 0x6c]
test eax, eax
jle 0x10184009
mov ecx, dword [ebp + 0x10]
cmp ecx, 0xb
movzx edx, cx
mov ecx, 2
cmove edx, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esi + 0x74]
mov ecx, esi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
jmp 0x101840c3
push dword [ebp + 0x14]
lea eax, [esp + 0x84]
mov edx, ecx
push 0
push eax
push dword [esp + 0x50]
mov eax, dword [esp + 0x48]
mov ecx, esi
push dword [ebp + 0x10]
shr eax, 0x1f
xor al, 1
movzx eax, al
push eax
push 0
push dword [esp + 0x78]
push dword [esp + 0x88]
push dword [esp + 0x6c]
push dword [esp + 0x80]
call fcn.10184290
mov edx, dword [esp + 0x44]
add esp, 0x2c
mov ecx, esi
push 0
push 0
push dword [esp + 0x64]
push 0
call fcn.101817f0
add esp, 0x10
cmp dword [esp + 0x80], 0
je 0x10184094
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xd8], 0
je 0x10184094
xor eax, eax
jmp 0x10184099
mov eax, 1
push eax
push edi
mov edi, dword [esp + 0x20]
mov ecx, esi
push 0
push dword [esp + 0x64]
mov edx, edi
push dword [esp + 0x6c]
push dword [esp + 0x7c]
push dword [esp + 0x60]
call fcn.101860e0
add esp, 0x1c
jmp 0x101840c3
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x101840e2
mov ecx, dword [esp + 0x14]
mov edx, 0x52
push 1
push eax
call fcn.10153040
add esp, 8
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x10184110
push dword [esp + 0x44]
movsx eax, word [edi + 0x2a]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x54]
sub ecx, eax
sub ecx, 2
push ecx
push edi
push 2
push 0
push 0x7d
mov ecx, esi
call fcn.10198260
add esp, 0x1c
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
not edx
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x10184132
push edx
mov edx, edi
call fcn.101535d0
add esp, 4
jmp 0x1018413b
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
cmp byte [esp + 0x22], 0
je 0x10184198
push dword [esp + 0x70]
mov edx, 5
mov ecx, edi
push dword [esp + 0x44]
call fcn.10153040
mov eax, dword [edi]
add esp, 8
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x1018416b
mov eax, 0x102d44a4
jmp 0x10184180
mov ecx, dword [esp + 0x74]
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]
push dword [esp + 0x40]
mov dword [eax + 8], edx
mov ecx, edi
mov edx, 0x74
call fcn.10152fe0
add esp, 4
jmp 0x101841de
cmp dword [esp + 0x1c], 0
je 0x101841de
mov edx, dword [esp + 0x70]
mov ecx, edi
call fcn.101530b0
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x101841bf
mov eax, 0x102d44a4
mov dword [eax + 8], edx
jmp 0x101841de
mov ecx, dword [esp + 0x74]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x101841de
mov edi, dword [esp + 0x14]
cmp byte [esi + 0x12], 0
jne 0x101841f7
cmp dword [esi + 0x78], 0
jne 0x101841f7
cmp dword [esi + 0x70], 0
je 0x101841f7
mov ecx, esi
call fcn.10182f10
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x10183559
push 1
push eax
mov edx, 0x50
mov ecx, edi
call fcn.10153040
add esp, 8
mov edx, 1
mov ecx, edi
call fcn.10154ff0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x10183559
mov ecx, dword [edi + 0x74]
mov edx, str.rows_inserted
push 0
push 1
push 0xffffffffffffffff
call fcn.10152260
jmp 0x10183556
mov edi, dword [ebp + 8]
jmp 0x1018355d