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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
push 8
call fcn.00412c5a
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, 0x464160
call fcn.00412c48
add esp, 0x10
push 8
call fcn.00412c5a
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x4cc248
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
push dword [0x5cd76c]
push str.pwd
push dword [0x5cd768]
push str.http:__sms.xudan123.com_do.aspx_actionloginInuid
mov ecx, 4
call fcn.0040107e
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
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
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
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 - 0x30], eax
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
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 1
mov eax, 0x4cbb7a
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040562c
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40c18c
push ebx
call fcn.00412c3c
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40c19c
push ebx
call fcn.00412c3c
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40c1ac
push ebx
call fcn.00412c3c
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40c1bc
push ebx
call fcn.00412c3c
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40c1cc
push ebx
call fcn.00412c3c
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40c1dc
push ebx
call fcn.00412c3c
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40c1ec
push ebx
call fcn.00412c3c
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40c1fc
push ebx
call fcn.00412c3c
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40c20c
push ebx
call fcn.00412c3c
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40c21c
push ebx
call fcn.00412c3c
add esp, 4
lea eax, [ebp - 0x44]
push eax
call fcn.004079e6
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40c238
push ebx
call fcn.00412c3c
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x40c24b
mov eax, 0x4cbb50
push eax
push 1
mov ebx, 0x414410
call fcn.00412c54
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40c271
push ebx
call fcn.00412c3c
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40c285
push ebx
call fcn.00412c3c
add esp, 4
pop eax
mov dword [ebp - 4], eax
push str._.___
push dword [0x5cd768]
mov ecx, 2
call fcn.0040107e
add esp, 8
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40c2bd
mov eax, 0x4cbb50
push eax
push 0x30001
push 0
push dword [ebp - 8]
push 3
mov eax, 2
mov ebx, 0x4641c0
call fcn.00412c48
add esp, 0x28
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40c2ef
push ebx
call fcn.00412c3c
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40c302
mov eax, 0x4cbb50
push eax
push 0x30001
push 0
push dword [ebp - 8]
push 2
mov eax, 2
mov ebx, 0x4645d0
call fcn.00412c48
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40c349
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40c345
imul eax, dword [ebx]
jmp 0x40c33a
mov ecx, eax
test ecx, ecx
je 0x40c380
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push 0x30002
push 0
push ebx
push 1
mov eax, 2
mov ebx, 0x4644e0
call fcn.00412c48
add esp, 0x10
call fcn.00412c3c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40c34f
call fcn.00412c3c
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0xc]
call fcn.004010f3
mov eax, 0
cmp eax, ecx
jl 0x40c3aa
push 1
call fcn.00412c60
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], 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 0x40c3d7
mov eax, 0x4cbb50
push eax
push 0x30002
push 0
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 4
mov eax, 2
mov ebx, 0x464520
call fcn.00412c48
add esp, 0x34
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push str.token
push dword [0x5cd768]
push str.http:__sms.xudan123.com_do.aspx_actiongetMobilenumpid231uid
mov ecx, 4
call fcn.0040107e
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40c431
push ebx
call fcn.00412c3c
add esp, 4
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
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
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 - 0x38], eax
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
push 1
mov eax, 0x4cbb7a
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040562c
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40c4dc
push ebx
call fcn.00412c3c
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40c4ec
push ebx
call fcn.00412c3c
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40c4fc
push ebx
call fcn.00412c3c
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40c50c
push ebx
call fcn.00412c3c
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40c51c
push ebx
call fcn.00412c3c
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40c52c
push ebx
call fcn.00412c3c
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40c53c
push ebx
call fcn.00412c3c
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40c54c
push ebx
call fcn.00412c3c
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40c55c
push ebx
call fcn.00412c3c
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40c56c
push ebx
call fcn.00412c3c
add esp, 4
lea eax, [ebp - 0x4c]
push eax
call fcn.004079e6
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40c588
push ebx
call fcn.00412c3c
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x40c59b
mov eax, 0x4cbb50
push eax
push 1
mov ebx, 0x414410
call fcn.00412c54
add esp, 0x10
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40c5c1
push ebx
call fcn.00412c3c
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40c5d5
push ebx
call fcn.00412c3c
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, str._d11_.__
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00407f76
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40c601
push ebx
call fcn.00412c3c
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [0x5cd750]
test ebx, ebx
je 0x40c618
push ebx
call fcn.00412c3c
add esp, 4
pop eax
mov dword [0x5cd750], eax
mov eax, dword [0x5cd750]
test eax, eax
je 0x40c63c
push eax
mov ebx, eax
call fcn.00401013
inc eax
push eax
call fcn.00412c5a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40c641
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40c652
push ebx
call fcn.00412c3c
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x30001
push 0
push ebx
push 1
mov eax, 2
mov ebx, 0x4641a0
call fcn.00412c48
add esp, 0x10
call fcn.00412c3c
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40c698
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40c694
imul eax, dword [ebx]
jmp 0x40c689
mov ecx, eax
test ecx, ecx
je 0x40c6cf
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push 0x30002
push 0
push ebx
push 1
mov eax, 2
mov ebx, 0x4644e0
call fcn.00412c48
add esp, 0x10
call fcn.00412c3c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40c69e
call fcn.00412c3c
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40c6e7
push ebx
call fcn.00412c3c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret