Function at 0x1004f090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x101e3070]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x30], 0
mov esi, edx
or edx, 0xffffffff
mov dword [esp + 0x28], edx
mov ebx, dword [edi + 8]
test ebx, ebx
jne 0x1004f0fb
call fcn.10038bf0
mov ebx, eax
mov dword [edi + 8], ebx
test ebx, ebx
je 0x1004f0db
mov edx, 0x9f
mov ecx, ebx
call fcn.10038e90
cmp dword [edi + 0x19c], 0
jne 0x1004f0f0
mov eax, dword [edi]
test byte [eax + 0x3c], 8
jne 0x1004f0f0
mov byte [edi + 0x17], 1
test ebx, ebx
je 0x1004f334
or edx, 0xffffffff
inc dword [edi + 0x68]
test byte [esi + 4], 0x20
jne 0x1004f111
mov ecx, edi
call fcn.1004ea20
mov edx, eax
mov dword [esp + 0x28], eax
cmp byte [edi + 0x1c1], 2
jne 0x1004f16c
push dword [edi + 0x1d4]
cmp byte [esi], 0x4b
mov eax, str.SCALAR
mov ecx, str.LIST
cmovne ecx, eax
test edx, edx
push ecx
mov ecx, str.CORRELATED
mov eax, 0x101cf2a2
cmovs eax, ecx
push eax
push str.EXECUTE__s_s_SUBQUERY__d
push dword [edi]
call fcn.1001da90
add esp, 0x14
mov edx, 0xa2
mov ecx, ebx
push 0xffffffffffffffff
push eax
push 0
push 0
push dword [edi + 0x1d0]
call fcn.10039210
add esp, 0x14
cmp byte [esi], 0x4b
je 0x1004f273
mov eax, dword [esi + 0x14]
mov ecx, ebx
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x48]
inc eax
mov byte [esp + 0x3d], 0
mov dword [edi + 0x48], eax
cmp byte [esi], 0x77
push eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
push 0
jne 0x1004f1b6
mov byte [esp + 0x44], 0xa
mov edx, 0x1a
mov dword [esp + 0x4c], eax
jmp 0x1004f1c0
mov byte [esp + 0x44], 3
mov edx, 0x17
call fcn.10038f70
mov edx, dword [esp + 0x28]
add esp, 8
mov ecx, dword [edi]
mov edx, dword [edx + 0x3c]
call fcn.1004d5a0
mov ecx, dword [edi]
mov edx, 0x84
push 1
push 0x101d202c
call fcn.1004ce20
mov ecx, dword [edi]
add esp, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], ecx
test eax, eax
jne 0x1004f20e
xor edx, edx
call fcn.1004d5a0
mov ecx, dword [esp + 0x30]
xor edx, edx
call fcn.1004d5a0
jmp 0x1004f232
mov ecx, eax
call fcn.1004cce0
mov eax, dword [edi]
mov ecx, dword [eax + 0x64]
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x18], ecx
jle 0x1004f232
push ecx
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.1001e910
add esp, 0xc
mov eax, dword [esp + 0x20]
mov edx, eax
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x3c], ecx
mov ecx, 0xfdff
and word [eax + 6], cx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
mov dword [eax + 8], 0
call fcn.100751c0
add esp, 4
test eax, eax
jne 0x1004f334
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], eax
jmp 0x1004f5f8
mov ecx, dword [esi + 0xc]
call fcn.1004c730
mov byte [esp + 0x3b], al
mov edx, 0x3a
mov eax, dword [edi + 0x44]
mov ecx, ebx
mov dword [esi + 0x1c], eax
xor eax, eax
inc dword [edi + 0x44]
cmp dword [ebp + 0xc], eax
sete al
push eax
push dword [esi + 0x1c]
call fcn.10038f70
add esp, 8
mov dword [esp + 0x34], eax
cmp dword [ebp + 0xc], 0
je 0x1004f2b5
xor edx, edx
mov dword [esp + 0x18], edx
jmp 0x1004f2cc
mov ecx, dword [edi]
mov edx, 1
push 1
call fcn.1006ef00
add esp, 4
mov dword [esp + 0x18], eax
mov edx, eax
test dword [esi + 4], 0x800
je 0x1004f36c
mov al, byte [esp + 0x3b]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x1c]
mov byte [esp + 0x3d], al
lea eax, [esp + 0x3c]
mov dword [esp + 0x40], ecx
mov ecx, edi
mov byte [esp + 0x3c], 0xb
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
push eax
mov dword [esp + 0x28], edx
mov dword [edx + 8], 0
call fcn.100751c0
add esp, 4
test eax, eax
je 0x1004f348
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1004f334
add dword [eax], 0xffffffff
jne 0x1004f334
push eax
call fcn.1001bbf0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
mov ecx, edi
mov edx, dword [esi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 4]
push dword [eax]
call fcn.1004cb00
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [ecx + 0x14], eax
jmp 0x1004f5a0
mov eax, dword [esi + 0x14]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1004f5a0
mov al, byte [esp + 0x3b]
test al, al
movzx ecx, al
mov dword [esp + 0x24], 0x41
cmove ecx, dword [esp + 0x24]
mov byte [esp + 0x3b], cl
test edx, edx
je 0x1004f3aa
mov edx, dword [esi + 0xc]
mov ecx, edi
call fcn.1004c8a0
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x14], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x1004f3bd
inc dword [edi + 0x48]
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x20], ecx
jmp 0x1004f3cd
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x18]
mov dword [esp + 0x20], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x1004f3dc
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
jmp 0x1004f3e8
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x18]
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x1c], eax
je 0x1004f404
push eax
push 0
mov edx, 0x1a
mov ecx, ebx
call fcn.10038f70
add esp, 8
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x1004f52e
nop dword [eax]
cmp dword [esp + 0x28], 0
mov eax, dword [edx]
mov dword [esp + 0x14], eax
jl 0x1004f44f
mov ecx, eax
call fcn.1004e680
test eax, eax
jne 0x1004f44b
mov edx, dword [esp + 0x28]
mov ecx, ebx
call fcn.10039990
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
cmp dword [ebp + 0xc], 0
je 0x1004f483
lea edx, [esp + 0x50]
mov ecx, eax
call fcn.1004e7d0
test eax, eax
je 0x1004f483
push dword [esp + 0x50]
mov edx, 0x62
mov ecx, ebx
push dword [esp + 0x20]
push dword [esi + 0x1c]
call fcn.10038e20
add esp, 0xc
jmp 0x1004f512
push dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.10050510
add esp, 4
mov dword [esp + 0x14], eax
cmp dword [ebp + 0xc], 0
je 0x1004f4cf
mov ecx, dword [ebx + 0x20]
mov edx, 0x27
add ecx, 2
push ecx
push eax
mov ecx, ebx
call fcn.10038f70
push dword [esp + 0x1c]
mov edx, 0x5f
mov ecx, ebx
push dword [esp + 0x28]
push dword [esi + 0x1c]
call fcn.10038e20
add esp, 0x14
jmp 0x1004f512
push 1
lea ecx, [esp + 0x3f]
mov edx, 0x32
push ecx
push dword [esp + 0x24]
mov ecx, ebx
push 1
push eax
call fcn.10039210
mov edx, dword [esp + 0x28]
add esp, 0x14
mov ecx, edi
push 1
call fcn.1004ff70
add esp, 4
mov edx, 0x70
mov ecx, ebx
push dword [esp + 0x1c]
push dword [esi + 0x1c]
call fcn.10038f70
add esp, 8
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
dec ecx
add edx, 0x18
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edx
test ecx, ecx
jg 0x1004f420
mov edx, dword [esp + 0x20]
test edx, edx
je 0x1004f566
mov al, byte [edi + 0x13]
mov byte [esp + 0x13], al
cmp al, 8
jae 0x1004f566
xor ecx, ecx
lea eax, [edi + 0x78]
cmp dword [eax + 0xc], edx
je 0x1004f562
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x1004f546
movzx eax, byte [esp + 0x13]
mov dword [edi + eax*4 + 0x18], edx
inc byte [edi + 0x13]
jmp 0x1004f566
mov byte [eax + 6], 1
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x1004f5a0
mov al, byte [edi + 0x13]
mov byte [esp + 0x13], al
cmp al, 8
jae 0x1004f5a0
xor ecx, ecx
lea eax, [edi + 0x78]
nop
cmp dword [eax + 0xc], edx
je 0x1004f59c
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x1004f580
movzx eax, byte [esp + 0x13]
mov dword [edi + eax*4 + 0x18], edx
inc byte [edi + 0x13]
jmp 0x1004f5a0
mov byte [eax + 6], 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1004f5f8
mov ecx, dword [ebx]
cmp byte [ecx + 0x41], 0
je 0x1004f5c0
push eax
mov edx, 0xfffffffa
call fcn.100397d0
add esp, 4
jmp 0x1004f5f8
mov eax, dword [esp + 0x34]
test eax, eax
jns 0x1004f5cc
mov eax, dword [ebx + 0x20]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x18]
je 0x1004f5f1
push 0xfffffffffffffffa
push ecx
mov edx, eax
mov ecx, ebx
call fcn.100399e0
add esp, 8
jmp 0x1004f5f8
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfa
mov eax, dword [ebp + 8]
test eax, eax
je 0x1004f60d
mov edx, dword [esi + 0x1c]
mov ecx, ebx
push eax
call fcn.1004ead0
add esp, 4
mov edx, dword [esp + 0x28]
test edx, edx
js 0x1004f63d
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
dec ecx
mov dword [eax + 0x5c], ecx
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x20]
cmp byte [eax + 0x41], 0
je 0x1004f631
mov eax, 0x102004bc
jmp 0x1004f63a
lea esi, [edx + edx*4]
mov edx, dword [ebx + 4]
lea eax, [edx + esi*4]
mov dword [eax + 8], ecx
mov ecx, edi
call fcn.1004ffd0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret