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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 8
call fcn.004462c9
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x60e8e5
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
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
mov eax, str.User_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_50.0.2661.87_Safari_537.36
mov dword [ebp - 0x40], eax
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
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 1
push 0
push dword [ebp + 0xc]
call fcn.00402626
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x401ad3
push ebx
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x401ae3
push ebx
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x401af3
push ebx
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x401b03
push ebx
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x401b13
push ebx
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401b23
push ebx
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401b33
push ebx
call fcn.004462cf
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x401b46
mov eax, 0x60e8e5
push eax
push 1
mov ebx, 0x4482f0
call fcn.004462d5
add esp, 0x10
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x401b6c
push ebx
call fcn.004462cf
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401b80
push ebx
call fcn.004462cf
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x60e8ed
mov ecx, 2
call fcn.00401743
add esp, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x60e8ed
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00406d9b
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401be2
push ebx
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401bf2
push ebx
call fcn.004462cf
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x401c05
mov eax, 0x60e7fe
push eax
push 1
mov ebx, 0x4471f0
call fcn.004462d5
add esp, 0x10
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401c2b
push ebx
call fcn.004462cf
add esp, 4
mov eax, dword [ebp - 0x38]
cdq
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
push 0
mov ebx, 0x446890
call fcn.004462d5
add esp, 4
mov dword [ebp - 0x24], eax
push 0
mov ebx, 0x4468b0
call fcn.004462d5
add esp, 4
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0x60e7fc
push dword [ebp - 0x24]
mov ecx, 3
call fcn.00401743
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401c8a
push ebx
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401c9a
push ebx
call fcn.004462cf
add esp, 4
lea eax, [ebp - 0x2c]
push eax
call fcn.00406f9c
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401cb9
push ebx
call fcn.004462cf
add esp, 4
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x60e8ef
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x401cea
mov eax, 0x60e7fe
push eax
push 3
mov ebx, 0x447720
call fcn.004462d5
add esp, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x401d22
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x401d1e
imul eax, dword [ebx]
jmp 0x401d13
mov ecx, eax
test ecx, ecx
je 0x401d41
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x401d3a
push ebx
push eax
call fcn.004462cf
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x401d28
call fcn.004462cf
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x18]
call fcn.00401997
xor ecx, ecx
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x401ec3
mov ebx, dword [ebp - 0x18]
call fcn.004019b0
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x401d93
push 0x297
push 0x4019cba
push 4
call fcn.004462db
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x401db0
push 0x297
push 0x4019cba
push 1
call fcn.004462db
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x60e8ed
mov ecx, 2
call fcn.00401743
add esp, 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
call fcn.00407060
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401e09
push ebx
call fcn.004462cf
add esp, 4
cmp dword [ebp - 0x34], 0
jle 0x401ebb
mov ebx, dword [ebp - 0x18]
call fcn.004019b0
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x401e3a
push 0x2ff
push 0x4019cba
push 4
call fcn.004462db
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x401e57
push 0x2ff
push 0x4019cba
push 1
call fcn.004462db
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0x60e8ed
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x24]
call fcn.0040591b
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401e9e
push ebx
call fcn.004462cf
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401eb2
push ebx
call fcn.004462cf
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
jmp 0x401ec3
pop eax
pop ebx
pop ecx
jmp 0x401d5e
add esp, 0xc
xor eax, eax
cmp dword [ebp - 8], 0
jl 0x401ed7
jg 0x401ed6
cmp dword [ebp - 0xc], 0
jbe 0x401ed7
inc eax
test eax, eax
je 0x401f13
xor eax, eax
cmp dword [ebp - 0x10], 0
jl 0x401ef0
jg 0x401eef
cmp dword [ebp - 0x14], 0
jbe 0x401ef0
inc eax
test eax, eax
je 0x401f13
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xc], eax
jne 0x401f06
cmp dword [ebp - 8], edx
je 0x401f13
mov eax, 1
jmp 0x401f18
mov eax, 0
test eax, eax
je 0x4023ec
push 0
mov ebx, 0x446890
call fcn.004462d5
add esp, 4
mov dword [ebp - 0x24], eax
push str.lsgxpz.ini
push dword [ebp - 0x24]
mov ecx, 2
call fcn.00401743
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401f5d
push ebx
call fcn.004462cf
add esp, 4
push 0
mov ebx, 0x446890
call fcn.004462d5
add esp, 4
mov dword [ebp - 0x2c], eax
push 0
mov ebx, 0x4468b0
call fcn.004462d5
add esp, 4
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push 0x60e7fc
push dword [ebp - 0x2c]
mov ecx, 3
call fcn.00401743
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401fb2
push ebx
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401fc2
push ebx
call fcn.004462cf
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x401fd5
mov eax, 0x60e7fe
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.yxmz
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x60e903
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x402001
mov eax, 0x60e7fe
push eax
push 4
mov ebx, 0x44a700
call fcn.004462d5
add esp, 0x34
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x402024
push ebx
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x402034
push ebx
call fcn.004462cf
add esp, 4
push 0
mov ebx, 0x446890
call fcn.004462d5
add esp, 4
mov dword [ebp - 0x24], eax
push str.lsgxpz.ini
push dword [ebp - 0x24]
mov ecx, 2
call fcn.00401743
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x402071
push ebx
call fcn.004462cf
add esp, 4
mov eax, str.25966
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00407336
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x402099
push ebx
call fcn.004462cf
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4020ac
mov eax, 0x60e7fe
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x60e90c
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x60e903
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4020d8
mov eax, 0x60e7fe
push eax
push 4
mov ebx, 0x44a700
call fcn.004462d5
add esp, 0x34
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4020fb
push ebx
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40210b
push ebx
call fcn.004462cf
add esp, 4
push 0
mov ebx, 0x446890
call fcn.004462d5
add esp, 4
mov dword [ebp - 0x24], eax
push str.update.exe
push dword [ebp - 0x24]
mov ecx, 2
call fcn.00401743
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x402148
push ebx
call fcn.004462cf
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.004081ee
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x402164
push ebx
call fcn.004462cf
add esp, 4
cmp dword [ebp - 0x2c], 0
jne 0x40232c
push 0
mov ebx, 0x446890
call fcn.004462d5
add esp, 4
mov dword [ebp - 0x24], eax
push str.update.exe
push dword [ebp - 0x24]
mov ecx, 2
call fcn.00401743
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4021ab
push ebx
call fcn.004462cf
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]
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
push 1
mov eax, str.User_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_50.0.2661.87_Safari_537.36
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
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
lea eax, [ebp - 0x54]
push eax
push 1
push 0
mov eax, str.http:__www.liushisi.com_update2023.txt
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00402626
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x402262
push ebx
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x402272
push ebx
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x402282
push ebx
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x402292
push ebx
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4022a2
push ebx
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4022b2
push ebx
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4022c2
push ebx
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4022d2
push ebx
call fcn.004462cf
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x4022e5
mov eax, 0x60e8e5
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4022f9
mov eax, 0x60e7fe
push eax
push 2
mov ebx, 0x448ce0
call fcn.004462d5
add esp, 0x1c
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40231c
push ebx
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40232c
push ebx
call fcn.004462cf
add esp, 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 1
push 1
call fcn.0040823f
push 0
mov ebx, 0x446890
call fcn.004462d5
add esp, 4
mov dword [ebp - 0x24], eax
push str.update.exe
push dword [ebp - 0x24]
mov ecx, 2
call fcn.00401743
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40238b
push ebx
call fcn.004462cf
add esp, 4
push 1
push 0
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00408498
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4023b8
push ebx
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4023c8
push ebx
call fcn.004462cf
add esp, 4
call fcn.00408545
push CPtrArray::~CPtrArray
push 0
push eax
push 1
mov eax, 2
mov ebx, 0x4b7350
call fcn.004462ed
add esp, 0x10
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4023fc
push ebx
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40241a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x402416
imul eax, dword [ebx]
jmp 0x40240b
mov ecx, eax
test ecx, ecx
je 0x402439
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x402432
push ebx
push eax
call fcn.004462cf
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x402420
call fcn.004462cf
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x402451
push ebx
call fcn.004462cf
add esp, 4
mov esp, ebp
pop ebp
ret 8