Function at 0x41aea0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x1c8
mov r13d, r9d
mov rbx, rdx
mov rsi, rcx
lea r9, [rsp + 0xe0]
lea rdx, [rsp + 0x1b8]
mov rax, r9
mov dword [rax], 0
add rax, 0x48
mov dword [rax - 0x30], 0
mov dword [rax - 0x18], 0
cmp rax, rdx
jne 0x41aecf
movzx ecx, byte [rbx]
mov rax, rbx
xor r10d, r10d
mov edx, ecx
test dl, dl
je 0x41af26
cmp dl, 0x25
je 0x41b0b0
nop dword [rax]
movzx edx, byte [rax + 1]
add rax, 1
cmp dl, 0x25
je 0x41b0b0
test dl, dl
jne 0x41af08
cmp dl, 0x25
je 0x41b0b0
test r10d, r10d
je 0x41af73
lea rdx, [0x005102a0]
mov eax, r10d
lea rax, [rax + rax*2]
lea r10, [r9 + rax*8]
nop dword [rax]
cmp dword [r9], 5
ja case.0x41af54.0
mov eax, dword [r9]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
mov rax, qword [r8]
add r8, 8
mov qword [r9], rax
add r9, 0x18
cmp r9, r10
jne 0x41af40
xor ebp, ebp
test cl, cl
mov dword [rsp + 0x4c], 0
mov r15, rbx
lea r12, [0x005102b8]
je 0x41b56a
nop
cmp cl, 0x25
mov rdi, r15
je 0x41b050
nop dword [rax]
mov rbx, rdi
movzx ecx, byte [rdi + 1]
add rdi, 1
cmp cl, 0x25
je 0x41afb4
test cl, cl
jne 0x41afa0
cmp rdi, r15
je 0x41afd6
mov r8, rdi
mov rcx, r15
mov r9, rsi
sub r8, r15
mov edx, 1
mov r15, rdi
call sub.msvcrt.dll_fwrite
movzx ecx, byte [rbx + 1]
cmp cl, 0x25
je 0x41b050
test cl, cl
jne 0x41af90
test r13d, r13d
je 0x41aff9
mov rax, qword [0x00568570]
mov edx, dword [rax + 0x28]
test edx, edx
je 0x41aff9
mov dword [rax + 4], 0
mov eax, dword [rsp + 0x4c]
test eax, eax
jne 0x41b9cb
add rsp, 0x1c8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [r8]
add r8, 8
mov dword [r9], eax
jmp 0x41af6a
mov rax, qword [r8 + 0x10]
add r8, 0x18
movdqu xmm0, xmmword [r8 - 0x18]
movups xmmword [r9], xmm0
mov qword [r9 + 0x10], rax
jmp 0x41af6a
movsx r8d, byte [r15 + 1]
lea rdi, [r15 + 1]
cmp r8b, 0x30
je 0x41b107
mov rbx, qword [0x00568450]
movzx edx, r8b
movsx ecx, r8b
mov eax, ebp
test byte [rbx + rdx*2], 4
je 0x41b090
cmp byte [r15 + 2], 0x24
jne 0x41b090
movsx r8d, byte [r15 + 3]
lea eax, [rcx - 0x31]
lea rdi, [r15 + 3]
nop dword [rax]
lea r15, [rdi + 1]
cmp r8b, 0x76
ja case.0x41b0a5.1
movzx edx, r8b
movsxd rdx, dword [r12 + rdx*4]
add rdx, r12
jmp rdx
movzx edx, byte [rax + 1]
lea rdi, [rax + 1]
cmp dl, 0x30
je 0x41b13c
mov r12, qword [0x00568450]
movzx ebp, dl
movsx r14d, dl
mov r11d, r10d
test byte [r12 + rbp*2], 4
je 0x41b0df
cmp byte [rax + 2], 0x24
je 0x41b287
lea rax, [rdi + 1]
test dl, dl
je 0x41af26
sub edx, 0x43
cmp dl, 0x33
ja case.0x41b105.2
lea rbp, [0x00510494]
movzx edx, dl
movsxd rdx, dword [rbp + rdx*4]
add rdx, rbp
jmp rdx
add r15, 2
lea rdx, str.___c
mov rcx, rsi
call fcn.0041adb0
movzx ecx, byte [rdi + 1]
jmp 0x41afdb
mov r15, rdi
mov ecx, 0x25
mov rdx, rsi
call sub.msvcrt.dll_putc
movzx ecx, byte [r15]
jmp 0x41afdb
add rax, 2
movzx edx, byte [rdi + 1]
jmp 0x41aef7
lea rax, [rax + rax*2]
add ebp, 1
shl rax, 3
mov r14, qword [rsp + rax + 0xe0]
mov rbx, qword [rsp + rax + 0xe8]
test r14, r14
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsp + rax + 0xf0]
je 0x41b591
mov rcx, r14
call fcn.0043f120
test eax, eax
je 0x41b8ab
mov rax, qword [r14 + 8]
lea rcx, [rsp + 0x64]
mov r9, rbx
mov rdx, qword [r14 + 0xa8]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x68]
mov r8, qword [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov rcx, r14
mov qword [rsp + 0x38], 0
call qword [rax + 0x238]
test eax, eax
je 0x41b591
mov rax, qword [rsp + 0x70]
test rax, rax
mov r9, rax
je 0x41b1f7
movzx edx, byte [rdi]
cmp dl, 0x43
je 0x41b8bf
cmp dl, 0x48
je 0x41b8bf
lea rdx, str._pB:
mov r8, r14
mov rcx, rsi
call fcn.0041bc70
mov r14d, 1
mov r8, qword [rsp + 0x68]
test r8, r8
je 0x41b970
lea rdx, [0x0051022d]
mov rcx, rsi
call fcn.0041adb0
mov r8, qword [rsp + 0x70]
movzx eax, byte [rdi]
test r8, r8
je 0x41b241
cmp al, 0x47
je 0x41b987
cmp qword [rsp + 0x68], 0
je 0x41b88f
mov r8d, dword [rsp + 0x64]
test r8d, r8d
je 0x41b88f
cmp al, 0x48
je 0x41b879
lea r9, [0x00510235]
mov rcx, rsi
lea rdx, str._u_s
call fcn.0041adb0
test r14d, r14d
je 0x41b11a
jmp 0x41b5ba
movzx edx, byte [rax + 3]
lea rdi, [rax + 3]
lea r11d, [r14 - 0x31]
lea rax, [rdi + 1]
test dl, dl
jne 0x41b0eb
jmp 0x41af26
mov edx, 5
cmp r11d, 8
ja 0x41ba7a
lea r11, [r11 + r11*2]
add r10d, 1
mov dword [rsp + r11*8 + 0xe0], edx
movzx edx, byte [rax]
jmp 0x41aef7
mov rax, qword [0x00568570]
mov dword [rax + 4], 0
movzx ecx, byte [rdi + 1]
jmp 0x41afdb
call fcn.00438aa0
mov ecx, eax
call fcn.00438ab0
lea rdx, [0x005101e4]
mov rcx, rsi
mov r8, rax
call fcn.0041adb0
movzx ecx, byte [rdi + 1]
jmp 0x41afdb
lea rax, [rax + rax*2]
mov rcx, rsi
add ebp, 1
mov r8, qword [rsp + rax*8 + 0xe0]
lea rdx, [0x00510130]
call fcn.0041adb0
movzx ecx, byte [rdi + 1]
jmp 0x41afdb
lea rax, [rax + rax*2]
add ebp, 1
mov r8, qword [rsp + rax*8 + 0xe0]
lea rbx, [rsp + 0x70]
lea rdx, [0x00510130]
mov rcx, rbx
call fcn.0041ade0
movzx eax, byte [rsp + 0x70]
cmp al, 0x30
jne 0x41b368
movzx eax, byte [rbx + 1]
add rbx, 1
cmp al, 0x30
je 0x41b35c
cmp al, 1
sbb rbx, 0
mov rcx, rbx
call sub.msvcrt.dll_strlen
cmp eax, 7
mov r14d, eax
jg 0x41b395
mov rdx, rsi
mov ecx, 0x20
add r14d, 1
call sub.msvcrt.dll_putc
cmp r14d, 8
jne 0x41b37e
lea rdx, str.0x_s
mov rcx, rsi
mov r8, rbx
call fcn.0041adb0
movzx ecx, byte [rdi + 1]
jmp 0x41afdb
lea rax, [rax + rax*2]
mov rcx, rsi
add ebp, 1
mov r8d, dword [rsp + rax*8 + 0xe0]
lea rdx, [0x0051028d]
call fcn.0041adb0
movzx ecx, byte [rdi + 1]
jmp 0x41afdb
movzx edx, byte [rdi + 1]
cmp dl, 0x64
je 0x41b958
cmp dl, 0x75
jne case.0x41b0a5.1
lea rax, [rax + rax*2]
mov r8d, dword [rsp + rax*8 + 0xe0]
lea rdx, [0x00510297]
lea r15, [rdi + 2]
mov rcx, rsi
add ebp, 1
call fcn.0041adb0
movzx ecx, byte [rdi + 2]
jmp 0x41afdb
movzx ebx, byte [rdi + 1]
add ebp, 1
lea edx, [rbx - 0x41]
cmp dl, 0x13
ja case.0x41b43c.2
lea rcx, [0x00510564]
movzx edx, dl
movsxd rdx, dword [rcx + rdx*4]
add rdx, rcx
jmp rdx
lea rax, [rax + rax*2]
mov rcx, rsi
add ebp, 1
mov r8, qword [rsp + rax*8 + 0xe0]
lea rdx, [0x005101e4]
call fcn.0041adb0
movzx ecx, byte [rdi + 1]
jmp 0x41afdb
lea rax, [rax + rax*2]
mov rcx, rsi
add ebp, 1
mov r8d, dword [rsp + rax*8 + 0xe0]
lea rdx, [0x00510290]
call fcn.0041adb0
movzx ecx, byte [rdi + 1]
jmp 0x41afdb
lea rax, [rax + rax*2]
add ebp, 1
mov r8, qword [rsp + rax*8 + 0xe0]
lea rbx, [rsp + 0x70]
lea rdx, [0x00510130]
mov rcx, rbx
call fcn.0041ade0
movzx eax, byte [rsp + 0x70]
cmp al, 0x30
jne 0x41b4c4
movzx eax, byte [rbx + 1]
add rbx, 1
cmp al, 0x30
je 0x41b4b8
cmp al, 1
mov rdx, rsi
sbb rbx, 0
mov rcx, rbx
call fcn.004f2728
movzx ecx, byte [rdi + 1]
jmp 0x41afdb
movzx ecx, byte [rdi + 1]
mov dword [rsp + 0x4c], 1
jmp 0x41afdb
mov rax, qword [0x005689c0]
mov rcx, rsi
lea rdx, [0x005101e4]
mov r8, qword [rax]
call fcn.0041adb0
movzx ecx, byte [rdi + 1]
jmp 0x41afdb
movzx edx, byte [rdi + 1]
lea ebp, [rdx - 0x41]
mov edx, 3
cmp bpl, 0x13
ja 0x41b2a9
mov r12d, 0xe0103
bt r12, rbp
jae 0x41b2a9
lea rax, [rdi + 2]
jmp 0x41b2a9
mov edx, 3
jmp 0x41b2a9
movzx edx, byte [rdi + 1]
cmp dl, 0x64
je 0x41b55c
cmp dl, 0x75
jne case.0x41b105.2
lea rax, [rdi + 2]
mov edx, 2
jmp 0x41b2a9
test r13d, r13d
je 0x41b005
mov rax, qword [0x00568570]
mov ecx, dword [rax + 0x28]
test ecx, ecx
je 0x41b005
mov dword [rax + 4], 0
jmp 0x41b005
lea rdx, str._pB:
mov r8, r14
mov rcx, rsi
call fcn.0041bc70
mov r8, qword [rsp + 0x50]
mov r9, rbx
mov rcx, rsi
lea rdx, str.__pA0x_v_
call fcn.0041bc70
mov rcx, qword [0x00577ad0]
mov qword [0x00577ae0], 0
test rcx, rcx
je 0x41b5e1
call sub.msvcrt.dll_free
mov qword [0x00577ad0], 0
mov rcx, qword [0x00577ad8]
test rcx, rcx
je 0x41b11a
call sub.msvcrt.dll_free
mov qword [0x00577ad8], 0
jmp 0x41b11a
mov edx, 4
jmp 0x41b2a9
lea rax, [rax + rax*2]
mov rcx, rsi
mov r8, qword [rsp + rax*8 + 0xe0]
lea rdx, [0x0051028a]
call fcn.0041adb0
movzx ecx, byte [rdi + 1]
jmp 0x41afdb
mov edx, 1
jmp 0x41b2a9
lea rax, [rax + rax*2]
mov rcx, rsi
mov rbx, qword [rsp + rax*8 + 0xe0]
lea rdx, [0x005101e4]
lea r15, [rdi + 2]
mov r14, qword [rbx + 0xf0]
mov r8, qword [rbx]
call fcn.0041adb0
test r14, r14
je 0x41b40f
mov rax, qword [r14 + 8]
mov eax, dword [rax + 8]
cmp eax, 5
je 0x41b9f7
cmp eax, 2
jne 0x41b40f
mov rax, qword [rbx + 0xf0]
mov rax, qword [rax + 8]
cmp dword [rax + 8], 2
jne 0x41b40f
mov rax, qword [rbx + 0xe0]
test rax, rax
je 0x41b40f
mov rax, qword [rax + 0x40]
test rax, rax
je 0x41b40f
mov r8, qword [rax]
test r8, r8
je 0x41b40f
lea rdx, [0x00510248]
mov rcx, rsi
call fcn.0041adb0
movzx ecx, byte [rdi + 2]
jmp 0x41afdb
lea rax, [rax + rax*2]
mov rax, qword [rsp + rax*8 + 0xe0]
lea r15, [rdi + 2]
test rax, rax
je 0x41b9d8
mov r8, qword [rax + 8]
test r8, r8
je 0x41b40f
mov r9d, dword [rax + 4]
lea rdx, str._s:_u
mov rcx, rsi
call fcn.0041adb0
jmp 0x41b40f
lea rax, [rax + rax*2]
mov rax, qword [rsp + rax*8 + 0xe0]
lea r15, [rdi + 2]
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x41b74c
mov rdx, qword [rdx + 0xc8]
test rdx, rdx
je 0x41b74c
test byte [rdx + 0x44], 1
je 0x41ba40
mov r8, qword [rax + 0x10]
lea rdx, [0x005101e4]
mov rcx, rsi
call fcn.0041adb0
jmp 0x41b40f
lea rax, [rax + rax*2]
mov r14, qword [rsp + rax*8 + 0xe0]
lea r15, [rdi + 2]
test r14, r14
je 0x41b99b
cmp byte [r14], 0
je 0x41b99b
mov rax, qword [0x005685d0]
mov r8d, dword [rax]
test r8d, r8d
je 0x41ba5f
mov rax, qword [0x00568770]
mov r8d, 3
mov rdx, r14
mov rcx, qword [rax + 0x50]
call fcn.0043a0e0
test rax, rax
mov rbx, rax
je 0x41ba5f
lea rdx, [0x005101e4]
mov r8, rax
mov rcx, rsi
call fcn.0041adb0
mov rcx, rbx
call sub.msvcrt.dll_free
movzx ecx, byte [rdi + 2]
jmp 0x41afdb
lea rax, [rax + rax*2]
mov rcx, rsi
mov rax, qword [rsp + rax*8 + 0xe0]
lea r15, [rdi + 2]
mov rdx, qword [rax]
mov r9, qword [rax + 0x10]
mov rax, qword [rax + 0x18]
mov rdx, qword [rdx]
mov rax, qword [rax + 0x20]
mov r8, qword [rdx + 8]
lea rdx, str._s0x_v__type__s_
mov qword [rsp + 0x20], rax
call fcn.0041bc70
movzx ecx, byte [rdi + 2]
jmp 0x41afdb
lea rax, [rax + rax*2]
mov rdx, qword [rsp + rax*8 + 0xe0]
lea r15, [rdi + 2]
test rdx, rdx
je 0x41ba22
mov rax, qword [rdx + 0xc8]
mov r8, qword [rdx]
test rax, rax
je 0x41b750
test byte [rax + 0x44], 1
jne 0x41b750
lea rdx, [0x0051025a]
mov r9, r8
mov r8, qword [rax]
mov rcx, rsi
call fcn.0041adb0
movzx ecx, byte [rdi + 2]
jmp 0x41afdb
lea r9, [0x0051023b]
mov rcx, rsi
lea rdx, str._u_s
call fcn.0041adb0
mov r8, qword [rsp + 0x50]
lea rdx, str.__pA0x_v_
mov r9, rbx
mov rcx, rsi
call fcn.0041bc70
jmp 0x41b279
lea rcx, [0x005101e8]
mov rdx, r14
call fcn.0041bb50
jmp 0x41b18a
mov rdx, qword [0x00577ae0]
test rdx, rdx
je 0x41b8de
cmp qword [0x00577ad8], 0
je 0x41b8de
cmp rdx, r14
je 0x41ba98
lea rdx, str._pB:_in_function___pT:_n
mov rcx, rsi
mov r8, r14
call fcn.0041bc70
mov rcx, qword [0x00577ad0]
mov qword [0x00577ae0], r14
test rcx, rcx
je 0x41b908
call sub.msvcrt.dll_free
mov qword [0x00577ad0], 0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x41b929
call fcn.004e3a50
mov qword [0x00577ad0], rax
mov rcx, qword [0x00577ad8]
test rcx, rcx
je 0x41b93a
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x70]
call fcn.004e3a50
mov qword [0x00577ad8], rax
xor r14d, r14d
jmp 0x41b20f
lea rax, [rax + rax*2]
mov r8d, dword [rsp + rax*8 + 0xe0]
lea rdx, [0x00510293]
jmp 0x41b400
cmp byte [rdi], 0x47
mov r8, qword [rsp + 0x70]
jne 0x41b88f
test r8, r8
je 0x41b88f
lea rdx, [0x00510231]
mov rcx, rsi
call fcn.0041bc70
jmp 0x41b279
lea rdx, str.no_symbol
mov rcx, rsi
call fcn.0041adb0
movzx ecx, byte [rdi + 2]
jmp 0x41afdb
lea r8, str.vfinfo
mov edx, 0xc6
lea rcx, str..._.._.._src_binutils_2.32_ld_ldmisc.c
call fcn.0041ae50
mov ecx, 1
call fcn.004e3860
nop dword [rax]
call fcn.004068d0
mov r8, rax
mov rax, qword [0x00568760]
mov eax, dword [rax]
mov dword [rsp + 0x74], eax
lea rax, [rsp + 0x70]
jmp 0x41b6fc
mov rax, qword [rbx + 0xe0]
cmp qword [rax + 0xc0], 0
je 0x41b40f
test byte [rbx + 0x23], 2
jne 0x41b40f
mov r8, qword [rax + 0xb0]
jmp 0x41b6be
mov rax, qword [0x005689c0]
lea rdx, str._s_generated
mov rcx, rsi
mov r8, qword [rax]
call fcn.0041adb0
jmp 0x41b40f
mov r8, qword [rdx]
lea rdx, str.__s__s
mov rcx, rsi
mov r9, qword [rax + 0x18]
call fcn.0041adb0
movzx ecx, byte [rdi + 2]
jmp 0x41afdb
lea rdx, [0x005101e4]
mov rcx, rsi
mov r8, r14
call fcn.0041adb0
movzx ecx, byte [rdi + 2]
jmp 0x41afdb
lea r8, str.vfinfo
mov edx, 0xa9
lea rcx, str..._.._.._src_binutils_2.32_ld_ldmisc.c
call fcn.0041ae50
nop word [rax + rax]
mov rcx, qword [0x00577ad0]
mov rdx, qword [rsp + 0x68]
test rcx, rcx
sete r11b
test rdx, rdx
sete r8b
cmp r11b, r8b
jne 0x41b8de
test rdx, rdx
je 0x41bace
call fcn.004df690
test eax, eax
jne 0x41baf4
mov rax, qword [rsp + 0x70]
mov rcx, qword [0x00577ad8]
mov rdx, rax
mov qword [rsp + 0x58], rax
call sub.msvcrt.dll_strcmp
mov r9, qword [rsp + 0x58]
test eax, eax
jne 0x41b8de
jmp 0x41b94b
mov r9, qword [rsp + 0x70]
jmp 0x41b8de