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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [ecx]
push esi
mov dword [esp + 0x1c], eax
mov esi, edx
mov eax, dword [ebp + 8]
push edi
mov dword [esp + 0x38], esi
mov edx, dword [esi + 0x30]
movups xmm0, xmmword [eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x50], eax
movups xmmword [esp + 0x40], xmm0
cmp dword [edx + 0x2c], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], edx
je 0x10089fc6
movzx eax, byte [esi + 4]
sub eax, 0x74
je 0x10089fa5
sub eax, 1
je 0x10089f9e
sub eax, 1
je 0x10089f97
mov eax, str.UNION
jmp 0x10089faa
mov eax, str.INTERSECT
jmp 0x10089faa
mov eax, str.EXCEPT
jmp 0x10089faa
mov eax, str.UNION_ALL
push eax
push str.ORDER_BY_clause_should_come_after__s_not_before
push ecx
call fcn.100365a0
add esp, 0xc
mov dword [esp + 0x10], 1
jmp 0x1008a855
cmp dword [edx + 0x38], 0
je 0x1008a013
movzx eax, byte [esi + 4]
sub eax, 0x74
je 0x1008a006
sub eax, 1
je 0x10089ff9
sub eax, 1
je 0x10089fec
mov eax, str.UNION
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x10089fb0
mov eax, str.INTERSECT
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x10089fb0
mov eax, str.EXCEPT
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x10089fb0
mov eax, str.UNION_ALL
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x10089fb0
call fcn.100894b0
mov cl, byte [esp + 0x40]
mov edi, eax
mov dword [esp + 0x14], edi
cmp cl, 0xc
jne 0x1008a044
mov eax, dword [esi]
mov edx, 0x39
mov ecx, edi
push dword [eax]
push dword [esp + 0x48]
call fcn.10051bc0
mov cl, 0xe
add esp, 8
mov byte [esp + 0x40], cl
mov eax, dword [esi + 8]
test eax, 0x200
je 0x1008a0b0
mov eax, dword [esi + 0x30]
mov ecx, 1
mov dword [esp + 0x2c], ecx
test eax, eax
je 0x1008a070
nop
mov esi, eax
inc ecx
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x1008a060
mov dword [esp + 0x2c], ecx
nop
mov edi, dword [esi + 0x30]
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0xc]
mov edx, esi
push eax
mov dword [esi + 0x30], 0
call fcn.1008e160
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esi + 0x30], edi
test eax, eax
jne 0x1008a855
mov eax, dword [esp + 0x2c]
mov word [esi + 6], ax
mov esi, dword [esi + 0x34]
test esi, esi
jne 0x1008a070
jmp 0x1008a855
test eax, 0x2000
je 0x1008a0cf
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x40]
push eax
mov edx, esi
call fcn.100897e0
add esp, 4
jmp 0x1008a69c
cmp dword [esi + 0x2c], 0
je 0x1008a0ed
mov ecx, dword [ebp + 8]
mov edx, esi
push ecx
mov ecx, dword [esp + 0x10]
call fcn.1008ad50
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi + 4]
sub eax, 0x73
je 0x1008a482
sub eax, 1
je 0x1008a347
sub eax, 1
je 0x1008a482
mov ecx, dword [esp + 0xc]
push 0
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x20], edx
push edx
lea eax, [edx + 1]
mov edx, 0x39
mov dword [esp + 0x2c], eax
inc eax
mov dword [ecx + 0x48], eax
mov ecx, edi
call fcn.10051bc0
mov ecx, esi
mov dword [esi + 0x14], eax
call fcn.10086750
mov edx, dword [esp + 0x20]
or dword [eax + 8], 0x10
mov eax, dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x14]
mov word [esp + 0x70], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov ecx, dword [eax + 0x1d8]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x70]
push ecx
mov ecx, eax
call fcn.1008e160
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1008a855
push eax
push dword [esp + 0x28]
lea edx, [eax + 0x39]
mov ecx, edi
call fcn.10051bc0
mov dword [esi + 0x18], eax
mov edx, esi
mov eax, dword [esi + 0x38]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x30], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov ecx, dword [eax + 0x1d8]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x70]
push ecx
mov ecx, eax
call fcn.1008e160
mov dword [esp + 0x1c], eax
add esp, 0xc
mov eax, dword [esi + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x30], eax
movzx eax, word [eax + 6]
cmp word [esi + 6], ax
jle 0x1008a207
mov word [esi + 6], ax
mov edx, dword [esi + 0x38]
mov ecx, dword [esp + 0x20]
call fcn.10066910
cmp byte [esp + 0x40], 9
mov eax, dword [esp + 0x34]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x3c], eax
jne 0x1008a24b
mov eax, dword [esi + 0x30]
mov edx, esi
test eax, eax
je 0x1008a23a
mov edx, eax
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x1008a231
push dword [edx]
mov edx, dword [edx + 0x1c]
mov ecx, dword [esp + 0x10]
call fcn.10088c20
add esp, 4
mov ecx, edi
call fcn.100520f0
mov ecx, dword [esp + 0x14]
mov edi, eax
mov dword [esp + 0x34], edi
call fcn.100520f0
mov ecx, dword [esp + 0xc]
mov edx, esi
push edi
mov dword [esp + 0x1c], eax
call fcn.10089500
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, 0x6c
push edi
push dword [esp + 0x20]
call fcn.10051bc0
mov ecx, dword [esp + 0x14]
call fcn.1006ba70
mov ecx, dword [esp + 0x1c]
mov edi, eax
push edi
push dword [esp + 0x28]
mov edx, 0x65
call fcn.10051bc0
mov ecx, dword [esp + 0x24]
mov edx, 0x44
push 0
push edi
push dword [esp + 0x30]
mov dword [esp + 0x58], eax
push dword [esp + 0x40]
call fcn.10051fa0
mov ecx, dword [esp + 0x2c]
mov edx, edi
call fcn.1006ba90
push dword [esp + 0x54]
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x30]
mov edx, esi
push edi
push eax
push 0
push 0
push dword [esp + 0x50]
push dword [esi]
call fcn.10087400
add esp, 0x3c
mov edx, edi
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.10052140
push dword [esp + 0x3c]
mov edx, 7
push dword [esp + 0x20]
call fcn.10051bc0
mov edx, dword [esp + 0x3c]
mov ecx, edi
call fcn.10052140
push 0
push dword [esp + 0x30]
mov edx, 0x3d
call fcn.10051bc0
push 0
push dword [esp + 0x30]
mov edx, 0x3d
mov ecx, edi
call fcn.10051bc0
add esp, 0x18
jmp 0x1008a69c
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x34], 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 + 0xc]
mov edx, dword [eax + 0x1d8]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x40]
push edx
mov edx, ecx
mov ecx, eax
call fcn.1008e160
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
test eax, eax
jne 0x1008a855
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xc], ecx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x10], eax
test ecx, ecx
je 0x1008a3e9
push ecx
mov edx, 0x2e
mov ecx, edi
call fcn.10051b50
mov ecx, dword [esi + 0x10]
add esp, 4
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x1008a3e9
push ecx
inc ecx
mov edx, 0x8b
push ecx
push dword [esi + 0xc]
mov ecx, edi
call fcn.10051a70
add esp, 0xc
mov eax, dword [esp + 0xc]
mov edx, esi
mov ecx, dword [eax + 0x1d8]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.1008e160
mov cx, word [esi + 6]
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x30], eax
mov dx, word [eax + 6]
call fcn.10037a10
mov edx, dword [esp + 0x18]
movzx ecx, ax
mov dword [esp + 0x24], ecx
mov word [esi + 6], ax
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x1008a468
lea edx, [esp + 0x3c]
call fcn.100679d0
test eax, eax
je 0x1008a468
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x1008a468
cdq
push edx
push eax
call fcn.10037a80
add esp, 8
cmp word [esp + 0x24], ax
jle 0x1008a468
mov word [esi + 6], ax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1008a69c
mov edx, eax
mov ecx, edi
call fcn.10052440
jmp 0x1008a69c
cmp cl, 1
jne 0x1008a491
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
jmp 0x1008a4c6
mov ecx, dword [esp + 0xc]
push 0
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x20], edx
push edx
lea eax, [edx + 1]
mov edx, 0x39
mov dword [ecx + 0x48], eax
mov ecx, edi
call fcn.10051bc0
add esp, 8
mov dword [esi + 0x14], eax
mov ecx, esi
call fcn.10086750
or dword [eax + 8], 0x10
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xc]
mov word [esp + 0x7c], 1
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov ecx, dword [eax + 0x1d8]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call fcn.1008e160
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1008a855
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 + 0x34], eax
sete al
inc al
mov dword [esi + 0x38], 0
mov byte [esp + 0x7c], al
mov eax, dword [esp + 0xc]
mov dword [esi + 0x3c], 0
mov ecx, dword [eax + 0x1d8]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call fcn.1008e160
mov edx, dword [esi + 0x2c]
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
call fcn.10067700
cmp byte [esi + 4], 0x73
mov eax, dword [esi + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], 0
jne 0x1008a59e
mov dx, word [eax + 6]
mov cx, word [esi + 6]
call fcn.10037a10
mov word [esi + 6], ax
mov edx, dword [esi + 0x38]
mov ecx, dword [esp + 0x20]
call fcn.10066910
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x3c], eax
mov al, byte [esp + 0x40]
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
cmp al, 1
je 0x1008a69c
cmp al, 9
jne 0x1008a5fa
mov eax, dword [esi + 0x30]
mov edx, esi
test eax, eax
je 0x1008a5e9
nop
mov edx, eax
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x1008a5e0
push dword [edx]
mov edx, dword [edx + 0x1c]
mov ecx, dword [esp + 0x10]
call fcn.10088c20
add esp, 4
mov ecx, edi
call fcn.100520f0
mov ecx, dword [esp + 0x14]
mov edi, eax
mov dword [esp + 0x24], edi
call fcn.100520f0
mov ecx, dword [esp + 0xc]
mov edx, esi
push edi
mov dword [esp + 0x38], eax
call fcn.10089500
add esp, 4
mov edx, 0x6c
push edi
push dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.10051bc0
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x4c]
push dword [esp + 0x40]
mov edi, dword [edi + 0x20]
mov edx, esi
push eax
push 0
push 0
push dword [esp + 0x38]
push dword [esi]
call fcn.10087400
mov edx, dword [esp + 0x58]
add esp, 0x24
mov ecx, dword [esp + 0x14]
call fcn.10052140
push edi
push dword [esp + 0x20]
mov edx, 7
mov edi, ecx
call fcn.10051bc0
mov edx, dword [esp + 0x2c]
mov ecx, edi
call fcn.10052140
push 0
push dword [esp + 0x28]
mov edx, 0x3d
call fcn.10051bc0
add esp, 0x10
movzx edx, byte [esi + 4]
xor eax, eax
cmp byte [esi + 4], 0x74
mov ecx, dword [esp + 0xc]
setne al
push eax
push dword [esp + 0x2c]
push dword [esp + 0x34]
call fcn.10088170
add esp, 0xc
test byte [esi + 8], 0x10
je 0x1008a855
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x20], eax
call fcn.10088040
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1008a6f5
mov dword [esp + 0x10], 7
jmp 0x1008a855
xor ecx, ecx
lea edx, [eax + 0x14]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x1c], ecx
jle 0x1008a790
mov edi, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
mov eax, dword [esi + 0x30]
test eax, eax
je 0x1008a736
push ecx
mov edx, eax
mov ecx, edi
call fcn.10089620
mov ecx, dword [esp + 0x30]
add esp, 4
mov edx, dword [esp + 0x28]
test eax, eax
jne 0x1008a75d
jmp 0x1008a738
xor eax, eax
mov edi, dword [esi]
cmp ecx, dword [edi]
mov edi, dword [esp + 0xc]
jge 0x1008a75d
mov eax, dword [esi]
mov ecx, edi
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x24]
mov edx, dword [edx + eax]
call fcn.10065c50
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [edx], eax
test eax, eax
jne 0x1008a76c
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
mov dword [edx], eax
add dword [esp + 0x24], 0x18
inc ecx
add edx, 4
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
cmp ecx, dword [esp + 0x1c]
jl 0x1008a714
mov edi, dword [esp + 0x14]
nop word [eax + eax]
lea eax, [esi + 0x14]
mov dword [esp + 0x34], 0
mov esi, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
test eax, eax
js 0x1008a830
lea ecx, [eax + eax*4]
mov eax, dword [edi]
shl ecx, 2
cmp byte [eax + 0x45], 0
je 0x1008a7c2
mov eax, 0x100fe494
jmp 0x1008a7c7
mov eax, dword [edi + 4]
add eax, ecx
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], edx
inc dword [esi]
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x1008a7ea
push esi
mov edx, 0xfffffffa
mov ecx, eax
call fcn.10052480
add esp, 4
jmp 0x1008a80d
mov eax, dword [edi + 4]
add eax, ecx
cmp byte [eax + 1], 0
je 0x1008a806
push 0xfffffffffffffffa
push esi
mov edx, eax
mov ecx, edi
call fcn.100526a0
add esp, 8
jmp 0x1008a80d
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xfa
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
inc ecx
mov dword [esp + 0x34], ecx
mov dword [eax], 0xffffffff
add eax, 4
mov dword [esp + 0x2c], eax
cmp ecx, 2
jl 0x1008a7a3
mov esi, dword [esp + 0x38]
mov esi, dword [esi + 0x30]
mov dword [esp + 0x38], esi
test esi, esi
jne 0x1008a790
mov eax, dword [esp + 0x18]
add dword [eax], 0xffffffff
jne 0x1008a855
push eax
call fcn.10033830
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x30]
push 1
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x24]
call fcn.10086480
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret