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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov esi, esp
mov dword [esi + 0x80], ebp
mov dword [esi + 0x84], esp
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x8c], 0x52e440
mov dword [esi + 0x70], ecx
lea eax, [esi + 0x88]
mov edi, edx
mov ecx, dword fs:[0]
mov dword [esi + 0x88], ecx
mov dword fs:[0], eax
lea ecx, [esi + 0x28]
mov edx, dword [edx + 8]
push dword [edi + 0x10]
push 0
push dword [edi + 0xc]
call fcn.00427c60
add esp, 0xc
cmp dword [esi + 0x28], 0x80000000
je 0x40328f
movsd xmm0, qword [esi + 0x40]
movsd xmm1, qword [esi + 0x30]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
movsd qword [esi + 0x68], xmm0
movsd xmm0, qword [esi + 0x38]
movsd qword [esi + 0x58], xmm1
mov dword [esi + 0x74], ecx
lea ecx, [esi + 0x10]
movsd qword [esi + 0x60], xmm0
movsd xmm0, qword [esi + 0x28]
movsd qword [esi + 0x50], xmm0
movaps xmm0, xmmword [0x539010]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
lea eax, [esi + 0x28]
mov word [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x38], 7
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
movups xmmword [esi + 0x28], xmm0
mov dword [esi + 0xc], edx
push eax
push ebx
call fcn.0051f000
add esp, 8
movzx eax, byte [esi + 0x10]
mov dword [esi + 8], ebx
cmp al, 4
jne 0x402feb
mov edx, dword [esi + 0x14]
lea ecx, [esi + 0x18]
mov dword [esi + 0x90], 0
mov dword [esi + 4], edx
call fcn.0051fcb0
push dword [esi + 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edi, dword [esi + 0x18]
cmp edi, 0x80000000
jne 0x4030ac
mov edi, dword [esi + 0x20]
mov ebx, dword [esi + 8]
movzx eax, byte [esi + 0x1c]
test ebx, ebx
mov dword [esi + 0x4c], eax
jne 0x403015
mov eax, 1
jmp 0x403050
movzx ecx, byte [esi + 0x13]
movzx edx, word [esi + 0x11]
mov edi, dword [esi + 0x14]
mov byte [esi + 0x1f], cl
mov word [esi + 0x1d], dx
mov byte [esi + 0x1c], al
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], 0x80000000
movzx eax, byte [esi + 0x1c]
test ebx, ebx
mov dword [esi + 0x4c], eax
je 0x402fe4
js 0x4032c2
movzx eax, byte [0x5a11e8]
mov eax, dword [0x5a1188]
test eax, eax
jne 0x40303e
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x4032b6
mov dword [0x5a1188], eax
push ebx
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x4032b6
push ebx
push dword [esi + 0xc]
mov dword [esi + 4], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [esi + 0x4c], 3
jne 0x4030a6
mov ebx, dword [edi]
mov dword [esi + 0x4c], edi
mov edi, dword [edi + 4]
push ebx
call dword [edi]
add esp, 4
cmp dword [edi + 4], 0
je 0x403092
cmp dword [edi + 8], 9
jb 0x403083
mov ebx, dword [ebx - 4]
push ebx
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
push dword [esi + 0x4c]
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ebx, dword [esi + 8]
mov eax, ebx
mov edi, ebx
jmp 0x4030b8
mov eax, dword [esi + 0x1c]
mov ebx, dword [esi + 8]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x20]
lea ecx, [esi + 0x18]
lea edx, [esi + 0x50]
push 8
push eax
push dword [esi + 4]
call fcn.00427090
add esp, 0xc
cmp byte [esi + 0x18], 4
jne 0x403136
mov dword [esi + 0x64], 0
test edi, edi
je 0x4030ee
push dword [esi + 4]
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0xc]
mov edx, ebx
push dword [eax + 0xf0]
push eax
lea edi, [esi + 0x50]
push edi
call fcn.00423920
add esp, 0xc
mov byte [esi + 0x28], 0
lea ecx, [esi + 0x10]
mov edx, edi
push 1
lea eax, [esi + 0x28]
push eax
call fcn.00426f60
add esp, 8
cmp byte [esi + 0x10], 4
jne 0x4031ca
mov dword [esi + 0x64], 0
jmp 0x403251
mov ebx, dword [esi + 0x64]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
test ebx, ebx
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x78], eax
je 0x403199
lea ecx, [esi + 0x28]
lea edx, [esi + 0x50]
call fcn.00407a80
movzx ecx, byte [esi + 0x28]
cmp cl, 4
jne 0x4032c7
mov ecx, dword [esi + 0x60]
neg ebx
mov eax, 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
sbb eax, eax
push 1
lea edx, [esi + 0x28]
push edx
push eax
push ebx
push ecx
call dword [sym.imp.kernel32.dll_SetFilePointerEx]
test eax, eax
je 0x4032e8
mov dword [esi + 0x64], 0
mov ebx, dword [esi + 8]
mov edx, dword [esi + 0xc]
lea ecx, [esi + 0x28]
push ebx
call fcn.00524110
add esp, 4
lea eax, [esi + 0x78]
lea ecx, [esi + 0x50]
lea edx, [esi + 0x28]
push eax
call fcn.00427dd0
add esp, 4
test edi, edi
jne 0x4030dd
jmp 0x4030ee
mov edi, dword [esi + 0x64]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
test edi, edi
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], eax
je 0x40322f
lea ebx, [esi + 0x28]
lea edx, [esi + 0x50]
mov ecx, ebx
call fcn.00407a80
movzx ecx, byte [esi + 0x28]
cmp cl, 4
jne 0x403313
mov ecx, dword [esi + 0x60]
neg edi
mov eax, 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
sbb eax, eax
push 1
push ebx
push eax
push edi
push ecx
call dword [sym.imp.kernel32.dll_SetFilePointerEx]
test eax, eax
je 0x403331
mov ebx, dword [esi + 8]
mov dword [esi + 0x64], 0
mov edx, dword [esi + 0xc]
lea edi, [esi + 0x28]
mov ecx, edi
push ebx
call fcn.00524110
add esp, 4
lea eax, [esi + 0x18]
lea ecx, [esi + 0x50]
mov edx, edi
push eax
call fcn.00427dd0
add esp, 4
mov eax, dword [esi + 0x70]
movsd xmm1, qword [esi + 0x60]
movsd xmm0, qword [esi + 0x68]
movsd xmm2, qword [esi + 0x50]
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esi + 0x58]
movsd qword [eax + 0x18], xmm0
movsd qword [eax], xmm2
movsd qword [eax + 8], xmm1
mov eax, dword [esi + 0x88]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movsd xmm0, qword [esi + 0x2c]
lea eax, [esi + 0x50]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
movsd qword [esi + 0x50], xmm0
push 0x53ba58
push 0x539ed0
push eax
call fcn.00533020
mov ecx, 1
mov edx, ebx
call fcn.00531970
call fcn.004478d0
movzx edx, byte [esi + 0x2f]
movzx eax, word [esi + 0x2d]
movzx ebx, cl
lea edi, [esi + 0x28]
shl edx, 0x10
or eax, edx
mov edx, dword [esi + 0x29]
shld eax, edx, 8
shl edx, 8
or ebx, edx
jmp 0x4032f3
xor ebx, ebx
lea edi, [esi + 0x28]
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], eax
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x53b8c8
push 0x539ed0
push edi
call fcn.00533020
movzx edx, byte [esi + 0x2f]
movzx eax, word [esi + 0x2d]
movzx edi, cl
shl edx, 0x10
or eax, edx
mov edx, dword [esi + 0x29]
shld eax, edx, 8
shl edx, 8
or edi, edx
jmp 0x403339
xor edi, edi
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x53b8c8
push 0x539ed0
push ebx
call fcn.00533020
nop dword [eax]
push ebp
sub esp, 0x14
lea esi, [ebp - 0x94]
mov ebp, dword [esi + 0x80]
push dword [esi + 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
add esp, 0x14
pop ebp
ret