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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x1012b470]
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 0x1009b8a6
cmp byte [esi + 0x10], 0
jne 0x1009b8a6
push ebx
mov ebx, ecx
call fcn.1009b770
mov edi, eax
add esp, 4
test edi, edi
je 0x1009ba70
mov eax, dword [edi + 8]
mov ebx, dword [esp + 8]
mov ecx, dword [ebx]
push 0
push eax
push ecx
call fcn.100484c0
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.100484c0
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x18]
mov ecx, dword [ebx]
add esp, 0xc
test eax, eax
je 0x1009b863
push 0
push 0
push eax
push ecx
call fcn.10047ff0
add esp, 0x10
jmp 0x1009b865
xor eax, eax
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov ebx, dword [ebx]
test eax, eax
je 0x1009b881
push 0
push 0
push eax
push ebx
call fcn.10047ff0
add esp, 0x10
jmp 0x1009b883
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 0x1009b8b2
push eax
push ebx
mov edi, esi
call fcn.1009c9f0
add esp, 8
cmp byte [esi + 0x10], 0x59
jne 0x1009b8e3
cmp dword [esi + 0x18], 0
jne 0x1009b8c4
cmp dword [esi + 0x1c], 0
je 0x1009b8e3
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1009b8d0
cmp dword [eax], 1
je 0x1009b8e3
push str.RANGE_with_offset_PRECEDING_FOLLOWING_requires_one_ORDER_BY_expression
push ebx
call fcn.1000e200
add esp, 8
jmp 0x1009ba6a
mov edx, dword [ebp + 0xc]
test dword [edx + 4], 0x10000
je 0x1009ba6a
cmp dword [esi + 0x28], 0
mov eax, dword [ebx]
mov dword [esp + 8], eax
je 0x1009b912
push str.FILTER_clause_may_only_be_used_with_aggregate_window_functions
push ebx
call fcn.1000e200
add esp, 8
jmp 0x1009ba6a
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], 0x101147c0
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], 0x10114818
mov dword [esp + 0x84], edx
xor edi, edi
lea eax, [esp + 0x10]
cmp ecx, dword [eax]
je 0x1009b9f6
inc edi
add eax, 0x10
cmp edi, 8
jl 0x1009b9e7
jmp 0x1009ba6a
mov eax, dword [esi + 0x18]
mov ebx, dword [esp + 8]
test eax, eax
je 0x1009ba0b
push eax
push ebx
call fcn.10047e40
add esp, 8
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1009ba1c
push eax
push ebx
call fcn.10047e40
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 0x1009ba6a
push ecx
push 0x9b
push ebx
lea edi, [esp + 0x14]
mov dword [esp + 0x14], 0x1011e71c
mov dword [esp + 0x18], 1
call fcn.10047590
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.100f9904
mov esp, ebp
pop ebp
ret