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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
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
jmp 0x40ded8
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
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
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
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
push 1
push 3
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
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
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
push dword [ebp - 0x64]
mov eax, 0x72f51d
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040e95b
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40dff5
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40e005
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40e015
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40e025
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40e035
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40e045
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40e055
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40e065
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40e075
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40e085
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40e095
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40e0a5
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40e0b5
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40e0c5
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40e0d5
push ebx
call fcn.0043b651
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x40e0e8
mov eax, 0x72ecf2
push eax
push 1
mov ebx, 0x43d790
call fcn.0043b645
add esp, 0x10
mov dword [ebp - 0x70], eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40e10e
push ebx
call fcn.0043b651
add esp, 4
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40e122
push ebx
call fcn.0043b651
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.____cid_:__
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str._cip_:__
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00412b2b
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40e172
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40e182
push ebx
call fcn.0043b651
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40e196
push ebx
call fcn.0043b651
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, 0x72f54f
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str._cname_:__
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00412b2b
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40e1e6
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40e1f6
push ebx
call fcn.0043b651
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40e20a
push ebx
call fcn.0043b651
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x72ecf2
push dword [ebp - 8]
call fcn.004010d7
add esp, 8
cmp eax, 0
je 0x40e244
push 0x72ecf2
push dword [ebp - 0xc]
call fcn.004010d7
add esp, 8
cmp eax, 0
je 0x40e244
xor eax, eax
jmp 0x40e249
mov eax, 1
test eax, eax
je 0x40e85e
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 8
call fcn.0043b64b
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 1
push 3
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
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 - 0x4c], eax
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
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
mov eax, str.http:__www.ip138.com
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
call fcn.00413ebe
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40e36c
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40e37c
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40e38c
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40e39c
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40e3ac
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40e3bc
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40e3cc
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40e3dc
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40e3ec
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40e3fc
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x43fcf0
call fcn.0043b645
add esp, 0x10
call fcn.0043b651
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40e433
push ebx
call fcn.0043b651
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_connect
push 0
push str._iframe_src
push 1
mov ebx, 0x43cf20
call fcn.0043b645
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x72f5f9
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.004040e7
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40e480
push ebx
call fcn.0043b651
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x72f5f9
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00416237
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40e4b8
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40e4c8
push ebx
call fcn.0043b651
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40e4db
mov eax, 0x72ecd0
push eax
push 1
mov ebx, 0x43d790
call fcn.0043b645
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40e501
push ebx
call fcn.0043b651
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e515
push ebx
call fcn.0043b651
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_connect
push 0
push 0x72f602
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40e538
mov eax, 0x72ecf2
push eax
push 2
mov ebx, 0x43bad0
call fcn.0043b645
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x40e588
push dword [ebp - 0x14]
push str.http:
mov ecx, 2
call fcn.00401174
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e584
push ebx
call fcn.0043b651
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 8
call fcn.0043b64b
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
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
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
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
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
push dword [ebp - 0x60]
lea eax, [ebp - 0x14]
push eax
call fcn.00413ebe
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40e69f
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40e6af
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40e6bf
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40e6cf
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40e6df
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40e6ef
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40e6ff
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40e70f
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40e71f
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x43fcf0
call fcn.0043b645
add esp, 0x10
call fcn.0043b651
add esp, 4
lea eax, [ebp - 0x64]
push eax
call fcn.00416477
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x40e75e
push ebx
call fcn.0043b651
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e772
push ebx
call fcn.0043b651
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.__title_
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, 0x72f616
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00412b2b
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40e7c2
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40e7d2
push ebx
call fcn.0043b651
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40e7e6
push ebx
call fcn.0043b651
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str._r_n__p_
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, 0x72f62c
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00412b2b
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40e836
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40e846
push ebx
call fcn.0043b651
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40e85a
push ebx
call fcn.0043b651
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x72ecf2
push dword [ebp - 8]
call fcn.004010d7
add esp, 8
cmp eax, 0
jne 0x40e891
mov eax, str.IP
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40e88d
push ebx
call fcn.0043b651
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x72ecf2
push dword [ebp - 0xc]
call fcn.004010d7
add esp, 8
cmp eax, 0
jne 0x40e8c4
mov eax, 0x72f63c
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40e8c0
push ebx
call fcn.0043b651
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x40e8e0
push eax
mov ebx, eax
call fcn.0040106c
inc eax
push eax
call fcn.0043b64b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40e8f5
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40e906
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40e916
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40e926
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40e936
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e946
push ebx
call fcn.0043b651
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e956
push ebx
call fcn.0043b651
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret