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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x102beb54]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
mov esi, edx
mov eax, ecx
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], ecx
movups xmm0, xmmword [edx]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x30]
movups xmmword [esp + 0x3c], xmm0
push edi
movq xmm0, qword [edx + 0x10]
mov edi, dword [eax]
movq qword [esp + 0x50], xmm0
cmp dword [ecx + 0x2c], 0
mov dword [esp + 0x34], esi
mov dword [esp + 8], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ecx
je 0x1007a3bd
movzx ecx, byte [esi + 4]
sub ecx, 0x74
je 0x1007a39f
sub ecx, 1
je 0x1007a398
sub ecx, 1
je 0x1007a391
mov ecx, str.UNION
jmp 0x1007a3a4
mov ecx, str.INTERSECT
jmp 0x1007a3a4
mov ecx, str.EXCEPT
jmp 0x1007a3a4
mov ecx, str.UNION_ALL
push ecx
push str.ORDER_BY_clause_should_come_after__s_not_before
push eax
call fcn.10022e00
add esp, 0xc
mov esi, 1
jmp 0x1007ac18
cmp dword [ecx + 0x38], 0
je 0x1007a409
movzx ecx, byte [esi + 4]
sub ecx, 0x74
je 0x1007a3eb
sub ecx, 1
je 0x1007a3e4
sub ecx, 1
je 0x1007a3dd
mov ecx, str.UNION
jmp 0x1007a3f0
mov ecx, str.INTERSECT
jmp 0x1007a3f0
mov ecx, str.EXCEPT
jmp 0x1007a3f0
mov ecx, str.UNION_ALL
push ecx
push str.LIMIT_clause_should_come_after__s_not_before
push eax
call fcn.10022e00
add esp, 0xc
mov esi, 1
jmp 0x1007ac18
mov edi, dword [eax + 8]
mov dword [esp + 0x10], edi
test edi, edi
jne 0x1007a421
mov ecx, eax
call fcn.100797d0
mov edi, eax
mov dword [esp + 0x10], eax
mov cl, byte [esp + 0x40]
cmp cl, 0xc
jne 0x1007a447
mov eax, dword [esi]
mov edx, 0x6c
mov ecx, edi
push dword [eax]
push dword [esp + 0x48]
call fcn.1003e830
mov cl, 0xe
add esp, 8
mov byte [esp + 0x40], cl
mov eax, dword [esi + 8]
test eax, 0x400
je 0x1007a4b2
mov eax, dword [esi + 0x30]
mov ecx, 1
mov dword [esp + 0x20], ecx
test eax, eax
je 0x1007a470
mov esi, eax
inc ecx
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x1007a461
mov dword [esp + 0x20], ecx
nop
mov edi, dword [esi + 0x30]
lea eax, [esp + 0x40]
mov ecx, dword [esp + 8]
mov edx, esi
push eax
mov dword [esi + 0x30], 0
call fcn.1007e540
mov ecx, eax
mov dword [esi + 0x30], edi
add esp, 4
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x1007ac10
mov eax, dword [esp + 0x20]
mov word [esi + 6], ax
mov esi, dword [esi + 0x34]
test esi, esi
jne 0x1007a470
jmp 0x1007ac10
test eax, 0x2000
je 0x1007a526
mov ecx, dword [esp + 8]
lea eax, [esp + 0x40]
push eax
mov edx, esi
call fcn.10079b80
add esp, 4
mov edi, dword [esp + 0x10]
movzx edx, byte [esi + 4]
xor eax, eax
cmp byte [esi + 4], 0x74
mov ecx, dword [esp + 8]
setne al
push eax
push dword [esp + 0x30]
push dword [esp + 0x28]
call fcn.10078550
add esp, 0xc
test byte [esi + 8], 0x20
je 0x1007ac10
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
push 1
mov edx, dword [eax]
mov dword [esp + 0x24], edx
call fcn.100783c0
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
jne 0x1007aaed
lea esi, [eax + 7]
jmp 0x1007ac14
cmp dword [esi + 0x2c], 0
je 0x1007a553
mov ecx, dword [esp + 0x38]
mov edx, esi
push ecx
mov ecx, dword [esp + 0xc]
call fcn.1007b070
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi + 4]
sub eax, 0x73
je 0x1007a8d2
sub eax, 1
je 0x1007a79d
sub eax, 1
je 0x1007a8d2
mov ecx, dword [esp + 8]
push 0
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x1c], edx
push edx
lea eax, [edx + 1]
mov edx, 0x6c
mov dword [esp + 0x30], eax
inc eax
mov dword [ecx + 0x28], eax
mov ecx, edi
call fcn.1003e830
mov dword [esi + 0x14], eax
add esp, 8
mov eax, dword [esi + 0x34]
mov ecx, esi
test eax, eax
je 0x1007a5af
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x1007a5a6
or dword [ecx + 8], 0x20
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 8]
mov byte [esp + 0x6c], 1
mov dword [esp + 0x7c], 0
mov dword [esp + 0x74], 0
mov ecx, dword [eax + 0x1a0]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x6c]
push ecx
mov ecx, eax
mov dword [esp + 0x7c], 0
call fcn.1007e540
mov ecx, eax
add esp, 4
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x1007ac10
push eax
push dword [esp + 0x2c]
lea edx, [eax + 0x6c]
mov ecx, edi
call fcn.1003e830
mov dword [esi + 0x18], eax
mov edx, esi
mov eax, dword [esi + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x30], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov ecx, dword [eax + 0x1a0]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x74]
push ecx
mov ecx, eax
call fcn.1007e540
mov ecx, dword [esi + 0x30]
add esp, 0xc
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x30], eax
mov dword [esp + 0x30], ecx
movzx eax, word [eax + 6]
cmp word [esi + 6], ax
jle 0x1007a683
mov word [esi + 6], ax
mov edx, dword [esi + 0x38]
test edx, edx
je 0x1007a693
mov ecx, dword [esp + 0x1c]
call fcn.100547e0
mov eax, dword [esp + 0xc]
mov ecx, edi
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x3c], eax
call fcn.1003ecf0
mov ecx, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0xc], edi
call fcn.1003ecf0
mov ecx, dword [esp + 8]
mov edx, esi
push edi
mov dword [esp + 0x28], eax
call fcn.100798b0
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, 0x25
push edi
push dword [esp + 0x1c]
call fcn.1003e830
mov ecx, dword [esp + 0x10]
call fcn.1005b1a0
mov ecx, dword [esp + 0x18]
mov edi, eax
push edi
push dword [esp + 0x24]
mov edx, 0x7a
call fcn.1003e830
mov ecx, dword [esp + 0x20]
mov edx, 0x1d
push 0
push edi
push dword [esp + 0x3c]
mov dword [esp + 0x58], eax
push dword [esp + 0x44]
call fcn.1003ebe0
mov ecx, dword [esp + 0x28]
mov edx, edi
call fcn.1005b1c0
push dword [esp + 0x2c]
mov edi, dword [esp + 0x48]
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x2c]
mov edx, esi
push edi
push eax
push 0
push 0
push dword [esp + 0x4c]
push dword [esi]
call fcn.10077710
add esp, 0x3c
mov edx, edi
mov edi, dword [esp + 0x10]
mov ecx, edi
call fcn.1003ed40
push dword [esp + 0x3c]
mov edx, 7
push dword [esp + 0x1c]
call fcn.1003e830
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.1003ed40
push 0
push dword [esp + 0x34]
mov edx, 0x70
call fcn.1003e830
push 0
push dword [esp + 0x2c]
mov edx, 0x70
mov ecx, edi
call fcn.1003e830
add esp, 0x18
jmp 0x1007a4d0
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x38]
mov dword [ecx + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [ecx + 0x3c], eax
mov eax, dword [esp + 8]
mov edx, dword [eax + 0x1a0]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x40]
push edx
mov edx, ecx
mov ecx, eax
call fcn.1007e540
mov ecx, eax
mov dword [esi + 0x38], 0
add esp, 4
mov dword [esp + 0x14], ecx
mov dword [esi + 0x3c], 0
test ecx, ecx
jne 0x1007ac10
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xc], ecx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x10], eax
test ecx, ecx
je 0x1007a841
push ecx
mov edx, 0x16
mov ecx, edi
call fcn.1003e7c0
mov ecx, dword [esi + 0x10]
add esp, 4
mov dword [esp + 0xc], eax
test ecx, ecx
je 0x1007a841
push ecx
inc ecx
mov edx, 0x93
push ecx
push dword [esi + 0xc]
mov ecx, edi
call fcn.1003e6e0
add esp, 0xc
mov eax, dword [esp + 8]
mov edx, esi
mov ecx, dword [eax + 0x1a0]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.1007e540
mov ecx, dword [esi + 0x30]
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x30], eax
mov dword [esp + 0x30], ecx
mov cx, word [esi + 6]
mov dx, word [eax + 6]
call fcn.10024100
mov edx, dword [esp + 0x24]
mov word [esi + 6], ax
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x1007a8b8
lea edx, [esp + 0x3c]
call fcn.10055b30
test eax, eax
je 0x1007a8b8
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x1007a8b8
cdq
push edx
push eax
call fcn.10024170
add esp, 8
cmp word [esi + 6], ax
jle 0x1007a8b8
mov word [esi + 6], ax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1007a4cc
mov edx, eax
mov ecx, edi
call fcn.1003f0a0
jmp 0x1007a4cc
cmp cl, 1
jne 0x1007a8e1
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
jmp 0x1007a921
mov ecx, dword [esp + 8]
push 0
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x1c], edx
push edx
lea eax, [edx + 1]
mov edx, 0x6c
mov dword [ecx + 0x28], eax
mov ecx, edi
call fcn.1003e830
mov dword [esi + 0x14], eax
add esp, 8
mov eax, dword [esi + 0x34]
mov ecx, esi
test eax, eax
je 0x1007a919
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x1007a910
or dword [ecx + 8], 0x20
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 8]
mov byte [esp + 0x84], 1
mov dword [esp + 0x94], 0
mov dword [esp + 0x8c], 0
mov ecx, dword [eax + 0x1a0]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
mov dword [esp + 0x94], 0
call fcn.1007e540
mov ecx, eax
add esp, 4
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x1007ac10
cmp byte [esi + 4], 0x75
mov edx, esi
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0xc], eax
sete al
inc al
mov dword [esi + 0x38], ecx
mov byte [esp + 0x84], al
mov eax, dword [esp + 8]
mov dword [esi + 0x3c], ecx
mov ecx, dword [eax + 0x1a0]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
call fcn.1007e540
mov edx, dword [esi + 0x2c]
add esp, 4
mov dword [esp + 0x14], eax
test edx, edx
je 0x1007a9e0
mov ecx, dword [esp + 0x1c]
call fcn.100557f0
cmp byte [esi + 4], 0x73
mov ecx, dword [esi + 0x30]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], 0
jne 0x1007aa0c
mov dx, word [eax + 6]
mov cx, word [esi + 6]
call fcn.10024100
mov word [esi + 6], ax
mov edx, dword [esi + 0x38]
test edx, edx
je 0x1007aa1c
mov ecx, dword [esp + 0x1c]
call fcn.100547e0
cmp byte [esp + 0x40], 1
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x3c], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
je 0x1007a4cc
mov ecx, edi
call fcn.1003ecf0
mov ecx, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x28], edi
call fcn.1003ecf0
mov ecx, dword [esp + 8]
mov edx, esi
push edi
mov dword [esp + 0x10], eax
call fcn.100798b0
add esp, 4
mov edx, 0x25
push edi
push dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.1003e830
push dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x4c]
push dword [esp + 0x18]
mov edi, dword [edi + 0x88]
mov edx, esi
push eax
push 0
push 0
push dword [esp + 0x34]
push dword [esi]
call fcn.10077710
mov edx, dword [esp + 0x30]
add esp, 0x24
mov ecx, dword [esp + 0x10]
call fcn.1003ed40
push edi
push dword [esp + 0x1c]
mov edx, 7
mov edi, ecx
call fcn.1003e830
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.1003ed40
push 0
push dword [esp + 0x24]
mov edx, 0x70
call fcn.1003e830
add esp, 0x10
jmp 0x1007a4d0
mov edx, dword [esp + 0x20]
add eax, 0x14
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0xc], eax
test edx, edx
jle 0x1007ab50
mov edi, dword [esp + 8]
push eax
mov edx, esi
mov ecx, edi
call fcn.100799f0
mov ecx, dword [esp + 0x30]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x1007ab26
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov dword [ecx], eax
mov eax, dword [esp + 0xc]
add ecx, 4
mov edx, dword [esp + 0x20]
inc eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], ecx
cmp eax, edx
jl 0x1007ab06
mov edi, dword [esp + 0x10]
nop dword [eax]
nop word [eax + eax]
lea eax, [esi + 0x14]
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
test eax, eax
js 0x1007abf4
lea ecx, [eax + eax*4]
mov eax, dword [edi]
shl ecx, 2
cmp byte [eax + 0x45], 0
je 0x1007ab82
mov eax, 0x102c70c4
jmp 0x1007ab87
mov eax, dword [edi + 0x58]
add eax, ecx
mov dword [eax + 8], edx
inc dword [esi]
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x1007abaa
push esi
mov edx, 0xfffffff7
mov ecx, eax
call fcn.1003f280
mov edx, dword [esp + 0x24]
add esp, 4
jmp 0x1007abd1
mov eax, dword [edi + 0x58]
add eax, ecx
cmp byte [eax + 1], 0
je 0x1007abca
push 0xfffffffffffffff7
push esi
mov edx, eax
mov ecx, edi
call fcn.1003f410
mov edx, dword [esp + 0x28]
add esp, 8
jmp 0x1007abd1
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xf7
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xc], ecx
mov dword [eax], 0xffffffff
add eax, 4
mov dword [esp + 0x2c], eax
cmp ecx, 2
jl 0x1007ab63
mov esi, dword [esp + 0x34]
mov esi, dword [esi + 0x30]
mov dword [esp + 0x34], esi
test esi, esi
jne 0x1007ab50
mov ecx, dword [esp + 0x28]
call fcn.10078460
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1007ac40
push 1
mov edx, eax
mov ecx, edi
call fcn.10076810
add esp, 4
mov ecx, dword [esp + 0x9c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret