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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
push 0
push 0
push 0
push 1
mov ebx, 0x4729e0
call fcn.004723d9
add esp, 0x10
cmp dword [ebp + 8], 1
je 0x416880
cmp dword [ebp + 8], 2
je 0x416880
mov eax, 1
jmp 0x416885
mov eax, 0
test eax, eax
je 0x4168bf
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 1
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
mov dword [ebp - 4], eax
jmp 0x4168c5
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x416dd4
call fcn.00417454
mov dword [ebp - 0x28], eax
call fcn.004175e9
mov dword [ebp - 0x2c], eax
push 0x80000301
push 0
push 0xf423f
push 0x80000301
push 0
push 0x186a0
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000301
push 0
push 0x3e7
push 0x80000301
push 0
push 0x64
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
push 0x52880f
push dword [ebp - 0x34]
push str.__Build_PKQ1.
push dword [ebp - 0x2c]
push str.__zh_CN_
push dword [ebp - 0x28]
push str.Linux__U__Android
mov ecx, 8
call fcn.0040196e
add esp, 0x20
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4169ad
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4169bd
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4169cd
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4169dd
push ebx
call fcn.004723c7
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4169f1
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 0x54
push 0x80000301
push 0
push 0x3e
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000301
push 0
push 0x1068
push 0x80000301
push 0
push 0xbb8
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000301
push 0
push 0x96
push 0x80000301
push 0
push 0
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
push 0x52880f
push dword [ebp - 0x34]
push 0x52883c
push dword [ebp - 0x2c]
mov ecx, 5
call fcn.0040196e
add esp, 0x14
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x416afd
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x416b0d
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x416b1d
push ebx
call fcn.004723c7
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x416b31
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0xa
push 0x80000301
push 0
push 6
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push 0
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000301
push 0
push 0x190
push 0x80000301
push 0
push 0
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
push 0x52880f
push dword [ebp - 0x34]
push 0x528840
push dword [ebp - 0x2c]
mov ecx, 5
call fcn.0040196e
add esp, 0x14
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x416c3d
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x416c4d
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x416c5d
push ebx
call fcn.004723c7
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x416c71
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
call fcn.0041777e
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x416c91
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push 0x288
push 0x80000301
push 0
push 0x212
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000301
push 0
push 0x3e7
push 0x80000301
push 0
push 0xa
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x34], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x416d36
mov eax, 0x51cc0c
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x38], eax
push dword [ebp - 0x14]
push dword [ebp - 0x38]
push str._Browser_
push dword [ebp - 0xc]
push str.__KHTML__like_Gecko__Chrome_
push dword [ebp - 0x34]
push 0x52880f
push dword [ebp - 0x2c]
push str.__AppleWebKit_
push dword [ebp - 8]
push str.Mozilla_5.0__
mov ecx, 0xb
call fcn.0040196e
add esp, 0x2c
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x416d97
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x416da7
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x416db7
push ebx
call fcn.004723c7
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x416dcb
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
jmp 0x4173ab
push 0x80000301
push 0
push 0xd
push 0x80000301
push 0
push 9
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push 0
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000301
push 0
push 9
push 0x80000301
push 0
push 0
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
push 0x51cd38
push dword [ebp - 0x34]
push 0x51cd38
push dword [ebp - 0x2c]
mov ecx, 5
call fcn.0040196e
add esp, 0x14
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x416edc
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x416eec
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x416efc
push ebx
call fcn.004723c7
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x416f10
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push 0xd
push 0x80000301
push 0
push 9
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push 0
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000301
push 0
push 9
push 0x80000301
push 0
push 0
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
push 0x52880f
push dword [ebp - 0x34]
push 0x52880f
push dword [ebp - 0x2c]
mov ecx, 5
call fcn.0040196e
add esp, 0x14
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41701c
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41702c
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41703c
push ebx
call fcn.004723c7
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x417050
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0
mov ebx, 0x475340
call fcn.004723d9
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x417096
mov eax, 0x51cc0c
push eax
push 1
mov ebx, 0x473c40
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4170bc
push ebx
call fcn.004723c7
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4170cf
mov eax, 0x51cc04
push eax
push 1
mov eax, 0xa
mov ebx, 0x4e70c0
call fcn.004723e5
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4170fa
push ebx
call fcn.004723c7
add esp, 4
push 0x80000301
push 0
push 6
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x417119
mov eax, 0x51cc0c
push eax
push 2
mov ebx, 0x472aa0
call fcn.004723d9
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41713f
push ebx
call fcn.004723c7
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x417152
mov eax, 0x51cc0c
push eax
push 1
mov ebx, 0x472f40
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x417178
push ebx
call fcn.004723c7
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41718c
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push 0x288
push 0x80000301
push 0
push 0x212
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 0
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000301
push 0
push 0x28
push 0x80000301
push 0
push 1
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x80000301
push 0
push 0x288
push 0x80000301
push 0
push 0x212
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x44], eax
push 0x80000301
push 0
push 0x28
push 0x80000301
push 0
push 1
push 2
mov ebx, 0x472a20
call fcn.004723d9
add esp, 0x1c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x4c]
push 0x52880f
push dword [ebp - 0x44]
push str._Safari_
push dword [ebp - 0x24]
push str._Mobile_
push dword [ebp - 0x20]
push str.__KHTML__like_Gecko__Version_
push dword [ebp - 0x3c]
push 0x52880f
push dword [ebp - 0x34]
push 0x52880f
push dword [ebp - 0x2c]
push str._like_Mac_OS_X__AppleWebKit_
push dword [ebp - 0x1c]
push str.Mozilla_5.0__iPhone__CPU_iPhone_OS
mov ecx, 0x10
call fcn.0040196e
add esp, 0x40
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x417353
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x417363
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x417373
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x417383
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x417393
push ebx
call fcn.004723c7
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4173a7
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4173c7
push eax
mov ebx, eax
call fcn.00401903
inc eax
push eax
call fcn.004723c1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4173cc
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4173dd
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4173ed
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4173fd
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41740d
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41741d
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41742d
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41743d
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41744d
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8