Function at 0x478cc0
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 + 0x34]
movups xmm0, xmmword [eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x50], eax
movups xmmword [esp + 0x40], xmm0
cmp dword [edx + 0x30], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], edx
je 0x478d66
movzx eax, byte [esi + 4]
sub eax, 0x74
je 0x478d45
sub eax, 1
je 0x478d3e
sub eax, 1
je 0x478d37
mov eax, str.UNION
jmp 0x478d4a
mov eax, str.INTERSECT
jmp 0x478d4a
mov eax, str.EXCEPT
jmp 0x478d4a
mov eax, str.UNION_ALL
push eax
push str.ORDER_BY_clause_should_come_after__s_not_before
push ecx
call fcn.00422b40
add esp, 0xc
mov dword [esp + 0x14], 1
jmp 0x4795e5
cmp dword [edx + 0x3c], 0
je 0x478db3
movzx eax, byte [esi + 4]
sub eax, 0x74
je 0x478da6
sub eax, 1
je 0x478d99
sub eax, 1
je 0x478d8c
mov eax, str.UNION
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x478d50
mov eax, str.INTERSECT
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x478d50
mov eax, str.EXCEPT
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x478d50
mov eax, str.UNION_ALL
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x478d50
call fcn.00478250
mov cl, byte [esp + 0x40]
mov edi, eax
mov dword [esp + 0x10], edi
cmp cl, 0xc
jne 0x478df6
mov eax, dword [esi]
mov edx, 0x39
mov ecx, edi
push dword [eax]
push dword [esp + 0x48]
call fcn.0043e130
mov ecx, dword [edi + 4]
add esp, 8
test ecx, ecx
je 0x478df0
mov eax, dword [edi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 8
mov cl, 0xe
mov byte [esp + 0x40], cl
movzx eax, word [esi + 6]
test eax, 0x200
je 0x478e63
mov eax, dword [esi + 0x34]
mov ecx, 1
mov dword [esp + 0x2c], ecx
test eax, eax
je 0x478e20
mov esi, eax
inc ecx
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x478e11
mov dword [esp + 0x2c], ecx
nop
mov edi, dword [esi + 0x34]
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0xc]
mov edx, esi
push eax
mov dword [esi + 0x34], 0
call fcn.0047dad0
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esi + 0x34], edi
test eax, eax
jne 0x4795e5
mov eax, dword [esp + 0x2c]
cdq
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov esi, dword [esi + 0x38]
test esi, esi
jne 0x478e20
jmp 0x4795e5
test eax, 0x2000
je 0x478e82
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x40]
push eax
mov edx, esi
call fcn.00478610
add esp, 4
jmp 0x47943b
cmp dword [esi + 0x30], 0
je 0x478ea0
mov ecx, dword [ebp + 8]
mov edx, esi
push ecx
mov ecx, dword [esp + 0x10]
call fcn.00479b00
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi + 4]
sub eax, 0x73
je 0x479221
sub eax, 1
je 0x479105
sub eax, 1
je 0x479221
mov ecx, dword [esp + 0xc]
push 0
mov edx, dword [ecx + 0x44]
mov dword [esp + 0x20], edx
push edx
lea eax, [edx + 1]
mov edx, 0x39
mov dword [esp + 0x2c], eax
inc eax
mov dword [ecx + 0x44], eax
mov ecx, edi
call fcn.0043e130
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.00475150
mov edx, dword [esp + 0x20]
or word [eax + 6], 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 + 0x1d0]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x70]
push ecx
mov ecx, eax
call fcn.0047dad0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4795e5
push eax
push dword [esp + 0x28]
lea edx, [eax + 0x39]
mov ecx, edi
call fcn.0043e130
mov dword [esi + 0x14], eax
mov edx, esi
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov ecx, dword [eax + 0x1d0]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x70]
push ecx
mov ecx, eax
call fcn.0047dad0
mov dword [esp + 0x20], eax
add esp, 0xc
mov eax, dword [esi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x34], eax
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
cmp dword [esi + 0x1c], eax
jb 0x478fc5
ja 0x478fbf
cmp dword [esi + 0x18], ecx
jbe 0x478fc5
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], eax
mov edx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x20]
call fcn.00452b20
cmp byte [esp + 0x40], 9
mov eax, dword [esp + 0x34]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x40], eax
jne 0x479009
mov eax, dword [esi + 0x34]
mov ecx, esi
test eax, eax
je 0x478ff9
nop
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x478ff0
push dword [ecx]
mov ecx, dword [esp + 0x10]
xor edx, edx
call fcn.004778d0
add esp, 4
mov ecx, edi
call fcn.0043e3b0
mov ecx, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x34], edi
call fcn.0043e3b0
mov ecx, dword [esp + 0xc]
mov edx, esi
push edi
mov dword [esp + 0x1c], eax
call fcn.004782a0
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, 0x6d
push edi
push dword [esp + 0x20]
call fcn.0043e130
mov ecx, dword [esp + 0x14]
call fcn.00457e20
mov ecx, dword [esp + 0x18]
mov edi, eax
push edi
push dword [esp + 0x28]
mov edx, 0x66
call fcn.0043e130
mov ecx, dword [esp + 0x20]
mov edx, 0x45
push 0
push edi
push dword [esp + 0x30]
mov dword [esp + 0x58], eax
push dword [esp + 0x40]
call fcn.0043e300
mov ecx, dword [esp + 0x2c]
mov edx, edi
call fcn.00457e40
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.00475f30
add esp, 0x3c
mov edx, edi
mov edi, dword [esp + 0x10]
mov ecx, edi
call fcn.0043e400
push dword [esp + 0x3c]
mov edx, 8
push dword [esp + 0x20]
call fcn.0043e130
mov edx, dword [esp + 0x3c]
mov ecx, edi
call fcn.0043e400
push 0
push dword [esp + 0x30]
mov edx, 0x3d
call fcn.0043e130
push 0
push dword [esp + 0x30]
mov edx, 0x3d
mov ecx, edi
call fcn.0043e130
add esp, 0x18
jmp 0x47943b
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x3c]
mov dword [ecx + 0x3c], eax
mov eax, dword [esi + 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.0047dad0
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
test eax, eax
jne 0x4795e5
mov edx, dword [esp + 0x18]
mov dword [esi + 0x34], eax
mov ecx, dword [edx + 8]
mov dword [esi + 8], ecx
mov eax, dword [edx + 0xc]
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x47918b
push ecx
mov edx, 0x2e
mov ecx, edi
call fcn.0043e0c0
add esp, 4
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xc]
mov edx, esi
mov ecx, dword [eax + 0x1d0]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.0047dad0
mov dword [esp + 0x18], eax
add esp, 4
mov eax, dword [esi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x34], eax
mov ecx, dword [eax + 0x18]
add ecx, dword [esi + 0x18]
mov edx, dword [eax + 0x1c]
adc edx, dword [esi + 0x1c]
mov dword [esp + 0x1c], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x479207
lea edx, [esp + 0x3c]
call fcn.00453b90
test eax, eax
je 0x479207
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x479207
cdq
cmp dword [esp + 0x24], edx
jb 0x479207
ja 0x479201
cmp dword [esp + 0x1c], eax
jbe 0x479207
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x47943b
mov edx, eax
mov ecx, edi
call fcn.0043e6c0
jmp 0x47943b
cmp cl, 1
jne 0x479230
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
jmp 0x479266
mov ecx, dword [esp + 0xc]
push 0
mov edx, dword [ecx + 0x44]
mov dword [esp + 0x20], edx
push edx
lea eax, [edx + 1]
mov edx, 0x39
mov dword [ecx + 0x44], eax
mov ecx, edi
call fcn.0043e130
add esp, 8
mov dword [esi + 0x10], eax
mov ecx, esi
call fcn.00475150
or word [eax + 6], 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 + 0x1d0]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call fcn.0047dad0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4795e5
cmp byte [esi + 4], 0x75
mov edx, esi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x34], eax
sete al
inc al
mov dword [esi + 0x3c], 0
mov byte [esp + 0x7c], al
mov eax, dword [esp + 0xc]
mov dword [esi + 0x40], 0
mov ecx, dword [eax + 0x1d0]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call fcn.0047dad0
mov edx, dword [esi + 0x30]
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
call fcn.004538a0
cmp byte [esi + 4], 0x73
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], 0
jne 0x479339
mov eax, dword [ecx + 0x18]
add dword [esi + 0x18], eax
mov eax, dword [ecx + 0x1c]
adc dword [esi + 0x1c], eax
mov edx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x20]
call fcn.00452b20
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x40], eax
mov al, byte [esp + 0x40]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
cmp al, 1
je 0x47943b
cmp al, 9
jne 0x479399
mov eax, dword [esi + 0x34]
mov ecx, esi
test eax, eax
je 0x479389
nop word [eax + eax]
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x479380
push dword [ecx]
mov ecx, dword [esp + 0x10]
xor edx, edx
call fcn.004778d0
add esp, 4
mov ecx, edi
call fcn.0043e3b0
mov ecx, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x24], edi
call fcn.0043e3b0
mov ecx, dword [esp + 0xc]
mov edx, esi
push edi
mov dword [esp + 0x38], eax
call fcn.004782a0
add esp, 4
mov edx, 0x6d
push edi
push dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.0043e130
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.00475f30
mov edx, dword [esp + 0x58]
add esp, 0x24
mov ecx, dword [esp + 0x10]
call fcn.0043e400
push edi
push dword [esp + 0x20]
mov edx, 8
mov edi, ecx
call fcn.0043e130
mov edx, dword [esp + 0x2c]
mov ecx, edi
call fcn.0043e400
push 0
push dword [esp + 0x28]
mov edx, 0x3d
call fcn.0043e130
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.00476d60
add esp, 0xc
test byte [esi + 6], 0x10
je 0x4795e5
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.00476b10
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x479494
mov dword [esp + 0x14], 7
jmp 0x4795e5
xor ecx, ecx
lea edx, [eax + 0x14]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x1c], ecx
jle 0x479530
mov edi, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4794d5
push ecx
mov edx, eax
mov ecx, edi
call fcn.00478440
mov ecx, dword [esp + 0x30]
add esp, 4
mov edx, dword [esp + 0x28]
test eax, eax
jne 0x4794fc
jmp 0x4794d7
xor eax, eax
mov edi, dword [esi]
cmp ecx, dword [edi]
mov edi, dword [esp + 0xc]
jge 0x4794fc
mov eax, dword [esi]
mov ecx, edi
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x24]
mov edx, dword [edx + eax]
call fcn.00451de0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [edx], eax
test eax, eax
jne 0x47950b
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 0x4794b3
mov edi, dword [esp + 0x10]
nop word [eax + eax]
lea eax, [esi + 0x10]
mov dword [esp + 0x34], 0
mov esi, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov edx, dword [eax]
test edx, edx
js 0x4795c0
cmp dword [edi + 0x20], edx
jbe 0x479560
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x18]
inc dword [esi]
cmp dword [edi + 4], 0
mov ecx, dword [edi]
je 0x479593
cmp byte [ecx + 0x41], 0
jne 0x479593
lea eax, [edx + edx*4]
mov edx, dword [edi + 4]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx edx, byte [edi + 1]
call fcn.0043e6e0
mov dword [edi + 0x10], esi
mov byte [edi + 1], 0xfa
mov edi, dword [esp + 0x14]
jmp 0x47959e
push esi
mov edx, 0xfffffffa
call fcn.0043e6e0
mov eax, dword [esp + 0x30]
add esp, 4
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 0x479543
mov esi, dword [esp + 0x38]
mov esi, dword [esi + 0x34]
mov dword [esp + 0x38], esi
test esi, esi
jne 0x479530
mov eax, dword [esp + 0x18]
add dword [eax], 0xffffffff
jne 0x4795e5
push eax
call fcn.0041ff30
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.00474eb0
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret