Function at 0x4a3450
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
movdqu xmm0, xmmword [eax]
mov eax, dword [eax + 0x10]
mov edx, dword [edi + 0x34]
movdqu xmmword [esp + 0x40], xmm0
mov dword [esp + 0x50], eax
mov dword [esp + 0x10], 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 0x4a34f4
movzx eax, byte [edi + 4]
sub eax, 0x74
je 0x4a34d3
dec eax
je 0x4a34cc
dec eax
je 0x4a34c5
mov eax, str.UNION
jmp 0x4a34d8
mov eax, str.INTERSECT
jmp 0x4a34d8
mov eax, str.EXCEPT
jmp 0x4a34d8
mov eax, str.UNION_ALL
push eax
push str.ORDER_BY_clause_should_come_after__s_not_before
push ecx
call fcn.0044f640
add esp, 0xc
mov dword [esp + 0x10], 1
jmp 0x4a3cfb
cmp dword [edx + 0x3c], 0
je 0x4a353d
movzx eax, byte [edi + 4]
sub eax, 0x74
je 0x4a3530
dec eax
je 0x4a3523
dec eax
je 0x4a3516
mov eax, str.UNION
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x4a34de
mov eax, str.INTERSECT
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x4a34de
mov eax, str.EXCEPT
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x4a34de
mov eax, str.UNION_ALL
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x4a34de
call fcn.004a2920
cmp byte [esp + 0x40], 0xc
mov esi, eax
mov dword [esp + 0x14], esi
jne 0x4a357d
mov eax, dword [edi]
mov edx, 0x39
mov ecx, esi
push dword [eax]
push dword [esp + 0x48]
call fcn.0046b850
mov ecx, dword [esi + 4]
add esp, 8
test ecx, ecx
je 0x4a3578
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 8
mov byte [esp + 0x40], 0xe
movzx eax, word [edi + 6]
test eax, 0x100
je 0x4a35a1
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x40]
push eax
mov edx, edi
call fcn.004a33d0
mov dword [esp + 0x14], eax
jmp 0x4a3cf8
mov edx, dword [esp + 0x18]
mov eax, dword [edi]
mov ecx, dword [edx]
mov eax, dword [eax]
cmp eax, dword [ecx]
je 0x4a35c7
mov ecx, dword [esp + 0xc]
mov edx, edi
call fcn.004a3350
mov dword [esp + 0x10], 1
jmp 0x4a3cfb
movzx eax, word [edi + 6]
test eax, 0x800
je 0x4a35ea
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x40]
push eax
mov edx, edi
call fcn.004a2cd0
add esp, 4
jmp 0x4a3b84
cmp dword [edi + 0x30], 0
je 0x4a3608
mov ecx, dword [ebp + 8]
mov edx, edi
push ecx
mov ecx, dword [esp + 0x10]
call fcn.004a4230
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, byte [edi + 4]
sub eax, 0x73
je 0x4a3969
dec eax
je 0x4a3863
dec eax
je 0x4a3969
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.0046b850
mov ecx, edi
mov dword [edi + 0x10], eax
call fcn.0049fb40
mov edx, dword [esp + 0x20]
or word [eax + 6], 8
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 + 0x1d4]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x70]
push ecx
mov ecx, eax
call fcn.004a8440
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4a3cfb
push eax
push dword [esp + 0x38]
lea edx, [eax + 0x39]
mov ecx, esi
call fcn.0046b850
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 + 0x1d4]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x70]
push ecx
mov ecx, eax
call fcn.004a8440
mov dword [esp + 0x1c], 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 0x4a3729
ja 0x4a3723
cmp dword [edi + 0x18], ecx
jbe 0x4a3729
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
mov edx, dword [edi + 0x3c]
mov ecx, dword [esp + 0x20]
call fcn.0047f2c0
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 0x4a376c
mov eax, dword [edi + 0x34]
mov ecx, edi
test eax, eax
je 0x4a375c
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x4a3753
push dword [ecx]
mov ecx, dword [esp + 0x10]
xor edx, edx
call fcn.004a2050
add esp, 4
mov ecx, esi
call fcn.0046bae0
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0x38], esi
call fcn.0046bae0
mov ecx, dword [esp + 0xc]
mov edx, edi
push esi
mov dword [esp + 0x1c], eax
call fcn.004a2970
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, 0x6c
push esi
push dword [esp + 0x28]
call fcn.0046b850
mov ecx, dword [esp + 0x14]
call fcn.004842e0
mov ecx, dword [esp + 0x1c]
mov esi, eax
push esi
push dword [esp + 0x30]
mov edx, 0x65
call fcn.0046b850
mov ecx, dword [esp + 0x24]
mov edx, 0x44
push 0
push esi
push dword [esp + 0x30]
mov edi, eax
push dword [esp + 0x50]
call fcn.0046ba30
mov ecx, dword [esp + 0x2c]
mov edx, esi
call fcn.00484300
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.004a08a0
add esp, 0x3c
mov edx, esi
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.0046bb30
push edi
mov edi, dword [esp + 0x28]
mov edx, 9
push edi
call fcn.0046b850
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.0046bb30
lea eax, [edi + 1]
mov edx, 0x3d
push 0
push eax
call fcn.0046b850
push 0
push edi
mov edx, 0x3d
mov ecx, esi
call fcn.0046b850
add esp, 0x18
jmp 0x4a3b80
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [edi + 8]
mov dword [edx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [edi + 0x3c]
mov dword [edx + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [edx + 0x40], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x1d4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.004a8440
add esp, 4
mov dword [esp + 0x10], eax
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
test eax, eax
jne 0x4a3cfb
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x34], eax
mov edx, dword [ecx + 8]
mov dword [edi + 8], edx
mov eax, dword [ecx + 0xc]
mov dword [edi + 0xc], eax
test edx, edx
je 0x4a38e3
push edx
mov edx, 0x2e
mov ecx, esi
call fcn.0046b7e0
add esp, 4
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
mov edx, edi
mov ecx, dword [eax + 0x1d4]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.004a8440
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x10], 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 0x4a394f
lea edx, [esp + 0x3c]
call fcn.004803f0
test eax, eax
je 0x4a394f
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x4a394f
cdq
cmp dword [edi + 0x1c], edx
jb 0x4a394f
ja 0x4a3949
cmp dword [edi + 0x18], eax
jbe 0x4a394f
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], edx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4a3b84
mov edx, eax
mov ecx, esi
call fcn.0046bd90
jmp 0x4a3b84
cmp byte [esp + 0x40], 1
jne 0x4a397a
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
jmp 0x4a39b4
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.0046b850
add esp, 8
mov dword [edi + 0x10], eax
mov ecx, edi
call fcn.0049fb40
mov edx, dword [esp + 0x18]
or word [eax + 6], 8
mov eax, dword [esp + 0x24]
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 + 0x1d4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call fcn.004a8440
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4a3cfb
cmp byte [edi + 4], 0x75
mov edx, edi
mov ecx, dword [edi + 0x3c]
sete al
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 0x40]
inc al
mov byte [esp + 0x7c], al
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
mov dword [edi + 0x34], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov ecx, dword [eax + 0x1d4]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call fcn.004a8440
mov edx, dword [edi + 0x30]
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
call fcn.00480060
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 0x4a3a87
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.0047f2c0
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 0x4a3b84
cmp al, 9
jne 0x4a3ae1
mov eax, dword [edi + 0x34]
mov ecx, edi
test eax, eax
je 0x4a3ad1
mov ecx, eax
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x4a3ac8
push dword [ecx]
mov ecx, dword [esp + 0x10]
xor edx, edx
call fcn.004a2050
add esp, 4
mov ecx, esi
call fcn.0046bae0
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0x38], esi
call fcn.0046bae0
mov edx, dword [esp + 0x1c]
mov edi, eax
mov ecx, dword [esp + 0xc]
push esi
call fcn.004a2970
add esp, 4
mov edx, 0x6c
push esi
push dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.0046b850
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.004a08a0
mov ecx, dword [esp + 0x38]
add esp, 0x24
mov edx, edi
call fcn.0046bb30
mov edi, dword [esp + 0x24]
mov edx, 9
push esi
push edi
mov esi, ecx
call fcn.0046b850
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.0046bb30
push 0
push edi
mov edx, 0x3d
call fcn.0046b850
add esp, 0x10
mov edi, dword [esp + 0x1c]
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.004a1590
add esp, 0xc
test byte [edi + 6], 8
je 0x4a3cfb
mov eax, dword [edi]
mov ecx, dword [esp + 0x20]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x38], eax
call fcn.004a1430
mov ecx, eax
add esp, 4
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x4a3bdf
mov dword [esp + 0x10], 7
jmp 0x4a3cfb
xor eax, eax
add ecx, 0x14
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], eax
cmp dword [esp + 0x34], eax
jle 0x4a3c30
mov esi, dword [esp + 0xc]
push eax
mov edx, edi
mov ecx, esi
call fcn.004a2b00
mov ecx, dword [esp + 0x30]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x4a3c16
mov eax, dword [esp + 0x20]
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 0x4a3bf6
mov esi, dword [esp + 0x14]
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 0x4a3cd7
cmp dword [esi + 0x20], eax
jbe 0x4a3c62
mov ecx, dword [esi + 4]
lea edx, [eax + eax*4]
mov esi, dword [esp + 0x34]
mov dword [ecx + edx*4 + 8], esi
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
inc dword [ecx]
cmp dword [esi + 4], 0
mov edx, dword [esi]
mov dword [esp + 0x2c], edx
je 0x4a3ca6
cmp byte [edx + 0x41], 0
jne 0x4a3ca6
mov ecx, dword [esi + 4]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 0x10]
movsx edx, byte [ecx + eax*4 + 1]
lea esi, [ecx + eax*4]
mov ecx, dword [esp + 0x30]
call fcn.0046bdb0
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x10], ecx
mov byte [esi + 1], 0xfa
mov esi, dword [esp + 0x18]
jmp 0x4a3cb7
push ecx
mov ecx, dword [esi]
mov edx, 0xfffffffa
call fcn.0046bdb0
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 0x4a3c41
jmp 0x4a3cdb
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov edi, dword [edi + 0x34]
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x4a3c30
dec dword [ecx]
jne 0x4a3cfb
push ecx
call fcn.0044c830
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.0049f8a0
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret