Function at 0x180047d30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x18006af78]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov ebx, dword [rsp + 0x38]
lea eax, [rdx + 0xbac]
mov qword [rsp + 0x48], rcx
mov rsi, rcx
mov rcx, qword [rsp + 0x130]
mov r15d, edx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x70], r9
mov qword [rsp + 0x68], r8
mov dword [rsp + 0x30], eax
cmp edx, eax
jae 0x180047e4c
mov r12d, dword [rsp + 0x38]
mov r14, qword [rsp + 0x68]
mov r13d, dword [rsp + 0x50]
mov edi, dword [rsp + 0x34]
nop dword [rax]
nop dword [rax + rax]
cmp r15d, 0x263
ja 0x180047fb7
je 0x180047fa6
cmp r15d, 0x160
ja 0x180047eab
je 0x180047e8c
mov eax, r15d
sub eax, 0x59
je 0x180047e29
sub eax, 0x61
je 0x180047e1f
sub eax, 0x45
je 0x180047e05
cmp eax, 0x18
mov eax, dword [rsp + 0x30]
jne 0x180048054
mov r12d, 0xffffffff
mov dword [rsp + 0x38], r12d
jmp 0x180048054
mov rdx, qword [rcx]
mov rcx, qword [r9]
shl rdx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov qword [rsp + 0x60], rax
jmp 0x180048046
mov qword [rsp + 0x58], r9
jmp 0x180048050
mov rax, qword [rcx]
cmp qword [r9 + 0x10], rax
jb 0x180048050
mov eax, 0x3d
nop dword [rax + rax]
cmp eax, 0x3d
je 0x180047e79
cmp eax, 0xc1
jne 0x180047e7b
mov eax, ebx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.18005d0c0
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor ebx, ebx
add eax, 0x84
cmp eax, 0x145
jb 0x180047e40
jmp 0x180048050
mov rax, qword [rsp + 0x58]
mov edx, 1
mov r8, qword [r8]
mov r9, qword [rax + 0x68]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsi], rax
jmp 0x18004804b
mov eax, r15d
sub eax, 0x1a5
je 0x180047f7a
sub eax, 0x18
je 0x180047f6a
sub eax, 0x49
je 0x180047edd
cmp eax, 0x45
jne 0x180048050
mov rax, qword [rsp + 0x60]
mov qword [r9], rax
jmp 0x180048050
mov edi, 0x76
mov eax, edi
sub eax, 0x76
je 0x180047ef4
cmp eax, 1
je 0x180047e4c
jmp 0x180047f0a
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
xor ebx, ebx
test eax, eax
sete bl
inc edi
cmp edi, 0x78
jb 0x180047ee2
mov edi, 0x3f
nop word [rax + rax]
cmp edi, 0x2997
ja 0x180048098
je 0x180048080
mov eax, edi
sub eax, 0x3f
je 0x180048073
sub eax, 0x82
je 0x18004802d
cmp eax, 0x67
jne 0x180048140
movsxd rax, r13d
lea rcx, [rax + rax*2]
dec qword [rsp + rcx*8 + 0x258]
mov r12d, dword [rsp + 0x38]
jmp 0x180048140
mov r13d, 0xffffffff
mov dword [rsp + 0x50], r13d
jmp 0x180048050
mov rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x1800481e0
mov rax, qword [r9 + 0x10]
xor edx, edx
mov r8, qword [rcx]
sub r8, rax
shl r8, 3
lea rcx, [rsi + rax*8]
call sub.VCRUNTIME140.dll_memset
jmp 0x180048046
mov dword [rsp + 0x34], 0xffffffff
mov edi, dword [rsp + 0x34]
jmp 0x180048054
cmp r15d, 0x455
ja 0x18004818a
je 0x180048174
mov eax, r15d
sub eax, 0x2f1
je 0x180048157
sub eax, 0x18
je 0x180047f11
sub eax, 0x8e
je 0x18004800d
cmp eax, 0x18
jne 0x180048050
mov r9d, r13d
mov dword [rsp + 0x20], edi
mov r8d, r12d
lea rdx, str._d._d._d
lea rcx, [rsp + 0x80]
call fcn.18005cb00
jmp 0x18004804b
mov eax, 0x51
cmp eax, 0x51
je 0x1800481ea
add eax, 0x71
cmp eax, 0xc2
jb 0x180048012
mov eax, dword [rsp + 0x30]
xor ebx, ebx
jmp 0x180048054
movzx ecx, r12b
xor r14d, r14d
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
test eax, eax
jne 0x180048140
mov edi, dword [rsp + 0x34]
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rsp + 0x30]
add r15d, 0xa6
cmp r15d, eax
jae 0x180047e4c
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x68]
jmp 0x180047db0
xor r12d, r12d
mov dword [rsp + 0x38], r12d
jmp 0x180048140
mov r13d, 1
mov dword [rsp + 0x34], 8
mov dword [rsp + 0x50], r13d
jmp 0x180048140
cmp edi, 0x7f69
je 0x1800480fe
cmp edi, 0xfe11
jne 0x180048140
cmp dword [rsp + 0x34], 0
je 0x1800480d8
mov ecx, 0x114
nop dword [rax + rax]
cmp ecx, 0x113
je 0x180048042
dec ecx
cmp ecx, 0x112
ja 0x1800480c0
jmp 0x180048140
mov ecx, 0xcb
nop dword [rax]
mov eax, ecx
sub eax, 0xcb
je 0x1800480f2
cmp eax, 1
je 0x180048042
inc ecx
cmp ecx, 0xcd
jb 0x1800480e0
jmp 0x180048140
mov rbp, qword [rsp + 0x50]
dec rbp
cmp rbp, 1
jbe 0x18004813b
mov esi, 1
movzx edi, byte [rsp + rsi + 0x38]
cmp dil, 0x2e
jne 0x180048121
inc r14
jmp 0x180048133
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
test eax, eax
jne 0x180048133
cmp dil, 0x2d
jne 0x18004813b
inc rsi
cmp rsi, rbp
jb 0x180048111
mov edi, 0x7f69
add edi, 0x2958
cmp edi, 0xf810
jbe 0x180047f20
jmp 0x180048042
mov rax, qword [rcx]
mov qword [r9 + 0x10], rax
mov rax, qword [rcx]
cmp qword [r9 + 8], rax
jbe 0x180048050
mov qword [r9 + 8], rax
jmp 0x180048050
mov edx, 0x50
lea rcx, str.setMulticastLoopback
call fcn.18005ca40
jmp 0x18004804b
cmp r15d, 0x4fb
je 0x1800481b2
cmp r15d, 0x5a1
je 0x180048029
cmp r15d, 0x647
je 0x180047e4c
jmp 0x180048054
mov edx, 0x68
lea rcx, str.prefs_pref_util.html
call fcn.18005ca40
mov edx, 0x1e0
lea rcx, str.invalid_match_element
call fcn.18005ca40
jmp 0x18004804b
mov eax, 0xffffffff
jmp 0x180047e4e
xor eax, eax
jmp 0x180047e4e