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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x10291210]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov ecx, dword [esi]
push edi
mov dword [esp + 8], ebx
test ecx, ecx
je 0x101a90f6
cmp byte [esi + 0x10], 0
jne 0x101a90f6
push ebx
mov ebx, ecx
call fcn.10163760
mov edi, eax
add esp, 4
test edi, edi
je 0x101a92c0
mov eax, dword [edi + 8]
mov ebx, dword [esp + 8]
mov ecx, dword [ebx]
push 0
push eax
push ecx
call fcn.101a7d60
add esp, 0xc
mov dword [esi + 8], eax
mov edx, dword [edi + 0xc]
mov eax, dword [ebx]
push 0
push edx
push eax
call fcn.101a7d60
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x18]
mov ecx, dword [ebx]
add esp, 0xc
test eax, eax
je 0x101a90b3
push 0
push 0
push eax
push ecx
call fcn.101a2140
add esp, 0x10
jmp 0x101a90b5
xor eax, eax
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov ebx, dword [ebx]
test eax, eax
je 0x101a90d1
push 0
push 0
push eax
push ebx
call fcn.101a2140
add esp, 0x10
jmp 0x101a90d3
xor eax, eax
mov ebx, dword [esp + 8]
mov dword [esi + 0x1c], eax
movzx ecx, byte [edi + 0x11]
mov byte [esi + 0x11], cl
mov dl, byte [edi + 0x12]
mov byte [esi + 0x12], dl
mov al, byte [edi + 0x10]
mov byte [esi + 0x10], al
movzx ecx, byte [edi + 0x14]
mov byte [esi + 0x14], cl
jmp 0x101a9102
push eax
push ebx
mov edi, esi
call fcn.101a8ea0
add esp, 8
cmp byte [esi + 0x10], 0x59
jne 0x101a9133
cmp dword [esi + 0x18], 0
jne 0x101a9114
cmp dword [esi + 0x1c], 0
je 0x101a9133
mov eax, dword [esi + 0xc]
test eax, eax
je 0x101a9120
cmp dword [eax], 1
je 0x101a9133
push str.RANGE_with_offset_PRECEDING_FOLLOWING_requires_one_ORDER_BY_expression
push ebx
call fcn.1015fc10
add esp, 8
jmp 0x101a92ba
mov edx, dword [ebp + 0xc]
test dword [edx + 4], 0x10000
je 0x101a92ba
cmp dword [esi + 0x28], 0
mov eax, dword [ebx]
mov dword [esp + 8], eax
je 0x101a9162
push str.FILTER_clause_may_only_be_used_with_aggregate_window_functions
push ebx
call fcn.1015fc10
add esp, 8
jmp 0x101a92ba
mov eax, 0x5a
mov ecx, 0x55
mov edi, 0x59
mov edx, 0x4c
mov dword [esp + 0x24], edi
mov dword [esp + 0x34], edi
mov edi, 0x5c
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x8c], ecx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x10], str.row_number
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], str.dense_rank
mov dword [esp + 0x30], 0x1026ecb8
mov dword [esp + 0x40], str.percent_rank
mov dword [esp + 0x50], str.cume_dist
mov dword [esp + 0x58], 0x56
mov dword [esp + 0x60], str.ntile
mov dword [esp + 0x64], edx
mov dword [esp + 0x70], str.lead
mov dword [esp + 0x74], edx
mov dword [esp + 0x80], 0x1026ed10
mov dword [esp + 0x84], edx
xor edi, edi
lea eax, [esp + 0x10]
cmp ecx, dword [eax]
je 0x101a9246
inc edi
add eax, 0x10
cmp edi, 8
jl 0x101a9237
jmp 0x101a92ba
mov eax, dword [esi + 0x18]
mov ebx, dword [esp + 8]
test eax, eax
je 0x101a925b
push eax
push ebx
call fcn.10143ba0
add esp, 8
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x101a926c
push eax
push ebx
call fcn.10143ba0
add esp, 8
add edi, edi
movzx edx, byte [esp + edi*8 + 0x14]
mov al, byte [esp + edi*8 + 0x18]
xor ecx, ecx
mov byte [esi + 0x10], dl
movzx edx, byte [esp + edi*8 + 0x1c]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov byte [esi + 0x11], al
mov byte [esi + 0x12], dl
mov byte [esi + 0x14], cl
cmp al, 0x56
jne 0x101a92ba
push ecx
push 0x98
push ebx
lea edi, [esp + 0x14]
mov dword [esp + 0x14], 0x102771cc
mov dword [esp + 0x18], 1
call fcn.101546f0
add esp, 0xc
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x2c], eax
mov ecx, dword [esp + 0x94]
pop edi
pop ebx
xor ecx, esp
call fcn.100fd740
mov esp, ebp
pop ebp
ret