Function at 0x57e534
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, 0x574bc4
call fcn.0040aebc
xor eax, eax
push ebp
push 0x57e7fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x58b6d4
xor edx, edx
call fcn.00407534
call fcn.0040458c
mov esi, eax
test esi, esi
jle 0x57e59c
mov ebx, 1
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004045ec
cmp dword [ebp - 0x14], 0
je 0x57e598
mov edx, 0x58b6d4
mov eax, ebx
call fcn.004045ec
inc ebx
dec esi
jne 0x57e57c
cmp dword [0x58b6d4], 0
jne 0x57e64c
push 0x57e80c
push 0
push 0
call fcn.0040c098
mov ebx, eax
push 0
push ebx
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x57e63d
xor eax, eax
push ebp
push 0x57e624
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x585110]
mov eax, dword [eax]
call fcn.004c3364
mov eax, dword [0x585110]
mov eax, dword [eax]
mov edx, 0x57e82c
call fcn.004c2d80
mov ecx, dword [0x585364]
mov eax, dword [0x585110]
mov eax, dword [eax]
mov edx, dword [0x55efdc]
call fcn.004c337c
mov eax, dword [0x585110]
mov eax, dword [eax]
call fcn.004c34cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57e7e0
mov eax, 0x57e840
call fcn.0047a35c
jmp 0x57e7e0
xor eax, eax
push ebp
push 0x57e7cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x58b6d4]
mov eax, 0x57e868
call fcn.0040802c
dec eax
jne 0x57e6f6
mov eax, dword [0x584abc]
mov edx, 0x57e868
call fcn.00407534
mov eax, dword [0x58516c]
cmp byte [eax], 0
jne 0x57e6ab
lea edx, [ebp - 0x18]
mov eax, 0x57e87c
call fcn.0041d220
mov edx, dword [ebp - 0x18]
mov eax, 0x58b6d8
mov ecx, 0x57e8a0
call fcn.00407a00
jmp 0x57e6ba
mov eax, 0x58b6d8
mov edx, 0x57e8dc
call fcn.00407534
mov eax, dword [0x58b6d8]
call fcn.004148b0
test al, al
jne 0x57e6d2
mov eax, dword [0x58b6d8]
call fcn.004148d4
mov eax, dword [0x584b18]
mov edx, dword [0x58b6d8]
call fcn.00407534
mov eax, dword [0x585288]
mov edx, 0x57e91c
call fcn.00407534
jmp 0x57e787
mov eax, dword [0x584abc]
mov edx, 0x57ea34
call fcn.00407534
mov eax, dword [0x58516c]
cmp byte [eax], 0
jne 0x57e73b
lea edx, [ebp - 0x1c]
mov eax, 0x57e87c
call fcn.0041d220
push dword [ebp - 0x1c]
push 0x57ea48
push dword [0x58b6d4]
mov eax, 0x58b6d8
mov edx, 3
call fcn.00407ae4
jmp 0x57e750
mov eax, 0x58b6d8
mov ecx, dword [0x58b6d4]
mov edx, 0x57ea88
call fcn.00407a00
mov eax, dword [0x58b6d8]
call fcn.004148b0
test al, al
jne 0x57e768
mov eax, dword [0x58b6d8]
call fcn.004148d4
mov eax, dword [0x584b18]
mov edx, dword [0x58b6d8]
call fcn.00407534
mov eax, dword [0x585288]
mov edx, 0x57eacc
call fcn.00407534
mov eax, dword [0x585110]
mov eax, dword [eax]
call fcn.004c3364
mov eax, dword [0x585110]
mov eax, dword [eax]
xor edx, edx
call fcn.004c50a0
mov ecx, dword [0x585364]
mov eax, dword [0x585110]
mov eax, dword [eax]
mov edx, dword [0x55efdc]
call fcn.004c337c
mov eax, dword [0x585110]
mov eax, dword [eax]
call fcn.004c34cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57e7e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57e802
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.0040752c
ret