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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 4], 0
push 8
call fcn.00413e13
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x30001
push 0
push ebx
push 1
mov eax, 2
mov ebx, 0x466550
call fcn.00413e0d
add esp, 0x10
push 8
call fcn.00413e13
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x4ce41c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 1
push 1
call fcn.0040cd3f
push 0x80000401
push edx
push eax
push 1
mov ebx, 0x4155d0
call fcn.00413e1f
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 0x4cef40
push dword [0x5cf7bc]
push str.pwd
push dword [0x5cf7b8]
push str.http:__sms.xudan123.com_do.aspx_actionloginInuid
mov ecx, 6
call fcn.00401081
add esp, 0x18
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40cf42
push ebx
call fcn.00413e07
add esp, 4
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
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
push 1
mov eax, str.Mozilla_5.0__iPhone__CPU_iPhone_OS_5_0_1_like_Mac_OS_X__AppleWebKit_534.46__KHTML__like_Gecko__Mobile_9A405
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
mov eax, 0x4cdd07
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00405a28
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40cfed
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40cffd
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40d00d
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40d01d
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40d02d
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40d03d
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40d04d
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40d05d
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40d06d
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40d07d
push ebx
call fcn.00413e07
add esp, 4
lea eax, [ebp - 0x54]
push eax
call fcn.00407de2
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40d099
push ebx
call fcn.00413e07
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x40d0ac
mov eax, 0x4cdcdd
push eax
push 1
mov ebx, 0x4155d0
call fcn.00413e1f
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40d0d2
push ebx
call fcn.00413e07
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40d0e6
push ebx
call fcn.00413e07
add esp, 4
pop eax
mov dword [ebp - 4], eax
push str._.___
push dword [0x5cf7b8]
mov ecx, 2
call fcn.00401081
add esp, 8
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40d11e
mov eax, 0x4cdcdd
push eax
push 0x30001
push 0
push dword [ebp - 8]
push 3
mov eax, 2
mov ebx, 0x4665b0
call fcn.00413e0d
add esp, 0x28
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40d150
push ebx
call fcn.00413e07
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40d163
mov eax, 0x4cdcdd
push eax
push 0x30001
push 0
push dword [ebp - 8]
push 2
mov eax, 2
mov ebx, 0x4669c0
call fcn.00413e0d
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40d1aa
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40d1a6
imul eax, dword [ebx]
jmp 0x40d19b
mov ecx, eax
test ecx, ecx
je 0x40d1e1
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push 0x30002
push 0
push ebx
push 1
mov eax, 2
mov ebx, 0x4668d0
call fcn.00413e0d
add esp, 0x10
call fcn.00413e07
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40d1b0
call fcn.00413e07
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
inc dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
call fcn.004010fe
mov eax, 0
cmp eax, ecx
jl 0x40d20e
push 1
call fcn.00413e25
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push 0
push 0
push 0
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40d23b
mov eax, 0x4cdcdd
push eax
push 0x30002
push 0
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push 4
mov eax, 2
mov ebx, 0x466910
call fcn.00413e0d
add esp, 0x34
mov dword [ebp - 0x1c], eax
push 1
push 1
call fcn.0040cd3f
push 0x80000401
push edx
push eax
push 1
mov ebx, 0x4155d0
call fcn.00413e1f
add esp, 0x10
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0x4cef40
push dword [ebp - 0x1c]
push str.token
push dword [0x5cf7b8]
push 0x4ceff7
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.http:__sms.xudan123.com_do.aspx_actiongetVcodeAndReleaseMobilemobile
mov ecx, 8
call fcn.00401081
add esp, 0x20
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40d2cf
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40d2df
push ebx
call fcn.00413e07
add esp, 4
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
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
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
push 1
mov eax, str.Mozilla_5.0__iPhone__CPU_iPhone_OS_5_0_1_like_Mac_OS_X__AppleWebKit_534.46__KHTML__like_Gecko__Mobile_9A405
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
mov eax, 0x4cdd07
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00405a28
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40d38a
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40d39a
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40d3aa
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40d3ba
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40d3ca
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40d3da
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40d3ea
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40d3fa
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40d40a
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40d41a
push ebx
call fcn.00413e07
add esp, 4
lea eax, [ebp - 0x5c]
push eax
call fcn.00407de2
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40d436
push ebx
call fcn.00413e07
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x40d449
mov eax, 0x4cdcdd
push eax
push 1
mov ebx, 0x4155d0
call fcn.00413e1f
add esp, 0x10
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40d46f
push ebx
call fcn.00413e07
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40d483
push ebx
call fcn.00413e07
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.not_receive
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40d4b8
mov eax, 0x4cdcdd
push eax
push 4
mov ebx, 0x4146f0
call fcn.00413e1f
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x40d4e7
push 0x3e8
call fcn.004085da
jmp 0x40d4ec
jmp 0x40d4f6
cmp dword [ebp - 0x10], 0x3c
jl 0x40d1ed
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4cf051
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00408372
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40d51e
push ebx
call fcn.00413e07
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40d532
push ebx
call fcn.00413e07
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x4cdd66
push dword [ebp - 0x14]
call fcn.0040111e
add esp, 8
cmp eax, 0
jne 0x40d8f9
mov ebx, dword [ebp - 0xc]
call fcn.004010fe
mov eax, 0
cmp eax, ecx
jl 0x40d56d
push 1
call fcn.00413e25
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push 0
push 0
push 0
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40d59a
mov eax, 0x4cdcdd
push eax
push 0x30002
push 0
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push 4
mov eax, 2
mov ebx, 0x466910
call fcn.00413e0d
add esp, 0x34
mov dword [ebp - 0x1c], eax
push 1
push 1
call fcn.0040cd3f
push 0x80000401
push edx
push eax
push 1
mov ebx, 0x4155d0
call fcn.00413e1f
add esp, 0x10
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0x4cef40
push dword [ebp - 0x1c]
push str.token
push dword [0x5cf7b8]
push 0x4ceff7
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.http:__sms.xudan123.com_do.aspx_actionaddIgnoreListpid231mobile
mov ecx, 8
call fcn.00401081
add esp, 0x20
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40d62e
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40d63e
push ebx
call fcn.00413e07
add esp, 4
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
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
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
push 1
mov eax, str.Mozilla_5.0__iPhone__CPU_iPhone_OS_5_0_1_like_Mac_OS_X__AppleWebKit_534.46__KHTML__like_Gecko__Mobile_9A405
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
mov eax, 0x4cdd07
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00405a28
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40d6e9
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40d6f9
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40d709
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40d719
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40d729
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40d739
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40d749
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40d759
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40d769
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40d779
push ebx
call fcn.00413e07
add esp, 4
lea eax, [ebp - 0x5c]
push eax
call fcn.00407de2
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40d795
push ebx
call fcn.00413e07
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x40d7a8
mov eax, 0x4cdcdd
push eax
push 1
mov ebx, 0x4155d0
call fcn.00413e1f
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x40d7ca
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40d7da
push ebx
call fcn.00413e07
add esp, 4
push 0
mov ebx, 0x416030
call fcn.00413e1f
add esp, 4
push reloc.WS2_32.dll_closesocket
push edx
push eax
push 1
mov ebx, 0x415f50
call fcn.00413e1f
add esp, 0x10
push reloc.WS2_32.dll_closesocket
push edx
push eax
push 1
mov ebx, 0x4155d0
call fcn.00413e1f
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 0xc
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x40d852
mov eax, 0x4cdcdd
push eax
push 4
mov ebx, 0x414c50
call fcn.00413e1f
add esp, 0x34
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40d878
push ebx
call fcn.00413e07
add esp, 4
push 0x4cf0b0
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x4cf0c4
push dword [ebp - 0x2c]
push 0x4ce326
mov ecx, 5
call fcn.00401081
add esp, 0x14
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40d8af
push ebx
call fcn.00413e07
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40d8c2
mov eax, 0x4cdcdd
push eax
push 0x10005
push 0x1601053c
push 0x52010001
push 2
mov ebx, 0x416a40
call fcn.00413e1f
add esp, 0x1c
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40d8f4
push ebx
call fcn.00413e07
add esp, 4
jmp 0x40d8f9
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40d915
push eax
mov ebx, eax
call fcn.00401016
inc eax
push eax
call fcn.00413e13
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x5cf794]
test ebx, ebx
je 0x40d929
push ebx
call fcn.00413e07
add esp, 4
pop eax
mov dword [0x5cf794], eax
mov eax, dword [0x5cf794]
test eax, eax
je 0x40d94d
push eax
mov ebx, eax
call fcn.00401016
inc eax
push eax
call fcn.00413e13
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x5cf790]
test ebx, ebx
je 0x40d961
push ebx
call fcn.00413e07
add esp, 4
pop eax
mov dword [0x5cf790], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40d983
push eax
mov ebx, eax
call fcn.00401016
inc eax
push eax
call fcn.00413e13
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40d988
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40d999
push ebx
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x30001
push 0
push ebx
push 1
mov eax, 2
mov ebx, 0x466590
call fcn.00413e0d
add esp, 0x10
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40d9df
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40d9db
imul eax, dword [ebx]
jmp 0x40d9d0
mov ecx, eax
test ecx, ecx
je 0x40da16
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push 0x30002
push 0
push ebx
push 1
mov eax, 2
mov ebx, 0x4668d0
call fcn.00413e0d
add esp, 0x10
call fcn.00413e07
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40d9e5
call fcn.00413e07
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40da2e
push ebx
call fcn.00413e07
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4