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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
push esi
push edi
mov edi, ecx
mov esi, edx
mov ecx, 0x101080ea
mov dword [esp + 0x68], esi
mov dword [esp + 0x40], edi
call fcn.100de193
cmp dword [edi + 0x24], 0
mov eax, dword [edi]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x38], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov byte [esp + 0x1a], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x54], eax
jne 0x1008f6e4
cmp byte [eax + 0x51], 0
jne 0x1008f6e4
mov ecx, dword [ebp + 8]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x1008e672
test dword [ecx + 4], 0x200
je 0x1008e672
cmp dword [ecx + 0x34], 0
jne 0x1008e672
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x58], edx
mov edx, ecx
mov dword [ecx + 0x1c], 0
mov ecx, eax
call fcn.10097490
mov dword [esp + 0x10], 0
mov edx, esi
mov ecx, edi
call fcn.10087160
mov esi, eax
mov dword [esp + 0x28], esi
test esi, esi
je 0x1008ea48
mov edx, dword [esi + 0x48]
mov ecx, dword [esp + 0x54]
call fcn.10096810
mov ecx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
add ecx, ecx
mov edx, 0x12
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, edi
push 0
push dword [esi]
call fcn.1007f9d0
add esp, 0xc
test eax, eax
jne 0x1008ea48
mov eax, dword [esi + 0x24]
mov edx, esi
shr eax, 7
mov ecx, edi
and eax, 0xffffff01
mov dword [esp + 0x44], eax
lea eax, [esp + 0x60]
push eax
push 0
push 0x7d
call fcn.100a1790
add esp, 0xc
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0xc]
mov edx, esi
mov ecx, edi
mov dword [esp + 0x80], eax
call fcn.10083110
test eax, eax
jne 0x1008ea48
push dword [esp + 0x60]
mov edx, esi
mov ecx, edi
call fcn.100871d0
add esp, 4
test eax, eax
jne 0x1008ea48
mov ecx, edi
call fcn.10099f30
mov dword [esp + 0xc], eax
test eax, eax
je 0x1008ea48
cmp byte [edi + 0x12], 0
jne 0x1008e73d
or dword [eax + 0x98], 0x20
cmp dword [esp + 0x10], 0
jne 0x1008e74f
cmp dword [esp + 0x74], 0
jne 0x1008e74f
xor edx, edx
jmp 0x1008e754
mov edx, 1
push dword [esp + 0x1c]
mov ecx, edi
call fcn.10085f40
add esp, 4
cmp dword [ebp + 0xc], 0
jne 0x1008e787
push dword [esp + 0x1c]
mov edx, esi
mov ecx, edi
push dword [ebp + 0x10]
push dword [esp + 0x18]
call fcn.10091680
add esp, 0xc
test eax, eax
jne 0x1008f674
mov edx, dword [esp + 0x1c]
mov ecx, edi
push esi
call fcn.1008e320
mov ecx, dword [edi + 0x2c]
add esp, 4
mov dword [esp + 0x6c], eax
lea eax, [ecx + 1]
mov edx, eax
mov dword [esp + 0x64], eax
movsx eax, word [esi + 0x2a]
inc eax
mov dword [esp + 0x30], edx
add eax, ecx
mov dword [edi + 0x2c], eax
cmp dword [esi + 0x38], 0
je 0x1008e7c5
lea edx, [ecx + 2]
inc eax
mov dword [esp + 0x30], edx
mov dword [edi + 0x2c], eax
test dword [esi + 0x24], 0x440
lea eax, [edx + 1]
mov edx, dword [ebp + 0xc]
sete byte [esp + 0x1b]
mov dword [esp + 0x50], eax
test edx, edx
je 0x1008e8fb
mov eax, dword [edx + 4]
xor ecx, ecx
test eax, eax
jle 0x1008e802
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 0x1008e7f0
xor ecx, ecx
mov dword [esp + 0x14], ecx
test eax, eax
jle 0x1008e8fb
mov edx, esi
xor eax, eax
xor esi, esi
cmp ax, word [edx + 0x2a]
jge 0x1008e8ab
lea eax, [ecx*8]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov edx, dword [edx + 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + edx]
mov ecx, dword [ecx]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + ecx]
call fcn.10042ed0
mov edx, dword [esp + 0x28]
test eax, eax
je 0x1008e864
movsx eax, word [edx + 0x2a]
inc esi
add dword [esp + 0x24], 0x14
cmp esi, eax
mov eax, dword [esp + 0x24]
jl 0x1008e831
jmp 0x1008e8a7
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [ecx + eax + 4], esi
xor ecx, ecx
cmp dword [esp + 0x14], esi
movzx eax, byte [esp + 0x1b]
cmove ecx, eax
movsx eax, word [edx + 0x28]
mov byte [esp + 0x1b], cl
cmp esi, eax
mov ecx, dword [esp + 0x14]
lea eax, [esi + esi*4]
cmovne ecx, dword [esp + 0x34]
mov dword [esp + 0x34], ecx
mov ecx, dword [edx + 4]
test byte [ecx + eax*4 + 0x10], 0x60
jne 0x1008ea34
mov ecx, dword [esp + 0x14]
movsx eax, word [edx + 0x2a]
cmp esi, eax
jl 0x1008e8e6
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx + esi*8]
call fcn.100761c0
test eax, eax
je 0x1008eaf2
cmp byte [esp + 0x44], 0
jne 0x1008eaf2
mov edx, dword [esp + 0x28]
mov ecx, esi
mov dword [esp + 0x34], ecx
mov byte [esp + 0x1b], 0
mov eax, dword [ebp + 0xc]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [eax + 4]
jl 0x1008e812
mov esi, dword [esp + 0x28]
cmp dword [esp + 0x10], 0
je 0x1008ec85
mov ecx, dword [esp + 0xc]
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x20], edx
mov eax, dword [ecx + 0x6c]
mov dword [esp + 0x2c], eax
inc eax
push eax
push 0
push edx
mov edx, 0xd
call fcn.1005f370
add esp, 0xc
lea ecx, [esp + 0x88]
mov edx, 0xd
push dword [esp + 0x20]
call fcn.100972b0
mov edx, dword [esp + 0x14]
xor eax, eax
add esp, 4
mov ecx, edi
cmp byte [esp + 0x1b], al
cmovne eax, dword [esp + 0x50]
mov dword [esp + 0x90], eax
movsx eax, word [esi + 0x2a]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x88]
push eax
call fcn.1009e2c0
mov ecx, dword [esp + 0x94]
add esp, 4
mov dword [esp + 0x3c], ecx
test eax, eax
jne 0x1008ea48
mov eax, dword [esp + 0x54]
cmp byte [eax + 0x51], 0
jne 0x1008ea48
cmp dword [edi + 0x24], 0
jne 0x1008ea48
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
call fcn.1005f940
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
call fcn.1005fd20
cmp dword [esp + 0x74], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
jne 0x1008ebb2
mov eax, dword [edi + 8]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1008e9fc
cmp dword [edi + 0x74], eax
jne 0x1008e9f1
mov eax, dword [edi]
test byte [eax + 0x4c], 8
jne 0x1008e9f1
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.1005f1c0
mov dword [esp + 0x14], eax
cmp dword [esi + 0x38], 0
mov eax, dword [eax + 0x6c]
mov dword [esp + 0x2c], eax
je 0x1008eb17
mov edx, dword [esi + 0x40]
test edx, edx
je 0x1008eb19
mov eax, dword [edi]
nop word [eax + eax]
cmp dword [edx], eax
je 0x1008ea2b
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x1008ea20
mov eax, dword [esp + 0x2c]
jmp 0x1008eb19
lea eax, [esi + esi*4]
push dword [ecx + eax*4]
push str.cannot_INSERT_into_generated_column___s_
push edi
call fcn.10042d30
add esp, 0xc
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x54]
mov ecx, edi
mov edx, dword [esp + 0x68]
call fcn.10085910
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1008ea6c
mov edx, eax
mov ecx, edi
call fcn.10075be0
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1008eabf
mov edx, dword [eax]
test edx, edx
je 0x1008ea83
mov ecx, edi
call fcn.10075be0
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 4]
test edx, edx
je 0x1008ea94
mov ecx, edi
call fcn.10074b60
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
test edx, edx
je 0x1008eaa5
mov ecx, edi
call fcn.10075be0
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x1008eab6
mov ecx, edi
call fcn.10074b60
mov eax, dword [ebp + 0x14]
mov edx, eax
mov ecx, edi
call fcn.1003f6f0
test esi, esi
je 0x1008ead1
push 1
mov edx, esi
mov ecx, edi
call fcn.10097190
add esp, 4
mov edx, dword [ebp + 0xc]
mov ecx, edi
call fcn.100855a0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x1008eaec
mov edx, eax
mov ecx, edi
call fcn.1003f6f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push dword [eax + esi*8]
push 0
push dword [esp + 0x70]
push str.table__S_has_no_column_named__s
push edi
call fcn.10042d30
add esp, 0x14
mov byte [edi + 0x11], 1
jmp 0x1008ea48
xor edx, edx
mov ecx, 1
mov dword [esp + 0x20], ecx
cmp eax, ecx
jle 0x1008ec7f
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov al, byte [eax + 0x51]
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x2c]
nop dword [eax + eax]
dec eax
test ecx, ecx
cmovns eax, ecx
cmp byte [esp + 0x1b], 0
je 0x1008eb54
mov eax, 0x1010644c
jmp 0x1008eb61
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov cl, byte [eax]
cmp cl, 0x60
jne 0x1008eb8e
mov ecx, dword [esp + 0x1c]
cmp dword [eax + 0xc], ecx
jne 0x1008eb98
mov ecx, dword [eax + 8]
cmp ecx, dword [esi + 0x1c]
je 0x1008ebb2
mov eax, dword [esi + 8]
test eax, eax
je 0x1008eb98
cmp ecx, dword [eax + 0x2c]
je 0x1008ebb2
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x1008eb80
jmp 0x1008eb98
cmp cl, 0xa5
jne 0x1008eb98
cmp dword [eax + 0x10], edx
je 0x1008ebb2
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, eax
jl 0x1008eb40
mov esi, dword [esp + 0x24]
jmp 0x1008ecd3
mov esi, dword [edi + 0x28]
mov ecx, edi
mov byte [esp + 0x1a], 1
mov dword [esp + 0x38], esi
lea eax, [esi + 1]
mov dword [edi + 0x28], eax
call fcn.1007b260
mov ecx, dword [esp + 0x40]
mov edi, eax
call fcn.1007b260
push dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov edx, 0x64
push esi
mov dword [esp + 0x34], eax
call fcn.1005f4d0
push dword [esp + 0x94]
mov ecx, dword [esp + 0x18]
mov edx, 0xe
call fcn.1005f460
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, 0x5b
mov esi, eax
push edi
push dword [esp + 0x28]
push dword [esp + 0x44]
call fcn.1005f370
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, 0x78
push dword [esp + 0x2c]
push dword [esp + 0x3c]
call fcn.1005f4d0
push dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov edx, 0x79
push edi
push dword [esp + 0x48]
call fcn.1005f370
mov ecx, dword [esp + 0x20]
add esp, 0x14
mov edx, esi
call fcn.1005f500
mov ecx, dword [esp + 0xc]
mov edx, esi
call fcn.1005fd20
mov edx, edi
mov edi, dword [esp + 0x40]
mov ecx, edi
call fcn.1007b290
mov edx, dword [esp + 0x2c]
mov ecx, edi
call fcn.1007b290
mov esi, dword [esp + 0x24]
jmp 0x1008ecd3
mov eax, dword [esp + 0x58]
xorps xmm0, xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0xb0], xmm0
mov dword [esp + 0xa0], edi
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x1008eccd
mov esi, dword [eax]
lea ecx, [esp + 0xa0]
mov edx, eax
mov dword [esp + 0x24], esi
call fcn.10073650
test eax, eax
jne 0x1008ea48
jmp 0x1008ecd3
xor esi, esi
mov dword [esp + 0x24], esi
cmp dword [ebp + 0xc], 0
jne 0x1008ed2d
test esi, esi
mov esi, dword [esp + 0x28]
jle 0x1008ed31
movsx eax, word [esi + 0x28]
mov dword [esp + 0x34], eax
test eax, eax
js 0x1008ed31
test byte [esi + 0x24], 0x60
je 0x1008ed31
lea edx, [eax - 1]
test edx, edx
js 0x1008ed31
mov eax, dword [esi + 4]
lea ecx, [edx + 1]
lea ecx, [edx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x34]
nop word [eax + eax]
test byte [ecx], 0x60
lea eax, [eax - 1]
lea ecx, [ecx - 0x14]
cmove eax, dword [esp + 0x34]
sub edx, 1
mov dword [esp + 0x34], eax
jns 0x1008ed10
mov dword [esp + 0x34], eax
jmp 0x1008ed31
mov esi, dword [esp + 0x28]
movsx eax, word [esi + 0x2a]
test eax, eax
jle 0x1008ed62
mov ecx, dword [esi + 4]
mov edx, eax
add ecx, 0x10
xor edi, edi
test byte [ecx], 0x62
lea eax, [edi + 1]
lea ecx, [ecx + 0x14]
cmove eax, edi
mov edi, eax
sub edx, 1
jne 0x1008ed43
movsx eax, word [esi + 0x2a]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x40]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x24]
test ecx, ecx
jne 0x1008ed93
test edx, edx
je 0x1008edaf
sub eax, dword [esp + 0x48]
cmp edx, eax
je 0x1008edaf
push edx
push eax
push ecx
push dword [esp + 0x74]
push str.table__S_has__d_columns_but__d_values_were_supplied
push edi
call fcn.10042d30
add esp, 0x18
jmp 0x1008ea48
mov eax, dword [ecx + 4]
cmp edx, eax
je 0x1008edaf
push eax
push edx
push str._d_values_for__d_columns
push edi
call fcn.10042d30
add esp, 0x10
jmp 0x1008ea48
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x1008edec
cmp byte [edi + 0x12], 0
jne 0x1008edec
cmp dword [edi + 0x78], 0
jne 0x1008edec
inc dword [edi + 0x2c]
mov edx, 0x45
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0xc]
push eax
push 0
mov dword [esp + 0x8c], eax
call fcn.1005f4d0
add esp, 8
cmp dword [esp + 0x80], 0
jne 0x1008ee83
lea eax, [esp + 0x70]
mov edx, esi
push eax
lea eax, [esp + 0x50]
mov ecx, edi
push eax
push 0
push 0xffffffffffffffff
push 0
push 0x61
call fcn.10091350
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x38], eax
push 0
lea eax, [eax*4 + 8]
push eax
call fcn.1003fa40
mov ecx, eax
add esp, 0x20
mov dword [esp + 0x5c], ecx
test ecx, ecx
je 0x1008ea48
mov eax, dword [esi + 8]
xor edx, edx
mov dword [esp + 0x48], eax
cmp dword [esp + 0x20], edx
jle 0x1008ee79
mov esi, eax
nop
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [ecx + edx*4], eax
inc edx
movzx ecx, word [esi + 0x34]
mov eax, dword [edi + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x5c]
mov dword [edi + 0x2c], eax
mov esi, dword [esi + 0x14]
cmp edx, dword [esp + 0x20]
jl 0x1008ee50
mov esi, dword [esp + 0x28]
jmp 0x1008ee7c
mov eax, dword [edi + 0x2c]
inc eax
mov dword [edi + 0x2c], eax
mov dword [ecx + edx*4], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1008eefc
cmp dword [esi + 0x38], 0
je 0x1008ee9c
push dword [esi]
push str.UPSERT_not_implemented_for_virtual_table___s_
jmp 0x1008ea3f
cmp dword [esi + 0xc], 0
je 0x1008eeb5
push str.cannot_UPSERT_a_view
push edi
call fcn.10042d30
add esp, 8
jmp 0x1008ea48
mov edx, dword [eax]
mov ecx, edi
call fcn.100844c0
test eax, eax
jne 0x1008ea48
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x4c]
mov dword [ecx + 0x34], edx
cmp dword [eax], 0
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ecx
je 0x1008eefc
mov edx, dword [esp + 0x68]
mov ecx, edi
push eax
call fcn.100a43c0
add esp, 4
cmp byte [esp + 0x1a], 0
je 0x1008ef2c
push dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov edx, 0x25
call fcn.1005f460
mov dword [esp + 0x80], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x6c]
mov dword [esp + 0x78], eax
jmp 0x1008ef77
cmp dword [esp + 0x10], 0
je 0x1008ef77
push dword [esp + 0x8c]
mov ecx, dword [esp + 0x10]
mov edx, 0xe
call fcn.1005f460
mov dword [esp + 0x7c], eax
add esp, 4
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x34]
test eax, eax
js 0x1008ef77
mov ecx, dword [esp + 0x3c]
mov edx, 0x4d
push dword [esp + 0x30]
add ecx, eax
push ecx
mov ecx, dword [esp + 0x14]
call fcn.1005f4d0
add esp, 8
mov ecx, dword [esp + 0x50]
xor edx, edx
xor eax, eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
cmp ax, word [esi + 0x2a]
jge 0x1008f117
mov dword [esp + 0x20], eax
nop dword [eax]
movsx eax, word [esi + 0x28]
cmp edx, eax
jne 0x1008efbc
push ecx
mov ecx, dword [esp + 0x10]
mov edx, 0x49
call fcn.1005f460
jmp 0x1008f0f1
mov eax, dword [esi + 4]
add eax, dword [esp + 0x20]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x2c], eax
movzx eax, word [eax + 0x10]
test al, 0x62
je 0x1008f01e
inc dword [esp + 0x48]
test al, 0x20
je 0x1008efe1
dec ecx
jmp 0x1008f0fc
test al, 0x40
je 0x1008f004
test byte [esp + 0x60], 1
je 0x1008f0fc
push ecx
mov ecx, dword [esp + 0x10]
mov edx, 0x49
call fcn.1005f460
jmp 0x1008f0f1
cmp dword [ebp + 0xc], 0
jne 0x1008f024
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, edi
mov edx, dword [edx + 4]
call fcn.100799d0
jmp 0x1008f0f1
cmp dword [ebp + 0xc], 0
je 0x1008f072
mov edx, dword [ebp + 0xc]
xor eax, eax
mov edx, dword [edx + 4]
test edx, edx
jle 0x1008f054
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x1c]
mov ecx, dword [ecx]
add ecx, 4
nop dword [eax]
cmp dword [ecx], esi
je 0x1008f04c
inc eax
add ecx, 8
cmp eax, edx
jl 0x1008f040
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
cmp eax, edx
jl 0x1008f06c
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, edi
mov edx, dword [edx + 4]
call fcn.100799d0
jmp 0x1008f0f1
mov edx, dword [esp + 0x1c]
jmp 0x1008f090
cmp dword [esp + 0x24], 0
jne 0x1008f08a
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, edi
mov edx, dword [edx + 4]
call fcn.100799d0
jmp 0x1008f0f1
mov eax, edx
sub eax, dword [esp + 0x48]
cmp byte [esp + 0x1a], 0
je 0x1008f0b0
push ecx
mov ecx, dword [esp + 0x10]
mov edx, 0x59
push eax
push dword [esp + 0x40]
call fcn.1005f370
add esp, 0xc
jmp 0x1008f0f4
cmp dword [esp + 0x10], 0
je 0x1008f0de
mov esi, dword [esp + 0x3c]
cmp esi, dword [esp + 0x50]
mov esi, dword [esp + 0x28]
je 0x1008f0fc
add eax, dword [esp + 0x3c]
mov edx, 0x4e
push ecx
mov ecx, dword [esp + 0x10]
push eax
call fcn.1005f4d0
add esp, 8
jmp 0x1008f0f4
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, edi
mov edx, dword [eax + edx*4 + 4]
call fcn.10079910
add esp, 4
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
movsx eax, word [esi + 0x2a]
inc edx
add dword [esp + 0x20], 0x14
inc ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
cmp edx, eax
jl 0x1008efa0
dec dword [edi + 0x38]
test byte [esp + 0x60], 1
mov eax, dword [edi + 0x38]
mov dword [esp + 0x3c], eax
je 0x1008f29d
movsx edx, word [esi + 0x2a]
mov ecx, edi
inc edx
call fcn.1007b2c0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], eax
test ecx, ecx
jns 0x1008f15f
mov ecx, dword [esp + 0xc]
mov edx, 0x45
push 0
push eax
push 0xffffffffffffffff
call fcn.1005f370
add esp, 0xc
jmp 0x1008f1e8
cmp byte [esp + 0x1a], 0
push eax
je 0x1008f17f
push ecx
push dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov edx, 0x59
call fcn.1005f370
add esp, 0xc
jmp 0x1008f194
mov eax, dword [esp + 0x5c]
lea edx, [ecx + ecx*4]
mov ecx, edi
mov edx, dword [eax + edx*4 + 4]
call fcn.10079910
add esp, 4
push dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, 0x33
call fcn.1005f460
mov ecx, dword [esp + 0x10]
add esp, 4
mov edx, 0x45
mov esi, eax
push 0
push dword [esp + 0x18]
push 0xffffffffffffffff
call fcn.1005f370
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, esi
call fcn.1005fd20
push dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, 0xf
call fcn.1005f460
mov esi, dword [esp + 0x2c]
add esp, 4
movsx eax, word [esi + 0x2c]
mov edx, 0x4d
mov ecx, dword [esp + 0x14]
dec eax
inc ecx
push eax
push ecx
push dword [esp + 0x58]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x18]
call fcn.1005f370
add esp, 0xc
test byte [esi + 0x24], 0x60
je 0x1008f222
mov edx, dword [esp + 0x60]
mov ecx, edi
push esi
call fcn.1008e140
add esp, 4
cmp dword [esp + 0x80], 0
jne 0x1008f23e
push dword [esp + 0x60]
mov ecx, dword [esp + 0x10]
mov edx, esi
call fcn.1008e020
add esp, 4
push dword [esp + 0x3c]
movsx eax, word [esi + 0x2a]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x7c]
sub ecx, eax
dec ecx
push ecx
push esi
push 1
push 0
push 0x7d
mov ecx, edi
call fcn.100a20a0
movsx eax, word [esi + 0x2a]
add esp, 0x1c
inc eax
cmp eax, 1
jne 0x1008f28e
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1008f29d
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x1008f29d
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
jmp 0x1008f29d
cmp eax, dword [edi + 0x1c]
jle 0x1008f29d
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x20], eax
cmp dword [esp + 0x80], 0
jne 0x1008f57c
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x1008f2ce
mov ecx, dword [esp + 0xc]
mov edx, 0x48
push 0
push dword [esp + 0x68]
push 0
call fcn.1005f370
mov ecx, dword [esi + 0x38]
add esp, 0xc
mov eax, dword [esp + 0x34]
test eax, eax
js 0x1008f3cf
cmp byte [esp + 0x1a], 0
je 0x1008f2fd
push dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov edx, 0x59
push eax
push dword [esp + 0x40]
call fcn.1005f370
add esp, 0xc
jmp 0x1008f34d
cmp dword [esp + 0x10], 0
jne 0x1008f34d
mov edx, dword [esp + 0x58]
lea eax, [eax + eax*4]
mov edx, dword [edx + eax*4 + 4]
cmp byte [edx], 0x77
jne 0x1008f33f
test ecx, ecx
jne 0x1008f33f
push dword [esp + 0x6c]
mov ecx, dword [esp + 0x10]
mov edx, 0x78
push dword [esp + 0x34]
push dword [esp + 0x54]
call fcn.1005f370
mov dword [esp + 0x4c], 1
jmp 0x1008f3fb
push dword [esp + 0x30]
mov ecx, edi
call fcn.10079910
add esp, 4
cmp dword [esi + 0x38], 0
mov ecx, dword [esp + 0xc]
jne 0x1008f398
push dword [esp + 0x30]
mov edx, 0x33
call fcn.1005f460
mov ecx, dword [esp + 0x10]
add esp, 4
mov edx, 0x78
mov esi, eax
push dword [esp + 0x6c]
push dword [esp + 0x34]
push dword [esp + 0x54]
call fcn.1005f370
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, esi
call fcn.1005fd20
mov esi, dword [esp + 0x28]
jmp 0x1008f3b0
mov eax, dword [ecx + 0x6c]
mov edx, 0x32
add eax, 2
push eax
push dword [esp + 0x34]
call fcn.1005f4d0
add esp, 8
push dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov edx, 0xf
call fcn.1005f460
add esp, 4
mov dword [esp + 0x40], 0
jmp 0x1008f3fe
test ecx, ecx
jne 0x1008f3dd
cmp byte [esp + 0x44], cl
je 0x1008f318
mov ecx, dword [esp + 0xc]
mov edx, 0x48
push 0
push dword [esp + 0x34]
push 0
call fcn.1005f370
mov dword [esp + 0x4c], 0
add esp, 0xc
mov eax, dword [esp + 0x6c]
test eax, eax
jle 0x1008f41d
mov ecx, dword [edi + 8]
mov edx, 0x97
push 0
push dword [esp + 0x34]
push eax
call fcn.1005f370
add esp, 0xc
test byte [esi + 0x24], 0x60
je 0x1008f432
mov edx, dword [esp + 0x50]
mov ecx, edi
push esi
call fcn.1008e140
add esp, 4
cmp dword [esi + 0x38], 0
je 0x1008f4de
mov eax, dword [esi + 0x40]
mov dword [esp + 0x44], eax
test eax, eax
je 0x1008f45f
mov ecx, dword [esp + 0x54]
nop dword [eax + eax]
cmp dword [eax], ecx
je 0x1008f45b
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x1008f450
mov dword [esp + 0x44], eax
mov edx, esi
mov ecx, edi
call fcn.100a66c0
movsx eax, word [esi + 0x2a]
mov edx, 0xa
push dword [esp + 0x64]
mov ecx, dword [esp + 0x10]
add eax, 2
push eax
push 1
call fcn.1005f370
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, eax
push 0xfffffffffffffff4
push dword [esp + 0x48]
call fcn.1005ffe0
mov eax, dword [esp + 0x14]
add esp, 8
mov eax, dword [eax + 0x6c]
test eax, eax
jle 0x1008f4cb
mov ecx, dword [ebp + 0x10]
cmp ecx, 0xb
movzx edx, cx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], 2
cmove edx, dword [esp + 0x44]
mov eax, dword [eax + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
jmp 0x1008f57c
push dword [ebp + 0x14]
lea eax, [esp + 0x48]
mov edx, esi
push 0
push eax
push dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, edi
push dword [ebp + 0x10]
shr eax, 0x1f
xor al, 1
movzx eax, al
push eax
push 0
push dword [esp + 0x80]
push dword [esp + 0x90]
push dword [esp + 0x70]
push dword [esp + 0x84]
call fcn.1008f730
add esp, 0x2c
mov edx, esi
mov ecx, edi
push 0
push 0
push dword [esp + 0x6c]
push 0
call fcn.1008ce60
add esp, 0x10
cmp dword [esp + 0x44], 0
je 0x1008f551
mov eax, dword [esp + 0xc]
cmp dword [eax + 0xd8], 0
je 0x1008f551
xor eax, eax
jmp 0x1008f556
mov eax, 1
push eax
push dword [esp + 0x44]
mov edx, esi
mov ecx, edi
push 0
push dword [esp + 0x68]
push dword [esp + 0x74]
push dword [esp + 0x84]
push dword [esp + 0x64]
call fcn.10091110
add esp, 0x1c
mov eax, dword [esp + 0x84]
test eax, eax
je 0x1008f59d
mov ecx, dword [esp + 0xc]
mov edx, 0x52
push 0
push 1
push eax
call fcn.1005f370
add esp, 0xc
mov edx, dword [esp + 0x74]
test edx, edx
je 0x1008f5cb
push dword [esp + 0x3c]
movsx eax, word [esi + 0x2a]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x58]
sub ecx, eax
sub ecx, 2
push ecx
push esi
push 2
push 0
push 0x7d
mov ecx, edi
call fcn.100a20a0
add esp, 0x1c
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
not edx
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1008f5ed
push edx
mov edx, esi
call fcn.1005f980
add esp, 4
jmp 0x1008f5f6
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
cmp byte [esp + 0x1a], 0
je 0x1008f655
push 0
push dword [esp + 0x7c]
mov edx, 5
mov ecx, esi
push dword [esp + 0x40]
call fcn.1005f370
mov eax, dword [esi]
add esp, 0xc
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x1008f628
mov eax, 0x1010644c
jmp 0x1008f63d
mov ecx, dword [esp + 0x7c]
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]
push dword [esp + 0x38]
mov dword [eax + 8], edx
mov ecx, esi
mov edx, 0x74
call fcn.1005f460
add esp, 4
jmp 0x1008f678
cmp dword [esp + 0x10], 0
je 0x1008f678
mov edx, dword [esp + 0x78]
mov ecx, esi
call fcn.1005f500
mov edx, dword [esp + 0x7c]
mov ecx, esi
call fcn.1005fd20
jmp 0x1008f678
mov esi, dword [esp + 0xc]
cmp byte [edi + 0x12], 0
jne 0x1008f691
cmp dword [edi + 0x78], 0
jne 0x1008f691
cmp dword [edi + 0x70], 0
je 0x1008f691
mov ecx, edi
call fcn.1008e410
mov eax, dword [esp + 0x84]
test eax, eax
je 0x1008ea48
push 0
push 1
push eax
mov edx, 0x50
mov ecx, esi
call fcn.1005f370
add esp, 0xc
mov edx, 1
mov ecx, esi
call fcn.10061470
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x1008ea48
mov ecx, dword [esi + 0x74]
mov edx, str.rows_inserted
push 0
push 1
push 0xffffffffffffffff
call fcn.1005e770
jmp 0x1008ea45
mov esi, dword [ebp + 8]
jmp 0x1008ea4c