Function at 0x140048cfc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x208
mov qword [rsp + 0x1e8], 0xfffffffffffffffe
mov dword [rsp + 0x70], 0
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
cmp qword [rax + 0x18], 0x10
jb 0x140048d75
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
jmp 0x140048d85
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xffffffffffffffff
je 0x1400493fc
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x48], 0
call fcn.1400eef44
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140045dc4
nop
call fcn.1400eef44
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140045dc4
nop
call fcn.1400eef44
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140045dc4
nop
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x40], eax
jne 0x14004938a
mov byte [rsp + 0x44], 0
mov dword [rsp + 0x58], 0
jmp 0x140048e76
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x58], eax
jae 0x14004938a
mov dword [rsp + 0x40], reloc.WLDAP32.dll_Ordinal_32
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x80]
call fcn.140046190
mov qword [rsp + 0xd0], rax
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x80]
call fcn.140046238
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x40], eax
je 0x140048ef0
mov byte [rsp + 0x44], 1
jmp 0x14004938a
mov edx, 0xffffffff
lea rcx, [rsp + 0x80]
call fcn.1400457fc
mov dword [rsp + 0x40], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140046190
mov qword [rsp + 0xd8], rax
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140046238
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x40], eax
je 0x140048f68
mov byte [rsp + 0x44], 1
jmp 0x14004938a
mov edx, 0xffffffff
lea rcx, [rsp + 0x50]
call fcn.1400457fc
mov dword [rsp + 0x40], 1
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.140046190
mov qword [rsp + 0xe0], rax
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.140046238
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x40], eax
je 0x140048fdd
mov byte [rsp + 0x44], 1
jmp 0x14004938a
mov edx, 0xffffffff
lea rcx, [rsp + 0x78]
call fcn.1400457fc
mov r8d, 2
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x50]
call fcn.14004974c
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x110], rax
mov r9d, 2
mov r8d, 8
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x50]
call fcn.140027414
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x118], rax
mov r9d, 2
mov r8d, 6
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x50]
call fcn.140027414
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x120], rax
mov r9d, 2
mov r8d, 4
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x50]
call fcn.140027414
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x128], rax
mov r8d, 4
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x50]
call fcn.14004967c
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x118]
mov rax, qword [rax]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov qword [rsp + 0x158], rax
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [rsp + 0x90], eax
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [rsp + 0x94], eax
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [rsp + 0x98], eax
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [rsp + 0x9c], eax
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.SHLWAPI.dll_StrToIntA]
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x30], 0
mov ecx, dword [rsp + 0x90]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x94]
mov dword [rsp + 0x20], ecx
mov ecx, dword [rsp + 0x98]
mov r9d, ecx
mov ecx, dword [rsp + 0x9c]
mov r8d, ecx
mov edx, eax
lea rcx, [rsp + 0x1b0]
call fcn.14002f238
nop
mov rax, qword [rsp + 0x160]
sub rax, 0x18
mov qword [rsp + 0x168], rax
mov rcx, qword [rsp + 0x168]
call fcn.140045ed4
nop
mov rax, qword [rsp + 0x170]
sub rax, 0x18
mov qword [rsp + 0x178], rax
mov rcx, qword [rsp + 0x178]
call fcn.140045ed4
nop
mov rax, qword [rsp + 0x180]
sub rax, 0x18
mov qword [rsp + 0x188], rax
mov rcx, qword [rsp + 0x188]
call fcn.140045ed4
nop
mov rax, qword [rsp + 0x190]
sub rax, 0x18
mov qword [rsp + 0x198], rax
mov rcx, qword [rsp + 0x198]
call fcn.140045ed4
nop
mov rax, qword [rsp + 0x1a0]
sub rax, 0x18
mov qword [rsp + 0x1a8], rax
mov rcx, qword [rsp + 0x1a8]
call fcn.140045ed4
lea rdx, [0x1403645fc]
lea rcx, [rsp + 0x78]
call fcn.140049838
test eax, eax
je 0x1400492c1
mov dword [rsp + 0x6c], 1
jmp 0x1400492c9
mov dword [rsp + 0x6c], 0
mov al, byte [rsp + 0x6c]
mov byte [rsp + 0x4c], al
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400ed984
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x140049332
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x1b8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x88]
mov cl, byte [rsp + 0x4c]
mov byte [rax + 8], cl
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xb8], rax
jmp 0x14004933e
mov qword [rsp + 0xb8], 0
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x210]
add rax, 0x10
mov rdx, qword [rsp + 0x1c0]
mov rcx, rax
call fcn.1400ef534
mov rcx, qword [rsp + 0x1c8]
mov qword [rax], rcx
jmp 0x140048e6c
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x70], 1
mov rax, qword [rsp + 0x78]
sub rax, 0x18
mov qword [rsp + 0x1d0], rax
mov rcx, qword [rsp + 0x1d0]
call fcn.140045ed4
nop
mov rax, qword [rsp + 0x50]
sub rax, 0x18
mov qword [rsp + 0x1d8], rax
mov rcx, qword [rsp + 0x1d8]
call fcn.140045ed4
nop
mov rax, qword [rsp + 0x80]
sub rax, 0x18
mov qword [rsp + 0x1e0], rax
mov rcx, qword [rsp + 0x1e0]
call fcn.140045ed4
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0xa0], eax
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x218]
call fcn.14001196c
nop
mov eax, dword [rsp + 0xa0]
add rsp, 0x208
ret