Function at 0x4186a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x426418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebp
push esi
push eax
lea ecx, [esp + 0xc]
call fcn.0040da00
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0
call fcn.00418600
lea ecx, [esp + 8]
call fcn.00417f20
push 0x427740
call fcn.0041b05a
mov ecx, dword [esp + 0x2c]
add esp, 4
push eax
push 0x427740
call fcn.00409a30
push 0x427740
call fcn.0041b05a
mov ebp, dword [esp + 0x30]
add esp, 4
push eax
push 0x427740
mov ecx, ebp
call fcn.00409a30
mov ecx, dword [esp + 0x30]
mov word [ecx], 0
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 0xc]
test eax, eax
jl 0x418751
push 0x4299b0
push ecx
call fcn.0041af2e
mov ecx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x418751
sub eax, ecx
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
jne 0x418786
lea eax, [ecx - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418773
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push ebx
push edi
push 0x4299b0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, esi
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.00408c30
mov ebx, 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.004185a0
mov edi, dword [esp + 0x14]
push str.http:__
push edi
call fcn.0041ae4f
add esp, 8
test eax, eax
je 0x4187e6
push 0x42998c
push edi
call fcn.0041ae4f
add esp, 8
test eax, eax
jne 0x41885a
mov eax, dword [esp + 0x3c]
mov dword [eax], ebx
jmp 0x4187f0
mov ecx, dword [esp + 0x3c]
mov dword [ecx], 0
mov eax, dword [edi - 0xc]
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
call fcn.00408f50
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.0040a2d0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418833
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x41885a
push 0x2f
push eax
call fcn.0041b513
add esp, 8
test eax, eax
je 0x41885a
sub eax, dword [esp + 0x10]
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
jne 0x4188b4
lea eax, [edi - 0x10]
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418879
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41889f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.00408f50
push eax
mov ecx, ebp
mov byte [esp + 0x28], 3
call fcn.0040a2d0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4188f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.00408c30
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 4
call fcn.0040a2d0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418932
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 0xc]
test eax, eax
jl 0x41895a
push 0x429988
push edi
call fcn.0041af2e
add esp, 8
test eax, eax
je 0x41895a
sub eax, edi
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
jne 0x418987
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
call fcn.0040a2d0
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov eax, dword [esp + 0x38]
neg edx
sbb edx, edx
and edx, 0x16b
add edx, 0x50
mov word [eax], dx
jmp 0x418a1c
push esi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00408c30
mov ecx, dword [esp + 0x30]
push eax
mov byte [esp + 0x28], 5
call fcn.0040a2d0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x24], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4189c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc esi
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00408f50
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 6
call fcn.0040a2d0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418a08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x14]
push edi
call fcn.0041ab0f
mov ecx, dword [esp + 0x3c]
add esp, 4
mov word [ecx], ax
lea eax, [edi - 0x10]
mov byte [esp + 0x24], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418a3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418a61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret