Function at 0x5e16f0
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 eax, dword [ebp + 8]
push edi
mov edi, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], edi
movups xmm0, xmmword [eax]
mov eax, dword [eax + 0x10]
mov edx, dword [edi + 0x34]
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x50], eax
mov dword [esp + 0x14], 0
cmp dword [edx + 0x30], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], edx
je 0x5e1796
movzx eax, byte [edi + 4]
sub eax, 0x74
je 0x5e1775
sub eax, 1
je 0x5e176e
sub eax, 1
je 0x5e1767
mov eax, str.UNION
jmp 0x5e177a
mov eax, str.INTERSECT
jmp 0x5e177a
mov eax, str.EXCEPT
jmp 0x5e177a
mov eax, str.UNION_ALL
push eax
push str.ORDER_BY_clause_should_come_after__s_not_before
push ecx
call fcn.0063b6e0
add esp, 0xc
mov dword [esp + 0x14], 1
jmp 0x5e2069
cmp dword [edx + 0x3c], 0
je 0x5e17e3
movzx eax, byte [edi + 4]
sub eax, 0x74
je 0x5e17d6
sub eax, 1
je 0x5e17c9
sub eax, 1
je 0x5e17bc
mov eax, str.UNION
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x5e1780
mov eax, str.INTERSECT
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x5e1780
mov eax, str.EXCEPT
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x5e1780
mov eax, str.UNION_ALL
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x5e1780
mov esi, dword [ecx + 8]
mov dword [esp + 0x10], esi
test esi, esi
jne 0x5e1829
call fcn.0061da50
mov ecx, dword [esp + 0xc]
mov esi, eax
mov dword [esp + 0x10], esi
mov dword [ecx + 8], esi
test esi, esi
je 0x5e1814
mov edx, 0x9e
mov ecx, esi
call fcn.0061d720
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x198], 0
jne 0x5e1829
mov eax, dword [ecx]
test byte [eax + 0x3c], 8
jne 0x5e1829
mov byte [ecx + 0x17], 1
mov cl, byte [esp + 0x40]
cmp cl, 0xc
jne 0x5e186f
mov eax, dword [edi]
mov edx, 0x39
mov ecx, esi
push dword [eax]
push dword [esp + 0x48]
call fcn.0061d640
mov eax, dword [esi]
add esp, 8
mov ecx, dword [esi + 0x20]
dec ecx
cmp byte [eax + 0x41], 0
je 0x5e185c
mov eax, 0x6e8b5c
jmp 0x5e1865
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov cl, 0xe
mov byte [eax + 3], 8
mov byte [esp + 0x40], cl
movzx eax, word [edi + 6]
test eax, 0x200
je 0x5e1893
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x40]
push eax
mov edx, edi
call fcn.005e20a0
mov dword [esp + 0x18], eax
jmp 0x5e2066
test eax, 0x2000
je 0x5e1910
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x40]
push eax
mov edx, edi
call fcn.005e2100
add esp, 4
mov esi, dword [esp + 0x10]
movzx edx, byte [edi + 4]
xor eax, eax
cmp byte [edi + 4], 0x74
mov ecx, dword [esp + 0xc]
setne al
push eax
push dword [esp + 0x2c]
push dword [esp + 0x34]
call fcn.005e4050
add esp, 0xc
test byte [edi + 6], 0x10
je 0x5e2069
mov eax, dword [edi]
mov ecx, dword [esp + 0x20]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x1c], eax
call fcn.005e43b0
mov ecx, eax
add esp, 4
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x5e1f07
mov dword [esp + 0x14], 7
jmp 0x5e2069
cmp dword [edi + 0x30], 0
je 0x5e192e
mov ecx, dword [ebp + 8]
mov edx, edi
push ecx
mov ecx, dword [esp + 0x10]
call fcn.005df610
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, byte [edi + 4]
sub eax, 0x73
je 0x5e1ced
sub eax, 1
je 0x5e1b94
sub eax, 1
je 0x5e1ced
mov ecx, dword [esp + 0xc]
push 0
mov edx, dword [ecx + 0x44]
mov dword [esp + 0x28], edx
push edx
lea eax, [edx + 1]
mov edx, 0x39
mov dword [esp + 0x3c], eax
inc eax
mov dword [ecx + 0x44], eax
mov ecx, esi
call fcn.0061d640
mov ecx, edi
mov dword [edi + 0x10], eax
call fcn.005e5ea0
mov edx, dword [esp + 0x20]
or word [eax + 6], 0x10
mov eax, dword [esp + 0x2c]
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 + 0x1d0]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x70]
push ecx
mov ecx, eax
call fcn.005da140
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x5e2069
push eax
push dword [esp + 0x38]
lea edx, [eax + 0x39]
mov ecx, esi
call fcn.0061d640
mov dword [edi + 0x14], eax
mov edx, edi
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x34], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov ecx, dword [eax + 0x1d0]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x70]
push ecx
mov ecx, eax
call fcn.005da140
mov dword [esp + 0x20], eax
add esp, 0xc
mov eax, dword [edi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x34], eax
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
cmp dword [edi + 0x1c], eax
jb 0x5e1a53
ja 0x5e1a4d
cmp dword [edi + 0x18], ecx
jbe 0x5e1a53
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
mov edx, dword [edi + 0x3c]
mov ecx, dword [esp + 0x20]
call fcn.006086f0
cmp byte [esp + 0x40], 9
mov eax, dword [esp + 0x38]
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x40], eax
jne 0x5e1a99
mov eax, dword [edi + 0x34]
mov ecx, edi
test eax, eax
je 0x5e1a89
nop dword [eax]
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x5e1a80
push dword [ecx]
mov ecx, dword [esp + 0x10]
xor edx, edx
call fcn.005e32c0
add esp, 4
mov ecx, esi
call fcn.0061d090
mov ecx, dword [esp + 0x10]
mov esi, eax
mov dword [esp + 0x38], esi
call fcn.0061d090
mov ecx, dword [esp + 0xc]
mov edx, edi
push esi
mov dword [esp + 0x1c], eax
call fcn.005e29a0
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, 0x6d
push esi
push dword [esp + 0x28]
call fcn.0061d640
mov ecx, dword [esp + 0x14]
call fcn.00602f00
mov ecx, dword [esp + 0x18]
mov esi, eax
push esi
push dword [esp + 0x30]
mov edx, 0x66
call fcn.0061d640
mov ecx, dword [esp + 0x20]
mov edx, 0x45
push 0
push esi
push dword [esp + 0x30]
mov edi, eax
push dword [esp + 0x50]
call fcn.0061d0e0
mov ecx, dword [esp + 0x2c]
mov edx, esi
call fcn.00602ec0
push dword [esp + 0x58]
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x64]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
push esi
push eax
push 0
push 0
push dword [esp + 0x58]
push dword [edx]
call fcn.005e4430
add esp, 0x3c
mov edx, esi
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.0061d060
push edi
mov edi, dword [esp + 0x28]
mov edx, 8
push edi
call fcn.0061d640
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.0061d060
lea eax, [edi + 1]
mov edx, 0x3d
push 0
push eax
call fcn.0061d640
push 0
push edi
mov edx, 0x3d
mov ecx, esi
call fcn.0061d640
mov edi, dword [esp + 0x34]
add esp, 0x18
jmp 0x5e18b1
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x3c]
mov dword [ecx + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x1d0]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x40]
push edx
mov edx, ecx
mov ecx, eax
call fcn.005da140
add esp, 4
mov dword [esp + 0x14], eax
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
test eax, eax
jne 0x5e2069
mov edx, dword [esp + 0x18]
mov dword [edi + 0x34], eax
mov ecx, dword [edx + 8]
mov dword [edi + 8], ecx
mov eax, dword [edx + 0xc]
mov dword [edi + 0xc], eax
test ecx, ecx
je 0x5e1c67
push ecx
mov edx, 0x2e
mov ecx, esi
call fcn.0061d6b0
mov ecx, dword [edi + 0xc]
add esp, 4
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x5e1c67
push 0
push ecx
push ecx
mov edx, 0x8b
mov ecx, esi
call fcn.0061d780
mov ecx, dword [edi + 0xc]
add esp, 0xc
mov edx, 0x59
lea eax, [ecx + 1]
push eax
push ecx
push dword [edi + 8]
mov ecx, esi
call fcn.0061d780
mov eax, dword [edi + 0xc]
add esp, 0xc
inc eax
mov edx, 0x8b
mov ecx, esi
push 0xffffffffffffffff
push eax
push dword [edi + 8]
call fcn.0061d780
add esp, 0xc
mov eax, dword [esp + 0xc]
mov edx, edi
mov ecx, dword [eax + 0x1d0]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.005da140
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x34]
mov dword [edi + 0x34], ecx
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x18]
add dword [edi + 0x18], eax
mov eax, dword [ecx + 0x1c]
adc dword [edi + 0x1c], eax
mov ecx, dword [ecx + 0x3c]
test ecx, ecx
je 0x5e1cd3
lea edx, [esp + 0x3c]
call fcn.00607470
test eax, eax
je 0x5e1cd3
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x5e1cd3
cdq
cmp dword [edi + 0x1c], edx
jb 0x5e1cd3
ja 0x5e1ccd
cmp dword [edi + 0x18], eax
jbe 0x5e1cd3
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], edx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x5e18ad
mov edx, eax
mov ecx, esi
call fcn.0061cc10
jmp 0x5e18ad
cmp cl, 1
jne 0x5e1cfc
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
jmp 0x5e1d32
mov ecx, dword [esp + 0xc]
push 0
mov edx, dword [ecx + 0x44]
mov dword [esp + 0x28], edx
push edx
lea eax, [edx + 1]
mov edx, 0x39
mov dword [ecx + 0x44], eax
mov ecx, esi
call fcn.0061d640
add esp, 8
mov dword [edi + 0x10], eax
mov ecx, edi
call fcn.005e5ea0
or word [eax + 6], 0x10
mov eax, dword [esp + 0x24]
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 + 0x1d0]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call fcn.005da140
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x5e2069
cmp byte [edi + 4], 0x75
mov edx, edi
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esp + 0x38], eax
sete al
inc al
mov dword [edi + 0x3c], 0
mov byte [esp + 0x7c], al
mov eax, dword [esp + 0xc]
mov dword [edi + 0x40], 0
mov ecx, dword [eax + 0x1d0]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call fcn.005da140
mov edx, dword [edi + 0x30]
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
call fcn.006077c0
cmp byte [edi + 4], 0x73
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov dword [edi + 0x34], ecx
mov dword [edi + 0x30], 0
jne 0x5e1e05
mov eax, dword [ecx + 0x18]
add dword [edi + 0x18], eax
mov eax, dword [ecx + 0x1c]
adc dword [edi + 0x1c], eax
mov edx, dword [edi + 0x3c]
mov ecx, dword [esp + 0x20]
call fcn.006086f0
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x40], eax
mov al, byte [esp + 0x40]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
cmp al, 1
je 0x5e18ad
cmp al, 9
jne 0x5e1e5f
mov eax, dword [edi + 0x34]
mov ecx, edi
test eax, eax
je 0x5e1e4f
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x5e1e46
push dword [ecx]
mov ecx, dword [esp + 0x10]
xor edx, edx
call fcn.005e32c0
add esp, 4
mov ecx, esi
call fcn.0061d090
mov ecx, dword [esp + 0x10]
mov esi, eax
mov dword [esp + 0x38], esi
call fcn.0061d090
mov edx, dword [esp + 0x1c]
mov edi, eax
mov ecx, dword [esp + 0xc]
push esi
call fcn.005e29a0
add esp, 4
mov edx, 0x6d
push esi
push dword [esp + 0x28]
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.0061d640
push dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x4c]
mov esi, dword [esi + 0x20]
push edi
push eax
mov eax, dword [esp + 0x30]
mov edx, eax
push 0
push 0
push dword [esp + 0x40]
push dword [eax]
call fcn.005e4430
mov ecx, dword [esp + 0x34]
add esp, 0x24
mov edx, edi
call fcn.0061d060
mov edi, dword [esp + 0x24]
mov edx, 8
push esi
push edi
mov esi, ecx
call fcn.0061d640
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.0061d060
push 0
push edi
mov edx, 0x3d
call fcn.0061d640
mov edi, dword [esp + 0x2c]
add esp, 0x10
jmp 0x5e18b1
lea edx, [ecx + 0x14]
xor ecx, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x18], ecx
jle 0x5e1fa0
mov esi, dword [esp + 0xc]
mov dword [esp + 0x34], ecx
mov eax, dword [edi + 0x34]
test eax, eax
je 0x5e1f48
push ecx
mov edx, eax
mov ecx, esi
call fcn.005e2950
mov ecx, dword [esp + 0x30]
add esp, 4
mov edx, dword [esp + 0x28]
test eax, eax
jne 0x5e1f6f
jmp 0x5e1f4a
xor eax, eax
mov esi, dword [edi]
cmp ecx, dword [esi]
mov esi, dword [esp + 0xc]
jge 0x5e1f6f
mov eax, dword [edi]
mov ecx, esi
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x34]
mov edx, dword [edx + eax]
call fcn.00609480
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [edx], eax
test eax, eax
jne 0x5e1f7e
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
mov dword [edx], eax
add dword [esp + 0x34], 0x18
inc ecx
add edx, 4
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
cmp ecx, dword [esp + 0x18]
jl 0x5e1f26
mov esi, dword [esp + 0x10]
nop dword [eax]
lea eax, [edi + 0x10]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], eax
mov edi, eax
mov eax, dword [edi]
test eax, eax
js 0x5e2044
mov ecx, dword [esi]
cmp byte [ecx + 0x41], 0
je 0x5e1fca
mov ecx, 0x6e8b5c
jmp 0x5e1fd3
mov ecx, dword [esi + 4]
lea edx, [eax + eax*4]
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x18]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x24]
inc dword [edx]
cmp dword [esi + 4], 0
mov ecx, dword [esi]
je 0x5e2015
cmp byte [ecx + 0x41], 0
jne 0x5e2015
mov edx, dword [esi + 4]
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx edx, byte [esi + 1]
call fcn.0061cac0
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x10], ecx
mov byte [esi + 1], 0xfa
mov esi, dword [esp + 0x14]
jmp 0x5e2024
push edx
mov edx, 0xfffffffa
call fcn.0061cac0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
add esp, 4
inc edx
mov dword [edi], 0xffffffff
add edi, 4
mov dword [esp + 0x38], edx
cmp edx, 2
jl 0x5e1fb1
jmp 0x5e2048
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov edi, dword [edi + 0x34]
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x5e1fa0
add dword [ecx], 0xffffffff
jne 0x5e2069
push ecx
call fcn.0063e5f0
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.005e60c0
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret