Function at 0x6c50c0
Capabilities:
Reference http user-agent string
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xac]
cmp eax, dword [ecx + 8]
jbe 0x6c58ad
sub esp, 0x12c
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0045a03b
mov ecx, dword [esp + 0x130]
mov edx, dword [ecx + 0x68]
test edx, edx
jle 0x6c57da
lea ebx, [edx - 1]
cmp ebx, 3
jae 0x6c58a0
lea edx, [edx + edx*4]
lea esi, [ecx + edx*4 + 0x18]
lea edi, [esp + 0xc8]
call fcn.0045a51e
lea edi, [esp + 0x104]
lea esi, [esp + 0xc8]
call fcn.0045a51e
mov eax, dword [esp + 0x108]
mov dword [esp + 0x20], eax
lea ecx, [0x8125c0]
mov dword [esp], ecx
call fcn.0040ac80
mov eax, dword [esp + 4]
mov ecx, dword [0xc83da0]
test ecx, ecx
jne 0x6c57bb
mov ecx, dword [esp + 0x130]
mov dword [eax + 8], ecx
mov dword [eax], 0xb
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [0xc83da0]
test edx, edx
jne 0x6c57ae
mov dword [ecx + 0x10], eax
lea edx, [esp + 4]
mov dword [esp + 0x44], edx
jmp 0x6c5198
mov ecx, eax
mov edx, dword [esp + 0x44]
lea edi, [esp + 0xb4]
xor eax, eax
call fcn.0045a03b
mov ecx, dword [esp + 0x130]
mov ebx, dword [ecx + 0x68]
test ebx, ebx
jle 0x6c5715
lea ebp, [ebx - 1]
cmp ebp, 3
jae 0x6c5894
lea ebx, [ebx + ebx*4]
lea esi, [ecx + ebx*4 + 0x18]
lea edi, [esp + 0xb4]
call fcn.0045a51e
cmp dword [esp + 0xb4], 7
je 0x6c570e
lea edi, [esp + 0x50]
call fcn.0045a03b
mov ecx, dword [esp + 0x130]
mov ebx, dword [ecx + 0x68]
test ebx, ebx
jle 0x6c5669
lea ebp, [ebx - 1]
cmp ebp, 3
jae 0x6c5888
lea ebx, [ebx + ebx*4]
lea esi, [ecx + ebx*4 + 0x18]
lea edi, [esp + 0x50]
call fcn.0045a51e
cmp dword [esp + 0x50], 0xa
jne 0x6c565d
lea edi, [esp + 0x64]
call fcn.0045a03b
mov ecx, dword [esp + 0x130]
mov ebx, dword [ecx + 0x68]
test ebx, ebx
jle 0x6c55c8
dec ebx
mov dword [ecx + 0x68], ebx
mov ebx, dword [ecx + 0x68]
cmp ebx, 3
jae 0x6c587c
lea eax, [ebx + ebx*4]
lea esi, [ecx + eax*4 + 0x2c]
lea edi, [esp + 0x64]
call fcn.0045a51e
lea edi, [esp + 0xf0]
lea esi, [esp + 0x64]
call fcn.0045a51e
mov eax, dword [esp + 0x130]
mov dword [esp], eax
call fcn.006c4260
lea edi, [esp + 0x118]
mov esi, dword [esp + 0x44]
call fcn.0045a51e
cmp dword [esp + 0x118], 0x18
je 0x6c5446
nop
mov eax, dword [esp + 0x130]
lea edi, [eax + 0x40]
mov ecx, dword [0xc83da0]
test ecx, ecx
jne 0x6c541d
lea esi, [esp + 0xf0]
call fcn.0045a51e
mov dword [eax + 0x68], 2
mov dword [esp], eax
call fcn.006c5de0
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 0x1c]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
add eax, 0xfffffffa
cmp eax, 1
jbe 0x6c53b1
mov ecx, dword [esp + 0x130]
mov edx, dword [ecx + 0x10]
mov ebx, dword [edx + 0x14]
mov ebp, dword [edx + 0x10]
mov eax, ecx
mov ecx, dword [edx + 0xc]
mov esi, edx
lea edx, [ebp + 1]
cmp edx, ebx
ja 0x6c5353
lea edx, [ebp + 1]
mov dword [esi + 0x10], edx
lea edx, [ecx + ebp*8]
mov ebx, dword [esp + 0x24]
mov dword [edx], ebx
mov edx, dword [0xc83da0]
lea edi, [ecx + ebp*8 + 4]
test edx, edx
jne 0x6c5341
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
jmp 0x6c5192
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.00459d90
mov eax, ecx
jmp 0x6c5192
mov dword [esp + 0x40], esi
lea eax, [0x807600]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00443b60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x40]
mov dword [ebx + 0x14], edx
mov edx, dword [0xc83da0]
test edx, edx
jne 0x6c53a7
mov dword [ebx + 0xc], eax
mov esi, ebx
mov ebp, ecx
mov ecx, eax
mov eax, dword [esp + 0x130]
jmp 0x6c5319
lea edi, [ebx + 0xc]
call fcn.00459d90
jmp 0x6c5395
mov eax, dword [esp + 0x24]
test eax, eax
je 0x6c53bc
mov eax, dword [eax + 4]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x130]
mov dword [esp], eax
lea ecx, [0x842cf9]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xd
lea edx, [esp + 0x48]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.006c4560
mov eax, dword [esp + 0x130]
jmp 0x6c5192
lea eax, [0x80d8e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xf0]
mov dword [esp + 8], eax
call fcn.00410bc0
mov eax, dword [esp + 0x130]
jmp 0x6c52c4
nop
lea eax, [0x81dd60]
mov dword [esp], eax
call fcn.0040ac80
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x8416cf]
mov dword [eax], ecx
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x1c], 0
mov edx, dword [esp + 0x130]
mov ebx, dword [edx + 0x18]
mov ebp, dword [edx + 0x14]
mov dword [eax + 0x18], ebx
mov ebx, dword [0xc83da0]
test ebx, ebx
jne 0x6c55b5
mov dword [eax + 0x14], ebp
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 8]
mov dword [eax + 0xc], ebx
mov ebx, dword [0xc83da0]
test ebx, ebx
jne 0x6c55a2
mov dword [eax + 8], ebp
mov dword [esp + 0x34], eax
mov ebx, dword [edx + 0x20]
mov dword [esp + 0x28], ebx
mov ebp, dword [edx + 0x24]
mov dword [esp + 0x2c], ebp
mov esi, dword [edx + 0x1c]
mov dword [esp + 0x3c], esi
mov ecx, dword [edx + 0x28]
mov edx, dword [edx + 0x78]
mov dword [esp + 0x30], edx
mov dword [eax + 0x10], 0
mov edx, dword [0xc83da0]
test edx, edx
jne 0x6c5591
mov dword [eax + 0x28], ecx
lea eax, [0x7beec0]
mov dword [esp], eax
call fcn.0040ac80
mov eax, dword [esp + 4]
mov dword [eax + 4], 1
lea ecx, [0x83f396]
mov dword [eax], ecx
mov edx, dword [esp + 0x34]
mov dword [edx + 0x70], 1
mov dword [edx + 0x74], 1
mov ebx, dword [0xc83da0]
test ebx, ebx
jne 0x6c5587
mov dword [edx + 0x6c], eax
mov ebx, dword [esp + 0x28]
mov dword [edx + 0x20], ebx
mov ebx, dword [esp + 0x2c]
mov dword [edx + 0x24], ebx
mov ebx, dword [0xc83da0]
test ebx, ebx
jne 0x6c556d
mov eax, dword [esp + 0x3c]
mov dword [edx + 0x1c], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 0x78], eax
mov dword [esp], edx
call fcn.006c58c0
mov eax, dword [esp + 0x130]
jmp 0x6c5192
lea edi, [edx + 0x1c]
mov eax, dword [esp + 0x3c]
call fcn.00459d90
lea edi, [edx + 0x78]
mov eax, dword [esp + 0x30]
call fcn.00459d90
jmp 0x6c5559
lea edi, [edx + 0x6c]
call fcn.00459d90
jmp 0x6c5533
lea edx, [eax + 0x28]
mov edi, edx
mov eax, ecx
call fcn.00459d90
jmp 0x6c54f3
lea edi, [eax + 8]
mov ebx, eax
mov eax, ebp
call fcn.00459d90
mov eax, ebx
jmp 0x6c54b8
lea edi, [eax + 0x14]
mov ebx, eax
mov eax, ebp
call fcn.00459d90
mov eax, ebx
jmp 0x6c549e
mov edx, dword [ecx + 0x28]
lea edi, [esp + 0xdc]
call fcn.0045a03b
lea edi, [esp + 0x118]
call fcn.0045a03b
mov ecx, dword [edx + 0x34]
mov dword [esp], ecx
lea ecx, [esp + 0x118]
mov dword [esp + 4], ecx
call fcn.00405010
lea edi, [esp + 0xdc]
lea esi, [esp + 0x118]
call fcn.0045a51e
mov ecx, dword [esp + 0x130]
lea edi, [ecx + 0x2c]
mov edx, dword [0xc83da0]
test edx, edx
jne 0x6c563e
lea esi, [esp + 0xdc]
call fcn.0045a51e
xor eax, eax
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x44]
jmp 0x6c5246
lea eax, [0x80d8e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xdc]
mov dword [esp + 8], eax
call fcn.00410bc0
jmp 0x6c562c
mov eax, dword [esp + 0x130]
jmp 0x6c52cb
mov dword [ecx + 0x68], 1
mov edx, dword [ecx + 0x28]
lea edi, [esp + 0x8c]
call fcn.0045a03b
lea edi, [esp + 0x118]
call fcn.0045a03b
mov ecx, dword [edx + 0x34]
mov dword [esp], ecx
lea ecx, [esp + 0x118]
mov dword [esp + 4], ecx
call fcn.00405010
lea edi, [esp + 0x8c]
lea esi, [esp + 0x118]
call fcn.0045a51e
mov ecx, dword [esp + 0x130]
lea edi, [ecx + 0x2c]
mov edx, dword [0xc83da0]
test edx, edx
jne 0x6c56ef
lea esi, [esp + 0x8c]
call fcn.0045a51e
lea edi, [esp + 0x50]
lea esi, [esp + 0x8c]
call fcn.0045a51e
xor eax, eax
mov edx, dword [esp + 0x44]
jmp 0x6c521c
lea eax, [0x80d8e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x8c]
mov dword [esp + 8], eax
call fcn.00410bc0
jmp 0x6c56d4
add esp, 0x12c
ret
mov dword [ecx + 0x68], 1
mov edx, dword [ecx + 0x28]
lea edi, [esp + 0x78]
call fcn.0045a03b
lea edi, [esp + 0x118]
call fcn.0045a03b
mov ecx, dword [edx + 0x34]
mov dword [esp], ecx
lea ecx, [esp + 0x118]
mov dword [esp + 4], ecx
call fcn.00405010
lea edi, [esp + 0x78]
lea esi, [esp + 0x118]
call fcn.0045a51e
mov ecx, dword [esp + 0x130]
lea edi, [ecx + 0x2c]
mov edx, dword [0xc83da0]
test edx, edx
jne 0x6c5792
lea esi, [esp + 0x78]
call fcn.0045a51e
lea edi, [esp + 0xb4]
lea esi, [esp + 0x78]
call fcn.0045a51e
xor eax, eax
mov edx, dword [esp + 0x44]
jmp 0x6c51d7
lea eax, [0x80d8e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call fcn.00410bc0
jmp 0x6c5777
lea edi, [ecx + 0x10]
call fcn.00459d90
jmp 0x6c5188
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x130]
call fcn.00459d90
mov eax, ecx
mov ecx, dword [esp + 0x130]
jmp 0x6c516a
mov dword [ecx + 0x68], 1
mov edx, dword [ecx + 0x28]
lea edi, [esp + 0xa0]
call fcn.0045a03b
lea edi, [esp + 0x118]
call fcn.0045a03b
mov ecx, dword [edx + 0x34]
mov dword [esp], ecx
lea ecx, [esp + 0x118]
mov dword [esp + 4], ecx
call fcn.00405010
lea edi, [esp + 0xa0]
lea esi, [esp + 0x118]
call fcn.0045a51e
mov ecx, dword [esp + 0x130]
lea edi, [ecx + 0x2c]
mov edx, dword [0xc83da0]
test edx, edx
jne 0x6c585d
lea esi, [esp + 0xa0]
call fcn.0045a51e
lea edi, [esp + 0xc8]
lea esi, [esp + 0xa0]
call fcn.0045a51e
jmp 0x6c5122
lea eax, [0x80d8e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xa0]
mov dword [esp + 8], eax
call fcn.00410bc0
jmp 0x6c5845
mov eax, ebx
mov ecx, 3
call fcn.00459e10
mov eax, ebp
mov ecx, 3
call fcn.00459e10
mov eax, ebp
mov ecx, 3
call fcn.00459e10
mov eax, ebx
mov ecx, 3
call fcn.00459e10
nop
call fcn.00458550
jmp fcn.006c50c0