Function at 0x10065650
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa8
xor eax, eax
push ebx
mov dword [esp + 0x78], eax
push ebp
mov dword [esp + 0x80], eax
mov ebx, dword [esp + 0xb8]
mov dword [esp + 0x84], eax
push esi
mov esi, dword [esp + 0xb8]
mov dword [esp + 0x8c], eax
push edi
mov dword [esp + 0x94], eax
mov eax, dword [esi + 0x40]
mov ebp, dword [esi]
xor edi, edi
mov dword [esp + 0x24], 0xffffffff
cmp eax, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov byte [esp + 0x13], 0
mov byte [esp + 0x74], 0
mov byte [esp + 0x23], 1
mov dword [esp + 0x38], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x48], ebp
jne 0x1006644c
mov al, byte [ebp + 0x40]
test al, al
jne 0x1006644c
mov eax, dword [esp + 0xc4]
cmp eax, edi
je 0x10065717
mov cl, byte [eax + 6]
test cl, cl
jns 0x10065717
cmp dword [eax + 0x34], edi
jne 0x10065717
mov ecx, dword [eax]
push eax
push ebp
mov dword [esp + 0x40], ecx
mov dword [eax], edi
call fcn.10052140
add esp, 8
mov dword [esp + 0xc4], edi
cmp dword [ebx + 0x10], edi
je 0x1006644c
push ebx
push esi
call fcn.10062f90
mov ebx, eax
add esp, 8
cmp ebx, edi
mov dword [esp + 0x70], ebx
je 0x1006644c
mov edx, dword [ebx + 0x44]
push edx
push ebp
call fcn.100517e0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebx]
mov dword [esp + 0x20], eax
shl eax, 4
mov eax, dword [eax + ecx]
push eax
push edi
push edx
push 0x12
push esi
call fcn.1005e2d0
add esp, 0x1c
test eax, eax
jne 0x1006644c
mov al, byte [ebx + 0x2c]
shr al, 5
and al, 1
mov byte [esp + 0x2f], al
lea eax, [esp + 0x80]
push eax
push edi
push 0x6c
push ebx
push esi
call fcn.100716f0
mov edx, dword [ebx + 0xc]
xor ecx, ecx
cmp edx, edi
push ebx
setne cl
push esi
mov dword [esp + 0x74], eax
mov dword [esp + 0x88], ecx
call fcn.10060500
add esp, 0x1c
test eax, eax
jne 0x1006644c
mov edx, dword [esp + 0x80]
push edx
push ebx
push esi
call fcn.100637c0
add esp, 0xc
test eax, eax
jne 0x1006644c
push esi
call fcn.1006af10
mov ebp, eax
add esp, 4
cmp ebp, edi
je 0x1006644c
mov al, byte [esi + 0x12]
test al, al
jne 0x100657e9
push ebp
call fcn.10063770
add esp, 4
cmp dword [esp + 0xc4], edi
jne 0x100657fc
cmp dword [esp + 0x58], edi
jne 0x100657fc
xor eax, eax
jmp 0x10065801
mov eax, 1
mov ecx, dword [esp + 0x18]
push ecx
push eax
push esi
call fcn.100623f0
mov eax, dword [esp + 0xd4]
add esp, 0xc
cmp eax, edi
jne 0x10065848
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xc4]
push edx
push eax
push ecx
push ebx
push esi
call fcn.10067410
add esp, 0x14
test eax, eax
jne 0x100663eb
mov ebx, dword [esp + 0x70]
xor edi, edi
mov edx, dword [esp + 0x18]
push ebx
push edx
push esi
call fcn.100666a0
movsx edx, word [ebx + 0x26]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x48]
add esp, 0xc
lea ecx, [eax + 1]
lea eax, [edx + eax + 1]
mov dword [esi + 0x48], eax
mov dl, byte [ebx + 0x2c]
test dl, 0x10
mov dword [esp + 0x78], ecx
mov dword [esp + 0x40], ecx
je 0x10065885
inc ecx
inc eax
mov dword [esp + 0x40], ecx
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xc8]
inc eax
cmp ecx, edi
mov dword [esp + 0x4c], eax
je 0x1006599b
mov edx, dword [ecx + 4]
xor eax, eax
cmp edx, edi
jle 0x100658b8
mov edx, dword [ecx]
inc eax
mov dword [edx + eax*8 - 4], 0xffffffff
mov edx, dword [ecx + 4]
cmp eax, edx
jl 0x100658a6
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], edi
cmp eax, edi
jle 0x1006599b
movsx eax, word [ebx + 0x26]
xor edi, edi
test eax, eax
jle 0x10065940
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
lea eax, [ecx + edx*8]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x50], eax
mov dword [esp + 0x14], ecx
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov eax, dword [edx]
push eax
push ecx
call fcn.1002b0f0
add esp, 8
test eax, eax
je 0x10065920
movsx eax, word [ebx + 0x26]
mov edx, dword [esp + 0x14]
inc edi
add edx, 0x18
cmp edi, eax
mov dword [esp + 0x14], edx
jl 0x100658f2
jmp 0x10065940
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [edx + 4], edi
je 0x10065934
mov byte [esp + 0x23], 0
movsx ecx, word [ebx + 0x24]
cmp edi, ecx
jne 0x10065940
mov dword [esp + 0x24], eax
movsx edx, word [ebx + 0x26]
cmp edi, edx
jl 0x1006597e
mov eax, dword [esp + 0xc8]
mov edi, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + edi*8]
push edx
call fcn.1005dfe0
add esp, 4
test eax, eax
je 0x10065b2e
mov al, byte [esp + 0x2f]
test al, al
jne 0x10065b2e
mov dword [esp + 0x24], edi
mov byte [esp + 0x23], 0
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0x1c]
inc eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x1c], eax
cmp eax, edx
jl 0x100658c7
xor edi, edi
cmp dword [esp + 0xc4], edi
je 0x10065b5c
mov ecx, dword [esi + 0x48]
push ebp
inc ecx
mov dword [esi + 0x48], ecx
mov dword [esp + 0x18], ecx
call fcn.100589e0
mov edi, eax
inc edi
push edi
push 0
push ecx
push 0x14
push ebp
call fcn.1004aaf0
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x9c]
push eax
push 0xd
push ecx
call fcn.1006a6f0
mov al, byte [esp + 0x47]
mov edx, dword [esp + 0x70]
neg al
mov ecx, dword [esp + 0xe8]
sbb eax, eax
and eax, edx
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xa8]
movsx edx, word [ebx + 0x26]
push eax
push ecx
push esi
mov dword [esp + 0xc0], edx
call fcn.1006c170
mov edx, dword [esp + 0xbc]
add esp, 0x30
test eax, eax
mov dword [esp + 0x60], edx
jne 0x1006644c
mov eax, dword [esp + 0x48]
mov cl, byte [eax + 0x40]
test cl, cl
jne 0x1006644c
mov ecx, dword [esp + 0x14]
push ecx
push 0x15
push ebp
call fcn.10058940
dec edi
push edi
push ebp
call fcn.10057e70
mov edx, dword [esp + 0xd8]
add esp, 0x14
mov eax, dword [edx]
mov ecx, dword [eax]
mov eax, dword [esp + 0x58]
test eax, eax
mov dword [esp + 0x14], ecx
jne 0x10065a7d
mov edx, dword [esp + 0x18]
push ebx
push edx
push esi
call fcn.100665e0
add esp, 0xc
test eax, eax
je 0x10065bd2
mov edx, dword [esi + 0x44]
push esi
mov byte [esp + 0x17], 1
mov dword [esp + 0x38], edx
lea eax, [edx + 1]
mov dword [esi + 0x44], eax
call fcn.10057ea0
push esi
mov edi, eax
call fcn.10057ea0
mov ecx, dword [esp + 0x1c]
mov ebx, eax
push ecx
push edx
push 0x38
push ebp
call fcn.10057e50
mov edx, dword [esp + 0xa0]
push edx
push 0x16
push ebp
call fcn.10058940
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
push edi
push eax
push ecx
push 0x30
push ebp
call fcn.1004aaf0
mov edx, dword [esp + 0x6c]
push ebx
push edx
push 0x46
push ebp
call fcn.10057e50
mov eax, dword [esp + 0x7c]
add esp, 0x48
push ebx
push edi
push eax
push 0x49
push ebp
call fcn.1004aaf0
mov ecx, dword [esp + 0x2c]
push ecx
push 0
push 0x10
push ebp
call fcn.10057e50
mov edx, dword [esp + 0x3c]
push edx
push ebp
call fcn.10057e70
push edi
push esi
call fcn.10057ed0
push ebx
push esi
call fcn.10057ed0
mov ebx, dword [esp + 0xac]
add esp, 0x3c
jmp 0x10065bd2
mov edx, dword [esp + 0xc8]
mov eax, dword [edx]
mov edx, dword [esp + 0xc0]
mov ecx, dword [eax + edi*8]
push ecx
push 0
push edx
push str.table__S_has_no_column_named__s
push esi
call fcn.1004aa00
add esp, 0x14
mov byte [esi + 0x11], 1
jmp 0x1006644c
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x98]
mov dword [esp + 0x34], 0xffffffff
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x38]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x98], esi
je 0x10065b89
mov eax, dword [eax]
jmp 0x10065b8b
xor eax, eax
cmp eax, edi
mov dword [esp + 0x14], eax
jle 0x10065bd2
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [edx + ecx]
lea ecx, [esp + 0x98]
push eax
push ecx
call fcn.1005c780
add esp, 8
test eax, eax
jne 0x1006644c
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc edi
add ecx, 0x18
cmp edi, eax
mov dword [esp + 0x18], ecx
jl 0x10065b97
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x10065bed
test edx, edx
jle 0x10065bed
movsx ecx, word [ebx + 0x24]
mov dword [esp + 0x24], ecx
test byte [ebx + 0x2c], 0x10
je 0x10065c21
movsx edi, word [ebx + 0x26]
test edi, edi
jle 0x10065c21
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x30]
add eax, 0x17
mov dl, byte [eax]
add eax, 0x18
shr edx, 1
and edx, 1
add ecx, edx
dec edi
jne 0x10065c05
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x14]
jmp 0x10065c25
mov ecx, dword [esp + 0x30]
test eax, eax
jne 0x10065c5a
test edx, edx
je 0x10065c7a
movsx eax, word [ebx + 0x26]
sub eax, ecx
cmp edx, eax
je 0x10065c7a
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc0]
push ecx
push eax
push 0
push edx
push str.table__S_has__d_columns_but__d_values_were_supplied
push esi
call fcn.1004aa00
add esp, 0x18
jmp 0x1006644c
mov eax, dword [eax + 4]
cmp edx, eax
je 0x10065c7a
push eax
mov eax, dword [esp + 0x18]
push eax
push str._d_values_for__d_columns
push esi
call fcn.1004aa00
add esp, 0x10
jmp 0x1006644c
mov ecx, dword [esp + 0x48]
mov al, byte [ecx + 0x18]
test al, al
jns 0x10065ca3
mov edx, dword [esi + 0x48]
inc edx
mov eax, edx
mov dword [esi + 0x48], edx
push eax
push 0
push 0x19
push ebp
mov dword [esp + 0x8c], eax
call fcn.10057e50
add esp, 0x10
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x10065cff
lea edx, [esp + 0x54]
lea eax, [esp + 0x44]
push edx
push eax
push 0
push 0xffffffffffffffff
push 0x36
push ebx
push esi
call fcn.100672e0
mov edx, dword [esp + 0x64]
mov edi, eax
lea ecx, [edi*4 + 4]
push ecx
push edx
call fcn.100299e0
add esp, 0x24
mov dword [esp + 0x5c], eax
test eax, eax
je 0x1006644c
xor eax, eax
test edi, edi
jle 0x10065cff
mov edx, dword [esp + 0x5c]
mov ecx, dword [esi + 0x48]
inc ecx
inc eax
mov dword [esi + 0x48], ecx
mov dword [edx + eax*4 - 4], ecx
cmp eax, edi
jl 0x10065cef
mov al, byte [esp + 0x13]
test al, al
je 0x10065d23
mov eax, dword [esp + 0x34]
push eax
push 0x6a
push ebp
call fcn.10058940
push ebp
mov dword [esp + 0x74], eax
call fcn.100589e0
add esp, 0x10
jmp 0x10065d45
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x10065d49
mov ecx, dword [esp + 0x88]
push ecx
push 0x16
push ebp
call fcn.10058940
add esp, 0xc
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
push ebp
call fcn.10058960
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x84]
add esp, 4
test al, 1
je 0x10065f2a
movsx edx, word [ebx + 0x26]
inc edx
push edx
push esi
call fcn.1005c700
mov edi, eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [esp + 0x28], edi
test eax, eax
push edi
jge 0x10065d92
push 0xffffffffffffffff
push 0x19
push ebp
call fcn.10057e50
add esp, 0x10
jmp 0x10065df7
mov al, byte [esp + 0x17]
test al, al
mov eax, dword [esp + 0x28]
je 0x10065db1
mov ecx, dword [esp + 0x38]
push eax
push ecx
push 0x2e
push ebp
call fcn.1004aaf0
add esp, 0x14
jmp 0x10065dc8
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edx*8]
push edx
push esi
call fcn.10058c90
add esp, 0xc
push edi
push 0x4d
push ebp
call fcn.10058940
push edi
push 0xffffffffffffffff
push 0x19
push ebp
mov dword [esp + 0x6c], eax
call fcn.10057e50
mov eax, dword [esp + 0x6c]
push eax
push ebp
call fcn.10057e70
push edi
push 0x26
push ebp
call fcn.10058940
add esp, 0x30
cmp word [ebx + 0x26], 0
mov dword [esp + 0x1c], 0
jle 0x10065edb
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], 0
lea edi, [ecx + 1]
mov dword [esp + 0x50], edi
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x10065e4e
mov edx, dword [ecx + 4]
xor eax, eax
test edx, edx
jle 0x10065e4e
mov ecx, dword [ecx]
mov edi, dword [esp + 0x1c]
add ecx, 4
cmp dword [ecx], edi
je 0x10065e4a
inc eax
add ecx, 8
cmp eax, edx
jl 0x10065e3e
mov edi, dword [esp + 0x50]
mov cl, byte [esp + 0x13]
test cl, cl
jne 0x10065e5e
mov edx, dword [esp + 0x38]
test edx, edx
je 0x10065e6e
mov edx, dword [esp + 0xc8]
test edx, edx
je 0x10065e83
cmp eax, dword [edx + 4]
jl 0x10065e83
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x30]
push edi
mov ecx, dword [edx + eax + 4]
push ecx
push esi
call fcn.10058c90
jmp 0x10065eaf
test cl, cl
push edi
je 0x10065e9b
mov edx, dword [esp + 0x38]
push eax
push edx
push 0x2e
push ebp
call fcn.1004aaf0
add esp, 0x14
jmp 0x10065eb2
mov ecx, dword [esp + 0x3c]
lea eax, [eax + eax*2]
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax*8]
push eax
push esi
call fcn.100664f0
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
movsx ecx, word [ebx + 0x26]
inc eax
add edx, 0x18
inc edi
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x50], edi
jl 0x10065e21
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x10065ef1
lea edx, [edi + 1]
push edx
push ebx
push ebp
call fcn.10066530
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xcc]
movsx edx, word [ebx + 0x26]
push eax
mov eax, edi
sub eax, edx
push ecx
mov ecx, dword [esp + 0x60]
dec eax
push eax
push ebx
push 1
push 0
push 0x6c
push ecx
push esi
call fcn.10071d30
movsx edx, word [ebx + 0x26]
inc edx
push edx
push edi
push esi
call fcn.1005c730
add esp, 0x30
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x100662df
test byte [ebx + 0x2c], 0x10
je 0x10065f4e
mov eax, dword [esp + 0x78]
push eax
push 0
push 0x1c
push ebp
call fcn.10057e50
add esp, 0x10
mov eax, dword [esp + 0x24]
test eax, eax
jl 0x10066061
mov al, byte [esp + 0x13]
mov edi, dword [esp + 0x40]
test al, al
push edi
je 0x10065fc5
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
push ecx
push edx
push 0x2e
push ebp
call fcn.1004aaf0
add esp, 0x14
test byte [ebx + 0x2c], 0x10
jne 0x1006603d
push edi
push 0x4d
push ebp
call fcn.10058940
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
push eax
push edi
push ecx
push 0x46
push ebp
call fcn.1004aaf0
mov edx, dword [esp + 0x48]
push edx
push ebp
call fcn.10057e70
add esp, 0x28
push edi
push 0x26
push ebp
call fcn.10058940
add esp, 0xc
jmp 0x100660a2
mov eax, dword [esp + 0xc8]
test eax, eax
mov eax, dword [esp + 0x28]
je 0x10065fe8
mov ecx, dword [esp + 0x64]
add ecx, eax
push ecx
push 0x21
push ebp
call fcn.10057e50
add esp, 0x10
jmp 0x10065f7c
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edx*8]
push edx
push esi
call fcn.10058c90
push 0xffffffffffffffff
push ebp
call fcn.1005bd10
add esp, 0x14
test eax, eax
je 0x10065f7c
cmp byte [eax], 0x1c
jne 0x10065f7c
test byte [ebx + 0x2c], 0x10
jne 0x10065f7c
mov edx, dword [esp + 0x3c]
mov byte [eax], 0x46
mov ecx, dword [esp + 0x44]
mov byte [esp + 0x74], 1
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
jmp 0x100660a2
push ebp
call fcn.100589e0
add eax, 2
push eax
push edi
push 0x4c
push ebp
call fcn.10057e50
add esp, 0x14
push edi
push 0x26
push ebp
call fcn.10058940
add esp, 0xc
jmp 0x100660a2
test byte [ebx + 0x2c], 0x10
jne 0x10066090
mov al, byte [esp + 0x2f]
test al, al
jne 0x10066090
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push eax
push edi
push ecx
push 0x46
push ebp
call fcn.1004aaf0
add esp, 0x14
mov byte [esp + 0x74], 1
jmp 0x100660a2
mov edi, dword [esp + 0x40]
push edi
push 0
push 0x1c
push ebp
call fcn.10057e50
add esp, 0x10
mov edx, dword [esp + 0x3c]
push edi
push edx
push esi
call fcn.10066720
xor eax, eax
add esp, 0xc
cmp word [ebx + 0x26], ax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
jle 0x1006613c
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], edi
movsx edx, word [ebx + 0x24]
mov ecx, dword [esp + 0xc8]
cmp eax, edx
jne 0x100660e7
push edi
push 0x1d
push ebp
call fcn.10058940
jmp 0x10066118
test ecx, ecx
jne 0x100661a6
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x3c]
test byte [ecx + edx + 0x17], 2
je 0x100661a0
inc dword [esp + 0x30]
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x3c]
push edi
mov eax, dword [ecx + edx + 4]
push eax
push esi
call fcn.100664a0
add esp, 0xc
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
add ecx, 0x18
inc eax
mov dword [esp + 0x3c], ecx
inc edi
movsx ecx, word [ebx + 0x26]
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
jl 0x100660cd
test byte [ebx + 0x2c], 0x10
je 0x1006625f
mov edx, dword [esp + 0x48]
push ebx
push edx
call fcn.100531b0
push ebx
push esi
mov edi, eax
call fcn.10073680
movsx ecx, word [ebx + 0x26]
mov eax, dword [esp + 0x88]
push 0xfffffffffffffff6
push edi
add ecx, 2
push eax
push ecx
push 1
push 0xf
push ebp
call fcn.100574e0
mov eax, dword [esp + 0xf8]
add esp, 0x2c
cmp eax, 0xa
jne 0x1006618b
mov eax, 2
push eax
push ebp
call fcn.1004ace0
push esi
call fcn.10062440
add esp, 0xc
jmp 0x100662df
sub eax, dword [esp + 0x30]
jmp 0x100661cf
mov edx, dword [ecx + 4]
xor eax, eax
test edx, edx
jle 0x100661de
mov ecx, dword [esp + 0xc8]
mov edi, dword [esp + 0x1c]
mov ecx, dword [ecx]
add ecx, 4
cmp dword [ecx], edi
je 0x100661cb
inc eax
add ecx, 8
cmp eax, edx
jl 0x100661bf
mov edi, dword [esp + 0x28]
test eax, eax
jl 0x10066105
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x10066105
test ecx, ecx
je 0x100661f7
cmp eax, dword [ecx + 4]
jge 0x10066105
mov cl, byte [esp + 0x13]
test cl, cl
je 0x10066216
mov edx, dword [esp + 0x34]
push edi
push eax
push edx
push 0x2e
push ebp
call fcn.1004aaf0
add esp, 0x14
jmp 0x1006611b
mov ecx, dword [esp + 0xc4]
test ecx, ecx
je 0x10066245
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x60]
cmp edx, ecx
je 0x1006611b
add eax, edx
push edi
push eax
push 0x22
push ebp
call fcn.10057e50
add esp, 0x10
jmp 0x1006611b
mov ecx, dword [esp + 0x38]
lea eax, [eax + eax*2]
push edi
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax*8]
push eax
push esi
call fcn.10058c90
jmp 0x10066118
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xcc]
lea edx, [esp + 0x28]
mov edi, dword [esp + 0x78]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x60]
test ecx, ecx
mov ecx, dword [esp + 0x50]
setge dl
push edx
mov edx, dword [esp + 0x6c]
push 0
push edi
push eax
push ecx
push edx
push ebx
push esi
call fcn.10066750
push 0
push 0
push edi
push 0
push ebx
push esi
call fcn.10063ea0
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0xb8]
add esp, 0x44
xor eax, eax
test edx, edx
mov edx, dword [esp + 0x5c]
sete al
and ecx, 0xff
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x4c]
push 0
push edx
push edi
push eax
push ecx
push ebx
push esi
call fcn.10067140
add esp, 0x24
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov al, byte [edx + 0x18]
test al, al
jns 0x10066300
mov eax, dword [esp + 0x7c]
push 1
push eax
push 0x25
push ebp
call fcn.10057e50
add esp, 0x10
mov eax, dword [esp + 0x58]
test eax, eax
je 0x10066334
movsx eax, word [ebx + 0x26]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xcc]
sub edi, eax
push ecx
mov ecx, dword [esp + 0x5c]
sub edi, 2
push edx
push edi
push ebx
push 2
push 0
push 0x6c
push ecx
push esi
call fcn.10071d30
add esp, 0x24
mov edx, dword [esp + 0x18]
push edx
push ebp
call fcn.100589b0
mov al, byte [esp + 0x1b]
add esp, 8
test al, al
je 0x10066375
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x34]
push eax
push edi
push 9
push ebp
call fcn.10057e50
mov ecx, dword [esp + 0x74]
push ecx
push ebp
call fcn.10057e70
push edi
push 0x3b
push ebp
call fcn.10058940
add esp, 0x24
jmp 0x1006639d
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x1006639d
mov edx, dword [esp + 0x68]
push edx
push 0
push 0x10
push ebp
call fcn.10057e50
mov eax, dword [esp + 0x74]
push eax
push ebp
call fcn.10057e70
add esp, 0x18
test byte [ebx + 0x2c], 0x10
jne 0x100663eb
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x100663eb
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jge 0x100663c3
push eax
push 0x3b
push ebp
call fcn.10058940
add esp, 0xc
mov ecx, dword [esp + 0x70]
xor ebx, ebx
mov edi, dword [ecx + 8]
test edi, edi
je 0x100663eb
mov edx, dword [esp + 0x54]
lea eax, [ebx + edx]
push eax
push 0x3b
push ebp
call fcn.10058940
mov edi, dword [edi + 0x14]
add esp, 0xc
inc ebx
test edi, edi
jne 0x100663d0
mov al, byte [esi + 0x12]
test al, al
jne 0x10066405
mov eax, dword [esi + 0x19c]
test eax, eax
jne 0x10066405
push esi
call fcn.10065570
add esp, 4
mov ecx, dword [esp + 0x48]
mov al, byte [ecx + 0x18]
test al, al
jns 0x1006644c
mov al, byte [esi + 0x12]
test al, al
jne 0x1006644c
mov eax, dword [esi + 0x19c]
test eax, eax
jne 0x1006644c
mov edx, dword [esp + 0x7c]
push 1
push edx
push 0x23
push ebp
call fcn.10057e50
push 1
push ebp
call fcn.10051d50
push 0
push str.rows_inserted
push 0
push 0
push ebp
call fcn.10051dc0
add esp, 0x2c
mov eax, dword [esp + 0xc0]
mov esi, dword [esp + 0x48]
push eax
push esi
call fcn.100521f0
mov ecx, dword [esp + 0x40]
push ecx
push esi
call fcn.1004e260
mov edx, dword [esp + 0xd4]
push edx
push esi
call fcn.10052140
mov eax, dword [esp + 0xe0]
push eax
push esi
call fcn.10052280
mov ecx, dword [esp + 0x7c]
push ecx
push esi
call fcn.10029770
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret