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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
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.00414309
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], 0x539d4d
push ebx
add ebx, 8
push ebx
push 8
call fcn.00414309
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.0040d03b
pop ebx
mov eax, str.http:__tianti.xinghuohui.cn_tianti_index.php
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x405375
push ebx
call fcn.004142fd
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 0x405396
push ebx
call fcn.004142fd
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 0x4053b0
push ebx
call fcn.004142fd
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
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.00405aee
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40545e
push ebx
call fcn.004142fd
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40546e
push ebx
call fcn.004142fd
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40547e
push ebx
call fcn.004142fd
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40548e
push ebx
call fcn.004142fd
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40549e
push ebx
call fcn.004142fd
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4054b2
push ebx
call fcn.004142fd
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.0040a3dc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4054f8
push ebx
call fcn.004142fd
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x405508
push ebx
call fcn.004142fd
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40551b
mov eax, 0x4e34d5
push eax
push 1
mov ebx, 0x415b50
call fcn.0041430f
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x405541
push ebx
call fcn.004142fd
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x405555
push ebx
call fcn.004142fd
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x20
call fcn.00414309
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
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 ebx, dword [ebp - 0x20]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4055b1
push ebx
call fcn.004142fd
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4055c5
push ebx
call fcn.004142fd
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4055d9
push ebx
call fcn.004142fd
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4055ed
push ebx
call fcn.004142fd
add esp, 4
pop ebx
call fcn.004142fd
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
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 + 0x2c]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x405631
push ebx
call fcn.004142fd
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [0x57dd1c]
test ebx, ebx
je 0x405648
push ebx
call fcn.004142fd
add esp, 4
pop eax
mov dword [0x57dd1c], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x57dd1c]
test eax, eax
jne 0x405663
mov eax, 0x4cd9fc
push eax
push 1
mov ebx, 0x414890
call fcn.0041430f
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 0x539d3d
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x57dd1c]
test eax, eax
jne 0x4056ac
mov eax, 0x4cd9fc
push eax
push 4
mov ebx, 0x414d80
call fcn.0041430f
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.004010ad
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x57dd1c]
test eax, eax
jne 0x4056fc
mov eax, 0x4cd9fc
push eax
push 2
mov ebx, 0x414ab0
call fcn.0041430f
add esp, 0x1c
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [0x57dd10]
test ebx, ebx
je 0x405729
push ebx
call fcn.004142fd
add esp, 4
pop eax
mov dword [0x57dd10], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
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 + 0x2c]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40576a
push ebx
call fcn.004142fd
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [0x57dd14]
test ebx, ebx
je 0x405781
push ebx
call fcn.004142fd
add esp, 4
pop eax
mov dword [0x57dd14], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
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 + 0x2c]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4057c2
push ebx
call fcn.004142fd
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4057d5
mov eax, 0x4cd9fc
push eax
push 1
mov eax, 4
mov ebx, 0x47cc20
call fcn.00414303
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x405800
push ebx
call fcn.004142fd
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [0x57dd18]
test ebx, ebx
je 0x405817
push ebx
call fcn.004142fd
add esp, 4
pop eax
mov dword [0x57dd18], eax
mov eax, 0x4e34d5
xor ecx, ecx
test eax, eax
je 0x40582b
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [0x57dd18]
xor ebx, ebx
test eax, eax
je 0x40583e
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x405855
dec eax
test ecx, ecx
je 0x405855
call fcn.00404265
add esp, 0xc
test eax, eax
jne 0x405a82
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
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 + 0x2c]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40589b
push ebx
call fcn.004142fd
add esp, 4
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 8
call fcn.00414309
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
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
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x6c], 0
push 0
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x70], 0
push 0
push dword [ebp - 0x70]
lea eax, [ebp - 0x28]
push eax
call fcn.0040aaf9
mov dword [ebp - 0x74], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4059b2
push ebx
call fcn.004142fd
add esp, 4
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x4059c2
push ebx
call fcn.004142fd
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x4059d2
push ebx
call fcn.004142fd
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x4059e2
push ebx
call fcn.004142fd
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4059f2
push ebx
call fcn.004142fd
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x405a02
push ebx
call fcn.004142fd
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x405a12
push ebx
call fcn.004142fd
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x405a22
push ebx
call fcn.004142fd
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x405a32
push ebx
call fcn.004142fd
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405a42
push ebx
call fcn.004142fd
add esp, 4
mov ebx, dword [ebp - 0x38]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x417710
call fcn.0041430f
add esp, 0x10
call fcn.004142fd
add esp, 4
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [0x57dd18]
test ebx, ebx
je 0x405a7c
push ebx
call fcn.004142fd
add esp, 4
pop eax
mov dword [0x57dd18], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x405a92
push ebx
call fcn.004142fd
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x405aa2
push ebx
call fcn.004142fd
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x405ab2
push ebx
call fcn.004142fd
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x405ac2
push ebx
call fcn.004142fd
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x405ad2
push ebx
call fcn.004142fd
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004142fd
add esp, 4
mov esp, ebp
pop ebp
ret