Function at 0x407f47
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 0x40804d
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40805d
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40806d
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 0x408118
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x408128
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x408138
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x408148
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x408158
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x408168
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x408178
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x408188
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x408198
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4081a8
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 0x4081c4
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 0x4081d7
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 0x4081fd
push ebx
call fcn.0041d001
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x408211
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 0x408256
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 0x40826f
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 0x4082a1
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 0x4082b4
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 0x4082fb
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4082f7
imul eax, dword [ebx]
jmp 0x4082ec
mov ecx, eax
test ecx, ecx
je 0x408332
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 0x408301
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 0x408606
mov ebx, dword [ebp - 0xc]
call fcn.00403dff
mov eax, 0
cmp eax, ecx
jl 0x408371
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 0x40839e
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 0x40843e
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40844e
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40845e
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 0x408509
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x408519
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x408529
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x408539
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x408549
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x408559
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x408569
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x408579
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x408589
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x408599
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 0x4085b5
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 0x4085c8
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 0x4085ee
push ebx
call fcn.0041d001
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x408602
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 0x40862e
push ebx
call fcn.0041d001
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [0x5d64b0]
test ebx, ebx
je 0x408645
push ebx
call fcn.0041d001
add esp, 4
pop eax
mov dword [0x5d64b0], 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 0x408673
push ebx
call fcn.0041d001
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x408687
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 0x4087c4
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 0x40871f
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 0x408745
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 0x40877a
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 0x40878d
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 0x4087bf
push ebx
call fcn.0041d001
add esp, 4
jmp 0x4088df
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 0x40883c
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 0x408862
push ebx
call fcn.0041d001
add esp, 4
push 0x4d4b25
push dword [0x5d64b0]
push 0x4d4b44
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 0x40889a
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 0x4088ad
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 0x4088df
push ebx
call fcn.0041d001
add esp, 4
mov eax, dword [0x5d64b0]
test eax, eax
je 0x4088fd
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 0x408902
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x408913
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 0x408959
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408955
imul eax, dword [ebx]
jmp 0x40894a
mov ecx, eax
test ecx, ecx
je 0x408990
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 0x40895f
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4089a8
push ebx
call fcn.0041d001
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4089b8
push ebx
call fcn.0041d001
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret