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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 4], 0
push 8
call fcn.0041d01f
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, 0x4707e0
call fcn.0041d00d
add esp, 0x10
push 8
call fcn.0041d01f
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x4d45fd
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.004089bd
push 0x80000401
push edx
push eax
push 1
mov ebx, 0x41ea50
call fcn.0041d019
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
push 8
push 0x16011523
push 0x52010001
call fcn.0041d013
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0xffffffffffffffff
push 8
push 0x16011524
push 0x52010001
call fcn.0041d013
add esp, 0x10
mov dword [ebp - 0x28], eax
push dword [ebp - 0x20]
push 0x4d4a62
push dword [ebp - 0x28]
push str.pwd
push dword [ebp - 0x24]
push str.http:__sms.xudan123.com_do.aspx_actionloginInuid
mov ecx, 6
call fcn.0040110c
add esp, 0x18
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x409fd8
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x409fe8
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x409ff8
push ebx
call fcn.0041d001
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, 0x4d3f51
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004040de
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40a0a3
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40a0b3
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40a0c3
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40a0d3
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40a0e3
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40a0f3
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40a103
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40a113
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40a123
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40a133
push ebx
call fcn.0041d001
add esp, 4
lea eax, [ebp - 0x5c]
push eax
call fcn.00406581
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40a14f
push ebx
call fcn.0041d001
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x40a162
mov eax, 0x4d3dfa
push eax
push 1
mov ebx, 0x41ea50
call fcn.0041d019
add esp, 0x10
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40a188
push ebx
call fcn.0041d001
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40a19c
push ebx
call fcn.0041d001
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push 8
push 0x16011523
push 0x52010001
call fcn.0041d013
add esp, 0x10
mov dword [ebp - 0x18], eax
push str._.___
push dword [ebp - 0x18]
mov ecx, 2
call fcn.0040110c
add esp, 8
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40a1e1
push ebx
call fcn.0041d001
add esp, 4
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40a1fa
mov eax, 0x4d3dfa
push eax
push 0x30001
push 0
push dword [ebp - 8]
push 3
mov eax, 2
mov ebx, 0x470840
call fcn.0041d00d
add esp, 0x28
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a22c
push ebx
call fcn.0041d001
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40a23f
mov eax, 0x4d3dfa
push eax
push 0x30001
push 0
push dword [ebp - 8]
push 2
mov eax, 2
mov ebx, 0x470c50
call fcn.0041d00d
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 0x40a286
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40a282
imul eax, dword [ebx]
jmp 0x40a277
mov ecx, eax
test ecx, ecx
je 0x40a2bd
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push 0x30002
push 0
push ebx
push 1
mov eax, 2
mov ebx, 0x470b60
call fcn.0041d00d
add esp, 0x10
call fcn.0041d001
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40a28c
call fcn.0041d001
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0xc]
call fcn.00403de6
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x40a591
mov ebx, dword [ebp - 0xc]
call fcn.00403dff
mov eax, 0
cmp eax, ecx
jl 0x40a2fc
push 1
call fcn.0041d025
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 0x40a329
mov eax, 0x4d3dfa
push eax
push 0x30002
push 0
mov ebx, dword [ebp - 0x18]
push dword [ebx]
push 4
mov eax, 2
mov ebx, 0x470ba0
call fcn.0041d00d
add esp, 0x34
mov dword [ebp - 0x1c], eax
push 1
push 1
call fcn.004089bd
push 0x80000401
push edx
push eax
push 1
mov ebx, 0x41ea50
call fcn.0041d019
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0xffffffffffffffff
push 8
push 0x16011523
push 0x52010001
call fcn.0041d013
add esp, 0x10
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x28]
push 0x4d4a62
push dword [ebp - 0x1c]
push str.token
push dword [ebp - 0x2c]
push str.http:__sms.xudan123.com_do.aspx_actiongetMobilenumpid231uid
mov ecx, 6
call fcn.0040110c
add esp, 0x18
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40a3c9
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a3d9
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40a3e9
push ebx
call fcn.0041d001
add esp, 4
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
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 - 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
push 1
mov eax, 0x4d3f51
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004040de
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40a494
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40a4a4
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40a4b4
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40a4c4
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40a4d4
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40a4e4
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40a4f4
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40a504
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40a514
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40a524
push ebx
call fcn.0041d001
add esp, 4
lea eax, [ebp - 0x60]
push eax
call fcn.00406581
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40a540
push ebx
call fcn.0041d001
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x40a553
mov eax, 0x4d3dfa
push eax
push 1
mov ebx, 0x41ea50
call fcn.0041d019
add esp, 0x10
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x40a579
push ebx
call fcn.0041d001
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40a58d
push ebx
call fcn.0041d001
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, str._d11_.__
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403e1f
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40a5b9
push ebx
call fcn.0041d001
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [0x5d64d0]
test ebx, ebx
je 0x40a5d0
push ebx
call fcn.0041d001
add esp, 4
pop eax
mov dword [0x5d64d0], eax
lea eax, [ebp - 0x10]
push eax
mov eax, str._d3_d
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403e1f
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40a5fe
push ebx
call fcn.0041d001
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40a612
push ebx
call fcn.0041d001
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x4d3e94
push dword [0x5d64b0]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x40a74f
push 0
mov ebx, 0x41f4b0
call fcn.0041d019
add esp, 4
push reloc.WS2_32.dll_closesocket
push edx
push eax
push 1
mov ebx, 0x41f3d0
call fcn.0041d019
add esp, 0x10
push reloc.WS2_32.dll_closesocket
push edx
push eax
push 1
mov ebx, 0x41ea50
call fcn.0041d019
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 0x40a6aa
mov eax, 0x4d3dfa
push eax
push 4
mov ebx, 0x41e090
call fcn.0041d019
add esp, 0x34
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40a6d0
push ebx
call fcn.0041d001
add esp, 4
push 0x4d4720
push dword [ebp - 0x10]
push 0x4d4b0c
push dword [ebp - 0x2c]
push 0x4d3e2d
mov ecx, 5
call fcn.0040110c
add esp, 0x14
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40a705
push ebx
call fcn.0041d001
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40a718
mov eax, 0x4d3dfa
push eax
push 0x10005
push 0x1601053c
push 0x52010001
push 2
mov ebx, 0x41fe90
call fcn.0041d019
add esp, 0x1c
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40a74a
push ebx
call fcn.0041d001
add esp, 4
jmp 0x40a86a
push 0
mov ebx, 0x41f4b0
call fcn.0041d019
add esp, 4
push reloc.WS2_32.dll_closesocket
push edx
push eax
push 1
mov ebx, 0x41f3d0
call fcn.0041d019
add esp, 0x10
push reloc.WS2_32.dll_closesocket
push edx
push eax
push 1
mov ebx, 0x41ea50
call fcn.0041d019
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 0x40a7c7
mov eax, 0x4d3dfa
push eax
push 4
mov ebx, 0x41e090
call fcn.0041d019
add esp, 0x34
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40a7ed
push ebx
call fcn.0041d001
add esp, 4
push 0x4d4b25
push dword [0x5d64d0]
push 0x4d4cac
push dword [ebp - 0x2c]
push 0x4d3e2d
mov ecx, 5
call fcn.0040110c
add esp, 0x14
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40a825
push ebx
call fcn.0041d001
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40a838
mov eax, 0x4d3dfa
push eax
push 0x10005
push 0x1601053c
push 0x52010001
push 2
mov ebx, 0x41fe90
call fcn.0041d019
add esp, 0x1c
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40a86a
push ebx
call fcn.0041d001
add esp, 4
mov eax, dword [0x5d64d0]
test eax, eax
je 0x40a888
push eax
mov ebx, eax
call fcn.004010a1
inc eax
push eax
call fcn.0041d01f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40a88d
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40a89e
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x30001
push 0
push ebx
push 1
mov eax, 2
mov ebx, 0x470820
call fcn.0041d00d
add esp, 0x10
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40a8e4
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40a8e0
imul eax, dword [ebx]
jmp 0x40a8d5
mov ecx, eax
test ecx, ecx
je 0x40a91b
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push 0x30002
push 0
push ebx
push 1
mov eax, 2
mov ebx, 0x470b60
call fcn.0041d00d
add esp, 0x10
call fcn.0041d001
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40a8ea
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40a933
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40a943
push ebx
call fcn.0041d001
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret