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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x100d20c0]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi], 0
lea ebx, [esi + 0x10]
je 0x1008e408
cmp byte [ebx], 0
jne 0x1008e408
push dword [esi]
call fcn.1008e304
mov dword [esp + 0xc], eax
test eax, eax
je 0x1008e599
mov edx, dword [eax + 8]
mov ecx, dword [edi]
push 0
call fcn.1005f32c
mov edx, dword [esp + 0xc]
mov dword [esi + 8], eax
mov ecx, dword [edi]
push 0
mov edx, dword [edx + 0xc]
call fcn.1005f32c
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xc], eax
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x1008e3cd
mov ecx, dword [edi]
push 0
push 0
call fcn.1005f025
mov ecx, dword [esp + 0xc]
jmp 0x1008e3cf
xor eax, eax
mov dword [esi + 0x18], eax
mov edx, dword [ecx + 0x1c]
test edx, edx
je 0x1008e3ea
mov ecx, dword [edi]
push 0
push 0
call fcn.1005f025
mov ecx, dword [esp + 0xc]
jmp 0x1008e3ec
xor eax, eax
mov dword [esi + 0x1c], eax
mov al, byte [ecx + 0x11]
mov byte [esi + 0x11], al
mov al, byte [ecx + 0x12]
mov byte [esi + 0x12], al
mov al, byte [ecx + 0x10]
mov byte [ebx], al
mov al, byte [ecx + 0x14]
mov byte [esi + 0x14], al
jmp 0x1008e410
push edx
mov edx, esi
call fcn.1008ef12
cmp byte [ebx], 0x59
mov ebx, dword [ebp + 0xc]
jne 0x1008e437
cmp dword [esi + 0x18], 0
jne 0x1008e424
cmp dword [esi + 0x1c], 0
je 0x1008e437
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1008e430
cmp dword [eax], 1
je 0x1008e437
push str.RANGE_with_offset_PRECEDING_FOLLOWING_requires_one_ORDER_BY_expression
jmp 0x1008e455
test dword [ebx + 4], 0x10000
je 0x1008e596
cmp dword [esi + 0x28], 0
mov ecx, dword [edi]
mov dword [esp + 0xc], ecx
je 0x1008e462
push str.FILTER_clause_may_only_be_used_with_aggregate_window_functions
push edi
call fcn.10038bfe
pop ecx
pop ecx
jmp 0x1008e596
push 0x5a
pop edi
push 0x55
pop edx
push 0x59
pop eax
push 0x5c
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
pop eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], eax
push 0x4c
pop eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x84], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x88], edi
xor edi, edi
mov dword [esp + 0x8c], edx
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x10], str.row_number
mov dword [esp + 0x14], 0x4c
mov dword [esp + 0x20], str.dense_rank
mov dword [esp + 0x30], str.rank
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 + 0x70], str.lead
mov dword [esp + 0x80], 0x100be174
cmp edx, dword [eax]
je 0x1008e53d
inc edi
add eax, 0x10
cmp edi, 8
jl 0x1008e52e
jmp 0x1008e596
mov edx, dword [esi + 0x18]
test edx, edx
je 0x1008e54d
call fcn.1005eeda
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x1008e559
call fcn.1005eeda
add edi, edi
xor ecx, ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov byte [esi + 0x14], cl
mov al, byte [esp + edi*8 + 0x14]
mov dl, byte [esp + edi*8 + 0x18]
mov byte [esi + 0x10], al
mov al, byte [esp + edi*8 + 0x1c]
mov byte [esi + 0x11], dl
mov byte [esi + 0x12], al
cmp dl, 0x56
jne 0x1008e596
mov ecx, dword [esp + 0xc]
mov edx, 0x98
push 0x100b9f18
call fcn.1005eb1f
mov dword [esi + 0x18], eax
mov dword [esi + 0x2c], ebx
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100a9985
mov esp, ebp
pop ebp
ret 8