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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x29c]
cmp eax, dword [ecx + 8]
jbe 0x436e65
sub esp, 0x31c
mov eax, dword [0x99504c]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [esp + 0x320]
cmp dword [eax + 0x18], ecx
je 0x436e4e
test byte [ecx], al
lea eax, [ecx + 0x1cc]
mov dword [esp + 0x318], eax
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call fcn.00402b50
movzx eax, byte [esp + 0xc]
test al, al
je 0x436dcf
mov eax, dword [esp + 0x320]
lea ecx, [eax + 0x1b8]
mov dword [esp + 0x30c], ecx
nop
mov dword [esp], ecx
call fcn.0040a350
mov eax, dword [esp + 0x320]
mov ecx, dword [eax + 0x1bc]
test ecx, ecx
jne 0x436b11
add eax, 0x1b0
mov dword [esp + 0x314], eax
nop
nop
mov ecx, dword [esp + 0x30c]
mov dword [esp], ecx
call fcn.0040a550
mov eax, dword [esp + 0x318]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00402d70
nop
mov eax, dword [esp + 0x314]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402ca0
add esp, 0x31c
ret
mov dword [esp + 0x24], 0
mov ecx, dword [sym.imp.kernel32.dll_DuplicateHandle]
mov edx, dword [eax + 0x1bc]
lea ebx, [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 2
call fcn.00436820
mov eax, dword [esp + 0x20]
test eax, eax
je 0x436df3
nop
nop
mov eax, dword [esp + 0x30c]
mov dword [esp], eax
call fcn.0040a550
mov dword [esp + 0x2d], 0
lea edi, [esp + 0x30]
mov ecx, 0xb6
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x3c]
and eax, 0xfffffff0
mov dword [esp + 0x310], eax
mov dword [eax], 0x10001
nop
nop
lea ecx, [0x994f9c]
mov dword [esp], ecx
call fcn.0040a350
mov eax, dword [esp + 0x24]
mov ecx, dword [sym.imp.kernel32.dll_SuspendThread]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436640
cmp dword [esp + 8], 0xffffffff
je 0x436d60
mov eax, dword [esp + 0x24]
mov ecx, dword [sym.imp.kernel32.dll_GetThreadContext]
mov edx, dword [esp + 0x310]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00436690
nop
nop
lea eax, [0x994f9c]
mov dword [esp], eax
call fcn.0040a550
mov eax, dword [esp + 0x320]
mov ecx, dword [eax]
mov edx, dword [esp + 0x310]
mov ebx, dword [edx + 0xc4]
test ecx, ecx
je 0x436c2c
cmp dword [ecx], ebx
jae 0x436c2c
cmp dword [ecx + 4], ebx
ja 0x436c4e
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x436c3c
cmp dword [ecx], ebx
jae 0x436c3c
cmp dword [ecx + 4], ebx
ja 0x436c4e
mov ecx, dword [eax + 0x50]
test ecx, ecx
je 0x436c4c
cmp dword [ecx], ebx
jae 0x436c4c
cmp dword [ecx + 4], ebx
ja 0x436c4e
xor ecx, ecx
test ecx, ecx
jne 0x436c56
xor ebx, ebx
jmp 0x436c81
mov dword [esp + 0x308], ecx
mov dword [esp], ecx
call fcn.0043aa40
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x308]
mov edx, dword [esp + 0x310]
mov ebx, eax
mov eax, dword [esp + 0x320]
test bl, bl
je 0x436cf9
mov eax, dword [edx + 0xb8]
mov ebx, dword [edx + 0xc4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0
call fcn.0043aab0
movzx eax, byte [esp + 0x10]
test al, al
je 0x436cf9
mov eax, dword [esp + 0x14]
lea ecx, [0x469990]
mov edx, dword [esp + 0x310]
mov ebx, dword [edx + 0xc4]
add ebx, 0xfffffffc
mov ebp, ebx
nop
mov dword [ebx], eax
nop
mov dword [edx + 0xc4], ebp
nop
mov dword [edx + 0xb8], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [sym.imp.kernel32.dll_SetThreadContext]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00436690
mov eax, dword [esp + 0x318]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00402d70
mov eax, dword [esp + 0x320]
add eax, 0x1b0
nop
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402ca0
mov eax, dword [esp + 0x24]
mov ecx, dword [sym.imp.kernel32.dll_ResumeThread]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436640
mov eax, dword [esp + 0x24]
mov ecx, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436640
add esp, 0x31c
ret
mov eax, dword [esp + 0x320]
add eax, 0x1b0
mov dword [esp + 0x314], eax
nop
nop
lea ecx, [0x994f9c]
mov dword [esp], ecx
call fcn.0040a550
mov eax, dword [esp + 0x24]
mov ecx, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436640
mov eax, dword [esp + 0x318]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00402d70
nop
mov eax, dword [esp + 0x314]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402ca0
add esp, 0x31c
ret
mov eax, dword [esp + 0x320]
add eax, 0x1b0
nop
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402ca0
add esp, 0x31c
ret
call fcn.00469b00
mov eax, dword [esp]
mov dword [esp + 0x28], eax
call fcn.0043af60
lea eax, [0x74d5e6]
mov dword [esp], eax
mov dword [esp + 4], 0x30
call fcn.0043b7e0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.0043b4c0
call fcn.0043b170
call fcn.0043afc0
lea eax, [0x74a617]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.00439230
lea eax, [0x73ca3e]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00439230
nop
call fcn.00467a60
jmp fcn.00436a20