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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
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
push 0xc
call fcn.004114ab
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x520a83
push ebx
add ebx, 8
push ebx
push 8
call fcn.004114ab
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.00408070
pop ebx
mov eax, str.http:__tianti.xinghuohui.cn_Collec_index.php
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4019e8
push ebx
call fcn.0041149f
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
mov eax, str.typeupdataUserlanhai
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401a09
push ebx
call fcn.0041149f
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, str.User_Agent:_Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_63.0.3239.132_Safari_537.36
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401a23
push ebx
call fcn.0041149f
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.004021bf
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401aad
push ebx
call fcn.0041149f
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401abd
push ebx
call fcn.0041149f
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401acd
push ebx
call fcn.0041149f
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401add
push ebx
call fcn.0041149f
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401aed
push ebx
call fcn.0041149f
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401b01
push ebx
call fcn.0041149f
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004057c3
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401b47
push ebx
call fcn.0041149f
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401b57
push ebx
call fcn.0041149f
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x401b6a
mov eax, 0x5209a1
push eax
push 1
mov ebx, 0x412c40
call fcn.004114b1
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401b90
push ebx
call fcn.0041149f
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401ba4
push ebx
call fcn.0041149f
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.Updataurl
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401bf3
push ebx
call fcn.0041149f
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [0x55d2c4]
test ebx, ebx
je 0x401c0a
push ebx
call fcn.0041149f
add esp, 4
pop eax
mov dword [0x55d2c4], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x55d2c4]
test eax, eax
jne 0x401c25
mov eax, 0x4ca2f5
push eax
push 1
mov ebx, 0x4119e0
call fcn.004114b1
add esp, 0x10
mov dword [ebp - 0x20], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x520a73
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x55d2c4]
test eax, eax
jne 0x401c6e
mov eax, 0x4ca2f5
push eax
push 4
mov ebx, 0x411ed0
call fcn.004114b1
add esp, 0x34
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x20]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fild dword [ebp - 0x24]
fstp qword [ebp - 0x34]
fsub qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.0040186f
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x55d2c4]
test eax, eax
jne 0x401cbe
mov eax, 0x4ca2f5
push eax
push 2
mov ebx, 0x411c00
call fcn.004114b1
add esp, 0x1c
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [0x55d2c8]
test ebx, ebx
je 0x401ceb
push ebx
call fcn.0041149f
add esp, 4
pop eax
mov dword [0x55d2c8], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.Softname
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401d2a
push ebx
call fcn.0041149f
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [0x55d2cc]
test ebx, ebx
je 0x401d41
push ebx
call fcn.0041149f
add esp, 4
pop eax
mov dword [0x55d2cc], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.Logo
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401d80
push ebx
call fcn.0041149f
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x401d93
mov eax, 0x4ca2f5
push eax
push 1
mov eax, 4
mov ebx, 0x479d90
call fcn.004114a5
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401dbe
push ebx
call fcn.0041149f
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [0x55d2d0]
test ebx, ebx
je 0x401dd5
push ebx
call fcn.0041149f
add esp, 4
pop eax
mov dword [0x55d2d0], eax
mov eax, 0x5209a1
xor ecx, ecx
test eax, eax
je 0x401de9
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [0x55d2d0]
xor ebx, ebx
test eax, eax
je 0x401dfc
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x401e13
dec eax
test ecx, ecx
je 0x401e13
call fcn.00401896
add esp, 0xc
test eax, eax
jne 0x402026
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.Logo
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401e57
push ebx
call fcn.0041149f
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
push 8
call fcn.004114ab
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x64], 0
push 0
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x68], 0
push 0
push dword [ebp - 0x68]
lea eax, [ebp - 0x28]
push eax
call fcn.00405ee0
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401f56
push ebx
call fcn.0041149f
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x401f66
push ebx
call fcn.0041149f
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x401f76
push ebx
call fcn.0041149f
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x401f86
push ebx
call fcn.0041149f
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x401f96
push ebx
call fcn.0041149f
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x401fa6
push ebx
call fcn.0041149f
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x401fb6
push ebx
call fcn.0041149f
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x401fc6
push ebx
call fcn.0041149f
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x401fd6
push ebx
call fcn.0041149f
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401fe6
push ebx
call fcn.0041149f
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4147d0
call fcn.004114b1
add esp, 0x10
call fcn.0041149f
add esp, 4
mov eax, dword [ebp - 0x6c]
push eax
mov ebx, dword [0x55d2d0]
test ebx, ebx
je 0x402020
push ebx
call fcn.0041149f
add esp, 4
pop eax
mov dword [0x55d2d0], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402036
push ebx
call fcn.0041149f
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x402046
push ebx
call fcn.0041149f
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x402056
push ebx
call fcn.0041149f
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x402066
push ebx
call fcn.0041149f
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402076
push ebx
call fcn.0041149f
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0041149f
add esp, 4
mov esp, ebp
pop ebp
ret