Function at 0x140055780
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x140241cc0]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rbx, rcx
xor edi, edi
call fcn.140059450
mov rsi, rax
test rax, rax
je 0x140055bdc
lea rcx, [rbx + 0x80]
cmp qword [rbx + 0x98], 0xf
jbe 0x1400557e6
mov rcx, qword [rbx + 0x80]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1400557fc
mov eax, 5
jmp 0x140055c14
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x40]
call fcn.14012d430
lea r15, [rbx + 0xa0]
mov r8, r15
lea rdx, [rbx + 0x80]
lea rcx, [rsp + 0x58]
call fcn.1400580d0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140055833
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140057910
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x40], r13
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x44], edx
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400558a2
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005589d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055c4a
call fcn.1400f5cd0
movdqa xmm1, xmmword [0x140220390]
movdqu xmmword [rsp + 0x68], xmm1
mov byte [rsp + 0x58], 0
cmp qword [rbp + 0x48], 0
jne 0x140055a13
lea rdx, str.Failed_to_open_file:
call fcn.140058230
mov r12, rax
lea rdx, [rbx + 0x60]
lea r8, [rbx + 0x80]
lea rcx, [rsp + 0x78]
call fcn.1400580d0
nop
mov r8, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 0xf
jbe 0x1400558f3
mov r15, qword [r15]
mov rdx, r15
mov rcx, rax
call fcn.140006b40
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rcx, r12
call fcn.140008150
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.140007c90
movzx edx, al
mov rcx, rbx
call fcn.140007ae0
mov rcx, rbx
call fcn.140007980
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400559b2
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400559ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055c50
call fcn.1400f5cd0
movdqa xmm0, xmmword [0x140220390]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140055a01
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400559fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055c56
call fcn.1400f5cd0
mov rcx, rsi
call fcn.140059510
mov edi, 0xffffffff
jmp 0x140055b76
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movdqu xmmword [rbp - 0x50], xmm1
mov byte [rbp - 0x60], 0
mov rax, qword [rbx + 0xe0]
cmp rax, 1
jne 0x140055a4c
lea rax, [rbp - 0x60]
cmp rax, rbx
je 0x140055a7a
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140055a47
mov rbx, qword [rbx]
mov rdx, rbx
jmp 0x140055a71
cmp rax, 2
lea rax, [rbp - 0x60]
lea rdx, [rbx + 0x40]
je 0x140055a5e
lea rdx, [rbx + 0x20]
cmp rax, rdx
je 0x140055a7a
cmp qword [rdx + 0x18], 0xf
mov r8, qword [rdx + 0x10]
jbe 0x140055a71
mov rdx, qword [rdx]
lea rcx, [rbp - 0x60]
call fcn.140006c60
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r8, qword [rbp - 0x60]
mov edx, 0x2712
mov rcx, rsi
call fcn.14005a560
lea r8, str.MAQUINADEARMADO
mov edx, 0x2722
mov rcx, rsi
call fcn.14005a560
lea r8, [0x140055750]
mov edx, 0x4e2b
mov rcx, rsi
call fcn.14005a560
lea r8, [rbp - 0x40]
mov edx, 0x2711
mov rcx, rsi
call fcn.14005a560
mov rcx, rsi
call fcn.1400594e0
test eax, eax
je 0x140055ae1
mov edi, 0xffffffff
jmp 0x140055b2a
lea rcx, [rbp - 0x38]
call fcn.140057810
test rax, rax
jne 0x140055b21
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx + 8], 0
cmovne eax, edx
or eax, dword [rbp + rcx - 0x30]
and eax, 0x17
mov dword [rbp + rcx - 0x30], eax
mov edx, dword [rbp + rcx - 0x2c]
and edx, eax
jne 0x140055c5c
mov rcx, rsi
call fcn.140059510
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140055b65
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055b60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055c44
call fcn.1400f5cd0
movdqa xmm0, xmmword [0x140220390]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x40], r13
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x38]
call fcn.140056f00
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x40], rax
mov rcx, qword [rbp - 0x40]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x10]
mov dword [rbp + rdx - 0x44], r8d
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0x68]
call fcn.1400f9044
nop
mov eax, edi
jmp 0x140055c14
lea rdx, str.Failed_to_initialize_curl.
call fcn.140058230
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140007c90
movzx edx, al
mov rcx, rbx
call fcn.140007ae0
mov rcx, rbx
call fcn.140007980
mov eax, 0xffffffff
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1400f5cb0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14010251c
nop
call fcn.14010251c
nop
call fcn.14010251c
nop
call fcn.14010251c
nop
test dl, 4
je 0x140055c6a
lea rbx, str.ios_base::badbit_set
jmp 0x140055c7f
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140001d50
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140002720
lea rdx, [0x1402320d8]
lea rcx, [rsp + 0x78]
call fcn.1400fab6c
int3