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

Disassembly:
sub esp, 0x44
push ebx
mov ebx, dword [esp + 0x50]
push ebp
mov ebp, dword [esp + 0x50]
push esi
mov esi, dword [esp + 0x5c]
mov eax, dword [ebp]
push edi
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x34]
mov ecx, 5
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x30]
xor edx, edx
cmp ecx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x58], eax
je 0x1006e98b
xor ecx, ecx
mov cl, byte [ebx + 4]
push ecx
call fcn.1006f090
push eax
push str.ORDER_BY_clause_should_come_after__s_not_before
jmp 0x1006ea1b
cmp dword [eax + 0x3c], edx
je 0x1006e9a3
xor edx, edx
mov dl, byte [ebx + 4]
push edx
call fcn.1006f090
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x1006ea1b
push ebp
call fcn.1006af10
mov cl, byte [esp + 0x30]
add esp, 4
cmp cl, 0xc
mov esi, eax
jne 0x1006e9da
mov eax, dword [ebx]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax]
push ecx
push edx
push 0x38
push esi
call fcn.10057e50
push 8
push esi
call fcn.1004ace0
mov cl, 0xe
add esp, 0x18
mov byte [esp + 0x2c], cl
mov edi, dword [esp + 0x58]
mov eax, dword [ebx]
mov edx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [edx]
je 0x1006ea31
mov al, byte [ebx + 6]
test al, al
jns 0x1006ea0a
push str.all_VALUES_must_have_the_same_number_of_terms
push ebp
call fcn.1004aa00
add esp, 8
mov dword [esp + 0x10], 1
jmp 0x1006f05d
xor ecx, ecx
mov cl, byte [ebx + 4]
push ecx
call fcn.1006f090
push eax
push str.SELECTs_to_the_left_and_right_of__s_do_not_have_the_same_number_of_result_columns
push ebp
call fcn.1004aa00
add esp, 0x10
mov dword [esp + 0x10], 1
jmp 0x1006f05d
test byte [ebx + 7], 8
je 0x1006ea4b
lea edx, [esp + 0x2c]
push edx
push ebx
push ebp
call fcn.1006f180
add esp, 0xc
jmp 0x1006ef5b
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x1006ea69
mov eax, dword [esp + 0x60]
push eax
push ebx
push ebp
call fcn.1006f540
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
xor eax, eax
mov al, byte [ebx + 4]
sub eax, 0x73
je 0x1006ed83
dec eax
je 0x1006ec80
dec eax
je 0x1006ed83
mov eax, dword [ebp + 0x44]
push 0
push eax
push 0x38
lea ecx, [eax + 2]
push esi
mov dword [esp + 0x68], eax
mov dword [ebp + 0x44], ecx
call fcn.10057e50
push ebx
mov dword [ebx + 0x10], eax
call fcn.1006b240
mov edx, dword [esp + 0x6c]
or byte [eax + 6], 8
add eax, 6
push edx
lea eax, [esp + 0x58]
push 1
push eax
call fcn.1006a6f0
mov ecx, dword [ebp + 0x1d4]
lea edx, [esp + 0x60]
push edx
push edi
push ebp
mov dword [esp + 0x48], ecx
call fcn.1006c170
add esp, 0x2c
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1006f05d
push eax
mov eax, dword [esp + 0x5c]
inc eax
push eax
push 0x38
push esi
call fcn.10057e50
mov edx, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x3c]
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [esp + 0x34], edx
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], eax
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x50]
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebp + 0x1d4]
push edx
inc eax
push ebx
push ebp
mov dword [esp + 0x60], eax
mov dword [esp + 0x34], ecx
call fcn.1006c170
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x34], edi
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x18]
mov edi, dword [edi + 0x1c]
add esp, 0x1c
cmp ecx, edi
jb 0x1006eb5a
ja 0x1006eb54
mov edx, dword [ebx + 0x18]
cmp edx, eax
jbe 0x1006eb5a
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.1004e1e0
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x64]
mov dword [ebx + 0x40], eax
mov al, byte [esp + 0x34]
add esp, 8
cmp al, 9
mov dword [ebx + 0x3c], edx
jne 0x1006eba1
mov eax, dword [ebx + 0x34]
mov ecx, ebx
test eax, eax
je 0x1006eb93
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x1006eb8a
mov ecx, dword [ecx]
push ecx
push 0
push ebp
call fcn.1006e5a0
add esp, 0xc
push esi
call fcn.10058960
mov edi, eax
push esi
mov dword [esp + 0x2c], edi
call fcn.10058960
push edi
push ebx
push ebp
mov dword [esp + 0x70], eax
call fcn.1006e7e0
push edi
mov edi, dword [esp + 0x70]
push edi
push 0x6a
push esi
call fcn.10057e50
push ebp
call fcn.10057ea0
push eax
push edi
push 0x63
push esi
mov dword [esp + 0x90], eax
call fcn.10057e50
mov edx, dword [esp + 0x90]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x94]
push 0
push edx
push eax
lea eax, [edi + 1]
push eax
push 0x42
push esi
call fcn.1004aab0
mov ecx, dword [esp + 0xa8]
add esp, 0x50
push ecx
push ebp
call fcn.10057ed0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x64]
push edx
mov edx, dword [ebx]
lea ecx, [esp + 0x38]
push eax
push ecx
push 0
push 0
push edi
push edx
push ebx
push ebp
call fcn.1006d7b0
mov eax, dword [esp + 0x88]
push eax
push esi
call fcn.100589b0
mov ecx, dword [esp + 0x5c]
push ecx
push edi
push 9
push esi
call fcn.10057e50
mov edx, dword [esp + 0x68]
add esp, 0x44
push edx
push esi
call fcn.100589b0
lea eax, [edi + 1]
push 0
push eax
push 0x3b
push esi
call fcn.10057e50
push 0
push edi
push 0x3b
push esi
call fcn.10057e50
add esp, 0x28
jmp 0x1006ef5b
mov eax, dword [ebx + 8]
mov dword [esp + 0x58], 0
mov dword [edi + 8], eax
mov ecx, dword [ebx + 0xc]
mov dword [edi + 0xc], ecx
mov edx, dword [ebx + 0x3c]
mov dword [edi + 0x3c], edx
mov eax, dword [ebx + 0x40]
lea edx, [esp + 0x2c]
mov dword [edi + 0x40], eax
mov ecx, dword [ebp + 0x1d4]
push edx
push edi
push ebp
mov dword [esp + 0x28], ecx
call fcn.1006c170
xor ecx, ecx
add esp, 0xc
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x40], ecx
jne 0x1006f05d
mov dword [ebx + 0x34], ecx
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov edx, dword [edi + 0xc]
cmp eax, ecx
mov dword [ebx + 0xc], edx
je 0x1006ecf3
push eax
push 0x89
push esi
call fcn.10058940
add esp, 0xc
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x1d4]
lea ecx, [esp + 0x2c]
push ecx
push ebx
push ebp
mov dword [esp + 0x24], eax
call fcn.1006c170
mov edx, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x1c], eax
mov dword [ebx + 0x34], edi
mov eax, dword [edi + 0x18]
add esp, 0xc
add ecx, eax
mov dword [esp + 0x20], edx
mov edx, dword [ebx + 0x1c]
mov dword [ebx + 0x18], ecx
mov ecx, dword [edi + 0x1c]
adc edx, ecx
mov dword [ebx + 0x1c], edx
mov edi, dword [edi + 0x3c]
test edi, edi
je 0x1006ed68
lea edx, [esp + 0x5c]
push edx
push edi
call fcn.10057120
add esp, 8
test eax, eax
je 0x1006ed68
mov eax, dword [esp + 0x5c]
test eax, eax
jle 0x1006ed68
mov ecx, dword [ebx + 0x1c]
cdq
cmp ecx, edx
jb 0x1006ed68
ja 0x1006ed62
mov ecx, dword [ebx + 0x18]
cmp ecx, eax
jbe 0x1006ed68
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1006ef5b
push eax
push esi
call fcn.10057e70
add esp, 8
jmp 0x1006ef5b
cmp cl, 1
jne 0x1006ed92
mov edx, dword [esp + 0x30]
mov dword [esp + 0x58], edx
jmp 0x1006edbc
mov eax, dword [ebp + 0x44]
push 0
push eax
push 0x38
lea ecx, [eax + 1]
push esi
mov dword [esp + 0x68], eax
mov dword [ebp + 0x44], ecx
call fcn.10057e50
push ebx
mov dword [ebx + 0x10], eax
call fcn.1006b240
add eax, 6
add esp, 0x14
or byte [eax], 8
mov edx, dword [esp + 0x58]
lea eax, [esp + 0x40]
push edx
push 1
push eax
call fcn.1006a6f0
mov ecx, dword [ebp + 0x1d4]
lea edx, [esp + 0x4c]
push edx
push edi
push ebp
mov dword [esp + 0x34], ecx
call fcn.1006c170
xor ecx, ecx
add esp, 0x18
cmp eax, ecx
mov dword [esp + 0x10], eax
jne 0x1006f05d
mov al, byte [ebx + 4]
mov edx, dword [ebx + 0x3c]
cmp al, 0x75
mov dword [esp + 0x5c], edx
mov edx, dword [ebx + 0x40]
mov dword [ebx + 0x34], ecx
sete al
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x40], ecx
inc al
lea ecx, [esp + 0x40]
mov byte [esp + 0x40], al
mov eax, dword [ebp + 0x1d4]
push ecx
push ebx
push ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], eax
call fcn.1006c170
mov edx, dword [ebx + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.1004e260
mov al, byte [ebx + 4]
mov ecx, dword [ebx + 0x34]
add esp, 0x14
cmp al, 0x73
mov dword [esp + 0x20], ecx
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x30], 0
jne 0x1006ee72
mov edx, dword [edi + 0x18]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
add eax, edx
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x1c]
adc ecx, eax
mov dword [ebx + 0x1c], ecx
mov ecx, dword [ebx + 0x3c]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.1004e1e0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x30]
mov dword [ebx + 0x3c], eax
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov al, byte [esp + 0x34]
add esp, 8
cmp al, 1
mov dword [ebx + 0x40], ecx
je 0x1006ef5b
cmp al, 9
jne 0x1006eec9
mov eax, dword [ebx + 0x34]
mov ecx, ebx
test eax, eax
je 0x1006eebb
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x1006eeb2
mov edx, dword [ecx]
push edx
push 0
push ebp
call fcn.1006e5a0
add esp, 0xc
push esi
call fcn.10058960
push esi
mov edi, eax
call fcn.10058960
push edi
push ebx
push ebp
mov dword [esp + 0x70], eax
call fcn.1006e7e0
mov eax, dword [esp + 0x6c]
push edi
push eax
push 0x6a
push esi
call fcn.10057e50
push esi
call fcn.100589e0
mov ecx, dword [esp + 0x84]
push edi
lea edx, [esp + 0x58]
push ecx
mov ecx, dword [ebx]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x88]
push edx
push 0
push 0
push eax
push ecx
push ebx
push ebp
call fcn.1006d7b0
mov edx, dword [esp + 0xa8]
add esp, 0x4c
push edx
push esi
call fcn.100589b0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x60]
push eax
push ecx
push 9
push esi
call fcn.10057e50
push edi
push esi
call fcn.100589b0
mov edx, dword [esp + 0x78]
push 0
push edx
push 0x3b
push esi
call fcn.10057e50
add esp, 0x30
mov al, byte [ebx + 4]
mov edx, dword [esp + 0x18]
xor ecx, ecx
cmp al, 0x74
setne cl
push ecx
mov ecx, dword [esp + 0x20]
push edx
and eax, 0xff
push ecx
push eax
push ebp
call fcn.1006f0c0
mov al, byte [ebx + 6]
add esp, 0x14
test al, 8
je 0x1006f05d
mov edx, dword [ebx]
push 1
mov eax, dword [edx]
mov dword [esp + 0x5c], eax
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.1006a920
add esp, 0xc
mov dword [esp + 0x24], eax
test eax, eax
jne 0x1006efb7
mov dword [esp + 0x10], 7
jmp 0x1006f05d
add eax, 0x14
xor edi, edi
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x58]
test eax, eax
jle 0x1006eff6
push edi
push ebx
push ebp
call fcn.1006f130
mov ecx, dword [esp + 0x68]
add esp, 0xc
test eax, eax
mov dword [ecx], eax
jne 0x1006efe6
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov eax, dword [esp + 0x58]
inc edi
add ecx, 4
cmp edi, eax
mov dword [esp + 0x5c], ecx
jl 0x1006efc8
mov dword [esp + 0x5c], ebx
mov ecx, dword [esp + 0x5c]
xor edi, edi
lea ebx, [ecx + 0x10]
mov ebp, dword [ebx]
test ebp, ebp
jl 0x1006f041
mov edx, dword [esp + 0x58]
push edx
push ebp
push esi
call fcn.1004aca0
mov eax, dword [esp + 0x30]
add esp, 0xc
push 0xfffffffffffffffa
push eax
call fcn.1006a980
add esp, 4
push eax
push ebp
push esi
call fcn.1004ad60
add esp, 0x10
mov dword [ebx], 0xffffffff
inc edi
add ebx, 4
cmp edi, 2
jl 0x1006f003
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + 0x34]
test eax, eax
mov dword [esp + 0x5c], eax
jne 0x1006effa
mov edx, dword [esp + 0x24]
push edx
call fcn.10052330
add esp, 4
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x20]
push eax
push ecx
call fcn.10052140
mov eax, dword [esp + 0x18]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret