Function at 0x4b2150
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 + 0x20], eax
mov esi, edx
mov eax, dword [ebp + 8]
push edi
mov dword [esp + 0x18], esi
mov edx, dword [esi + 0x30]
movdqu xmm0, xmmword [eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x50], eax
movdqu xmmword [esp + 0x40], xmm0
cmp dword [edx + 0x2c], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], edx
je 0x4b21f4
movzx eax, byte [esi + 4]
sub eax, 0x74
je 0x4b21d3
dec eax
je 0x4b21cc
dec eax
je 0x4b21c5
mov eax, str.UNION
jmp 0x4b21d8
mov eax, str.INTERSECT
jmp 0x4b21d8
mov eax, str.EXCEPT
jmp 0x4b21d8
mov eax, str.UNION_ALL
push eax
push str.ORDER_BY_clause_should_come_after__s_not_before
push ecx
call fcn.0045ca50
add esp, 0xc
mov dword [esp + 0x14], 1
jmp 0x4b29fe
cmp dword [edx + 0x38], 0
je 0x4b223d
movzx eax, byte [esi + 4]
sub eax, 0x74
je 0x4b2230
dec eax
je 0x4b2223
dec eax
je 0x4b2216
mov eax, str.UNION
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x4b21de
mov eax, str.INTERSECT
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x4b21de
mov eax, str.EXCEPT
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x4b21de
mov eax, str.UNION_ALL
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x4b21de
call fcn.004b1670
mov cl, byte [esp + 0x40]
mov edi, eax
mov dword [esp + 0x20], edi
cmp cl, 0xc
jne 0x4b226e
mov eax, dword [esi]
mov edx, 0x39
mov ecx, edi
push dword [eax]
push dword [esp + 0x48]
call fcn.00479370
mov cl, 0xe
add esp, 8
mov byte [esp + 0x40], cl
mov eax, dword [esi + 8]
test eax, 0x200
je 0x4b2291
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
mov edx, esi
call fcn.004b20f0
mov dword [esp + 0x18], eax
jmp 0x4b29fb
test eax, 0x2000
je 0x4b22b0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
mov edx, esi
call fcn.004b1950
add esp, 4
jmp 0x4b287b
cmp dword [esi + 0x2c], 0
je 0x4b22ce
mov ecx, dword [ebp + 8]
mov edx, esi
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004b2f00
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi + 4]
sub eax, 0x73
je 0x4b2658
dec eax
je 0x4b251f
dec eax
je 0x4b2658
mov ecx, dword [esp + 0x10]
push 0
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x10], edx
push edx
lea eax, [edx + 1]
mov edx, 0x39
mov dword [esp + 0x3c], eax
inc eax
mov dword [ecx + 0x48], eax
mov ecx, edi
call fcn.00479370
mov ecx, esi
mov dword [esi + 0x14], eax
call fcn.004ae580
mov edx, dword [esp + 0x24]
or dword [eax + 8], 0x10
mov eax, dword [esp + 0x14]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x18]
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.004b6eb0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4b29fe
push eax
push dword [esp + 0x38]
lea edx, [eax + 0x39]
mov ecx, edi
call fcn.00479370
mov dword [esi + 0x18], eax
mov edx, esi
mov eax, dword [esi + 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x18]
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.004b6eb0
mov dword [esp + 0x20], eax
add esp, 0xc
mov eax, dword [esi + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x30], eax
movzx eax, word [eax + 6]
cmp word [esi + 6], ax
jle 0x4b23e4
mov word [esi + 6], ax
mov edx, dword [esi + 0x38]
mov ecx, dword [esp + 0x24]
call fcn.0048dbe0
cmp byte [esp + 0x40], 9
mov eax, dword [esp + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x3c], eax
jne 0x4b242a
mov eax, dword [esi + 0x30]
mov edx, esi
test eax, eax
je 0x4b2419
mov edi, edi
mov edx, eax
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x4b2410
push dword [edx]
mov edx, dword [edx + 0x1c]
mov ecx, dword [esp + 0x14]
call fcn.004b0e20
add esp, 4
mov ecx, edi
call fcn.00479930
mov esi, eax
mov ecx, edi
mov dword [esp + 0x38], esi
call fcn.00479930
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push esi
mov dword [esp + 0x20], eax
call fcn.004b16c0
add esp, 4
mov edx, 0x6c
mov ecx, edi
push esi
push dword [esp + 0x10]
call fcn.00479370
mov ecx, dword [esp + 0x18]
call fcn.00493010
mov esi, eax
mov edx, 0x65
push esi
push dword [esp + 0x18]
mov ecx, edi
call fcn.00479370
mov ecx, dword [esp + 0x30]
mov edx, 0x44
push 0
push esi
push dword [esp + 0x34]
mov edi, eax
push dword [esp + 0x50]
call fcn.004797e0
mov ecx, dword [esp + 0x30]
mov edx, esi
call fcn.00493030
push dword [esp + 0x58]
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x34]
push esi
push eax
mov eax, dword [esp + 0x44]
mov edx, eax
push 0
push 0
push dword [esp + 0x40]
push dword [eax]
call fcn.004af220
mov ecx, dword [esp + 0x5c]
add esp, 0x3c
mov edx, esi
call fcn.00479980
mov esi, dword [esp + 0xc]
mov edx, 7
push edi
push esi
mov edi, ecx
call fcn.00479370
mov edx, dword [esp + 0x40]
mov ecx, edi
call fcn.00479980
lea eax, [esi + 1]
mov edx, 0x3d
push 0
push eax
call fcn.00479370
push 0
push esi
mov edx, 0x3d
mov ecx, edi
call fcn.00479370
add esp, 0x18
jmp 0x4b2877
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x38], 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 + 0x10]
mov edx, dword [eax + 0x1d8]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x40]
push edx
mov edx, ecx
mov ecx, eax
call fcn.004b6eb0
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
test eax, eax
jne 0x4b29fe
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xc], ecx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x10], eax
test ecx, ecx
je 0x4b25c1
push ecx
mov edx, 0x2e
mov ecx, edi
call fcn.00479300
mov ecx, dword [esi + 0x10]
add esp, 4
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x4b25c1
push ecx
inc ecx
mov edx, 0x8b
push ecx
push dword [esi + 0xc]
mov ecx, edi
call fcn.00479220
add esp, 0xc
mov eax, dword [esp + 0x10]
mov edx, esi
mov ecx, dword [eax + 0x1d8]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.004b6eb0
mov cx, word [esi + 6]
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x30], eax
mov dx, word [eax + 6]
call fcn.0045df10
mov edx, dword [esp + 0x1c]
mov word [esi + 6], ax
mov word [esp + 0xc], ax
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x4b263e
lea edx, [esp + 0x3c]
call fcn.0048ede0
test eax, eax
je 0x4b263e
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x4b263e
cdq
push edx
push eax
call fcn.0045df70
add esp, 8
cmp word [esp + 0xc], ax
jle 0x4b263e
mov word [esi + 6], ax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4b287b
mov edx, eax
mov ecx, edi
call fcn.00479c60
jmp 0x4b287b
cmp cl, 1
jne 0x4b2667
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
jmp 0x4b269c
mov ecx, dword [esp + 0x10]
push 0
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x10], edx
push edx
lea eax, [edx + 1]
mov edx, 0x39
mov dword [ecx + 0x48], eax
mov ecx, edi
call fcn.00479370
add esp, 8
mov dword [esi + 0x14], eax
mov ecx, esi
call fcn.004ae580
or dword [eax + 8], 0x10
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x10]
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.004b6eb0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4b29fe
cmp byte [esi + 4], 0x75
mov edx, esi
mov ecx, dword [esi + 0x38]
sete al
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x3c]
inc al
mov byte [esp + 0x7c], al
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov dword [esi + 0x30], 0
mov dword [esi + 0x38], 0
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.004b6eb0
mov edx, dword [esi + 0x2c]
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
call fcn.0048e9f0
cmp byte [esi + 4], 0x73
mov eax, dword [esi + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], 0
jne 0x4b2778
mov dx, word [eax + 6]
mov cx, word [esi + 6]
call fcn.0045df10
mov word [esi + 6], ax
mov edx, dword [esi + 0x38]
mov ecx, dword [esp + 0x24]
call fcn.0048dbe0
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x3c], eax
mov al, byte [esp + 0x40]
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
cmp al, 1
je 0x4b287b
cmp al, 9
jne 0x4b27da
mov eax, dword [esi + 0x30]
mov edx, esi
test eax, eax
je 0x4b27c9
lea esp, [esp]
mov edx, eax
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x4b27c0
push dword [edx]
mov edx, dword [edx + 0x1c]
mov ecx, dword [esp + 0x14]
call fcn.004b0e20
add esp, 4
mov ecx, edi
call fcn.00479930
mov esi, eax
mov ecx, edi
mov dword [esp + 0x38], esi
call fcn.00479930
mov edx, dword [esp + 0x18]
mov edi, eax
mov ecx, dword [esp + 0x10]
push esi
call fcn.004b16c0
add esp, 4
mov edx, 0x6c
push esi
push dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.00479370
push dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x4c]
mov esi, dword [esi + 0x20]
push edi
push eax
mov eax, dword [esp + 0x2c]
mov edx, eax
push 0
push 0
push dword [esp + 0x28]
push dword [eax]
call fcn.004af220
add esp, 0x24
mov edx, edi
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.00479980
push esi
mov esi, dword [esp + 0x10]
mov edx, 7
push esi
call fcn.00479370
mov edx, dword [esp + 0x40]
mov ecx, edi
call fcn.00479980
push 0
push esi
mov edx, 0x3d
call fcn.00479370
add esp, 0x10
mov esi, dword [esp + 0x18]
movzx edx, byte [esi + 4]
xor eax, eax
cmp byte [esi + 4], 0x74
mov ecx, dword [esp + 0x10]
setne al
push eax
push dword [esp + 0x2c]
push dword [esp + 0x34]
call fcn.004aff70
add esp, 0xc
test byte [esi + 8], 0x10
je 0x4b29fe
mov eax, dword [esi]
mov ecx, dword [esp + 0x24]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x38], eax
call fcn.004afe40
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
test esi, esi
jne 0x4b28d6
mov dword [esp + 0x14], 7
jmp 0x4b29fe
lea eax, [esi + 0x14]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x38], eax
cmp dword [esp + 0x34], eax
jle 0x4b292f
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
push eax
mov edx, edi
mov ecx, esi
call fcn.004b17e0
mov ecx, dword [esp + 0x30]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x4b2911
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
mov dword [ecx], eax
mov eax, dword [esp + 0x38]
add ecx, 4
inc eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x34]
jl 0x4b28f1
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
jmp 0x4b2940
add eax, 0x14
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], eax
nop
mov eax, dword [eax]
test eax, eax
js 0x4b29de
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
je 0x4b2969
mov ecx, 0x5a2a64
jmp 0x4b2972
mov ecx, dword [edi + 4]
lea edx, [eax + eax*4]
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x34]
mov dword [ecx + 8], edx
inc dword [esi]
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
je 0x4b2993
push esi
mov edx, 0xfffffffa
call fcn.00479ca0
add esp, 4
jmp 0x4b29bb
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4b29b4
push 0xfffffffffffffffa
push esi
mov edx, eax
mov ecx, edi
call fcn.00479ec0
add esp, 8
jmp 0x4b29bb
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xfa
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x38], ecx
mov dword [eax], 0xffffffff
add eax, 4
mov dword [esp + 0x2c], eax
cmp ecx, 2
jl 0x4b2950
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4b2940
dec dword [esi]
jne 0x4b29fe
push esi
call fcn.00459c50
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 + 0x28]
call fcn.004ae290
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret