Function at 0x140053890
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x640]
sub rsp, 0x740
movaps xmmword [rsp + 0x730], xmm6
mov rax, qword [0x1400ef000]
xor rax, rsp
mov qword [rbp + 0x620], rax
mov rax, r8
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], rdx
mov qword [rbp - 0x58], rcx
mov qword [rbp + 0x140], rcx
mov qword [rbp + 0x148], rdx
mov qword [rbp + 0x150], rax
xor ebx, ebx
mov dword [rsp + 0x44], ebx
lea rcx, [rbp + 0x220]
call fcn.140056930
nop
mov r8d, 0x104
lea rdx, [rbp + 0x410]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp + 0x410]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f0], xmm1
mov r14, 0xffffffffffffffff
mov r8, r14
inc r8
cmp word [rax + r8*2], 0
jne 0x140053940
mov rdx, rax
lea rcx, [rbp + 0x1e0]
call fcn.140031874
nop
lea rdx, [rbp + 0x1e0]
cmp qword [rbp + 0x1f8], 7
cmova rdx, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x1f0]
lea r8, [rdx + rax*2]
lea rdx, [rbp + 0x1e0]
cmova rdx, qword [rbp + 0x1e0]
lea r9, [rsp + 0x40]
lea rcx, [rbp + 0x260]
call fcn.140030fc0
nop
mov r13, qword [rbp + 0x230]
movabs r15, 0x7fffffffffffffff
mov rax, r15
sub rax, r13
cmp rax, 8
jb 0x140055102
lea r12, [rbp + 0x220]
cmp qword [rbp + 0x238], 0xf
cmova r12, qword [rbp + 0x220]
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
mov qword [rbp + 0x190], rbx
mov qword [rbp + 0x198], rbx
lea rsi, [r13 + 8]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rbp + 0x180]
movabs rax, 0x8000000000000000
lea ecx, [rbx + 7]
cmp rsi, rbx
jbe 0x140053a80
mov rbx, rsi
or rbx, 0xf
cmp rbx, r15
jbe 0x140053a3e
mov rbx, r15
add rax, 0x27
mov rcx, rax
call fcn.1400ac240
test rax, rax
je 0x140053a61
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140053a79
cmp rbx, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140053a68
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400550b6
jmp 0x140053a23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140053a77
call fcn.1400ac240
mov rdi, rax
jmp 0x140053a79
xor edi, edi
mov qword [rbp + 0x180], rdi
mov qword [rbp + 0x190], rsi
mov qword [rbp + 0x198], rbx
mov r8, r13
mov rdx, r12
mov rcx, rdi
call fcn.1400ad6d2
movabs rax, 0x6874754179654b5c
mov qword [rdi + r13], rax
mov byte [rdi + rsi], 0
mov rax, qword [rbp + 0x270]
lea r8, [rax - 4]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp + 0x260]
cmp qword [rbp + 0x278], 0xf
cmova rdx, qword [rbp + 0x260]
lea rcx, [rsp + 0x48]
call fcn.1400316f8
nop
mov r13, qword [rbp + 0x190]
mov rax, r15
sub rax, r13
cmp rax, 7
jb 0x140055108
lea r12, [rbp + 0x180]
cmp qword [rbp + 0x198], 0xf
cmova r12, qword [rbp + 0x180]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
lea rsi, [r13 + 7]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rsp + 0x68]
cmp rsi, rbx
jbe 0x140053bc3
mov rbx, rsi
or rbx, 0xf
cmp rbx, r15
jbe 0x140053b7d
mov rbx, r15
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400ac240
test rax, rax
je 0x140053ba6
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140053bbe
cmp rbx, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140053bad
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400550bc
jmp 0x140053b62
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140053bbc
call fcn.1400ac240
mov rdi, rax
jmp 0x140053bbe
xor edi, edi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rbx
mov r8, r13
mov rdx, r12
mov rcx, rdi
call fcn.1400ad6d2
mov rax, qword [str.Debug_]
mov dword [rdi + r13], eax
movzx eax, word [0x1400b7f94]
mov word [rdi + r13 + 4], ax
movzx eax, byte [0x1400b7f96]
mov byte [rdi + r13 + 6], al
mov byte [rdi + rsi], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x68]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x1a0]
call fcn.14004f5d0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140053c5e
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053c58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140053c58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400abdcc
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140053c9e
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053c99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140053c99
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400abdcc
lea rax, [rbp + 0x180]
cmp qword [rbp + 0x198], 0xf
cmova rax, qword [rbp + 0x180]
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x168], rax
xor r8d, r8d
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x48]
call fcn.140048ed0
nop
mov edi, 0xf81
mov dword [rsp + 0x44], edi
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rcx, qword [rsp + 0x48]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x240]
call fcn.1400ad244
mov ecx, eax
mov esi, 0xa
mov r12d, 0x1ff
mov r8d, 0x16d
test eax, eax
jne 0x140053d6f
mov edx, dword [rbp + 0x250]
test dl, 1
mov eax, r12d
cmovne eax, r8d
mov dword [rbp + 0x164], eax
bt edx, 0xa
jae 0x140053d61
mov eax, dword [rbp + 0x254]
cmp eax, 0xa000000c
jne 0x140053d56
lea eax, [rcx + 4]
jmp 0x140053d96
cmp eax, 0xa0000003
jne 0x140053d61
mov eax, esi
jmp 0x140053d96
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x140053d96
mov dword [rbp + 0x164], 0xffff
sub eax, 2
je 0x140053d91
sub eax, 1
je 0x140053d91
sub eax, 0x32
je 0x140053d91
cmp eax, 0x46
je 0x140053d91
xor eax, eax
jmp 0x140053d96
mov eax, 1
mov dword [rbp + 0x160], ecx
lea r13, str.__v_
mov qword [rbp + 0x168], r13
movaps xmm0, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x160], xmm0
test eax, eax
jne 0x140053e47
test ecx, ecx
jne 0x14005510e
mov bl, 1
test dil, 8
je 0x140053dde
and edi, 0xfffffff7
lea rcx, [rbp - 0x78]
call fcn.140042030
nop
test dil, 4
je 0x140053df4
and edi, 0xfffffffb
lea rcx, [rbp + 0x1c0]
call fcn.140042030
nop
test dil, 2
je 0x140054121
and edi, 0xfffffffd
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14005410e
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054109
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054109
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp eax, 1
je 0x140053dc9
mov r13, qword [rbp + 0x190]
mov rax, r15
sub rax, r13
cmp rax, 6
jb 0x140055127
lea rax, [rbp + 0x180]
cmp qword [rbp + 0x198], 0xf
cmova rax, qword [rbp + 0x180]
mov qword [rbp + 0x160], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
lea r12, [r13 + 6]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rsp + 0x68]
cmp r12, rbx
jbe 0x140053f36
mov rbx, r12
or rbx, 0xf
cmp rbx, r15
jbe 0x140053ef0
mov rbx, r15
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400ac240
test rax, rax
je 0x140053e40
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
mov rax, qword [rbp + 0x160]
jmp 0x140053f31
cmp rbx, 0x16
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140053f19
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400550c2
jmp 0x140053eca
test rcx, rcx
je 0x140053f2f
call fcn.1400ac240
mov rdi, rax
mov rax, qword [rbp + 0x160]
jmp 0x140053f31
xor edi, edi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], rbx
mov r8, r13
mov rdx, rax
mov rcx, rdi
call fcn.1400ad6d2
mov eax, dword [str.Debug]
mov dword [rdi + r13], eax
movzx eax, word [0x1400b7f9c]
mov word [rdi + r13 + 4], ax
mov byte [rdi + r12], 0
mov dword [rsp + 0x44], 0x1f83
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rax, qword [rsp + 0x68]
mov qword [rbp + 0x160], rax
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x168], rax
xor r8d, r8d
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x1c0]
call fcn.140048ed0
nop
mov edi, 0x3f87
mov dword [rsp + 0x44], edi
lea rcx, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 7
cmova rcx, qword [rbp + 0x1c0]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x240]
call fcn.1400ad244
mov r8d, eax
test eax, eax
jne 0x14005403c
mov edx, dword [rbp + 0x250]
test dl, 1
mov r12d, 0x1ff
mov ecx, r12d
mov eax, 0x16d
cmovne ecx, eax
mov dword [rbp + 0x164], ecx
bt edx, 0xa
jae 0x14005402e
mov eax, dword [rbp + 0x254]
cmp eax, 0xa000000c
jne 0x140054023
lea eax, [r8 + 4]
jmp 0x140054069
cmp eax, 0xa0000003
jne 0x14005402e
mov eax, esi
jmp 0x140054069
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x140054069
mov dword [rbp + 0x164], 0xffff
sub eax, 2
je 0x14005405e
sub eax, 1
je 0x14005405e
sub eax, 0x32
je 0x14005405e
cmp eax, 0x46
je 0x14005405e
xor eax, eax
jmp 0x140054063
mov eax, 1
mov r12d, 0x1ff
mov dword [rbp + 0x160], r8d
lea r13, str.__v_
mov qword [rbp + 0x168], r13
movaps xmm0, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x160], xmm0
test eax, eax
jne 0x14005409f
test r8d, r8d
jne 0x1400550c8
jmp 0x140053dc9
cmp eax, 1
je 0x140053dc9
lea rax, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0xf
cmova rax, qword [rbp + 0x1a0]
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x1b0]
mov qword [rbp + 0x168], rax
xor r8d, r8d
lea rdx, [rbp + 0x160]
lea rcx, [rbp - 0x78]
call fcn.140048ed0
nop
mov edi, 0x20003f8f
mov dword [rsp + 0x44], edi
lea rcx, [rbp - 0x78]
call fcn.140056830
test al, al
je 0x140053dc9
xor bl, bl
jmp 0x140053dcb
call fcn.1400abdcc
movdqa xmm0, xmmword [0x1400b8f40]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
test dil, 1
je 0x140054134
and edi, 0xfffffffe
lea rcx, [rsp + 0x48]
call fcn.140042030
test bl, bl
je 0x14005463a
lea rax, [rbp + 0x180]
cmp qword [rbp + 0x198], 0xf
cmova rax, qword [rbp + 0x180]
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x168], rax
xor r8d, r8d
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x48]
call fcn.140048ed0
bts edi, 0xe
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rcx, qword [rsp + 0x48]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x240]
call fcn.1400ad244
mov edx, eax
test eax, eax
jne 0x1400541f6
mov eax, dword [rbp + 0x250]
test al, 1
mov ecx, 0x16d
cmovne r12d, ecx
mov dword [rbp + 0x164], r12d
bt eax, 0xa
jae 0x1400541e8
mov ecx, dword [rbp + 0x254]
cmp ecx, 0xa000000c
jne 0x1400541e0
lea esi, [rdx + 4]
jmp 0x14005421d
cmp ecx, 0xa0000003
je 0x14005421d
movzx esi, al
and esi, 0x10
or esi, 0x20
shr esi, 4
jmp 0x14005421d
mov dword [rbp + 0x164], 0xffff
sub eax, 2
je 0x140054218
sub eax, 1
je 0x140054218
sub eax, 0x32
je 0x140054218
cmp eax, 0x46
je 0x140054218
xor esi, esi
jmp 0x14005421d
mov esi, 1
mov dword [rbp + 0x160], edx
mov qword [rbp + 0x168], r13
movaps xmm0, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x160], xmm0
test esi, esi
je 0x140054368
cmp esi, 1
sete bl
lea rcx, [rsp + 0x48]
call fcn.140042030
test bl, bl
je 0x1400542c8
lea rax, [rbp + 0x180]
cmp qword [rbp + 0x198], 0xf
cmova rax, qword [rbp + 0x180]
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x168], rax
xor r8d, r8d
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x48]
call fcn.140048ed0
bts edi, 0x1e
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rcx, qword [rsp + 0x48]
call fcn.1400ad190
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14005512d
lea rcx, [rsp + 0x48]
call fcn.140042030
mov r13, qword [rbp + 0x190]
mov rax, r15
sub rax, r13
cmp rax, 6
jb 0x140055143
lea rax, [rbp + 0x180]
cmp qword [rbp + 0x198], 0xf
cmova rax, qword [rbp + 0x180]
mov qword [rbp + 0x160], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
lea r12, [r13 + 6]
mov ebx, reloc.WS2_32.dll_ntohs
lea rsi, [rsp + 0x68]
cmp r12, rbx
jbe 0x1400543bd
mov rbx, r12
or rbx, 0xf
cmp rbx, r15
jbe 0x140054377
mov rbx, r15
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400ac240
test rax, rax
je 0x140054477
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
mov rax, qword [rbp + 0x160]
jmp 0x1400543b8
mov bl, 1
test edx, edx
jne 0x1400550e3
jmp 0x140054247
cmp rbx, 0x16
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400543a0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400550fc
jmp 0x140054342
test rcx, rcx
je 0x1400543b6
call fcn.1400ac240
mov rsi, rax
mov rax, qword [rbp + 0x160]
jmp 0x1400543b8
xor esi, esi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], rbx
mov r8, r13
mov rdx, rax
mov rcx, rsi
call fcn.1400ad6d2
mov eax, dword [str.Debug]
mov dword [rsi + r13], eax
movzx eax, word [0x1400b7f9c]
mov word [rsi + r13 + 4], ax
mov byte [rsi + r12], 0
bts edi, 0xf
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rax, qword [rsp + 0x68]
mov qword [rbp + 0x160], rax
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x168], rax
xor r8d, r8d
lea rdx, [rbp + 0x160]
lea rcx, [rbp - 0x78]
call fcn.140048ed0
bts edi, 0x10
lea rcx, [rbp - 0x78]
call fcn.140056830
movzx ebx, al
lea rcx, [rbp - 0x78]
call fcn.140042030
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140054483
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005447e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005447e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400abdcc
test bl, bl
jne 0x14005456e
mov rax, r15
mov rcx, qword [rbp + 0x190]
sub rax, rcx
cmp rax, 6
jb 0x140055149
lea r9, [rbp + 0x180]
cmp qword [rbp + 0x198], 0xf
cmova r9, qword [rbp + 0x180]
mov qword [rsp + 0x30], 6
lea rax, str.Debug
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x180]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x1c0]
call fcn.1400359c4
or edi, 0x80000000
lea rax, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 0xf
cmova rax, qword [rbp + 0x1c0]
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x1d0]
mov qword [rbp + 0x168], rax
xor r8d, r8d
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x48]
call fcn.140048ed0
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rcx, qword [rsp + 0x48]
call fcn.1400ad190
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14005514f
lea rcx, [rsp + 0x48]
call fcn.140042030
nop
lea rcx, [rbp + 0x1c0]
call fcn.140036780
lea rax, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0xf
cmova rax, qword [rbp + 0x1a0]
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x1b0]
mov qword [rbp + 0x168], rax
xor r8d, r8d
lea rdx, [rbp + 0x160]
lea rcx, [rbp - 0x78]
call fcn.140048ed0
bts edi, 0x11
lea rcx, [rbp - 0x78]
call fcn.140056830
movzx ebx, al
lea rcx, [rbp - 0x78]
call fcn.140042030
test bl, bl
jne 0x14005463a
lea rax, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0xf
cmova rax, qword [rbp + 0x1a0]
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x1b0]
mov qword [rbp + 0x168], rax
xor r8d, r8d
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x48]
call fcn.140048ed0
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rcx, qword [rsp + 0x48]
call fcn.1400ad190
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140055165
lea rcx, [rsp + 0x48]
call fcn.140042030
mov r12, qword [rbp - 0x48]
cmp qword [r12 + 0x10], 0xc8
jb 0x1400547a8
mov r8, qword [rbp + 0x1b8]
cmp r8, 0xf
jbe 0x14005466d
mov rdx, qword [rbp + 0x1a0]
lea rcx, [rbp + 0x1a0]
call fcn.1400417a8
xor r14d, r14d
mov qword [rbp + 0x1b0], r14
mov qword [rbp + 0x1b8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1a0], r14b
mov r8, qword [rbp + 0x198]
cmp r8, 0xf
jbe 0x1400546a9
mov rdx, qword [rbp + 0x180]
lea rcx, [rbp + 0x180]
call fcn.1400417a8
mov qword [rbp + 0x190], r14
mov qword [rbp + 0x198], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x180], 0
mov r8, qword [rbp + 0x278]
cmp r8, 0xf
jbe 0x1400546e3
mov rdx, qword [rbp + 0x260]
lea rcx, [rbp + 0x260]
call fcn.1400417a8
nop
mov r8, qword [rbp + 0x1f8]
cmp r8, 7
jbe 0x140054703
mov rdx, qword [rbp + 0x1e0]
lea rcx, [rbp + 0x1e0]
call fcn.1400417dc
movdqa xmm0, xmmword [0x1400b8f30]
movdqu xmmword [rbp + 0x1f0], xmm0
mov word [rbp + 0x1e0], r14w
mov r8, qword [rbp + 0x238]
cmp r8, 0xf
jbe 0x14005473b
mov rdx, qword [rbp + 0x220]
lea rcx, [rbp + 0x220]
call fcn.1400417a8
mov rdi, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x58]
mov qword [rbp + 0x230], r14
mov qword [rbp + 0x238], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x220], 0
mov rcx, rbx
call fcn.140036780
nop
mov rcx, rdi
call fcn.140036780
nop
mov rcx, r12
call fcn.140036780
mov rcx, qword [rbp + 0x620]
xor rcx, rsp
call fcn.1400ac1c0
mov rbx, qword [rsp + 0x798]
movaps xmm6, xmmword [rsp + 0x730]
add rsp, 0x740
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rbp + 0x2a0], rax
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov rsi, rax
mov r9, rax
lea r8, str._m__d__Y
mov edx, 0x50
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x2b0]
call sub.VCRUNTIME140.dll_memset
mov rcx, r15
mov rdx, qword [rbp + 0x1b0]
sub rcx, rdx
cmp rcx, 1
jb 0x14005517b
lea r9, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0xf
cmova r9, qword [rbp + 0x1a0]
mov qword [rsp + 0x30], 1
lea rax, str.0_:
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r8, [rbp + 0x1a0]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x60]
call fcn.1400359c4
bts edi, 0x12
lea rax, [rbp + 0x3c0]
nop
inc r14
cmp byte [rax + r14], 0
jne 0x140054860
mov r8, r14
lea rdx, [rbp + 0x3c0]
lea rcx, [rbp + 0x60]
call fcn.1400528a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
xor r14d, r14d
mov qword [rax + 0x10], r14
mov byte [rax], r14b
bts edi, 0x13
lea r8d, [r14 + 4]
lea rdx, str..txt
lea rcx, [rsp + 0x48]
call fcn.1400528a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
bts edi, 0x14
mov dword [rsp + 0x44], edi
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
mov dword [rsp + 0x20], 1
lea r9d, [r14 + 0x40]
lea r8d, [r14 + 8]
lea rcx, [rbp + 0x2b0]
call fcn.14004f3c0
mov rax, qword [rbp + 0x2b0]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x2b0], r13
mov rax, qword [rbp + 0x2b0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x2ac], edx
lea rcx, [rsp + 0x68]
call fcn.140036780
nop
lea rcx, [rsp + 0x48]
call fcn.140036780
nop
lea rcx, [rbp + 0x60]
call fcn.140036780
mov ebx, dword [rsi + 8]
mov edx, dword [rsi + 4]
xorps xmm0, xmm0
movups xmmword [rbp + 0x200], xmm0
mov qword [rbp + 0x218], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x210], 2
mov byte [rbp + 0x202], r14b
cmp ebx, 0xc
jge 0x1400549b9
mov eax, 0x4d41
jmp 0x1400549c1
mov eax, 0x4d50
sub ebx, 0xc
mov word [rbp + 0x200], ax
cmp edx, 0xa
jge 0x140054a28
lea rcx, [rbp + 0xc0]
call fcn.14005cd60
nop
or edi, 0x10
mov dword [rsp + 0x44], edi
mov r9d, 1
lea r8, [0x1400b7fb8]
xor edx, edx
mov rcx, rax
call fcn.140043848
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x240], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x250], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rax, [rbp + 0x240]
or edi, 0x20
jmp 0x140054a37
lea rcx, [rbp + 0xa0]
call fcn.14005cd60
or edi, 0x40
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1c0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1d0], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
test dil, 0x40
je 0x140054a71
and edi, 0xffffffbf
lea rcx, [rbp + 0xa0]
call fcn.140036780
nop
test dil, 0x20
je 0x140054a87
and edi, 0xffffffdf
lea rcx, [rbp + 0x240]
call fcn.140036780
nop
test dil, 0x10
je 0x140054a99
lea rcx, [rbp + 0xc0]
call fcn.140036780
mov edx, ebx
lea rcx, [rbp + 0xe0]
call fcn.14005cd60
nop
mov r8d, 1
lea rdx, [0x1400b7fc0]
mov rcx, rax
call fcn.1400528a0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 0xf
cmova rdx, qword [rbp + 0x1c0]
mov r8, qword [rbp + 0x1d0]
lea rcx, [rbp]
call fcn.1400528a0
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], r14
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x1400b7fbc]
lea rcx, [rbp + 0x20]
call fcn.1400528a0
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp + 0x200]
cmp qword [rbp + 0x218], 0xf
cmova rdx, qword [rbp + 0x200]
mov r8, qword [rbp + 0x210]
lea rcx, [rbp + 0x40]
call fcn.1400528a0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x160], xmm0
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp + 0x170], xmm6
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp + 0x40]
call fcn.140036780
nop
lea rcx, [rbp + 0x20]
call fcn.140036780
nop
lea rcx, [rbp]
call fcn.140036780
nop
lea rcx, [rbp + 0xe0]
call fcn.140036780
movq rcx, xmm6
sub r15, rcx
cmp r15, 4
jb 0x1400550b0
lea rax, [rbp + 0x160]
cmp qword [rbp + 0x178], 0xf
cmova rax, qword [rbp + 0x160]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 4
lea r9, str._n_n_
lea r8, [rbp + 0x160]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x80]
call fcn.1400359c4
nop
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str._nData_sent_:
lea rcx, [rbp + 0x80]
call fcn.1400528a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], r14
mov byte [rax], 0
mov rbx, qword [rbp - 0x58]
mov r8, rbx
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x120]
call fcn.140048a60
nop
mov r8d, ntohs
lea rdx, str._nResponse_:
mov rcx, rax
call fcn.1400528a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], r14
mov byte [rax], 0
mov r8, r12
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x100]
call fcn.140048a60
nop
mov r8d, 9
lea rdx, str.Sent_to:
mov rcx, rax
call fcn.1400528a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdi, qword [rbp - 0x50]
mov r8, rdi
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x280]
call fcn.140048a60
nop
lea rcx, [rbp - 0x20]
call fcn.140036780
nop
lea rcx, [rbp + 0x100]
call fcn.140036780
nop
lea rcx, [rbp - 0x40]
call fcn.140036780
nop
lea rcx, [rbp + 0x120]
call fcn.140036780
nop
lea rcx, [rbp - 0x78]
call fcn.140036780
nop
lea rcx, [rbp + 0x80]
call fcn.140036780
lea rdx, [rbp + 0x280]
cmp qword [rbp + 0x298], 0xf
cmova rdx, qword [rbp + 0x280]
mov r8, qword [rbp + 0x290]
lea rcx, [rbp + 0x2b0]
call fcn.1400320f8
lea rcx, [rbp + 0x2b8]
call fcn.1400530a0
test rax, rax
jne 0x140054e02
mov rax, qword [rbp + 0x2b0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x2b0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rdx, qword [rbp + 0x298]
cmp rdx, 0xf
jbe 0x140054e46
inc rdx
mov rcx, qword [rbp + 0x280]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054e41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054e41
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400abdcc
mov qword [rbp + 0x290], r14
mov qword [rbp + 0x298], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x280], 0
mov rdx, qword [rbp + 0x178]
cmp rdx, 0xf
jbe 0x140054ea4
inc rdx
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054e9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054e9e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400abdcc
nop
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0xf
jbe 0x140054ee9
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054ee3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054ee3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400abdcc
nop
mov rdx, qword [rbp + 0x218]
cmp rdx, 0xf
jbe 0x140054f2d
inc rdx
mov rcx, qword [rbp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054f28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054f28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400abdcc
mov qword [rbp + 0x210], r14
mov qword [rbp + 0x218], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x200], 0
mov rax, qword [rbp + 0x2b0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x2b0], r13
mov rax, qword [rbp + 0x2b0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x2ac], edx
lea rcx, [rbp + 0x2b8]
call fcn.140050260
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x358]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0xf
jbe 0x140054fdc
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054fd7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054fd7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400abdcc
mov qword [rbp + 0x1b0], r14
mov qword [rbp + 0x1b8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1a0], 0
mov r8, qword [rbp + 0x198]
cmp r8, 0xf
jbe 0x140055015
mov rdx, qword [rbp + 0x180]
lea rcx, [rbp + 0x180]
call fcn.1400417a8
mov qword [rbp + 0x190], r14
mov qword [rbp + 0x198], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x180], 0
mov r8, qword [rbp + 0x278]
cmp r8, 0xf
jbe 0x14005504f
mov rdx, qword [rbp + 0x260]
lea rcx, [rbp + 0x260]
call fcn.1400417a8
nop
mov r8, qword [rbp + 0x1f8]
cmp r8, 7
jbe 0x14005506f
mov rdx, qword [rbp + 0x1e0]
lea rcx, [rbp + 0x1e0]
call fcn.1400417dc
movdqa xmm0, xmmword [0x1400b8f30]
movdqu xmmword [rbp + 0x1f0], xmm0
mov word [rbp + 0x1e0], r14w
mov r8, qword [rbp + 0x238]
cmp r8, 0xf
jbe 0x140054743
mov rdx, qword [rbp + 0x220]
lea rcx, [rbp + 0x220]
call fcn.1400417a8
jmp 0x140054743
call fcn.1400420dc
nop
call fcn.14002f7f4
nop
call fcn.14002f7f4
nop
call fcn.14002f7f4
nop
lea r8, [rbp + 0x1c0]
lea rdx, [rbp + 0x160]
lea rcx, str.exists
call fcn.140052630
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x160]
lea rcx, str.exists
call fcn.140052630
nop
call fcn.14002f7f4
nop
call fcn.1400420dc
nop
call fcn.1400420dc
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x160]
lea rcx, str.exists
call fcn.140052630
int3
call fcn.1400420dc
nop
shr rdx, 0x20
lea r8, [rsp + 0x48]
lea rcx, str.create_directory
call fcn.140052690
nop
call fcn.1400420dc
int3
call fcn.1400420dc
nop
shr rdx, 0x20
lea r8, [rsp + 0x48]
lea rcx, str.create_directory
call fcn.140052690
nop
shr rdx, 0x20
lea r8, [rsp + 0x48]
lea rcx, str.create_directory
call fcn.140052690
nop
call fcn.1400420dc
int3