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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call fcn.004064a2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [0x4d0778]
test ebx, ebx
je 0x406000
push ebx
call fcn.0041175f
add esp, 4
pop eax
mov dword [0x4d0778], eax
push dword [0x4d077c]
push str.txtCodeTop
push dword [0x4d0778]
push str.txtCode
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str.btnLogin_E7_99_BB_E3_80_80_E5_BD_95txtPwd
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.__VIEWSTATE_2FwEPDwULLTE1MjY4NzQ5NTAPZBYCAgMPZBYCAgEPZBYEZg9kFgICAg9kFgJmDw9kFgIeB29uY2xpY2sFFXJldHVybiBqdWRnZXN1Ym1pdCgpO2QCAg9kFgICAQ9kFgJmDw9kFgIeB29uZm9jdXMFB29uZm8oKTtkZBtAvgQv9kT07PK5n94Z_2Bu61Esml__EVENTVALIDATION_2FwEWBgLcmps8AsSS7bAIAoLch4YMAp37up0OAsKE_2FMMNAveWhOoK43wLCgjoHrrRjLxd3xwv3NAQr9I_3DtxtPhone
mov ecx, 8
call fcn.0040108c
add esp, 0x20
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406054
push ebx
call fcn.0041175f
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 1
mov eax, str.Accept:_text_html__application_xhtmlxml____r_nReferer:_http:__mda.139.com_Index_Login.aspx_r_nAccept_Language:_zh_CN_r_nUser_Agent:_Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__WOW64__Trident_5.0__r_nContent_Type:_application_x_www_form_urlencoded
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
push 1
push 0x4d0780
push 1
lea eax, [ebp - 4]
push eax
push 1
mov eax, str.post
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.http:__mda.139.com_Index_Login.aspx
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040a303
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4060f1
push ebx
call fcn.0041175f
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x406101
push ebx
call fcn.0041175f
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x406111
push ebx
call fcn.0041175f
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x406121
push ebx
call fcn.0041175f
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x406131
push ebx
call fcn.0041175f
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x406141
push ebx
call fcn.0041175f
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x406151
push ebx
call fcn.0041175f
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406165
push ebx
call fcn.0041175f
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x492cab
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40619a
mov eax, 0x492668
push eax
push 4
mov ebx, 0x411fb0
call fcn.00411771
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x406250
push 0x80000004
push 0
push 0x492cbe
push 0x80000301
push 0
push 1
push 0x20002
push 0x160164ca
push 0x52010001
push 3
mov eax, 1
mov ebx, 0x4601f0
call fcn.00411777
add esp, 0x28
mov eax, 0x492cbe
jmp 0x40647a
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x4929fb
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x406281
mov eax, 0x492668
push eax
push 4
mov ebx, 0x411fb0
call fcn.00411771
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x406337
push 0x80000004
push 0
push 0x4929fb
push 0x80000301
push 0
push 1
push 0x20002
push 0x160164ca
push 0x52010001
push 3
mov eax, 1
mov ebx, 0x4601f0
call fcn.00411777
add esp, 0x28
mov eax, 0x4929fb
jmp 0x40647a
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x492cc9
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x406368
mov eax, 0x492668
push eax
push 4
mov ebx, 0x411fb0
call fcn.00411771
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4063dd
push 0x80000002
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push str._2fIndex_Login.aspx
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4063b9
mov eax, 0x492668
push eax
push 4
mov ebx, 0x411fb0
call fcn.00411771
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4063dd
xor eax, eax
jmp 0x4063e2
mov eax, 1
test eax, eax
je 0x406432
push 0x80000004
push 0
push 0x4929e5
push 0x80000301
push 0
push 1
push 0x20002
push 0x160164ca
push 0x52010001
push 3
mov eax, 1
mov ebx, 0x4601f0
call fcn.00411777
add esp, 0x28
mov eax, 0x4929e5
jmp 0x40647a
push 0x80000004
push 0
push 0x4929fb
push 0x80000301
push 0
push 1
push 0x20002
push 0x160164ca
push 0x52010001
push 3
mov eax, 1
mov ebx, 0x4601f0
call fcn.00411777
add esp, 0x28
mov eax, 0x4929fb
jmp 0x40647a
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40648b
push ebx
call fcn.0041175f
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40649b
push ebx
call fcn.0041175f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10