Function at 0x140038420
Capabilities:
Check http status code
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2930]
mov eax, 0x2a30
call fcn.1400bfe00
sub rsp, rax
mov qword [rbp + 0xf0], 0xfffffffffffffffe
mov qword [rsp + 0x2a68], rbx
mov qword [rsp + 0x2a70], rsi
mov qword [rsp + 0x2a78], rdi
mov rax, qword [0x140104508]
xor rax, rsp
mov qword [rbp + 0x2920], rax
mov r13, rcx
xor esi, esi
mov dword [rsp + 0x68], esi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x108], xmm0
mov qword [rbp + 0x118], rsi
mov r12d, esi
mov edi, esi
mov r14d, esi
mov dword [rbp - 0x78], esi
lea r8, [rcx + 0x50]
lea rdx, [0x1400d2bb0]
lea rcx, [rbp + 0x80]
call fcn.140021ab0
nop
lea rax, [0x1400d2c10]
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rsi
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x1920]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x80], esi
mov rax, qword [0x140104018]
mov qword [rsp + 0x70], rax
mov qword [rbp + 0x90], rsi
mov qword [rbp - 0x38], rax
lea r15, [0x1400d2c20]
mov rax, r15
shr rax, 0x10
test ax, ax
jne 0x140038516
movzx edx, r15w
lea rcx, [rbp - 0x38]
call fcn.140001ff0
jmp 0x140038550
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
test eax, eax
je 0x140038550
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.140001970
test eax, eax
je 0x140038550
mov r9, rbx
add r9, r9
lea eax, [rbx + 1]
movsxd rdx, eax
add rdx, rdx
mov r8, r15
mov rcx, qword [rbp - 0x38]
call fcn.1400029b0
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp - 0x38]
mov rcx, qword [r13 + 0x28]
call fcn.140002330
lea rdx, [rbp + 0x90]
mov rcx, r13
call fcn.140037cf0
mov r15d, 0xffffffff
test eax, eax
mov rax, qword [0x140104018]
jne 0x1400385fb
mov qword [rbp - 0x30], rax
lea rcx, [0x1400d2c70]
mov rax, rcx
shr rax, 0x10
test ax, ax
jne 0x1400385a8
movzx edx, cx
lea rcx, [rbp - 0x30]
call fcn.140001ff0
jmp 0x1400385e3
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
test eax, eax
je 0x1400385e3
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.140001970
test eax, eax
je 0x1400385e3
mov r9, rbx
add r9, r9
lea eax, [rbx + 1]
movsxd rdx, eax
add rdx, rdx
lea r8, [0x1400d2c70]
mov rcx, qword [rbp - 0x30]
call fcn.1400029b0
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, qword [r13 + 0x28]
call fcn.140002330
jmp 0x1400395f9
mov qword [rbp - 0x28], rax
lea r12, [0x1400d2cc0]
mov rax, r12
shr rax, 0x10
test ax, ax
jne 0x140038621
movzx edx, r12w
lea rcx, [rbp - 0x28]
call fcn.140001ff0
jmp 0x14003865b
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
test eax, eax
je 0x14003865b
mov edx, ebx
lea rcx, [rbp - 0x28]
call fcn.140001970
test eax, eax
je 0x14003865b
mov r9, rbx
add r9, r9
lea eax, [rbx + 1]
movsxd rdx, eax
add rdx, rdx
mov r8, r12
mov rcx, qword [rbp - 0x28]
call fcn.1400029b0
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp - 0x28]
mov rcx, qword [r13 + 0x28]
call fcn.140002330
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400d2d00]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r12, rax
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x14003871c
mov rax, qword [0x140104018]
mov qword [rbp - 0x20], rax
lea r12, [0x1400d2d18]
mov rax, r12
shr rax, 0x10
test ax, ax
jne 0x1400386c5
movzx edx, r12w
lea rcx, [rbp - 0x20]
call fcn.140001ff0
jmp 0x1400386ff
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
test eax, eax
je 0x1400386ff
mov edx, ebx
lea rcx, [rbp - 0x20]
call fcn.140001970
test eax, eax
je 0x1400386ff
mov r9, rbx
add r9, r9
lea eax, [rbx + 1]
movsxd rdx, eax
add rdx, rdx
mov r8, r12
mov rcx, qword [rbp - 0x20]
call fcn.1400029b0
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp - 0x20]
mov rcx, qword [r13 + 0x28]
call fcn.140002330
mov r12, qword [rsp + 0x60]
jmp 0x1400395f9
mov dword [rsp + 0x40], 0x400
lea rax, [rbp + 0x1120]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x200
lea rax, [rbp + 0x120]
mov qword [rsp + 0x20], rax
mov r9d, 0x200
lea r8, [rbp + 0x520]
mov rdx, qword [r13]
mov rcx, r13
call fcn.140039780
mov rax, qword [0x140104018]
mov qword [rbp - 0x18], rax
lea rdi, [0x1400d2d58]
mov rax, rdi
shr rax, 0x10
test ax, ax
jne 0x140038792
movzx edx, di
lea rcx, [rbp - 0x18]
call fcn.140001ff0
jmp 0x1400387cc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
test eax, eax
je 0x1400387cc
mov edx, ebx
lea rcx, [rbp - 0x18]
call fcn.140001970
test eax, eax
je 0x1400387cc
mov r9, rbx
add r9, r9
lea eax, [rbx + 1]
movsxd rdx, eax
add rdx, rdx
mov r8, rdi
mov rcx, qword [rbp - 0x18]
call fcn.1400029b0
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp - 0x18]
mov rcx, qword [r13 + 0x28]
call fcn.140002330
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov edi, dword [rbp - 0x78]
movzx r8d, di
lea rdx, [rbp + 0x120]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetConnectW]
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x1400388a3
mov rax, qword [0x140104018]
mov qword [rbp - 0x10], rax
lea rdi, [0x1400d2d88]
mov rax, rdi
shr rax, 0x10
test ax, ax
jne 0x14003884c
movzx edx, di
lea rcx, [rbp - 0x10]
call fcn.140001ff0
jmp 0x140038886
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
test eax, eax
je 0x140038886
mov edx, ebx
lea rcx, [rbp - 0x10]
call fcn.140001970
test eax, eax
je 0x140038886
mov r9, rbx
add r9, r9
lea eax, [rbx + 1]
movsxd rdx, eax
add rdx, rdx
mov r8, rdi
mov rcx, qword [rbp - 0x10]
call fcn.1400029b0
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp - 0x10]
mov rcx, qword [r13 + 0x28]
call fcn.140002330
mov rdi, qword [rsp + 0x50]
jmp 0x1400395f9
mov dword [rbp + 0x70], esi
mov r9d, 4
lea r8, [rbp + 0x70]
lea edx, [r9 + 2]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov rcx, qword [r13 + 0x28]
call fcn.140001fb0
test al, al
jne 0x1400395f6
mov rax, qword [0x140104018]
mov qword [rbp - 8], rax
lea r12, [0x1400d2dc0]
mov rax, r12
shr rax, 0x10
test ax, ax
jne 0x1400388fb
movzx edx, r12w
lea rcx, [rbp - 8]
call fcn.140001ff0
jmp 0x14003893a
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
test eax, eax
je 0x140038935
mov edx, ebx
lea rcx, [rbp - 8]
call fcn.140001970
test eax, eax
je 0x140038935
mov r9, rbx
add r9, r9
lea eax, [rbx + 1]
movsxd rdx, eax
add rdx, rdx
mov r8, r12
mov rcx, qword [rbp - 8]
call fcn.1400029b0
mov rbx, qword [rsp + 0x50]
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp - 8]
mov rcx, qword [r13 + 0x28]
call fcn.140002330
mov ecx, 0x4200000
mov eax, 0x4a00000
cmp edi, 0x1bb
cmove ecx, eax
mov dword [rbp - 0x70], ecx
mov r12d, esi
mov dword [rbp - 0x40], esi
mov eax, esi
lea rdi, [0x1400d2ea8]
test eax, eax
je 0x14003897f
test r12d, r12d
je 0x14003938e
inc eax
mov dword [rbp - 0x74], eax
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], ecx
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rbp + 0x1120]
lea rdx, [0x1400d2df0]
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r14, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140039583
mov dword [rsp + 0x6c], esi
mov dword [rbp + 0x74], 4
lea r9, [rbp + 0x74]
lea r8, [rsp + 0x6c]
mov edx, 0x1f
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [rsp + 0x6c], 0x3280
mov r9d, 4
lea r8, [rsp + 0x6c]
lea edx, [r9 + 0x1b]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [rbp + 0xa8], reloc.WS2_32.dll_getservbyport
mov qword [rbp + 0xb0], rsi
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0xb8], rax
mov ecx, dword [rax - 8]
mov dword [rbp + 0xc0], ecx
mov dword [rbp + 0xc4], esi
mov qword [rbp + 0xc8], rsi
mov dword [rbp + 0xd0], esi
mov rax, qword [rbp + 0x90]
mov dword [rbp + 0xd4], eax
mov qword [rbp + 0xd8], 0
mov dword [r13 + 0x58], eax
mov dword [r13 + 0x5c], esi
mov rax, qword [0x140104018]
mov qword [rbp - 0x68], rax
lea r12, [0x1400d2e38]
mov rax, r12
shr rax, 0x10
test ax, ax
jne 0x140038a92
movzx edx, r12w
lea rcx, [rbp - 0x68]
call fcn.140001ff0
jmp 0x140038acc
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
test eax, eax
je 0x140038acc
mov edx, ebx
lea rcx, [rbp - 0x68]
call fcn.140001970
test eax, eax
je 0x140038acc
mov r9, rbx
add r9, r9
lea eax, [rbx + 1]
movsxd rdx, eax
add rdx, rdx
mov r8, r12
mov rcx, qword [rbp - 0x68]
call fcn.1400029b0
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp - 0x68]
mov rcx, qword [r13 + 0x28]
call fcn.140002330
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xa8]
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x1400394fe
mov rax, qword [r13 + 8]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140038bb3
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbx + 0x20]
lea rcx, [rbp + 0xa0]
call fcn.140005880
mov r8, rax
mov rdx, r14
mov rcx, r13
call fcn.14003a5b0
test eax, eax
je 0x140039577
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140038b78
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140038b73
nop word [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x140038b73
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140038b60
mov rbx, rax
jmp 0x140038b9f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x140038b9f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140038b90
mov rax, qword [r13 + 8]
mov qword [rbp + 0xf8], rax
cmp rbx, rax
jne 0x140038b20
mov rax, qword [r13 + 0x18]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140038c4f
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x78]
call fcn.140005880
mov r8, rax
mov rdx, r14
mov rcx, r13
call fcn.140039bf0
test eax, eax
je 0x140039577
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140038c20
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140038c1b
cmp rbx, qword [rax + 0x10]
jne 0x140038c1b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140038c08
mov rbx, rax
jmp 0x140038c3f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x140038c3f
nop dword [rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140038c30
mov rax, qword [r13 + 0x18]
mov qword [rbp + 0x100], rax
cmp rbx, rax
jne 0x140038bd0
mov rdx, r14
mov rcx, r13
call fcn.14003ae70
test eax, eax
je 0x140039577
mov rax, qword [0x140104018]
mov qword [rbp], rax
mov rax, rdi
shr rax, 0x10
test ax, ax
jne 0x140038c87
movzx edx, di
lea rcx, [rbp]
call fcn.140001ff0
jmp 0x140038cc1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
test eax, eax
je 0x140038cc1
mov edx, ebx
lea rcx, [rbp]
call fcn.140001970
test eax, eax
je 0x140038cc1
mov r9, rbx
add r9, r9
lea eax, [rbx + 1]
movsxd rdx, eax
add rdx, rdx
mov r8, rdi
mov rcx, qword [rbp]
call fcn.1400029b0
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp]
mov rcx, qword [r13 + 0x28]
call fcn.140002330
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
mov rax, qword [0x140104018]
je 0x140039492
mov qword [rbp + 8], rax
lea rdi, [0x1400d2f10]
mov rax, rdi
shr rax, 0x10
test ax, ax
jne 0x140038d19
movzx edx, di
lea rcx, [rbp + 8]
call fcn.140001ff0
jmp 0x140038d53
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
test eax, eax
je 0x140038d53
mov edx, ebx
lea rcx, [rbp + 8]
call fcn.140001970
test eax, eax
je 0x140038d53
mov r9, rbx
add r9, r9
lea eax, [rbx + 1]
movsxd rdx, eax
add rdx, rdx
mov r8, rdi
mov rcx, qword [rbp + 8]
call fcn.1400029b0
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp + 8]
mov rcx, qword [r13 + 0x28]
call fcn.140002330
mov dword [rbp - 0x7c], esi
mov dword [rbp + 0x78], 4
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x78]
lea r8, [rbp - 0x7c]
mov edx, 0x20000013
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
mov r12d, eax
test eax, eax
je 0x140038df1
mov r8d, dword [rbp - 0x7c]
lea rdx, [0x1400d2f48]
lea rcx, [rsp + 0x70]
call fcn.1400086c0
mov rbx, qword [rsp + 0x70]
cmp dword [rbx - 0xc], 0
jl 0x140038dbc
mov qword [rbp + 0x50], rbx
lock inc dword [rbx - 0xc]
jmp 0x140038dde
mov rax, qword [0x140104018]
mov qword [rbp + 0x50], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp + 0x50]
call fcn.140001a10
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp + 0x50]
mov rcx, qword [r13 + 0x28]
call fcn.140002330
lea r9, [rbp - 0x80]
mov r8d, 0xfff
lea rdx, [rbp + 0x1920]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
mov ebx, dword [rbp - 0x80]
cmp rbx, 0x1000
jae 0x14003973f
mov byte [rbp + rbx + 0x1920], 0
mov rax, qword [0x140104018]
mov qword [rbp + 0x10], rax
test ebx, ebx
je 0x140038e77
mov edx, ebx
lea rcx, [rbp + 0x10]
call fcn.140001970
test eax, eax
je 0x140038e77
lea eax, [rbx + 1]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, [rbp + 0x1920]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, r15d
test eax, eax
cmovns edx, eax
lea rcx, [rbp + 0x10]
call fcn.140039aa0
nop
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x70]
call fcn.1400063d0
nop
mov rcx, qword [rbp + 0x10]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140104010]
je 0x140038ea9
mov eax, r15d
lock xadd dword [rcx], eax
sub eax, 1
jg 0x140038ea9
call fcn.1400bf5e4
nop
mov rbx, qword [0x140104018]
mov qword [rbp + 0x58], rbx
or dword [rsp + 0x68], 2
mov rdi, qword [rsp + 0x70]
lea rcx, [0x1400d2f80]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r14, eax
movsxd r15, dword [rdi - 8]
lea esi, [r14 + r15]
cmp esi, r14d
jl 0x140038f45
cmp esi, r15d
jl 0x140038f45
test esi, esi
je 0x140038f45
mov edx, esi
lea rcx, [rbp + 0x58]
call fcn.140001970
mov rbx, qword [rbp + 0x58]
test eax, eax
je 0x140038f45
lea eax, [rsi + 1]
movsxd r8, eax
add r8, r8
add r14, r14
je 0x140038f29
test rbx, rbx
je 0x14003975a
mov rcx, rbx
cmp r8, r14
jb 0x140039745
mov r8, r14
lea rdx, [0x1400d2f80]
call sub.VCRUNTIME140.dll_memcpy
mov r9, r15
add r9, r9
lea eax, [r15 + 1]
movsxd rdx, eax
add rdx, rdx
lea rcx, [r14 + rbx]
mov r8, rdi
call fcn.1400029b0
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.1400063d0
and dword [rsp + 0x68], 0xfffffffd
lea rcx, [rbx - 0xc]
mov r15d, 0xffffffff
cmp rcx, qword [0x140104010]
je 0x140038f7c
mov eax, r15d
lock xadd dword [rcx], eax
sub eax, 1
jg 0x140038f7c
call fcn.1400bf5e4
mov rbx, qword [rsp + 0x70]
cmp dword [rbx - 0xc], 0
jl 0x140038f91
mov qword [rbp + 0x60], rbx
lock inc dword [rbx - 0xc]
jmp 0x140038fb7
mov rax, qword [0x140104018]
mov qword [rbp + 0x60], rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, qword [rsp + 0x70]
mov edx, eax
lea rcx, [rbp + 0x60]
call fcn.140001a10
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp + 0x60]
mov rcx, qword [r13 + 0x28]
call fcn.140002330
cmp dword [rbp - 0x80], 0
jbe 0x140038fe1
movzx eax, byte [rbp + 0x1920]
sub al, 0x30
cmp al, 9
jbe 0x140039165
test r12d, r12d
je 0x14003941c
mov eax, dword [rbp - 0x7c]
cmp eax, 0x12e
jne 0x14003937f
cmp dword [rbp - 0x40], 0
jne 0x140039309
mov r12d, 1
mov dword [rbp - 0x40], r12d
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x920]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x88], 0x1000
xor esi, esi
mov dword [rbp + 0x8c], esi
lea rax, [rbp + 0x8c]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x88]
lea r8, [rbp + 0x920]
lea edx, [rsi + 0x21]
mov r14, qword [rbp - 0x60]
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x140039285
mov dword [rsp + 0x40], 0x400
lea rax, [rbp + 0x1120]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x200
lea rax, [rbp + 0x120]
mov qword [rsp + 0x20], rax
mov r9d, 0x200
lea r8, [rbp + 0x520]
lea rdx, [rbp + 0x920]
mov rcx, r13
call fcn.140039780
mov rax, qword [0x140104018]
mov qword [rbp + 0x98], rax
lea r8, [rbp + 0x920]
lea rdx, [0x1400d3150]
lea rcx, [rbp + 0x98]
call fcn.1400086c0
mov rbx, qword [rbp + 0x98]
lea rdi, [rbx - 0xc]
cmp dword [rdi], esi
jl 0x1400390f1
mov qword [rbp + 0x68], rbx
lock inc dword [rdi]
jmp 0x140039113
mov rax, qword [0x140104018]
mov qword [rbp + 0x68], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp + 0x68]
call fcn.140001a10
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp + 0x68]
mov rcx, qword [r13 + 0x28]
call fcn.140002330
nop
cmp rdi, qword [0x140104010]
mov eax, dword [rbp - 0x74]
mov rbx, qword [rsp + 0x50]
mov ecx, dword [rbp - 0x70]
je 0x14003896b
mov eax, r15d
lock xadd dword [rdi], eax
sub eax, 1
mov eax, dword [rbp - 0x74]
jg 0x14003896b
mov rcx, rdi
call fcn.1400bf5e4
mov eax, dword [rbp - 0x74]
mov ecx, dword [rbp - 0x70]
jmp 0x14003896b
mov rax, qword [0x140104018]
mov qword [rbp + 0x18], rax
lea rdi, [0x1400d2fb0]
mov rax, rdi
shr rax, 0x10
test ax, ax
jne 0x140039191
movzx edx, di
lea rcx, [rbp + 0x18]
call fcn.140001ff0
jmp 0x1400391cb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
test eax, eax
je 0x1400391cb
mov edx, ebx
lea rcx, [rbp + 0x18]
call fcn.140001970
test eax, eax
je 0x1400391cb
mov r9, rbx
add r9, r9
lea eax, [rbx + 1]
movsxd rdx, eax
add rdx, rdx
mov r8, rdi
mov rcx, qword [rbp + 0x18]
call fcn.1400029b0
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp + 0x18]
mov rcx, qword [r13 + 0x28]
call fcn.140002330
lea rcx, [rbp + 0x1920]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
cmp eax, 0xc8
je 0x14003938a
mov rax, qword [0x140104018]
mov qword [rbp + 0x20], rax
lea rdi, [0x1400d3060]
mov rax, rdi
shr rax, 0x10
test ax, ax
jne 0x140039222
movzx edx, di
lea rcx, [rbp + 0x20]
call fcn.140001ff0
jmp 0x14003925c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
test eax, eax
je 0x14003925c
mov edx, ebx
lea rcx, [rbp + 0x20]
call fcn.140001970
test eax, eax
je 0x14003925c
mov r9, rbx
add r9, r9
lea eax, [rbx + 1]
movsxd rdx, eax
add rdx, rdx
mov r8, rdi
mov rcx, qword [rbp + 0x20]
call fcn.1400029b0
lea rdx, [rbp + 0x20]
xor r9d, r9d
lea r8d, [r9 + 0x64]
mov rcx, qword [r13 + 0x28]
call fcn.140002330
xor esi, esi
mov r14, qword [rbp - 0x60]
mov rdi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
jmp 0x1400395f9
mov rax, qword [0x140104018]
mov qword [rbp + 0x28], rax
lea rdi, [0x1400d3128]
mov rax, rdi
shr rax, 0x10
test ax, ax
jne 0x1400392bf
movzx edx, di
lea rcx, [rbp + 0x28]
call fcn.140001ff0
xor r9d, r9d
lea r8d, [r9 + 0x64]
lea rdx, [rbp + 0x28]
jmp 0x14003956e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
test eax, eax
je 0x1400392f9
mov edx, ebx
lea rcx, [rbp + 0x28]
call fcn.140001970
test eax, eax
je 0x1400392f9
mov r9, rbx
add r9, r9
lea eax, [rbx + 1]
movsxd rdx, eax
add rdx, rdx
mov r8, rdi
mov rcx, qword [rbp + 0x28]
call fcn.1400029b0
xor r9d, r9d
lea r8d, [r9 + 0x64]
lea rdx, [rbp + 0x28]
jmp 0x14003956e
mov rax, qword [0x140104018]
mov qword [rbp + 0x30], rax
lea rdi, [0x1400d30e0]
mov rax, rdi
shr rax, 0x10
test ax, ax
jne 0x14003933c
movzx edx, di
lea rcx, [rbp + 0x30]
call fcn.140001ff0
lea rdx, [rbp + 0x30]
jmp 0x140039260
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
test eax, eax
je 0x140039376
mov edx, ebx
lea rcx, [rbp + 0x30]
call fcn.140001970
test eax, eax
je 0x140039376
mov r9, rbx
add r9, r9
lea eax, [rbx + 1]
movsxd rdx, eax
add rdx, rdx
mov r8, rdi
mov rcx, qword [rbp + 0x30]
call fcn.1400029b0
lea rdx, [rbp + 0x30]
jmp 0x140039260
cmp eax, 0xc8
jne 0x14003941c
mov r14, qword [rbp - 0x60]
mov rax, qword [0x140104018]
mov qword [rbp + 0x38], rax
lea rdi, [0x1400d31e8]
mov rax, rdi
shr rax, 0x10
test ax, ax
jne 0x1400393ba
movzx edx, di
lea rcx, [rbp + 0x38]
call fcn.140001ff0
jmp 0x1400393f4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
test eax, eax
je 0x1400393f4
mov edx, ebx
lea rcx, [rbp + 0x38]
call fcn.140001970
test eax, eax
je 0x1400393f4
mov r9, rbx
add r9, r9
lea eax, [rbx + 1]
movsxd rdx, eax
add rdx, rdx
mov r8, rdi
mov rcx, qword [rbp + 0x38]
call fcn.1400029b0
xor r9d, r9d
lea r8d, [r9 + 0x64]
lea rdx, [rbp + 0x38]
mov rcx, qword [r13 + 0x28]
call fcn.140002330
mov esi, 1
mov rdi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
jmp 0x140039674
mov rax, qword [0x140104018]
mov qword [rbp + 0x40], rax
lea rdi, [0x1400d3180]
mov rax, rdi
shr rax, 0x10
test ax, ax
jne 0x14003944f
movzx edx, di
lea rcx, [rbp + 0x40]
call fcn.140001ff0
lea rdx, [rbp + 0x40]
jmp 0x140039260
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
test eax, eax
je 0x140039489
mov edx, ebx
lea rcx, [rbp + 0x40]
call fcn.140001970
test eax, eax
je 0x140039489
mov r9, rbx
add r9, r9
lea eax, [rbx + 1]
movsxd rdx, eax
add rdx, rdx
mov r8, rdi
mov rcx, qword [rbp + 0x40]
call fcn.1400029b0
lea rdx, [rbp + 0x40]
jmp 0x140039260
mov qword [rbp + 0x48], rax
lea rdi, [0x1400d2ed8]
mov rax, rdi
shr rax, 0x10
test ax, ax
jne 0x1400394be
movzx edx, di
lea rcx, [rbp + 0x48]
call fcn.140001ff0
lea rdx, [rbp + 0x48]
jmp 0x140039568
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
test eax, eax
je 0x1400394f8
mov edx, ebx
lea rcx, [rbp + 0x48]
call fcn.140001970
test eax, eax
je 0x1400394f8
mov r9, rbx
add r9, r9
lea eax, [rbx + 1]
movsxd rdx, eax
add rdx, rdx
mov r8, rdi
mov rcx, qword [rbp + 0x48]
call fcn.1400029b0
lea rdx, [rbp + 0x48]
jmp 0x140039568
mov rax, qword [0x140104018]
mov qword [rbp - 0x58], rax
lea rdi, [0x1400d2e68]
mov rax, rdi
shr rax, 0x10
test ax, ax
jne 0x14003952a
movzx edx, di
lea rcx, [rbp - 0x58]
call fcn.140001ff0
jmp 0x140039564
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
test eax, eax
je 0x140039564
mov edx, ebx
lea rcx, [rbp - 0x58]
call fcn.140001970
test eax, eax
je 0x140039564
mov r9, rbx
add r9, r9
lea eax, [rbx + 1]
movsxd rdx, eax
add rdx, rdx
mov r8, rdi
mov rcx, qword [rbp - 0x58]
call fcn.1400029b0
lea rdx, [rbp - 0x58]
mov r9b, 1
xor r8d, r8d
mov rcx, qword [r13 + 0x28]
call fcn.140002330
mov rdi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
jmp 0x1400395f9
mov rax, qword [0x140104018]
mov qword [rbp - 0x50], rax
lea rdi, [0x1400d2e00]
mov rax, rdi
shr rax, 0x10
test ax, ax
jne 0x1400395b3
movzx edx, di
lea rcx, [rbp - 0x50]
call fcn.140001ff0
lea rdx, [rbp - 0x50]
jmp 0x140039568
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
test eax, eax
je 0x1400395ed
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.140001970
test eax, eax
je 0x1400395ed
mov r9, rbx
add r9, r9
lea eax, [rbx + 1]
movsxd rdx, eax
add rdx, rdx
mov r8, rdi
mov rcx, qword [rbp - 0x50]
call fcn.1400029b0
lea rdx, [rbp - 0x50]
jmp 0x140039568
mov rdi, rbx
mov rax, qword [0x140104018]
mov qword [rbp - 0x48], rax
lea rcx, [0x1400d3228]
mov rax, rcx
shr rax, 0x10
test ax, ax
jne 0x140039625
movzx edx, cx
lea rcx, [rbp - 0x48]
call fcn.140001ff0
jmp 0x140039660
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
test eax, eax
je 0x140039660
mov edx, ebx
lea rcx, [rbp - 0x48]
call fcn.140001970
test eax, eax
je 0x140039660
mov r9, rbx
add r9, r9
lea eax, [rbx + 1]
movsxd rdx, eax
add rdx, rdx
lea r8, [0x1400d3228]
mov rcx, qword [rbp - 0x48]
call fcn.1400029b0
xor r9d, r9d
lea r8d, [r9 + 0x64]
lea rdx, [rbp - 0x48]
mov rcx, qword [r13 + 0x28]
call fcn.140002330
test r14, r14
je 0x140039682
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test rdi, rdi
je 0x140039690
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test r12, r12
je 0x14003969e
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, esi
xor edx, 1
mov rcx, qword [r13 + 0x28]
call fcn.1400022a0
nop
mov rcx, qword [rsp + 0x70]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140104010]
je 0x1400396d1
mov eax, r15d
lock xadd dword [rcx], eax
sub eax, 1
jg 0x1400396d1
call fcn.1400bf5e4
nop
mov rax, qword [rbp + 0x80]
add rax, 0xfffffffffffffff4
cmp rax, qword [0x140104010]
je 0x140039701
lock xadd dword [rax], r15d
sub r15d, 1
jg 0x140039701
mov rcx, qword [rbp + 0x80]
add rcx, 0xfffffffffffffff4
call fcn.1400bf5e4
nop
lea rcx, [rbp + 0x108]
call fcn.1400018c0
mov eax, esi
mov rcx, qword [rbp + 0x2920]
xor rcx, rsp
call fcn.1400bf680
lea r11, [rsp + 0x2a30]
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.1400bfc54
nop
xor edx, edx
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x22
jmp 0x140039766
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], socket
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov ecx, 0x80070057
call fcn.140001ac0
int3