Function at 0x41aa40
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c5ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x278
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
lea ecx, [ebp + 8]
call fcn.00416f60
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x41aab1
mov byte [ebp - 0x1d], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00415f20
mov al, byte [ebp - 0x1d]
jmp 0x41b0cf
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xac]
call fcn.00415ac0
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], ecx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x41ab16
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x1e], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.00415f20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00415f20
mov al, byte [ebp - 0x1e]
jmp 0x41b0cf
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
cmp dword [ebp - 0x1c], 0xffffffff
je 0x41ab38
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x198
push 0
lea edx, [ebp - 0x288]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x1c]
sub eax, 0x198
mov ecx, dword [ebp - 0x18]
sbb ecx, 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
cmp dword [ebp - 0x1c], 0xffffffff
je 0x41aba7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41aba7
push 0
lea edx, [ebp - 0xb0]
push edx
push 0x198
lea eax, [ebp - 0x288]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [ebp - 0x64]
call fcn.00415a30
mov byte [ebp - 4], 2
push 0x198
lea edx, [ebp - 0x288]
push edx
lea ecx, [ebp - 0x64]
call fcn.00419b90
push 0x41da9c
lea ecx, [ebp - 0x94]
call fcn.004191f0
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x7c]
call fcn.00415a30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.004192f0
mov byte [ebp - 4], 5
push 0
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x64]
call fcn.00419d30
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x41ac6a
mov ecx, dword [ebp - 0x28]
push ecx
push 0
lea edx, [ebp - 0xd0]
push edx
lea ecx, [ebp - 0x64]
call fcn.0041a9c0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00419370
lea ecx, [ebp - 0xd0]
call fcn.00415f00
lea ecx, [ebp - 0x94]
call fcn.00418700
add eax, dword [ebp - 0x28]
push eax
push 0
lea ecx, [ebp - 0x64]
call fcn.00419c90
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00419eb0
jmp 0x41abfa
lea ecx, [ebp - 0x3c]
call fcn.00417430
cmp eax, 5
je 0x41aceb
lea ecx, [ebp - 0x3c]
call fcn.00417430
cmp eax, 4
je 0x41aceb
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x1f], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.00419350
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
call fcn.00415f00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x94]
call fcn.00415f00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00415f00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.00415f20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00415f20
mov al, byte [ebp - 0x1f]
jmp 0x41b0cf
lea ecx, [ebp - 0x3c]
call fcn.00417430
cmp eax, 5
jne 0x41adb1
mov byte [ebp - 4], 6
push 0xa
push 0
push 4
lea ecx, [ebp - 0x3c]
call fcn.004160c0
push eax
call fcn.0041a940
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov dword [0x44a700], eax
mov dword [0x44a704], ecx
jmp 0x41ad4a
mov dword [ebp - 4], 5
jmp 0x41adaf
jmp 0x41adce
mov eax, dword [ebp - 0x1c]
sub eax, 0x18
mov ecx, dword [ebp - 0x18]
sbb ecx, 0
sub eax, 0x50
sbb ecx, 0
mov dword [0x44a700], eax
mov dword [0x44a704], ecx
mov edx, 0x100
imul eax, edx, 0
add eax, str.yOnjOMSndeeJNAPLdbBsgu0qewXrqClFSA5DSqu83Qc
push eax
call fcn.004173b0
add esp, 4
push 2
lea ecx, [ebp - 0x3c]
call fcn.004160c0
mov ecx, eax
call fcn.00419c10
push eax
call fcn.00419450
add esp, 4
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x18
mov edx, dword [ebp - 0x18]
sbb edx, 0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
cmp dword [ebp - 0x1c], 0xffffffff
je 0x41ae50
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41ae50
push 0
lea eax, [ebp - 0xb4]
push eax
push 0x18
push 0x44a6c0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x1c]
sub edx, 0x50
mov eax, dword [ebp - 0x18]
sbb eax, 0
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
push 0
push 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
cmp dword [ebp - 0x1c], 0xffffffff
je 0x41b01a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41b01a
push 0x50
call fcn.0041b5a3
add esp, 4
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], ecx
push 0
lea edx, [ebp - 0xb8]
push edx
push 0x50
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x2c], 0
jmp 0x41aece
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [section..data]
jge 0x41afa4
mov ecx, dword [ebp - 0x2c]
shl ecx, 8
add ecx, str.yOnjOMSndeeJNAPLdbBsgu0qewXrqClFSA5DSqu83Qc
push ecx
call fcn.004173b0
add esp, 4
push 0x42a4f8
lea edx, [ebp - 0xf0]
push edx
call fcn.00401530
add esp, 8
push 0x42a4f8
lea eax, [ebp - 0xf0]
push eax
push 0
push 0x50
mov ecx, dword [ebp - 0x30]
push ecx
push 0x44a6d8
call fcn.00401420
add esp, 0x18
test eax, eax
jne 0x41af9f
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x21], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.00419350
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
call fcn.00415f00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x94]
call fcn.00415f00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00415f00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.00415f20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00415f20
mov al, byte [ebp - 0x21]
jmp 0x41b0cf
jmp 0x41aec5
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov byte [ebp - 0x22], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.00419350
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
call fcn.00415f00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x94]
call fcn.00415f00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00415f00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.00415f20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00415f20
mov al, byte [ebp - 0x22]
jmp 0x41b0cf
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x23], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.00419350
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
call fcn.00415f00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x94]
call fcn.00415f00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00415f00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.00415f20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00415f20
mov al, byte [ebp - 0x23]
jmp 0x41b0cf
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret