Function at 0x10154490
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 0x10155678
cmp byte [eax + 0x51], 0
jne 0x10155678
mov ecx, dword [ebp + 8]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x1015456a
test dword [ecx + 4], 0x200
je 0x1015456a
cmp dword [ecx + 0x34], 0
jne 0x1015456a
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.1015d710
add esp, 4
mov dword [esp + 0x1c], 0
mov edx, edi
mov ecx, esi
call fcn.1014c9c0
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x10154989
mov edx, dword [edi + 0x48]
mov ecx, dword [esp + 0x50]
call fcn.1015ced0
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.10145120
add esp, 0xc
test eax, eax
jne 0x10154989
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.10168d10
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.101487a0
test eax, eax
jne 0x10154989
push dword [esp + 0x84]
mov edx, edi
mov ecx, esi
call fcn.1014ca20
add esp, 4
test eax, eax
jne 0x10154989
mov ecx, esi
call fcn.10160670
mov dword [esp + 0x14], eax
test eax, eax
je 0x10154989
cmp byte [esi + 0x12], 0
jne 0x1015463e
or dword [eax + 0x98], 0x20
cmp dword [esp + 0x1c], 0
jne 0x10154650
cmp dword [esp + 0x6c], 0
jne 0x10154650
xor edx, edx
jmp 0x10154655
mov edx, 1
push dword [esp + 0x24]
mov ecx, esi
call fcn.1014b700
add esp, 4
cmp dword [ebp + 0xc], 0
jne 0x10154688
push dword [esp + 0x24]
mov edx, edi
mov ecx, esi
push dword [ebp + 0x10]
push dword [esp + 0x24]
call fcn.10157a70
add esp, 0xc
test eax, eax
jne 0x1015560a
mov edx, dword [esp + 0x24]
mov ecx, esi
push edi
call fcn.10154260
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 0x101546c6
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 0x1015483e
mov eax, dword [edx + 4]
xor ecx, ecx
test eax, eax
jle 0x10154702
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 0x101546f0
xor edx, edx
mov dword [esp + 0x2c], edx
test eax, eax
jle 0x1015483e
movzx eax, word [edi + 0x2a]
mov dword [esp + 0x7c], eax
cwde
xor edi, edi
test eax, eax
jle 0x101547bd
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.10108640
test eax, eax
je 0x10154771
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 0x10154740
mov edx, dword [esp + 0x2c]
jmp 0x101547bd
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 0x10154975
mov eax, dword [esp + 0x18]
movzx eax, word [eax + 0x2a]
cwde
cmp edi, eax
jl 0x10154821
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edi, dword [eax + edx*8]
mov edx, str._ROWID_
mov ecx, edi
call fcn.10108640
test eax, eax
je 0x10154806
mov edx, str.ROWID
mov ecx, edi
call fcn.10108640
test eax, eax
je 0x10154806
mov edx, 0x101ef478
mov ecx, edi
call fcn.10108640
test eax, eax
jne 0x10154a33
cmp byte [esp + 0x80], 0
jne 0x10154a33
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 0x10154718
cmp dword [esp + 0x1c], 0
je 0x10154bd4
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.10124330
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.101651b0
mov ecx, dword [esp + 0x9c]
add esp, 4
mov dword [esp + 0x44], ecx
test eax, eax
jne 0x10154989
mov eax, dword [esp + 0x50]
cmp byte [eax + 0x51], 0
jne 0x10154989
cmp dword [esi + 0x24], 0
jne 0x10154989
mov ecx, dword [esp + 0x14]
mov edx, edi
call fcn.10124980
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x14]
call fcn.10124d40
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 0x10154b02
mov eax, dword [esi + 8]
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x1015493f
cmp dword [esi + 0x74], eax
jne 0x10154934
mov eax, dword [esi]
test byte [eax + 0x4c], 8
jne 0x10154934
mov byte [esi + 0x17], 1
mov ecx, esi
call fcn.101240e0
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 0x10154a54
mov edx, dword [ecx + 0x40]
test edx, edx
je 0x10154a56
mov eax, dword [esi]
cmp dword [edx], eax
je 0x1015496c
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x10154961
mov eax, dword [esp + 0x30]
jmp 0x10154a56
lea eax, [edi + edi*4]
push dword [ecx + eax*4]
push str.cannot_INSERT_into_generated_column___s_
push esi
call fcn.10108510
add esp, 0xc
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x50]
mov ecx, esi
mov edx, dword [esp + 0x78]
call fcn.1014b080
mov eax, dword [esp + 0x54]
test eax, eax
je 0x101549ad
mov edx, eax
mov ecx, esi
call fcn.1013ac90
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10154a00
mov edx, dword [eax]
test edx, edx
je 0x101549c4
mov ecx, esi
call fcn.1013ac90
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 4]
test edx, edx
je 0x101549d5
mov ecx, esi
call fcn.10139b60
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
test edx, edx
je 0x101549e6
mov ecx, esi
call fcn.1013ac90
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x101549f7
mov ecx, esi
call fcn.10139b60
mov eax, dword [ebp + 0x14]
mov edx, eax
mov ecx, esi
call fcn.10105110
test edi, edi
je 0x10154a12
push 1
mov edx, edi
mov ecx, esi
call fcn.1015d710
add esp, 4
mov edx, dword [ebp + 0xc]
mov ecx, esi
call fcn.1014ad00
mov eax, dword [esp + 0x58]
test eax, eax
je 0x10154a2d
mov edx, eax
mov ecx, esi
call fcn.10105110
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.10108510
add esp, 0x14
mov byte [esi + 0x11], 1
jmp 0x10154989
xor edx, edx
mov edi, 1
cmp eax, edi
jle 0x10154aee
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 0x10154a85
mov eax, 0x10224e74
jmp 0x10154a92
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 0x10154ac3
mov ecx, dword [esp + 0x24]
cmp dword [eax + 0xc], ecx
jne 0x10154acd
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x18]
cmp ecx, dword [eax + 0x1c]
je 0x10154b02
mov eax, dword [eax + 8]
test eax, eax
je 0x10154acd
cmp ecx, dword [eax + 0x2c]
je 0x10154b02
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x10154ab5
jmp 0x10154acd
cmp cl, 0xa5
jne 0x10154acd
cmp dword [eax + 0x10], edx
je 0x10154b02
mov eax, dword [esp + 0x30]
inc edi
mov cl, byte [esp + 0x23]
cmp edi, eax
jl 0x10154a74
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
jmp 0x10154c22
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
jmp 0x10154c26
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.10140910
mov edi, eax
call fcn.10140910
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push edx
mov edx, 0x64
mov dword [esp + 0x38], eax
call fcn.10124460
mov eax, dword [esp + 0x9c]
mov edx, 0xe
mov ecx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x48], eax
call fcn.10124400
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.10124330
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, 0x78
push dword [esp + 0x30]
push dword [esp + 0x44]
call fcn.10124460
push dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov edx, 0x79
push edi
push dword [esp + 0x50]
call fcn.10124330
mov ecx, dword [esp + 0x28]
add esp, 0x14
mov edx, esi
call fcn.101244d0
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.10124d40
mov esi, dword [esp + 0x60]
mov edx, edi
mov ecx, esi
call fcn.10140930
mov edx, dword [esp + 0x30]
call fcn.10140930
mov edi, dword [esp + 0x2c]
jmp 0x10154c22
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 0x10154c1c
mov edi, dword [eax]
lea ecx, [esp + 0x90]
mov edx, eax
mov dword [esp + 0x2c], edi
call fcn.10138790
test eax, eax
jne 0x10154989
jmp 0x10154c22
xor edi, edi
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x18]
cmp dword [ebp + 0xc], 0
jne 0x10154c7b
test edi, edi
jle 0x10154c7b
movsx eax, word [ecx + 0x28]
mov dword [esp + 0x38], eax
test eax, eax
js 0x10154c7b
test byte [ecx + 0x24], 0x60
je 0x10154c7b
lea edx, [eax - 1]
test edx, edx
js 0x10154c7b
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 0x10154c60
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
movsx edi, word [eax + 0x2a]
test edi, edi
jle 0x10154cac
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 0x10154c91
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x60]
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x2c]
test eax, eax
jne 0x10154ce0
test edx, edx
je 0x10154cfc
sub edi, dword [esp + 0x28]
cmp edx, edi
je 0x10154cfc
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.10108510
add esp, 0x18
jmp 0x10154989
mov eax, dword [eax + 4]
cmp edx, eax
je 0x10154cfc
push eax
push edx
push str._d_values_for__d_columns
push esi
call fcn.10108510
add esp, 0x10
jmp 0x10154989
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x10154d39
cmp byte [esi + 0x12], 0
jne 0x10154d39
cmp dword [esi + 0x78], 0
jne 0x10154d39
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.10124460
add esp, 8
cmp dword [esp + 0x88], 0
jne 0x10154dcf
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.10157750
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x40], eax
push 0
lea eax, [eax*4 + 8]
push eax
call fcn.10105400
mov ecx, eax
add esp, 0x20
mov dword [esp + 0x58], ecx
test ecx, ecx
je 0x10154989
mov edi, dword [edi + 8]
xor edx, edx
cmp dword [esp + 0x28], edx
jle 0x10154dc5
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 0x10154da0
jmp 0x10154dc8
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 0x10154e45
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x38], 0
je 0x10154dec
push dword [eax]
push str.UPSERT_not_implemented_for_virtual_table___s_
jmp 0x10154980
cmp dword [eax + 0xc], 0
je 0x10154e05
push str.cannot_UPSERT_a_view
push esi
call fcn.10108510
add esp, 8
jmp 0x10154989
mov edx, dword [edi]
mov ecx, esi
call fcn.10149bb0
test eax, eax
jne 0x10154989
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 0x10154e45
push edi
mov ecx, esi
call fcn.1016c060
add esp, 4
cmp byte [esp + 0x22], 0
je 0x10154e70
push dword [esp + 0x40]
mov edi, dword [esp + 0x18]
mov edx, 0x25
mov ecx, edi
call fcn.10124400
mov dword [esp + 0x78], eax
add esp, 4
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x70], eax
jmp 0x10154eb8
cmp dword [esp + 0x1c], 0
je 0x10154eb8
push dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
mov edx, 0xe
mov ecx, edi
call fcn.10124400
mov dword [esp + 0x74], eax
add esp, 4
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x38]
test eax, eax
js 0x10154eb8
mov ecx, dword [esp + 0x44]
mov edx, 0x4d
push dword [esp + 0x34]
add ecx, eax
push ecx
mov ecx, edi
call fcn.10124460
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 0x10155090
mov dword [esp + 0x3c], eax
nop
movsx eax, word [ecx + 0x28]
cmp edx, eax
jne 0x10154efc
mov ecx, dword [esp + 0x14]
mov edx, 0x49
push edi
call fcn.10124400
jmp 0x1015506e
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 0x10154fc1
inc dword [esp + 0x30]
test al, 0x20
je 0x10154f23
dec edi
jmp 0x10155075
test al, 0x40
je 0x10154f49
test byte [esp + 0x84], 1
je 0x10155075
mov ecx, dword [esp + 0x14]
mov edx, 0x49
push edi
call fcn.10124400
jmp 0x1015506e
cmp dword [ebp + 0xc], 0
jne 0x10154fc7
cmp byte [esi + 0x17], 0
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], eax
je 0x10154fba
mov dword [esp + 0xa8], 0
mov ecx, 2
mov dword [esp + 0x98], 0x1013ad40
mov dword [esp + 0x94], fcn.1013ae60
mov word [esp + 0xa4], cx
test eax, eax
je 0x10154fab
mov edx, eax
lea ecx, [esp + 0x90]
call fcn.101360e0
cmp word [esp + 0xa4], 0
mov eax, dword [esp + 0x28]
je 0x10154fba
push edi
mov edx, eax
mov ecx, esi
call fcn.1013eec0
jmp 0x1015506e
mov edx, eax
jmp 0x10155066
cmp dword [ebp + 0xc], 0
je 0x10155002
mov edx, dword [ebp + 0xc]
xor eax, eax
mov edx, dword [edx + 4]
test edx, edx
jle 0x10154ff4
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x24]
mov ecx, dword [ecx]
add ecx, 4
nop
cmp dword [ecx], esi
je 0x10154fec
inc eax
add ecx, 8
cmp eax, edx
jl 0x10154fe0
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x28]
cmp eax, edx
jge 0x10154f4f
mov edx, dword [esp + 0x24]
jmp 0x10155013
cmp dword [esp + 0x2c], 0
je 0x10154f4f
mov eax, edx
sub eax, dword [esp + 0x30]
cmp byte [esp + 0x22], 0
je 0x10155033
mov ecx, dword [esp + 0x14]
mov edx, 0x59
push edi
push eax
push dword [esp + 0x48]
call fcn.10124330
add esp, 0xc
jmp 0x10155071
cmp dword [esp + 0x1c], 0
je 0x1015505b
mov ecx, dword [esp + 0x44]
cmp ecx, dword [esp + 0x4c]
je 0x10155075
add eax, ecx
mov edx, 0x4e
mov ecx, dword [esp + 0x14]
push edi
push eax
call fcn.10124460
add esp, 8
jmp 0x10155071
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x54]
mov edx, dword [eax + edx*4 + 4]
push edi
mov ecx, esi
call fcn.1013f080
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 0x10154ee0
dec dword [esi + 0x38]
test byte [esp + 0x84], 1
mov eax, dword [esi + 0x38]
mov dword [esp + 0x44], eax
je 0x10155230
movsx edx, word [ecx + 0x2a]
mov ecx, esi
inc edx
call fcn.10140950
mov edi, eax
mov eax, dword [esp + 0x38]
push edi
test eax, eax
jns 0x101550d7
mov ecx, dword [esp + 0x18]
mov edx, 0x45
push 0xffffffffffffffff
call fcn.10124460
add esp, 8
jmp 0x10155178
cmp byte [esp + 0x26], 0
je 0x101550f6
mov ecx, dword [esp + 0x18]
mov edx, 0x59
push eax
push dword [esp + 0x48]
call fcn.10124330
add esp, 0xc
jmp 0x1015510b
lea edx, [eax + eax*4]
mov ecx, esi
mov eax, dword [esp + 0x58]
mov edx, dword [eax + edx*4 + 4]
call fcn.1013f080
add esp, 4
mov ecx, dword [esp + 0x14]
mov edx, 0x33
push edi
call fcn.10124400
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, 0x45
mov dword [esp + 0x28], eax
push edi
push 0xffffffffffffffff
call fcn.10124460
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x28]
mov edx, dword [eax + 0x6c]
test ecx, ecx
jns 0x10155147
lea ecx, [edx - 1]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x10155156
mov eax, 0x10224e74
jmp 0x10155163
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.10124400
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.10124330
mov ecx, dword [esp + 0x24]
add esp, 0xc
test byte [ecx + 0x24], 0x60
je 0x101551b7
push ecx
lea edx, [edi + 1]
mov ecx, esi
call fcn.10154080
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp dword [esp + 0x88], 0
jne 0x101551d3
lea eax, [edi + 1]
mov edx, ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.10153f90
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.101696a0
mov ecx, dword [esp + 0x34]
add esp, 0x1c
movsx eax, word [ecx + 0x2a]
inc eax
cmp eax, 1
jne 0x10155225
test edi, edi
je 0x10155230
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x10155230
movzx eax, al
mov dword [esi + eax*4 + 0x94], edi
inc byte [esi + 0x13]
jmp 0x10155230
cmp eax, dword [esi + 0x1c]
jle 0x10155230
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edi
cmp dword [esp + 0x88], 0
jne 0x101554ef
mov ecx, dword [ecx + 0x38]
test ecx, ecx
je 0x10155265
push dword [esp + 0x5c]
mov ecx, dword [esp + 0x18]
mov edx, 0x48
push 0
call fcn.10124460
mov edi, dword [esp + 0x20]
add esp, 8
mov ecx, dword [edi + 0x38]
jmp 0x10155269
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
test eax, eax
js 0x1015533b
cmp byte [esp + 0x22], 0
je 0x10155298
push dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov edx, 0x59
push eax
push dword [esp + 0x48]
call fcn.10124330
add esp, 0xc
jmp 0x101552c5
cmp dword [esp + 0x1c], 0
jne 0x101552c5
mov edx, dword [esp + 0x54]
lea eax, [eax + eax*4]
mov edx, dword [edx + eax*4 + 4]
cmp byte [edx], 0x77
jne 0x101552b7
test ecx, ecx
je 0x10155348
push dword [esp + 0x34]
mov ecx, esi
call fcn.1013f080
add esp, 4
cmp dword [edi + 0x38], 0
mov edi, dword [esp + 0x14]
mov ecx, edi
jne 0x1015530e
push dword [esp + 0x34]
mov edx, 0x33
call fcn.10124400
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.10124330
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.10124d40
mov esi, dword [esp + 0x60]
jmp 0x10155326
mov eax, dword [edi + 0x6c]
mov edx, 0x32
add eax, 2
push eax
push dword [esp + 0x38]
call fcn.10124460
add esp, 8
push dword [esp + 0x34]
mov edx, 0xf
mov ecx, edi
call fcn.10124400
add esp, 4
jmp 0x10155383
test ecx, ecx
jne 0x1015536c
cmp byte [esp + 0x80], cl
jne 0x1015536c
push dword [esp + 0x64]
mov ecx, dword [esp + 0x18]
mov edx, 0x78
push dword [esp + 0x38]
push dword [esp + 0x50]
call fcn.10124330
add esp, 0xc
mov edi, 1
jmp 0x10155385
push dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov edx, 0x48
push 0
call fcn.10124460
add esp, 8
xor edi, edi
mov eax, dword [esp + 0x64]
test eax, eax
jle 0x101553a2
push dword [esp + 0x34]
mov ecx, dword [esi + 8]
mov edx, 0x97
push eax
call fcn.10124460
add esp, 8
mov ecx, dword [esp + 0x18]
test byte [ecx + 0x24], 0x60
je 0x101553bf
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.10154080
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp dword [ecx + 0x38], 0
je 0x1015544c
mov edi, dword [ecx + 0x40]
test edi, edi
je 0x101553df
mov eax, dword [esp + 0x50]
cmp dword [edi], eax
je 0x101553df
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x101553d4
mov edx, ecx
mov ecx, esi
call fcn.1016e470
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.101246f0
mov eax, dword [esp + 0x28]
add esp, 0x14
mov eax, dword [eax + 0x6c]
test eax, eax
jle 0x10155439
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 0x101554f3
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.101556c0
mov edx, dword [esp + 0x44]
add esp, 0x2c
mov ecx, esi
push 0
push 0
push dword [esp + 0x64]
push 0
call fcn.10152c20
add esp, 0x10
cmp dword [esp + 0x80], 0
je 0x101554c4
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xd8], 0
je 0x101554c4
xor eax, eax
jmp 0x101554c9
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.10157510
add esp, 0x1c
jmp 0x101554f3
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x10155512
mov ecx, dword [esp + 0x14]
mov edx, 0x52
push 1
push eax
call fcn.10124460
add esp, 8
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x10155540
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.101696a0
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 0x10155562
push edx
mov edx, edi
call fcn.101249f0
add esp, 4
jmp 0x1015556b
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
cmp byte [esp + 0x22], 0
je 0x101555c8
push dword [esp + 0x70]
mov edx, 5
mov ecx, edi
push dword [esp + 0x44]
call fcn.10124460
mov eax, dword [edi]
add esp, 8
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x1015559b
mov eax, 0x10224e74
jmp 0x101555b0
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.10124400
add esp, 4
jmp 0x1015560e
cmp dword [esp + 0x1c], 0
je 0x1015560e
mov edx, dword [esp + 0x70]
mov ecx, edi
call fcn.101244d0
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x101555ef
mov eax, 0x10224e74
mov dword [eax + 8], edx
jmp 0x1015560e
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 0x1015560e
mov edi, dword [esp + 0x14]
cmp byte [esi + 0x12], 0
jne 0x10155627
cmp dword [esi + 0x78], 0
jne 0x10155627
cmp dword [esi + 0x70], 0
je 0x10155627
mov ecx, esi
call fcn.10154340
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x10154989
push 1
push eax
mov edx, 0x50
mov ecx, edi
call fcn.10124460
add esp, 8
mov edx, 1
mov ecx, edi
call fcn.10126410
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x10154989
mov ecx, dword [edi + 0x74]
mov edx, str.rows_inserted
push 0
push 1
push 0xffffffffffffffff
call fcn.10123680
jmp 0x10154986
mov edi, dword [ebp + 8]
jmp 0x1015498d