Function at 0x49d3f0
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 [0x517748]
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 + 0x30], ecx
mov dword [esp + 0x20], ecx
movdqu xmm0, xmmword [edx]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x30]
movdqu 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 + 0x28], esi
mov dword [esp + 8], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], ecx
je 0x49d49b
movzx ecx, byte [esi + 4]
sub ecx, 0x74
je 0x49d47d
dec ecx
je 0x49d476
dec ecx
je 0x49d46f
mov ecx, str.UNION
jmp 0x49d482
mov ecx, str.INTERSECT
jmp 0x49d482
mov ecx, str.EXCEPT
jmp 0x49d482
mov ecx, str.UNION_ALL
push ecx
push str.ORDER_BY_clause_should_come_after__s_not_before
push eax
call fcn.00444800
add esp, 0xc
mov esi, 1
jmp 0x49dcf7
cmp dword [ecx + 0x38], 0
je 0x49d4e3
movzx ecx, byte [esi + 4]
sub ecx, 0x74
je 0x49d4c5
dec ecx
je 0x49d4be
dec ecx
je 0x49d4b7
mov ecx, str.UNION
jmp 0x49d4ca
mov ecx, str.INTERSECT
jmp 0x49d4ca
mov ecx, str.EXCEPT
jmp 0x49d4ca
mov ecx, str.UNION_ALL
push ecx
push str.LIMIT_clause_should_come_after__s_not_before
push eax
call fcn.00444800
add esp, 0xc
mov esi, 1
jmp 0x49dcf7
mov edi, dword [eax + 8]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x49d4fb
mov ecx, eax
call fcn.0049c800
mov edi, eax
mov dword [esp + 0x18], eax
mov cl, byte [esp + 0x40]
cmp cl, 0xc
jne 0x49d521
mov eax, dword [esi]
mov edx, 0x6b
mov ecx, edi
push dword [eax]
push dword [esp + 0x4c]
call fcn.00460df0
mov cl, 0xe
add esp, 8
mov byte [esp + 0x40], cl
mov eax, dword [esi + 8]
test eax, 0x400
je 0x49d545
mov ecx, dword [esp + 8]
lea eax, [esp + 0x40]
push eax
mov edx, esi
call fcn.0049d390
add esp, 4
mov esi, eax
jmp 0x49dcf3
test eax, 0x2000
je 0x49d5c1
mov ecx, dword [esp + 8]
lea eax, [esp + 0x40]
push eax
mov edx, esi
call fcn.0049cb90
add esp, 4
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
xor eax, eax
mov ecx, dword [esp + 8]
cmp byte [edi + 4], 0x74
movzx edx, byte [edi + 4]
setne al
push eax
push dword [esp + 0x34]
push dword [esp + 0x2c]
call fcn.0049b420
add esp, 0xc
test byte [edi + 8], 0x20
je 0x49dcef
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x30], eax
call fcn.0049b1e0
mov edi, eax
add esp, 4
mov dword [esp + 0x30], edi
test edi, edi
jne 0x49dbbf
lea esi, [eax + 7]
jmp 0x49dcf3
cmp dword [esi + 0x2c], 0
je 0x49d5ee
mov ecx, dword [esp + 0x38]
mov edx, esi
push ecx
mov ecx, dword [esp + 0xc]
call fcn.0049e230
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004c0564
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi + 4]
sub eax, 0x73
je 0x49d984
dec eax
je 0x49d84f
dec eax
je 0x49d984
mov ecx, dword [esp + 8]
push 0
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x20], edx
push edx
lea eax, [edx + 1]
mov edx, 0x6b
mov dword [esp + 0x34], eax
inc eax
mov dword [ecx + 0x28], eax
mov ecx, edi
call fcn.00460df0
mov ecx, esi
mov dword [esi + 0x14], eax
call fcn.00499990
mov edx, dword [esp + 0x28]
or dword [eax + 8], 0x20
mov eax, dword [esp + 0x24]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x74], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x80], 0
mov ecx, dword [eax + 0x1a8]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x74]
push ecx
mov ecx, eax
mov dword [esp + 0x88], 0
call fcn.004a2040
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x49dcef
push eax
push dword [esp + 0x30]
lea edx, [eax + 0x6b]
mov ecx, edi
call fcn.00460df0
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 + 0x34]
mov dword [esp + 0x7c], 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 + 0x1a8]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x74]
push ecx
mov ecx, eax
call fcn.004a2040
mov ecx, dword [esi + 0x30]
add esp, 0xc
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x30], eax
mov dword [esp + 0x34], ecx
movzx eax, word [eax + 6]
cmp word [esi + 6], ax
jle 0x49d712
mov word [esi + 6], ax
mov edx, dword [esi + 0x38]
test edx, edx
je 0x49d722
mov ecx, dword [esp + 0x10]
call fcn.00476a50
cmp byte [esp + 0x40], 9
mov eax, dword [esp + 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x3c], eax
jne 0x49d75a
mov eax, dword [esi + 0x30]
mov edx, esi
test eax, eax
je 0x49d749
mov edx, eax
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x49d740
push dword [edx]
mov edx, dword [edx + 0x1c]
mov ecx, dword [esp + 0xc]
call fcn.0049bf60
add esp, 4
mov ecx, edi
call fcn.00461350
mov esi, eax
mov ecx, edi
mov dword [esp + 0xc], esi
call fcn.00461350
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 8]
push esi
mov dword [esp + 0x24], eax
call fcn.0049c8e0
add esp, 4
mov edx, 0x39
mov ecx, edi
push esi
push dword [esp + 0x20]
call fcn.00460df0
mov ecx, dword [esp + 0x10]
call fcn.0047dae0
mov esi, eax
mov edx, 0x79
push esi
push dword [esp + 0x28]
mov ecx, edi
call fcn.00460df0
mov ecx, dword [esp + 0x28]
mov edx, 0x1e
push 0
push esi
push dword [esp + 0x38]
mov edi, eax
push dword [esp + 0x48]
call fcn.00461240
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.0047db00
push dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x2c]
push esi
push eax
mov eax, dword [esp + 0x54]
mov edx, eax
push 0
push 0
push dword [esp + 0x50]
push dword [eax]
call fcn.0049a5b0
add esp, 0x3c
mov edx, esi
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.004613a0
push edi
mov edi, dword [esp + 0x20]
mov edx, 7
push edi
call fcn.00460df0
mov edx, dword [esp + 0x14]
mov ecx, esi
call fcn.004613a0
lea eax, [edi + 1]
mov edx, 0x6f
push 0
push eax
call fcn.00460df0
push 0
push edi
mov edx, 0x6f
mov ecx, esi
call fcn.00460df0
add esp, 0x18
jmp 0x49d563
mov ecx, dword [esp + 0x20]
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 + 0x1a8]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x40]
push edx
mov edx, ecx
mov ecx, eax
call fcn.004a2040
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 0x49dcef
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xc], ecx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x10], eax
test ecx, ecx
je 0x49d8f3
push ecx
mov edx, 0x16
mov ecx, edi
call fcn.00460d70
mov ecx, dword [esi + 0x10]
add esp, 4
mov dword [esp + 0xc], eax
test ecx, ecx
je 0x49d8f3
push ecx
inc ecx
mov edx, 0x92
push ecx
push dword [esi + 0xc]
mov ecx, edi
call fcn.00460c80
add esp, 0xc
mov eax, dword [esp + 8]
mov edx, esi
mov ecx, dword [eax + 0x1a8]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.004a2040
mov ecx, dword [esi + 0x30]
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
mov cx, word [esi + 6]
mov dword [esi + 0x30], eax
mov dx, word [eax + 6]
call fcn.00445b90
mov edx, dword [esp + 0x20]
mov word [esi + 6], ax
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x49d96a
lea edx, [esp + 0x3c]
call fcn.00477f00
test eax, eax
je 0x49d96a
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x49d96a
cdq
push edx
push eax
call fcn.00445bf0
add esp, 8
cmp word [esi + 6], ax
jle 0x49d96a
mov word [esi + 6], ax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x49d55f
mov edx, eax
mov ecx, edi
call fcn.004616c0
jmp 0x49d55f
cmp cl, 1
jne 0x49d993
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
jmp 0x49d9c8
mov ecx, dword [esp + 8]
push 0
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x20], edx
push edx
lea eax, [edx + 1]
mov edx, 0x6b
mov dword [ecx + 0x28], eax
mov ecx, edi
call fcn.00460df0
add esp, 8
mov dword [esi + 0x14], eax
mov ecx, esi
call fcn.00499990
or dword [eax + 8], 0x20
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 8]
mov byte [esp + 0x84], 1
mov dword [esp + 0x88], 0
mov dword [esp + 0x90], 0
mov ecx, dword [eax + 0x1a8]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
mov dword [esp + 0x98], 0
call fcn.004a2040
mov ecx, eax
add esp, 4
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x49dcef
cmp byte [esi + 4], 0x75
mov edx, esi
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x38]
sete al
inc al
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x3c]
mov byte [esp + 0x84], al
mov eax, dword [esp + 8]
mov dword [esp + 0xc], ecx
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov ecx, dword [eax + 0x1a8]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
call fcn.004a2040
mov edx, dword [esi + 0x2c]
add esp, 4
mov dword [esp + 0x14], eax
test edx, edx
je 0x49da8f
mov ecx, dword [esp + 0x10]
call fcn.00477af0
cmp byte [esi + 4], 0x73
mov ecx, dword [esi + 0x30]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], 0
jne 0x49dabb
mov dx, word [eax + 6]
mov cx, word [esi + 6]
call fcn.00445b90
mov word [esi + 6], ax
mov edx, dword [esi + 0x38]
test edx, edx
je 0x49dacb
mov ecx, dword [esp + 0x10]
call fcn.00476a50
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x3c], eax
mov al, byte [esp + 0x40]
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
cmp al, 1
je 0x49d55f
cmp al, 9
jne 0x49db1a
mov eax, dword [esi + 0x30]
mov edx, esi
test eax, eax
je 0x49db09
mov edx, eax
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x49db00
push dword [edx]
mov edx, dword [edx + 0x1c]
mov ecx, dword [esp + 0xc]
call fcn.0049bf60
add esp, 4
mov ecx, edi
call fcn.00461350
mov esi, eax
mov ecx, edi
mov dword [esp + 0xc], esi
call fcn.00461350
mov edx, dword [esp + 0x28]
mov edi, eax
mov ecx, dword [esp + 8]
push esi
call fcn.0049c8e0
add esp, 4
mov edx, 0x39
push esi
push dword [esp + 0x20]
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.00460df0
push dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x4c]
mov esi, dword [esi + 0x88]
push edi
push eax
mov eax, dword [esp + 0x3c]
mov edx, eax
push 0
push 0
push dword [esp + 0x38]
push dword [eax]
call fcn.0049a5b0
mov ecx, dword [esp + 0x3c]
add esp, 0x24
mov edx, edi
call fcn.004613a0
mov edi, dword [esp + 0x1c]
mov edx, 7
push esi
push edi
mov esi, ecx
call fcn.00460df0
mov edx, dword [esp + 0x14]
mov ecx, esi
call fcn.004613a0
push 0
push edi
mov edx, 0x6f
call fcn.00460df0
add esp, 0x10
jmp 0x49d563
lea eax, [edi + 0x14]
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0xc], eax
cmp dword [esp + 0x2c], eax
jle 0x49dc1e
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 8]
lea ebx, [ebx]
push eax
mov edx, esi
mov ecx, edi
call fcn.0049ca20
mov ecx, dword [esp + 0x28]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x49dc00
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov dword [ecx], eax
mov eax, dword [esp + 0xc]
add ecx, 4
inc eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x2c]
jl 0x49dbe0
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
jmp 0x49dc30
add eax, 0x14
mov dword [esp + 0xc], 0
mov dword [esp + 0x24], eax
nop
mov eax, dword [eax]
test eax, eax
js 0x49dcce
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
je 0x49dc59
mov ecx, 0x66bf04
jmp 0x49dc62
mov ecx, dword [esi + 0x58]
lea edx, [eax + eax*4]
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x2c]
mov dword [ecx + 8], edx
inc dword [edi]
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
je 0x49dc83
push edi
mov edx, 0xfffffffa
call fcn.004618a0
add esp, 4
jmp 0x49dcab
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x58]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x49dca4
push 0xfffffffffffffffa
push edi
mov edx, eax
mov ecx, esi
call fcn.00461a90
add esp, 8
jmp 0x49dcab
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xfa
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xc], ecx
mov dword [eax], 0xffffffff
add eax, 4
mov dword [esp + 0x24], eax
cmp ecx, 2
jl 0x49dc40
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x49dc30
dec dword [edi]
jne 0x49dcef
mov ecx, dword [edi + 0xc]
mov edx, edi
call fcn.00441a80
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x49dd1f
push 1
mov edx, eax
mov ecx, edi
call fcn.00499660
add esp, 4
mov ecx, dword [esp + 0x9c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.004c0564
mov esp, ebp
pop ebp
ret