Function at 0x409140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x428d00
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x431040]
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 0x42bddf
xor edi, edi
call fcn.004015b0
lea eax, [edi + 7]
lea ecx, [esp + 0x14]
mov edx, ebx
mov dword [ebp], edi
call fcn.00404cc0
mov eax, dword [eax]
push str.http:__
push eax
call fcn.0041b76c
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 0x4091cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x30], 0
je 0x40938b
mov ecx, 7
lea esi, [esp + 0x30]
mov edx, ebx
call fcn.00409f60
mov dword [esp + 0x24], 1
mov esi, dword [esp + 0x30]
cmp dword [esi - 0xc], 0
jl 0x40936b
push 0x42c1c0
push esi
call fcn.0041a6c8
add esp, 8
test eax, eax
je 0x40936b
sub eax, esi
mov edi, eax
cmp edi, 0xffffffff
je 0x40936b
mov ecx, edi
lea esi, [esp + 0x14]
lea edx, [esp + 0x30]
call fcn.00409f60
mov byte [esp + 0x24], 2
call fcn.00402c20
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 0x40925f
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.00404cc0
lea ebx, [esp + 0x30]
mov byte [esp + 0x24], 3
call fcn.00402c20
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 0x4092a1
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 0x40935e
push 0x42c30c
push esi
call fcn.0041a6c8
add esp, 8
test eax, eax
je 0x40935e
sub eax, esi
mov edi, eax
cmp edi, 0xffffffff
je 0x40935e
lea ecx, [edi + 1]
lea esi, [esp + 0x14]
lea edx, [esp + 0x30]
call fcn.00409f60
mov byte [esp + 0x24], 4
mov esi, dword [esp + 0x14]
push esi
call fcn.0041b46d
mov dword [ebp], eax
add esp, 4
mov eax, edi
lea ecx, [esp + 0x18]
lea edx, [esp + 0x30]
call fcn.00404cc0
lea ebx, [esp + 0x30]
mov byte [esp + 0x24], 5
call fcn.00402c20
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 0x409339
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 0x40935a
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.00402c20
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 0x40938b
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