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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
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
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp + 8]
push 0x20004
push 0x16010002
push 0x52010001
push 3
mov eax, 1
mov ebx, 0x468fa0
call fcn.00407809
add esp, 0x28
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4016f9
push ebx
call fcn.004077fd
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push 8
push 0x1601381f
push 0x52010001
call fcn.0040780f
add esp, 0x10
mov dword [ebp - 0x18], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x401729
mov eax, 0x4af0a0
push eax
push 1
mov ebx, 0x408020
call fcn.004077f7
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40174f
push ebx
call fcn.004077fd
add esp, 4
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
push eax
lea eax, [ebp - 8]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x401f34
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 1
mov eax, 0x4af0b4
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 4]
push eax
push 1
mov eax, str.imgStrimages_2Fcard_cont_02.pngt2g_tk5381
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 1
push 1
mov eax, str.http:__ksfjianijianianwei.act.qq.com_ugc_subimg
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00401f7d
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401803
push ebx
call fcn.004077fd
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401813
push ebx
call fcn.004077fd
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401823
push ebx
call fcn.004077fd
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401833
push ebx
call fcn.004077fd
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401843
push ebx
call fcn.004077fd
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401853
push ebx
call fcn.004077fd
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401863
push ebx
call fcn.004077fd
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401873
push ebx
call fcn.004077fd
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401887
push ebx
call fcn.004077fd
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00404e11
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4018ab
push ebx
call fcn.004077fd
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0
mov ebx, 0x408f40
call fcn.004077f7
add esp, 4
push edx
push eax
call fcn.00405517
mov dword [ebp - 0x20], eax
push 0x4af0a9
push dword [ebp - 0xc]
push dword [ebp - 0x20]
mov ecx, 3
call fcn.0040161e
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4018f6
push ebx
call fcn.004077fd
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x401909
mov eax, 0x4af0a0
push eax
push 0x10005
push 0x16010013
push 0x52010001
push 2
mov ebx, 0x409b30
call fcn.004077f7
add esp, 0x1c
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40193b
push ebx
call fcn.004077fd
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4af1d2
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40196c
mov eax, 0x4af0a0
push eax
push 4
mov ebx, 0x407e50
call fcn.004077f7
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x4019d9
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4af1db
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp + 8]
push 0x20004
push 0x16010002
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x469170
call fcn.00407809
add esp, 0x34
jmp 0x401f34
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x409bc0
call fcn.004077f7
add esp, 0x10
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 1
mov eax, 0x4af0b4
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 4]
push eax
push 1
mov eax, str.imgStr1g_tk5381
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 1
push 1
mov eax, str.http:__ksfjianijianianwei.act.qq.com_ugc_draw
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00401f7d
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401a91
push ebx
call fcn.004077fd
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401aa1
push ebx
call fcn.004077fd
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401ab1
push ebx
call fcn.004077fd
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401ac1
push ebx
call fcn.004077fd
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401ad1
push ebx
call fcn.004077fd
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401ae1
push ebx
call fcn.004077fd
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401af1
push ebx
call fcn.004077fd
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401b01
push ebx
call fcn.004077fd
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401b15
push ebx
call fcn.004077fd
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404e11
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401b39
push ebx
call fcn.004077fd
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x4af231
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, str.msg_:_
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403458
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401b89
push ebx
call fcn.004077fd
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401b99
push ebx
call fcn.004077fd
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401bad
push ebx
call fcn.004077fd
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4af23a
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x401be2
mov eax, 0x4af0a0
push eax
push 4
mov ebx, 0x407e50
call fcn.004077f7
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x401db3
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x408c50
call fcn.004077f7
add esp, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
push 0x4af23d
push dword [ebp - 0x18]
push 0x4af23f
mov ecx, 4
call fcn.0040161e
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401c51
push ebx
call fcn.004077fd
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x401c64
mov eax, 0x4af0a0
push eax
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp + 8]
push 0x20004
push 0x16010002
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x469170
call fcn.00407809
add esp, 0x34
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401cb1
push ebx
call fcn.004077fd
add esp, 4
push 0
mov ebx, 0x408f40
call fcn.004077f7
add esp, 4
push edx
push eax
call fcn.00405517
mov dword [ebp - 0x20], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x4af0ac]
fstp qword [ebp - 0x30]
push 0x80000601
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 1
mov ebx, 0x408c50
call fcn.004077f7
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x408c50
call fcn.004077f7
add esp, 0x10
mov dword [ebp - 0x38], eax
push 0x4af0a9
push dword [ebp - 0x14]
push 0x4af241
push dword [ebp - 0x38]
push 0x4af24c
push dword [ebp - 0x34]
push 0x4af253
push dword [ebp - 0x20]
mov ecx, 8
call fcn.0040161e
add esp, 0x20
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401d5e
push ebx
call fcn.004077fd
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401d6e
push ebx
call fcn.004077fd
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401d7e
push ebx
call fcn.004077fd
add esp, 4
mov eax, 0x4af256
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0040586c
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x401da3
push ebx
call fcn.004077fd
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x401db3
push ebx
call fcn.004077fd
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x401dc6
mov eax, 0x4af0a0
push eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp + 8]
push 0x20004
push 0x16010002
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x469170
call fcn.00407809
add esp, 0x34
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x408c50
call fcn.004077f7
add esp, 0x10
mov dword [ebp - 0x18], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x401e35
mov eax, 0x4af0a0
push eax
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp + 8]
push 0x20004
push 0x16010002
push 0x52010001
push 4
mov eax, 1
mov ebx, 0x469170
call fcn.00407809
add esp, 0x34
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401e82
push ebx
call fcn.004077fd
add esp, 4
push 0
mov ebx, 0x408f40
call fcn.004077f7
add esp, 4
push edx
push eax
call fcn.00405517
mov dword [ebp - 0x20], eax
push 0x4af0a9
push dword [ebp - 0x14]
push dword [ebp - 0x20]
mov ecx, 3
call fcn.0040161e
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401ec9
push ebx
call fcn.004077fd
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x401edc
mov eax, 0x4af0a0
push eax
push 0x10005
push 0x16010013
push 0x52010001
push 2
mov ebx, 0x409b30
call fcn.004077f7
add esp, 0x1c
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401f0e
push ebx
call fcn.004077fd
add esp, 4
push 0x80000301
push 0
push 0x5dc
push 1
mov ebx, 0x409bc0
call fcn.004077f7
add esp, 0x10
pop eax
pop ebx
pop ecx
jmp 0x40175b
add esp, 0xc
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401f47
push ebx
call fcn.004077fd
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401f57
push ebx
call fcn.004077fd
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401f67
push ebx
call fcn.004077fd
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401f77
push ebx
call fcn.004077fd
add esp, 4
mov esp, ebp
pop ebp
ret 4