Function at 0x180011778
Capabilities:
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x560
lea rax, [0x180052024]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], 0
lea rax, [rsp + 0x160]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
lea rax, [rsp + 0xe0]
mov rdi, rax
xor eax, eax
mov ecx, 0x80
rep stosb byte [rdi], al
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
cmp dword [0x180054290], 0
jne 0x1800117ea
jmp 0x180011a76
mov edx, dword [0x180054290]
lea rcx, [rsp + 0x90]
call fcn.18001caac
mov r9, qword [rsp + 0x570]
lea r8, [0x180052028]
mov edx, 0x400
mov rcx, qword [rsp + 0xa0]
call fcn.18000f304
mov r9d, dword [0x18005da80]
lea r8, [0x18005202c]
mov edx, 0x80
lea rcx, [rsp + 0xe0]
call fcn.18000f304
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x50], 0xffffffffffffffff
inc qword [rsp + 0x50]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
cmp byte [rax + rcx], 0
jne 0x180011854
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov ecx, reloc.WS2_32.dll_listen
call fcn.180021328
mov ecx, dword [0x180054290]
mov dword [rsp + 0x28], ecx
mov rcx, qword [0x1800542a8]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x70]
mov r9d, ecx
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x90]
mov rcx, rax
call fcn.18001be48
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
cmp byte [rax + rcx], 0
jne 0x1800118c9
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x18001190b
mov r9, qword [rsp + 0xa0]
lea r8, [0x180052030]
mov edx, 0x400
lea rcx, [rsp + 0x160]
call fcn.18000f304
jmp 0x180011939
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xa0]
lea r8, [0x180052034]
mov edx, 0x400
lea rcx, [rsp + 0x160]
call fcn.18000f304
call fcn.180022c34
mov dword [rsp + 0x40], 0
jmp 0x180011952
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 4
jae 0x180011a54
mov ecx, 0x1b
call fcn.180021328
lea rcx, [0x1800542b0]
mov qword [rsp + 0x38], rcx
mov ecx, dword [0x180054294]
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x160]
mov rdx, rax
mov rcx, qword [0x1800542a0]
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1800113cc
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
cmp byte [rax + rcx], 0
jne 0x1800119d6
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0xb0]
mov dword [rsp + 0x20], ecx
mov r9, qword [rsp + 0xa8]
mov r8d, eax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov rcx, qword [rsp + 0x48]
call fcn.180011ba8
test eax, eax
je 0x180011a39
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x180011a54
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180011948
mov edx, dword [0x180054290]
lea rcx, [rsp + 0x90]
call fcn.18001ca8c
mov dword [0x180054290], 0
call fcn.180022c6c
add rsp, 0x560
pop rdi
ret