Function at 0x42c9e0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4cef78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [esp + 0x24], ebx
call fcn.004be803
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], ebx
call fcn.004be803
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x30], 1
call fcn.004be803
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
push ebx
mov byte [esp + 0x34], 2
mov eax, dword [esi + 0x28]
push ebx
push eax
lea edi, [esp + 0x20]
call fcn.0040e400
test eax, eax
jne 0x42cab4
lea eax, [ebp - 0x10]
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ca7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42caa0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x42cebe
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 0xc]
test eax, eax
jne 0x42caef
lea eax, [ebp - 0x10]
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cade
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
jmp 0x42ce9c
cmp eax, 0x200
jle 0x42cb08
push 0x4db74c
lea ecx, [esp + 0x18]
call fcn.00404010
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 0x14]
push edi
push eax
push str._s:_DOWNLOAD_RESPONSE:__s
push 0x534540
mov eax, 3
call fcn.00478d50
mov eax, dword [edi - 0xc]
add esp, 0x10
cmp eax, 0xc
jl 0x42cb59
push 9
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.00405820
mov eax, dword [eax]
push str.HTTP_1.1
push eax
mov ebx, 1
call fcn.004acb01
add esp, 8
test eax, eax
mov byte [esp + 0x13], bl
je 0x42cb5e
mov byte [esp + 0x13], 0
test bl, 1
je 0x42cb84
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
and ebx, 0xfffffffe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cb84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0x13]
test al, al
je 0x42cc1f
push 3
push 9
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
call fcn.00403640
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 3
call fcn.00403e70
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cbd4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0xc
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.00403490
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 4
call fcn.00403e70
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cd73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x42cd73
cmp dword [edi - 0xc], 0xc
jl 0x42cc51
push 9
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.00405820
mov eax, dword [eax]
push str.HTTP_1.0
push eax
or ebx, 2
call fcn.004acb01
add esp, 8
test eax, eax
mov byte [esp + 0x13], 1
je 0x42cc56
mov byte [esp + 0x13], 0
test bl, 2
je 0x42cc67
lea ecx, [esp + 0x20]
and ebx, 0xfffffffd
call fcn.00403b90
mov al, byte [esp + 0x13]
test al, al
je 0x42ccc6
push 3
push 9
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
call fcn.00403640
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 5
call fcn.00403e70
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 2
call fcn.00403b90
push 0xc
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
call fcn.00403490
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 6
call fcn.00403e70
lea ecx, [esp + 0x24]
jmp 0x42cd69
mov eax, dword [edi - 0xc]
cmp eax, 8
jl 0x42ccf8
push 4
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call fcn.00405820
push str.HTTP
push eax
or ebx, 4
call fcn.004034c0
add esp, 8
test al, al
mov byte [esp + 0x13], 1
jne 0x42ccfd
mov byte [esp + 0x13], 0
test bl, 4
je 0x42cd0b
lea ecx, [esp + 0x24]
call fcn.00403b90
mov al, byte [esp + 0x13]
test al, al
je 0x42ceed
push 3
push 5
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x20]
call fcn.00403640
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 7
call fcn.00403e70
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 2
call fcn.00403b90
push 8
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call fcn.00403490
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 8
call fcn.00403e70
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 2
call fcn.00403b90
mov ebp, dword [esp + 0x1c]
push 0x4dd094
push ebp
call fcn.004acb01
add esp, 8
test eax, eax
je 0x42ce4c
push 0x4dda68
push ebp
call fcn.004acb01
add esp, 8
test eax, eax
je 0x42ce4c
push 0x4dda60
push ebp
call fcn.004acb01
add esp, 8
test eax, eax
jne 0x42cdd6
mov eax, dword [esp + 0x18]
push str.range
call fcn.00478fd0
add esp, 4
test eax, eax
jne 0x42ce42
mov dword [esi + 0x520], 1
jmp 0x42ce4c
lea eax, [esp + 0x1c]
push 0x4dda4c
push eax
call fcn.004034c0
add esp, 8
test al, al
jne 0x42ce42
lea ebx, [esp + 0x18]
call fcn.004035a0
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0x80
jle 0x42ce0e
push str.No_Message
mov ecx, ebx
call fcn.00404010
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x14]
push edx
push ebp
push eax
push 0x3f92
push 0x534540
mov eax, 2
call fcn.00478c60
add esp, 0x14
push 3
call fcn.00424940
mov dword [esi + 0x51c], 1
jmp 0x42ce53
mov dword [esi + 0x524], 1
push 3
call fcn.00424940
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x49c]
call fcn.004bd67f
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x4b0]
call fcn.004bd67f
mov byte [esp + 0x30], 1
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 0x42ce94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x30], 0
lea eax, [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ceb3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x30], 0xffffffff
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ced5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov eax, dword [esi + 0x14]
push eax
push 0x3f91
push 0x534540
mov eax, 2
call fcn.00478c60
mov edx, dword [esi]
add esp, 0xc
push 1
mov ecx, esi
call dword [edx + 0x38]
lea ecx, [esp + 0x18]
call fcn.00403b90
lea ecx, [esp + 0x1c]
call fcn.00403b90
lea ecx, [esp + 0x14]
call fcn.00403b90
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret