Function at 0x586850
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5951d7
mov eax, dword fs:[0]
push eax
sub esp, 0x4f4
mov eax, dword [0x607ba4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4cc], ecx
mov byte [ebp - 0x4b9], 0
lea ecx, [ebp - 0x4b8]
call fcn.00415c20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4a0]
call fcn.00415c20
mov byte [ebp - 4], 1
lea eax, [ebp - 0x4a0]
push eax
lea ecx, [ebp - 0x4b8]
push ecx
lea edx, [ebp - 0x454]
push edx
lea eax, [ebp - 0x448]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040ee00
add esp, 0x14
movzx edx, al
test edx, edx
je 0x586e7f
mov dword [ebp - 0x4d0], 1
mov eax, dword [ebp - 0x448]
push eax
call fcn.00583400
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x586918
mov ecx, dword [ebp - 0x4cc]
call fcn.00589660
movzx edx, al
test edx, edx
jne 0x586918
mov dword [ebp - 0x4d0], 0
mov eax, dword [ebp - 0x4d0]
push eax
mov ecx, dword [ebp - 0x454]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4e4], esp
lea edx, [ebp - 0x4b8]
push edx
call fcn.00415ab0
mov dword [ebp - 0x4e8], eax
mov ecx, dword [ebp - 0x4cc]
call fcn.004117d0
mov eax, dword [ebp - 0x4cc]
movzx ecx, byte [eax + 0x18]
test ecx, ecx
je 0x586e74
mov dword [ebp - 0x4c0], 0
cmp dword [ebp - 0x448], 1
jne 0x5869a0
mov dword [ebp - 0x4c0], 0x800000
mov edx, dword [ebp - 0x4c0]
or edx, 0x1000
mov dword [ebp - 0x4c0], edx
mov eax, dword [ebp - 0x4c0]
or eax, 0x2000
mov dword [ebp - 0x4c0], eax
mov ecx, dword [ebp - 0x4c0]
or ecx, 0x4000000
mov dword [ebp - 0x4c0], ecx
mov edx, dword [ebp - 0x4c0]
or edx, 0x80000
mov dword [ebp - 0x4c0], edx
push 0
mov eax, dword [ebp - 0x4c0]
push eax
push 0
push 0
push str.HTTP_1.0
lea ecx, [ebp - 0x4a0]
call fcn.004175d0
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x500]
push edx
call fcn.00405bf0
add esp, 8
mov dword [ebp - 0x4dc], eax
mov eax, dword [ebp - 0x4dc]
mov dword [ebp - 0x4e0], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4e0]
call fcn.004175d0
push eax
mov ecx, dword [ebp - 0x4cc]
mov edx, dword [ecx + 0x20]
push edx
call fcn.005a6ec0
add esp, 0x20
mov dword [ebp - 0x4c8], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x500]
call fcn.00415d90
cmp dword [ebp - 0x4c8], 0
je 0x586e65
cmp dword [ebp - 0x448], 1
jne 0x586aa8
mov dword [ebp - 0x458], 4
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x44c]
push ecx
push 0x1f
mov edx, dword [ebp - 0x4c8]
push edx
call fcn.00412dd0
add esp, 0x10
mov eax, dword [ebp - 0x44c]
or eax, 0x100
mov dword [ebp - 0x44c], eax
push 4
lea ecx, [ebp - 0x44c]
push ecx
push 0x1f
mov edx, dword [ebp - 0x4c8]
push edx
call fcn.0040ebb0
add esp, 0x10
cmp dword [ebp + 0x10], 1
jne 0x586d9a
mov eax, 1
imul ecx, eax, 0x17
mov byte [ebp + ecx - 0x40], 0x6f
mov edx, 1
imul eax, edx, 0x1a
mov byte [ebp + eax - 0x40], 0x78
mov ecx, 1
imul edx, ecx, 0xe
mov byte [ebp + edx - 0x40], 0x61
mov eax, 1
shl eax, 2
mov byte [ebp + eax - 0x40], 0x65
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx - 0x40], 0x54
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0x40], 0x6f
mov eax, 1
imul ecx, eax, 0x23
mov byte [ebp + ecx - 0x40], 0x6d
mov edx, 1
imul eax, edx, 0x28
mov byte [ebp + eax - 0x40], 0x65
mov ecx, 1
imul edx, ecx, 0x2a
mov byte [ebp + edx - 0x40], 0x63
mov eax, 1
imul ecx, eax, 9
mov byte [ebp + ecx - 0x40], 0x79
mov edx, 1
imul eax, edx, 0x18
mov byte [ebp + eax - 0x40], 0x6e
mov ecx, 1
shl ecx, 5
mov byte [ebp + ecx - 0x40], 0x66
mov edx, 1
imul eax, edx, 0x1d
mov byte [ebp + eax - 0x40], 0x77
mov ecx, 1
imul edx, ecx, 0x1f
mov byte [ebp + edx - 0x40], 0x2d
mov eax, 1
imul ecx, eax, 0x29
mov byte [ebp + ecx - 0x40], 0x6e
mov edx, 1
imul eax, edx, 0x2d
mov byte [ebp + eax - 0x40], 0x65
mov ecx, 1
imul edx, ecx, 0xb
mov byte [ebp + edx - 0x40], 0x65
mov eax, 1
imul ecx, eax, 0x11
mov byte [ebp + ecx - 0x40], 0x6c
mov edx, 1
imul eax, edx, 3
mov byte [ebp + eax - 0x40], 0x74
mov ecx, 1
imul edx, ecx, 0x2b
mov byte [ebp + edx - 0x40], 0x6f
mov eax, 1
imul ecx, eax, 0x24
mov byte [ebp + ecx - 0x40], 0x2d
mov edx, 1
imul eax, edx, 0xd
mov byte [ebp + eax - 0x40], 0x20
mov ecx, 1
imul edx, ecx, 0x2c
mov byte [ebp + edx - 0x40], 0x64
mov eax, 1
imul ecx, eax, 6
mov byte [ebp + ecx - 0x40], 0x74
mov edx, 1
imul eax, edx, 5
mov byte [ebp + eax - 0x40], 0x6e
mov ecx, 1
imul edx, ecx, 0x14
mov byte [ebp + edx - 0x40], 0x61
mov eax, 1
imul ecx, eax, 0x1e
mov byte [ebp + ecx - 0x40], 0x77
mov edx, 1
imul eax, edx, 0x21
mov byte [ebp + eax - 0x40], 0x6f
mov ecx, 1
imul edx, ecx, 0x1c
mov byte [ebp + edx - 0x40], 0x77
mov eax, 1
shl eax, 1
mov byte [ebp + eax - 0x40], 0x6e
mov ecx, 1
imul edx, ecx, 0x15
mov byte [ebp + edx - 0x40], 0x74
mov eax, 1
imul ecx, eax, 0x13
mov byte [ebp + ecx - 0x40], 0x63
mov edx, 1
imul eax, edx, 0x12
mov byte [ebp + eax - 0x40], 0x69
mov ecx, 1
imul edx, ecx, 0x27
mov byte [ebp + edx - 0x40], 0x6c
mov eax, 1
imul ecx, eax, 0x1b
mov byte [ebp + ecx - 0x40], 0x2d
mov edx, 1
imul eax, edx, 0x2f
mov dword [ebp - 0x4d4], eax
cmp dword [ebp - 0x4d4], 0x30
jae 0x586c91
jmp 0x586c96
call fcn.0055fd97
mov ecx, dword [ebp - 0x4d4]
mov byte [ebp + ecx - 0x40], 0
mov edx, 1
imul eax, edx, 0x26
mov byte [ebp + eax - 0x40], 0x72
mov ecx, 1
imul edx, ecx, 7
mov byte [ebp + edx - 0x40], 0x2d
mov eax, 1
imul ecx, eax, 0x2e
mov byte [ebp + ecx - 0x40], 0x64
mov edx, 1
imul eax, edx, 0
mov byte [ebp + eax - 0x40], 0x43
mov ecx, 1
shl ecx, 4
mov byte [ebp + ecx - 0x40], 0x70
mov edx, 1
imul eax, edx, 0x22
mov byte [ebp + eax - 0x40], 0x72
mov ecx, 1
imul edx, ecx, 0xc
mov byte [ebp + edx - 0x40], 0x3a
mov eax, 1
imul ecx, eax, 0x19
mov byte [ebp + ecx - 0x40], 0x2f
mov edx, 1
imul eax, edx, 0xa
mov byte [ebp + eax - 0x40], 0x70
mov ecx, 1
imul edx, ecx, 0xf
mov byte [ebp + edx - 0x40], 0x70
mov eax, 1
imul ecx, eax, 0x16
mov byte [ebp + ecx - 0x40], 0x69
mov edx, 1
imul eax, edx, 0x25
mov byte [ebp + eax - 0x40], 0x75
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x470]
call fcn.00415b40
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x14]
call fcn.0041d590
push eax
mov ecx, dword [ebp + 0x14]
call fcn.004175d0
push eax
lea ecx, [ebp - 0x470]
call fcn.0041d590
push eax
lea ecx, [ebp - 0x470]
call fcn.004175d0
push eax
mov edx, dword [ebp - 0x4c8]
push edx
call fcn.00405a70
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x470]
call fcn.00415d90
jmp 0x586db7
cmp dword [ebp + 0x10], 0
jne 0x586db7
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x4c8]
push eax
call fcn.00405a70
add esp, 0x14
lea ecx, [ebp - 0x488]
call fcn.00415c20
mov byte [ebp - 4], 4
mov dword [ebp - 0x450], 0
lea ecx, [ebp - 0x450]
push ecx
push 0x400
lea edx, [ebp - 0x444]
push edx
mov eax, dword [ebp - 0x4c8]
push eax
call fcn.005935f0
add esp, 0x10
test eax, eax
je 0x586e40
cmp dword [ebp - 0x450], 0
je 0x586e40
mov ecx, dword [ebp - 0x450]
mov dword [ebp - 0x4d8], ecx
cmp dword [ebp - 0x4d8], 0x401
jae 0x586e19
jmp 0x586e1e
call fcn.0055fd97
mov edx, dword [ebp - 0x4d8]
mov byte [ebp + edx - 0x444], 0
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x488]
call fcn.0041d210
jmp 0x586dd0
lea ecx, [ebp - 0x488]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00415fb0
mov byte [ebp - 0x4b9], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x488]
call fcn.00415d90
mov edx, dword [ebp - 0x4c8]
push edx
call fcn.0040b970
add esp, 4
mov ecx, dword [ebp - 0x4cc]
call fcn.0040fd20
mov al, byte [ebp - 0x4b9]
mov byte [ebp - 0x4c1], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4a0]
call fcn.00415d90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4b8]
call fcn.00415d90
mov al, byte [ebp - 0x4c1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055fe73
mov esp, ebp
pop ebp
ret 0x10