Function at 0x409710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42acd0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4340a0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov ebx, ecx
mov eax, dword [esp + 0x2c]
push 0x42df13
xor edi, edi
call fcn.00401be0
lea eax, [edi + 7]
lea ecx, [esp + 0x14]
mov edx, ebx
mov dword [ebp], edi
call fcn.00405250
mov eax, dword [eax]
push str.http:__
push eax
call fcn.0041d6fa
add esp, 8
test eax, eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x14]
sete byte [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40979d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x30], 0
je 0x40995b
mov ecx, 7
lea esi, [esp + 0x30]
mov edx, ebx
call fcn.0040a530
mov dword [esp + 0x24], 1
mov esi, dword [esp + 0x30]
cmp dword [esi - 0xc], 0
jl 0x40993b
push 0x42e2f4
push esi
call fcn.0041c79f
add esp, 8
test eax, eax
je 0x40993b
sub eax, esi
mov edi, eax
cmp edi, 0xffffffff
je 0x40993b
mov ecx, edi
lea esi, [esp + 0x14]
lea edx, [esp + 0x30]
call fcn.0040a530
mov byte [esp + 0x24], 2
call fcn.00403250
mov byte [esp + 0x24], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40982f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
lea ecx, [esp + 0x14]
lea edx, [esp + 0x30]
call fcn.00405250
lea ebx, [esp + 0x30]
mov byte [esp + 0x24], 3
call fcn.00403250
mov byte [esp + 0x24], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409871
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x30]
cmp dword [esi - 0xc], 0
jl 0x40992e
push 0x42e440
push esi
call fcn.0041c79f
add esp, 8
test eax, eax
je 0x40992e
sub eax, esi
mov edi, eax
cmp edi, 0xffffffff
je 0x40992e
lea ecx, [edi + 1]
lea esi, [esp + 0x14]
lea edx, [esp + 0x30]
call fcn.0040a530
mov byte [esp + 0x24], 4
mov esi, dword [esp + 0x14]
push esi
call fcn.0041d3fb
mov dword [ebp], eax
add esp, 4
mov eax, edi
lea ecx, [esp + 0x18]
lea edx, [esp + 0x30]
call fcn.00405250
lea ebx, [esp + 0x30]
mov byte [esp + 0x24], 5
call fcn.00403250
mov byte [esp + 0x24], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409909
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40992a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x30]
call fcn.00403250
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x24], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40995b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret