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

Disassembly:
sub esp, 0x48
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, eax
or eax, ecx
mov ebx, dword [esp + 0x54]
or eax, ebx
test eax, 3
jne 0x41279e
movzx eax, byte [0x995314]
test al, al
je 0x41258e
nop
mov eax, dword [0x974ff4]
test byte [eax], al
mov ebp, ecx
shr ecx, 0x16
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x4124e8
mov ecx, ebp
shr ebp, 0xd
and ebp, 0x1ff
mov eax, dword [eax + ebp*4 + 0x21000]
jmp 0x4124ec
mov ecx, ebp
xor eax, eax
test eax, eax
jne 0x41251c
lea eax, [0x96e7e8]
mov dword [esp], eax
call fcn.00402b40
mov eax, dword [esp + 4]
test eax, eax
je 0x41250d
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x412511
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x4c]
xor ebx, ebx
jmp 0x4126ee
mov dword [esp + 0x24], eax
lea ecx, [eax + 0x3f]
nop
mov dword [esp], ecx
call fcn.00402aa0
cmp byte [esp + 4], 1
jne 0x412545
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0xc], eax
ja 0x412545
cmp dword [ecx + 0x48], eax
ja 0x412549
add esp, 0x48
ret
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [esp + 0x44], ecx
test byte [ecx], al
mov dword [esp], eax
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
call fcn.00412330
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x50]
test ebp, ebp
je 0x412675
jmp 0x4125be
add esp, 0x48
ret
mov ecx, dword [esi + 0x978]
mov dword [esp + 0x28], ecx
mov ebp, dword [esp + 0x28]
add ebp, 8
mov dword [esi + 0x978], ebp
mov ebp, dword [edi]
mov dword [ecx], ebp
mov ebp, dword [eax]
mov dword [ecx + 4], ebp
mov ecx, edx
mov eax, dword [esp + 0x38]
mov edx, ebx
mov ebx, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.00412400
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test eax, eax
je 0x41264c
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ebp
mov esi, dword [esp + 0x4c]
mov edi, eax
sub eax, esi
mov esi, dword [esp + 0x50]
add eax, esi
mov esi, dword [esp + 0x44]
mov ecx, dword [esi + 0x978]
add ecx, 8
nop
cmp dword [esi + 0x97c], ecx
jae 0x412592
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edx
call fcn.00432ec0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
jmp 0x412592
add esp, 0x48
ret
mov edi, dword [esi + 0x978]
mov dword [esp + 0x28], edi
mov ebp, dword [esp + 0x28]
add ebp, 4
mov dword [esi + 0x978], ebp
mov ebp, dword [eax]
mov dword [edi], ebp
mov eax, ecx
mov ecx, edx
mov edx, ebx
mov ebx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.00412400
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test eax, eax
je 0x41264c
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x44]
mov edi, dword [esi + 0x978]
add edi, 4
nop
cmp dword [esi + 0x97c], edi
jae 0x412650
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
call fcn.00432ec0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x44]
jmp 0x412650
inc ebx
cmp eax, ebx
jle 0x41272f
mov ebp, dword [ecx + ebx*4]
mov esi, dword [ebp + 0x68]
cmp edx, esi
jb 0x4126ed
cmp dword [ebp + 0x6c], edx
jbe 0x4126ed
mov eax, edx
sub edx, esi
mov ecx, dword [ebp + 0x110]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.004128f0
add esp, 0x48
ret
lea eax, [0x96e7e8]
mov dword [esp], eax
call fcn.00402b40
mov eax, dword [esp + 4]
test eax, eax
je 0x41274c
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x412750
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x4c]
xor ebx, ebx
jmp 0x412759
inc ebx
cmp eax, ebx
jle 0x41279a
mov ebp, dword [ecx + ebx*4]
mov esi, dword [ebp + 0x70]
cmp edx, esi
jb 0x412758
cmp dword [ebp + 0x74], edx
jbe 0x412758
mov eax, edx
sub edx, esi
mov ecx, dword [ebp + 0x118]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.004128f0
add esp, 0x48
ret
add esp, 0x48
ret
lea eax, [0x74a4af]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.00439230
nop
int3