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

Disassembly:
push 0xffffffffffffffff
push 0x51c4d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [esp + 0x68]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
push eax
call fcn.00479240
mov edi, dword [esp + 0x80]
mov ebp, eax
mov edx, dword [ebp + 0x28]
lea ecx, [edi + edi*4]
lea esi, [edx + ecx*4]
lea ecx, [esp + 0x18]
call fcn.00464430
xor eax, eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
movsx eax, word [esi + 0xc]
add eax, 0xfffffc18
cmp eax, 0x18
ja case.default.0x47a3ec
xor ecx, ecx
mov cl, byte [eax + 0x47a774]
jmp dword [ecx*4 + 0x47a754]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x10], edx
jmp case.default.0x47a3ec
mov eax, dword [esp + 0x88]
xor ecx, ecx
cmp eax, ebx
setl cl
dec ecx
and ecx, eax
mov dword [esp + 0x10], ecx
jmp case.default.0x47a3ec
mov eax, dword [esp + 0x88]
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esp + 0x10], ecx
jmp case.default.0x47a3ec
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
jmp case.default.0x47a3ec
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x10], ecx
jmp case.default.0x47a3ec
mov eax, dword [esp + 0x88]
cmp eax, ebx
jne 0x47a477
mov dword [esp + 0x10], 0x95fdd0
jmp case.default.0x47a3ec
mov dword [esp + 0x10], eax
jmp case.default.0x47a3ec
mov ecx, dword [esp + 0x88]
cmp ecx, ebx
jne 0x47a498
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
jmp case.default.0x47a3ec
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
cmp word [esi + 0xc], 0x3f3
jne 0x47a4de
cmp eax, 4
jb 0x47a4de
add ecx, 8
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00464ba0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
neg esi
sbb esi, esi
and esi, eax
mov edx, dword [esi]
push edx
call fcn.004825c0
mov dword [esi], eax
add esp, 4
mov dword [esp + 0x10], esi
jmp case.default.0x47a3ec
add ecx, 8
mov dword [esp + 0x10], ecx
jmp case.default.0x47a3ec
mov ebx, dword [esp + 0x84]
cmp ebx, 0xffffffff
je 0x47a633
push 6
call dword [ebp + 0x2c]
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0x10]
push ecx
push edi
push edx
call eax
test eax, eax
je 0x47a528
cmp dword [esp + 0x14], 0x3c
jne 0x47a528
mov esi, dword [esp + 0x10]
mov ecx, 0xf
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
jmp 0x47a53e
lea eax, [esp + 0x2c]
push eax
push 0x3c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp ebx, 6
ja case.default.0x47a547
jmp dword [ebx*4 + 0x47a790]
mov eax, dword [esp + 0x88]
mov ecx, 0xe10
cdq
idiv ecx
test edx, edx
jge 0x47a563
add edx, ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
jmp case.default.0x47a547
mov edx, dword [esp + 0x88]
neg edx
sbb edx, edx
and edx, 0x2bc
mov dword [esp + 0x3c], edx
jmp case.default.0x47a547
mov eax, dword [esp + 0x88]
test eax, eax
setne al
mov byte [esp + 0x40], al
jmp case.default.0x47a547
mov eax, dword [esp + 0x88]
test eax, eax
setne cl
mov byte [esp + 0x42], cl
jmp case.default.0x47a547
mov eax, dword [esp + 0x88]
test eax, eax
setne dl
mov byte [esp + 0x41], dl
jmp case.default.0x47a547
mov eax, dword [esp + 0x88]
xor ecx, ecx
test eax, eax
setl cl
dec ecx
lea edx, [esp + 0x2c]
and ecx, eax
push ecx
push edx
call fcn.00482e80
add esp, 8
jmp case.default.0x47a547
mov edx, dword [esp + 0x88]
test edx, edx
jne 0x47a5fd
mov edx, 0x95fdd0
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x47a612
cmp ecx, 0x20
jl 0x47a617
mov edx, 0x93df8c
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x48]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, ebx
jmp 0x47a6ef
mov edx, dword [esp + 0x88]
test edx, edx
je case.default.0x47a3ec
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x2c]
lea esi, [edx + 4]
rep stosd dword es:[edi], eax
mov ecx, dword [esi]
mov eax, dword [edx]
neg ecx
sbb ecx, ecx
add esi, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [esi]
mov edi, dword [esi + 4]
and ecx, 0x2bc
test eax, eax
setne dl
add esi, 4
mov dword [esp + 0x3c], ecx
test edi, edi
mov ecx, dword [esi + 4]
mov byte [esp + 0x40], dl
setne al
add esi, 4
mov byte [esp + 0x42], al
test ecx, ecx
mov eax, dword [esi + 4]
setne cl
add esi, 4
xor edx, edx
test eax, eax
setl dl
dec edx
mov byte [esp + 0x41], cl
and eax, edx
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00482e80
add esi, 4
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x47a6d5
push esi
call fcn.004ca470
add esp, 4
cmp eax, 0x20
jge 0x47a6d5
lea edx, [esp + 0x48]
mov edi, esi
jmp 0x47a6de
lea edx, [esp + 0x48]
mov edi, 0x93df8c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x80]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0x3c
push 4
call dword [ebp + 0x2c]
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x10]
push 0
push edx
push edi
push ecx
call eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x18], 0x921d20
call fcn.00464630
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 0x18