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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi], 0
lea ebx, [esi + 0x10]
je 0x45c4b7
cmp byte [ebx], 0
jne 0x45c4b7
push dword [esi]
call fcn.0045c3d4
mov ebx, eax
pop ecx
test ebx, ebx
je 0x45c666
mov edx, dword [ebx + 8]
mov ecx, dword [edi]
push 0
call fcn.00430dfe
pop ecx
mov dword [esi + 8], eax
mov edx, dword [ebx + 0xc]
mov ecx, dword [edi]
push 0
call fcn.00430dfe
mov dword [esi + 0xc], eax
mov edx, dword [ebx + 0x18]
pop ecx
test edx, edx
je 0x45c47a
mov ecx, dword [edi]
push 0
push 0
call fcn.00430ad6
pop ecx
pop ecx
jmp 0x45c47c
xor eax, eax
mov dword [esi + 0x18], eax
mov edx, dword [ebx + 0x1c]
test edx, edx
je 0x45c495
mov ecx, dword [edi]
push 0
push 0
call fcn.00430ad6
pop ecx
pop ecx
jmp 0x45c497
xor eax, eax
mov dword [esi + 0x1c], eax
mov al, byte [ebx + 0x11]
mov byte [esi + 0x11], al
mov al, byte [ebx + 0x12]
mov byte [esi + 0x12], al
mov cl, byte [ebx + 0x10]
mov byte [esi + 0x10], cl
mov al, byte [ebx + 0x14]
lea ebx, [esi + 0x10]
mov byte [esi + 0x14], al
jmp 0x45c4c2
push edx
mov edx, esi
call fcn.0045ce78
pop ecx
mov cl, byte [ebx]
cmp cl, 0x59
jne 0x45c4f0
cmp dword [esi + 0x18], 0
jne 0x45c4d3
cmp dword [esi + 0x1c], 0
je 0x45c4f0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x45c4df
cmp dword [eax], 1
je 0x45c4f0
push str.RANGE_with_offset_PRECEDING_FOLLOWING_requires_one_ORDER_BY_expression
push edi
call fcn.0040d6b3
pop ecx
jmp 0x45c65f
mov eax, dword [ebp + 0xc]
test dword [eax + 4], 0x10000
je 0x45c660
cmp dword [esi + 0x28], 0
mov ecx, dword [edi]
mov dword [esp + 0xc], ecx
je 0x45c513
push str.FILTER_clause_may_only_be_used_with_aggregate_window_functions
jmp 0x45c4e4
push 0x55
pop edi
push 0x59
pop edx
push 0x5c
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], edx
pop edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x54], edx
push 0x5a
pop edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x88], edx
mov edx, dword [eax + 0x20]
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x8c], edi
xor edi, edi
mov dword [esp + 0x10], str.row_number
mov dword [esp + 0x14], 0x4c
mov dword [esp + 0x18], 0x5a
mov dword [esp + 0x20], str.dense_rank
mov dword [esp + 0x28], 0x5a
mov dword [esp + 0x30], str.rank
mov dword [esp + 0x38], 0x5a
mov dword [esp + 0x40], str.percent_rank
mov dword [esp + 0x4c], 0x5a
mov dword [esp + 0x50], str.cume_dist
mov dword [esp + 0x58], 0x56
mov dword [esp + 0x60], str.ntile
mov dword [esp + 0x64], 0x4c
mov dword [esp + 0x70], str.lead
mov dword [esp + 0x74], 0x4c
mov dword [esp + 0x80], 0x4a3ae8
mov dword [esp + 0x84], 0x4c
cmp edx, dword [eax]
je 0x45c607
inc edi
add eax, 0x10
cmp edi, 8
jl 0x45c5f8
jmp 0x45c660
mov edx, dword [esi + 0x18]
test edx, edx
je 0x45c617
call fcn.0043094d
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x45c623
call fcn.0043094d
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 [ebx], al
mov al, byte [esp + edi*8 + 0x1c]
mov byte [esi + 0x11], dl
mov byte [esi + 0x12], al
cmp dl, 0x56
jne 0x45c660
mov ecx, dword [esp + 0xc]
mov edx, 0x96
push 0x4b6020
call fcn.0043063c
mov dword [esi + 0x18], eax
pop ecx
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x2c], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret