Function at 0x485870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f8790
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e4ce0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esi + 0xc]
call fcn.00452a60
mov al, byte [esp + 0x38]
test al, al
mov ecx, dword [esp + 0x34]
lea ebx, [esi + 0x30]
mov dword [esi + 0x28], ecx
mov byte [esi + 0x2c], al
lea edi, [esi + 0xc8]
mov dword [esp + 0x14], ebx
je 0x4858ce
mov ecx, edi
call fcn.004b4a30
jmp 0x4858d5
mov ecx, ebx
call fcn.0046fbd0
test al, al
jne 0x485ac7
cmp byte [esp + 0x38], al
mov ebp, dword [esp + 0x40]
je 0x485946
lea ecx, [esp + 0x18]
call fcn.00468330
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 0x298]
mov ecx, dword [esi + 0x29c]
push ebp
lea edx, [esp + 0x1c]
push edx
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x34], 0
call fcn.004b67c0
mov edx, dword [esi + 0x294]
push edx
mov ecx, edi
call fcn.004b4a60
mov eax, dword [esi + 0x298]
push eax
mov ecx, edi
call fcn.004b4a40
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0xffffffff
call fcn.00468350
jmp 0x485973
mov ecx, ebx
call fcn.00480700
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x294]
push ecx
mov ecx, ebx
call fcn.004806f0
mov edx, dword [esi + 0x298]
imul edx, edx, 0x3e8
push edx
mov ecx, ebx
call fcn.004806c0
lea ebx, [esi + 0x250]
mov ecx, ebx
mov byte [esp + 0x40], 0
call fcn.004c49f0
test eax, eax
je 0x4859fd
cmp byte [esp + 0x38], 0
je 0x4859d8
mov ecx, ebx
call fcn.004c06c0
push eax
mov ecx, edi
call fcn.004a09a0
mov eax, dword [esi + 0x24c]
push eax
mov ecx, edi
call fcn.004b4960
mov edx, dword [esi + 0x294]
mov ecx, dword [esi + 0x29c]
imul edx, edx, 0x3e8
push ebp
push ecx
mov ecx, dword [esp + 0x44]
push edx
lea eax, [esp + 0x4c]
push eax
push ecx
mov ecx, edi
call fcn.004b6ca0
jmp 0x485a6b
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0x29c]
push ebp
lea edx, [esp + 0x44]
push edx
mov edx, dword [esi + 0x24c]
push eax
push ecx
push 0
push edx
mov ecx, ebx
call fcn.004c06c0
push eax
jmp 0x485a62
cmp byte [esp + 0x38], 0
je 0x485a44
mov eax, dword [esp + 0x30]
push eax
mov ecx, edi
call fcn.004a09a0
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, edi
call fcn.004b4960
mov eax, dword [esi + 0x294]
mov edx, dword [esi + 0x29c]
imul eax, eax, 0x3e8
push ebp
push edx
mov edx, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x4c]
push ecx
push edx
mov ecx, edi
call fcn.004b6ca0
jmp 0x485a6b
mov ecx, dword [esp + 0x3c]
mov edx, dword [esi + 0x29c]
push ebp
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push 0
push eax
push ecx
mov ecx, dword [esp + 0x30]
call fcn.00482210
test al, al
jne 0x485ac3
cmp byte [esp + 0x38], al
je 0x485ab6
lea ecx, [esp + 0x38]
call fcn.00468330
mov eax, dword [esi + 0x298]
mov ecx, dword [esi + 0x29c]
push ebp
lea edx, [esp + 0x3c]
push edx
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x34], 1
call fcn.004b67c0
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], 0xffffffff
call fcn.00468350
xor al, al
jmp 0x485af8
mov ecx, dword [esp + 0x14]
call fcn.00480700
xor al, al
jmp 0x485af8
mov ebx, dword [esp + 0x14]
cmp byte [esp + 0x38], 0
je 0x485ad7
mov ecx, edi
call fcn.004b4a30
jmp 0x485ade
mov ecx, ebx
call fcn.0046fbd0
test al, al
jne 0x485af6
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push str.Socket_not_connected_for_HTTP_request
call eax
xor al, al
jmp 0x485af8
mov al, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x18