Function at 0x450710
Capabilities:
Read file via mapping
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, ecx
mov ecx, dword [0x4f62d0]
mov eax, dword [ecx]
xor eax, ebp
mov dword [esp + 0x78], eax
cmp dword [ebp + 8], 0
mov ebx, 0xc000000d
jne 0x450859
cmp dword [ebp + 0x10], 0x4000
ja 0x450859
mov edi, edx
test esi, esi
je 0x45075b
cmp word [esi], 0
je 0x450859
call fcn.0045a0f0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov ecx, eax
call fcn.004622b0
mov ebx, 0xc0000022
test al, al
je 0x450853
call fcn.0045a1e0
mov dword [esp + 0xc], eax
test eax, eax
mov ecx, dword [0x4f62d0]
mov eax, dword [ebp + 0x10]
je 0x450859
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
sub esp, 0x18
mov dword [esp + 0x10], eax
movaps xmm0, xmmword [0x4fbcf0]
movups xmmword [esp], xmm0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
lea ecx, [esp + 0x38]
push eax
call fcn.0041a010
mov eax, dword [esp + 0x38]
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x4507f3
push dword [ebp + 0x10]
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
mov ebx, 0xc000000d
add eax, 1
cmp eax, 2
mov ecx, dword [0x4f62d0]
jae 0x450873
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x45081b
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [0x4f62d0]
mov esi, dword [esp + 0x38]
lea eax, [esi + 1]
cmp eax, 2
jb 0x450859
mov edi, dword [ebp + 4]
call fcn.00419db0
push eax
push edi
lea eax, [esp + 0x40]
push eax
push esi
call fcn.0043dce0
add esp, 0x10
push dword [esp + 0x38]
call fcn.0043dc90
mov ecx, dword [0x4f62d0]
add esp, 4
jmp 0x450859
mov ecx, dword [0x4f62d0]
mov eax, dword [esp + 0x78]
xor eax, ebp
mov ecx, dword [ecx]
cmp ecx, eax
jne 0x450ae5
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [esp + 0x3c], 0
je 0x4508be
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
test esi, esi
je 0x4508c8
movzx eax, word [esi]
test eax, eax
je 0x4508d5
mov esi, dword [esi + 4]
mov edi, eax
shr edi, 1
cmp ax, 9
ja 0x4508df
and al, 0xfe
mov byte [esp + 0x40], al
lea eax, [esp + 0x42]
jmp 0x450900
mov ebx, 0xc000000d
jmp 0x45081b
mov dword [esp + 0x24], edi
mov bl, 1
xor edi, edi
jmp 0x450a37
mov ebx, 0xc000000d
jmp 0x450806
lea ebx, [edi + 8]
and ebx, 0xfffffff8
lea eax, [ebx + ebx]
push eax
call fcn.004c3980
add esp, 4
mov dword [esp + 0x48], eax
or ebx, 1
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edi
test di, di
je 0x450a03
lea ecx, [esi + edi*2]
lea ebx, [edi + edi]
add ebx, 0xfffffffe
cmp ebx, 0x1e
jb 0x4509f3
cmp eax, ecx
jae 0x45092a
lea edx, [eax + edi*2]
cmp esi, edx
jb 0x4509f3
shr ebx, 1
add ebx, 1
mov dword [esp + 8], ebx
and ebx, 0xfffffff0
mov dword [esp + 4], ebx
lea edi, [ebx - 0x10]
mov ebx, edi
shr ebx, 4
add ebx, 1
mov edx, ebx
and edx, 3
mov dword [esp], edx
xor edx, edx
cmp edi, 0x30
jb 0x4509b1
and ebx, 0xfffffffc
neg ebx
xor edx, edx
movups xmm0, xmmword [esi + edx*2]
movups xmm1, xmmword [esi + edx*2 + 0x10]
movups xmmword [eax + edx*2], xmm0
movups xmmword [eax + edx*2 + 0x10], xmm1
movups xmm0, xmmword [esi + edx*2 + 0x20]
movups xmm1, xmmword [esi + edx*2 + 0x30]
movups xmmword [eax + edx*2 + 0x20], xmm0
movups xmmword [eax + edx*2 + 0x30], xmm1
movups xmm0, xmmword [esi + edx*2 + 0x40]
movups xmm1, xmmword [esi + edx*2 + 0x50]
movups xmmword [eax + edx*2 + 0x40], xmm0
movups xmmword [eax + edx*2 + 0x50], xmm1
movups xmm0, xmmword [esi + edx*2 + 0x60]
movups xmm1, xmmword [esi + edx*2 + 0x70]
movups xmmword [eax + edx*2 + 0x60], xmm0
movups xmmword [eax + edx*2 + 0x70], xmm1
add edx, 0x40
add ebx, 4
jne 0x45095b
cmp dword [esp], 0
je 0x4509e3
lea ebx, [eax + edx*2]
add ebx, 0x10
lea edx, [esi + edx*2]
add edx, 0x10
shl dword [esp], 5
xor edi, edi
movups xmm0, xmmword [edx + edi - 0x10]
movups xmm1, xmmword [edx + edi]
movups xmmword [ebx + edi - 0x10], xmm0
movups xmmword [ebx + edi], xmm1
add edi, 0x20
cmp dword [esp], edi
jne 0x4509c9
mov edx, dword [esp + 4]
lea eax, [eax + edx*2]
cmp dword [esp + 8], edx
je 0x450a03
lea esi, [esi + edx*2]
movzx edx, word [esi]
mov word [eax], dx
add esi, 2
add eax, 2
cmp ecx, esi
jne 0x4509f3
mov word [eax], 0
test byte [esp + 0x28], 1
je 0x450a1b
push dword [esp + 0x30]
call fcn.004c3b20
add esp, 4
mov edi, dword [esp + 0x48]
mov dword [esp + 0x30], edi
movsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x28], xmm0
test byte [esp + 0x28], 1
sete bl
xorps xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x70], 0
lea esi, [esp + 0x1c]
mov ecx, esi
push dword [esp + 0xc]
call fcn.0045df70
lea eax, [esp + 0x2a]
test bl, bl
cmove eax, edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x40]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
lea edi, [esp + 0x24]
lea ebx, [esp + 0x18]
push eax
push ecx
push edx
push edi
push ebx
push 0x1b
push esi
call fcn.00451fe0
add esp, 0x1c
mov ebx, 0xc0000022
test eax, eax
jne 0x450ac7
mov ebx, dword [esp + 0x48]
test ebx, ebx
jne 0x450ac7
push dword [ebp + 0x10]
push dword [esp + 0x40]
push dword [ebp + 0xc]
call sub.ntdll.dll_memcpy
add esp, 0xc
mov ebx, dword [esp + 0x48]
test byte [esp + 0x28], 1
je 0x450ada
push dword [esp + 0x30]
call fcn.004c3b20
add esp, 4
mov ecx, dword [0x4f62d0]
jmp 0x450806
call fcn.00468008
int3