Function at 0x453a20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x1090
call fcn.00457cf4
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], 0
xorpd xmm0, xmm0
movapd xmmword [esp + 0x70], xmm0
movapd xmmword [esp + 0x60], xmm0
movapd xmmword [esp + 0x50], xmm0
xor esi, esi
test ebx, ebx
je 0x453db4
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time32]
add esp, 4
mov edi, eax
push dword [ebx + 0x24]
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__difftime32]
add esp, 8
fstp qword [esp + 0x48]
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 0x40], xmm0
lea eax, [esp + 0x50]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat32i64]
add esp, 8
test eax, eax
js 0x453d0a
mov eax, dword [ebx + 0x24]
cmp edi, eax
jl 0x453ae4
cmp dword [esp + 0x74], eax
jg 0x453ae4
movsd xmm0, qword [0x4a5d30]
ucomisd xmm0, qword [esp + 0x40]
ja 0x453db2
test byte [ebx + 0x28], 1
je 0x453ae4
movsd xmm0, qword [0x4a5d38]
ucomisd xmm0, qword [esp + 0x40]
ja 0x453db2
push 0
push dword [ebx + 0x14]
call sub.api_ms_win_crt_stdio_l1_1_0.dll__open
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
js 0x453d0a
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
jmp 0x453b3b
push edi
call fcn.004430e0
add esp, 4
mov ebx, esi
mov dword [esp + 0xc], 0
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x453b60
push 0x4a5d60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x453bf0
xorpd xmm0, xmm0
movapd xmmword [esp + 0x30], xmm0
mov esi, dword [esp + 0x14]
push 0x1000
push 0
lea eax, [esp + 0x88]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
test esi, esi
js 0x453bf0
push esi
call fcn.0045d250
add esp, 4
and eax, 0xffff0000
add eax, 0xffff0000
adc edx, 0xffffffff
push 0
push edx
push eax
push esi
call fcn.0045d3c0
add esp, 0x10
test edx, edx
js 0x453bf0
push 0x1000
lea eax, [esp + 0x84]
push eax
push esi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
add esp, 0xc
cmp eax, 0x1000
jne 0x453bf0
cmp dword [esp + 0x80], 0xfc4e2ba9
je 0x453dbe
cmp dword [esp + 0x80], 0xa92b4efc
je 0x453dbe
nop
mov eax, dword [str.oracleasm]
test eax, eax
je 0x453cb0
mov esi, 0x4b246c
jmp 0x453c1e
mov eax, dword [esi + 0x18]
add esi, 0x18
test eax, eax
je 0x453cb0
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x453c33
push ecx
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x453c10
mov edx, dword [esi + 8]
shr edx, 0xa
add edx, dword [esi + 4]
mov eax, edx
sar eax, 0x1f
shld eax, edx, 0xa
shl edx, 0xa
lea ecx, [esp + 0x14]
push 0x400
push eax
call fcn.00453e80
add esp, 8
test eax, eax
je 0x453c10
mov edi, eax
mov eax, dword [esi + 8]
mov ecx, 0x3ff
and eax, ecx
add eax, edi
push dword [esi + 0xc]
push eax
push dword [esi + 0x10]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x453c10
mov eax, dword [esi + 0x14]
test eax, eax
je 0x453d3e
push edi
push esi
lea ecx, [esp + 0x1c]
push ecx
call eax
add esp, 0xc
test eax, eax
jne 0x453c10
jmp 0x453d3e
cmp dword [ebx + 0x18], 0
je 0x453d7e
push ebx
call fcn.00443050
add esp, 4
mov edi, eax
lea esi, [esp + 0x10]
push esi
mov esi, ebx
lea ebx, [esp + 0x10]
push ebx
push eax
nop word cs:[eax + eax]
call fcn.00443080
add esp, 0xc
test eax, eax
jne 0x453b30
push 0
push 0
push dword [esp + 0x14]
push esi
call fcn.00442d20
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ebx
push edi
jmp 0x453ce0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 1
je 0x453db2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 0xd
je 0x453db2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 2
je 0x453db2
push ebx
call fcn.00443710
add esp, 4
jmp 0x453db4
mov eax, dword [esi]
mov dword [esp + 0xc], eax
test eax, eax
je 0x453d89
mov eax, dword [esp + 0x60]
mov dword [ebx + 0x20], eax
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time32]
add esp, 4
mov dword [ebx + 0x24], eax
or byte [ebx + 0x28], 1
mov eax, dword [ebp + 8]
or byte [eax + 0x18], 4
push 0
push dword [esp + 0x10]
push str.TYPE
push ebx
call fcn.00442d20
add esp, 0x10
jmp 0x453d89
push ebx
call fcn.00443710
add esp, 4
xor ebx, ebx
push dword [esp + 0x20]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
push dword [esp + 0x28]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
js 0x453db2
push eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll__close_1
add esp, 4
mov esi, ebx
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x453dec
cmp dword [esp + 0xb4], 0
jne 0x453dec
cmp dword [esp + 0xb8], 0
jne 0x453dec
cmp dword [esp + 0xbc], 0
je 0x453e0a
mov dword [esp + 0x30], eax
movsd xmm0, qword [esp + 0xb4]
movsd qword [esp + 0x34], xmm0
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x3c], eax
xorpd xmm0, xmm0
movapd xmmword [esp + 0x90], xmm0
movapd xmmword [esp + 0x80], xmm0
mov dword [esp + 0xa1], 0
mov dword [esp + 0x9d], 0
lea esi, [esp + 0x30]
push esi
call fcn.0045d3d0
add esp, 4
test eax, eax
jne 0x453e69
lea edi, [esp + 0x80]
push edi
push esi
call fcn.0045d580
add esp, 8
push 0x25
push edi
push str.UUID
push ebx
call fcn.00442d20
add esp, 0x10
mov dword [esp + 0xc], 0x4a5d60
jmp 0x453d48