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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
xor ecx, ecx
lea eax, [ebp - 4]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 2
jg 0x49668b
mov eax, 0x5f5e2d
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x495902
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
push 1
push 1
push 1
push 1
push dword [ebp + 0xc]
call fcn.0045ee6f
mov dword [ebp - 0x24], eax
push str.callbackhttps_3A_2F_2Faccount.xiaomi.com_2Fsts_3Fsign_3DyH_252BRPlADbLkheMddsDSX9ZWtYTY_253D_26followup_3Dhttps_253A_252F_252Faccount.xiaomi.com_252Fpass_252Fauth_252Fsecurity_252Fhome_253FuserId_253D_26sid_3Dpassportsidpassportqs_253Fcallback_253Dhttps_25253A_25252F_25252Faccount.xiaomi.com_25252Fsts_25253Fsign_25253DyH_2525252BRPlADbLkheMddsDSX9ZWtYTY_2525253D_252526followup_25253Dhttps_2525253A_2525252F_2525252Faccount.xiaomi.com_2525252Fpass_2525252Fauth_2525252Fsecurity_2525252Fhome_2525253FuserId_2525253D_252526sid_25253Dpassport_2526sid_253Dpassporthidden_signu9jx0s3PydXducRTUwk4xwdzYnQ_3DserviceParam_7B_22checkSafePhone_22_3Afalse_7DcaptCode
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str._jsontruepwd
push dword [ebp - 0x24]
push 0x621c56
mov ecx, 5
call fcn.0040108c
add esp, 0x14
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x495958
push ebx
call fcn.005039b9
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x49596c
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 8], 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
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
lea eax, [ebp - 0x3c]
push eax
push 1
push 1
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
mov eax, str.Accept:_text_html__application_xhtmlxml____r_nAccept_Language:_zh_CN_r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__Trident_7.0__rv:11.0__like_Gecko_r_nAccept_Encoding:_gzip__deflate_r_nHost:_account.xiaomi.com
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 1
push dword [ebp + 0x14]
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov eax, str.https:__account.xiaomi.com_pass_serviceLogin_callbackhttps_3A_2F_2Faccount.xiaomi.com_2Fsts_3Fsign_3DyH_252BRPlADbLkheMddsDSX9ZWtYTY_253D_26followup_3Dhttps_253A_252F_252Faccount.xiaomi.com_252Fpass_252Fauth_252Fsecurity_252Fhome_253FuserId_253D_26sid_3Dpassportsidpassport
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.00415eed
mov ebx, eax
test ebx, ebx
je 0x495a36
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x495a46
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x495a56
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x495a66
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x495a76
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x495a86
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x495a96
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x495aa6
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x495ab6
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x495ac6
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x495ad6
push ebx
call fcn.005039b9
add esp, 4
push 1
mov eax, str.EXPIRED
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x14]
call fcn.0048b2a4
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x495b0c
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x495b1c
push ebx
call fcn.005039b9
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x495b32
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
cmp dword [ebp - 4], 1
jne 0x495ba2
push VariantClear
push 0
push 0x622a7b
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp + 8]
push 0x20004
push 0x16012ac7
push 0x52010003
push 4
mov eax, 1
mov ebx, 0x571590
call fcn.005039d1
add esp, 0x34
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
push 0x2710
call fcn.0041bfc4
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
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
lea eax, [ebp - 0x3c]
push eax
push 1
push 1
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
mov eax, str.Accept:___r_nContent_Type:_application_x_www_form_urlencoded_r_nReferer:_https:__account.xiaomi.com_pass_serviceLogin_callbackhttps_3A_2F_2Faccount.xiaomi.com_2Fsts_3Fsign_3DyH_252BRPlADbLkheMddsDSX9ZWtYTY_253D_26followup_3Dhttps_253A_252F_252Faccount.xiaomi.com_252Fpass_252Fauth_252Fsecurity_252Fhome_253FuserId_253D_26sid_3Dpassportsidpassport_r_nAccept_Language:_zh_CN_r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__Trident_7.0__rv:11.0__like_Gecko_r_nHost:_account.xiaomi.com
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 1
push dword [ebp + 0x14]
push 1
lea eax, [ebp - 8]
push eax
push 1
push 1
mov eax, str.https:__account.xiaomi.com_pass_serviceLoginAuth2
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00455c29
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x495c60
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x495c70
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x495c80
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x495c90
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x495ca0
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x495cb0
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x495cc0
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x495cd0
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x495ce0
push ebx
call fcn.005039b9
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x495cf4
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x5fa4f8
push VariantClear
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x495d29
mov eax, 0x5f5e2d
push eax
push 4
mov ebx, 0x504870
call fcn.005039b3
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x49622c
mov dword [ebp - 0x10], 0
inc dword [ebp - 0x10]
mov eax, dword [0x6eeaf4]
cmp dword [ebp - 0x10], eax
jle 0x495d84
mov eax, 0x5fa3b8
push eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x495d79
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
jmp 0x49622c
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x5f7bfd
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.captchaUrl_:_
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004173a5
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x495dd0
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x495de0
push ebx
call fcn.005039b9
add esp, 4
push dword [ebp - 0x34]
push str.https:__account.xiaomi.com
mov ecx, 2
call fcn.0040108c
add esp, 8
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x495e08
push ebx
call fcn.005039b9
add esp, 4
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
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
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
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
mov eax, str.Accept:___r_nContent_Type:_application_x_www_form_urlencoded_r_nReferer:_https:__account.xiaomi.com_pass_serviceLogin_callbackhttps_3A_2F_2Faccount.xiaomi.com_2Fsts_3Fsign_3DZvAtJIzsDsFe60LdaPa76nNNP58_253D_26followup_3Dhttps_253A_252F_252Faccount.xiaomi.com_252Fpass_252Fauth_252Fsecurity_252Fhome_26sid_3Dpassportsidpassport_r_nAccept_Language:_zh_CN_r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__Trident_7.0__rv:11.0__like_Gecko_r_nHost:_account.xiaomi.com
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x64], 0
push 0
lea eax, [ebp - 0x64]
push eax
push 1
push dword [ebp + 0x14]
mov dword [ebp - 0x68], 0
push 0
lea eax, [ebp - 0x68]
push eax
push 1
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.00415eed
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x495eca
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x495eda
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x495eea
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x495efa
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x495f0a
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x495f1a
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x495f2a
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x495f3a
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x495f4a
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x495f5a
push ebx
call fcn.005039b9
add esp, 4
mov eax, dword [ebp - 0x6c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x495f6e
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov ebx, dword [0x6eeb8c]
add ebx, 0xc
mov dword [ebp - 0x24], ebx
mov ebx, dword [0x6eeb84]
mov dword [ebp - 0x28], ebx
mov ebx, dword [0x6eeb84]
add ebx, 0x10
mov dword [ebp - 0x2c], ebx
mov ebx, dword [0x6eeb98]
add ebx, 0xc
mov dword [ebp - 0x30], ebx
push dword [ebp - 0x30]
mov edx, 0x1601233f
mov eax, 0x52010003
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
lea eax, [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push 6
push 1
lea eax, [ebp - 0x1c]
push eax
push 0x16012ac7
push 0x52010003
push 0x160168dc
push 0x52010003
push 0x160168dd
push 0x52010003
mov ebx, dword [ebp - 0x28]
push dword [ebx]
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 3
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.0043e907
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x496016
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 1
push 1
push 1
push 1
push dword [ebp + 0xc]
call fcn.0045ee6f
mov dword [ebp - 0x24], eax
push dword [ebp - 0x18]
push str.callbackhttps_3A_2F_2Faccount.xiaomi.com_2Fsts_3Fsign_3DZvAtJIzsDsFe60LdaPa76nNNP58_253D_26followup_3Dhttps_253A_252F_252Faccount.xiaomi.com_252Fpass_252Fauth_252Fsecurity_252Fhome_26sid_3Dpassportsidpassportqs_253Fcallback_253Dhttps_25253A_25252F_25252Faccount.xiaomi.com_25252Fsts_25253Fsign_25253DZvAtJIzsDsFe60LdaPa76nNNP58_2525253D_252526followup_25253Dhttps_2525253A_2525252F_2525252Faccount.xiaomi.com_2525252Fpass_2525252Fauth_2525252Fsecurity_2525252Fhome_252526sid_25253Dpassport_2526sid_253Dpassporthidden_signNYniZUEE6AHyTpeO_2Fw7rYVuToIY_3DserviceParam_7B_22checkSafePhone_22_3Afalse_7DcaptCode
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str._jsontruepwd
push dword [ebp - 0x24]
push 0x621c56
mov ecx, 6
call fcn.0040108c
add esp, 0x18
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x49606d
push ebx
call fcn.005039b9
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x496081
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 8], 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
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
lea eax, [ebp - 0x3c]
push eax
push 1
push 1
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
mov eax, str.Accept:___r_nContent_Type:_application_x_www_form_urlencoded_r_nReferer:_https:__account.xiaomi.com_pass_serviceLogin_callbackhttps_3A_2F_2Faccount.xiaomi.com_2Fsts_3Fsign_3DZvAtJIzsDsFe60LdaPa76nNNP58_253D_26followup_3Dhttps_253A_252F_252Faccount.xiaomi.com_252Fpass_252Fauth_252Fsecurity_252Fhome_26sid_3Dpassportsidpassport_r_nAccept_Language:_zh_CN_r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__Trident_7.0__rv:11.0__like_Gecko_r_nHost:_account.xiaomi.com
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 1
push dword [ebp + 0x14]
push 1
lea eax, [ebp - 8]
push eax
push 1
push 1
mov eax, str.https:__account.xiaomi.com_pass_serviceLoginAuth2
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00455c29
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x496143
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x496153
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x496163
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x496173
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x496183
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x496193
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4961a3
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4961b3
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4961c3
push ebx
call fcn.005039b9
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4961d7
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x5f672d
push VariantClear
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x49620c
mov eax, 0x5f5e2d
push eax
push 4
mov ebx, 0x504870
call fcn.005039b3
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x495d50
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
push 0x5f672d
push VariantClear
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x49625d
mov eax, 0x5f5e2d
push eax
push 4
mov ebx, 0x504870
call fcn.005039b3
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x496684
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x5f7bfd
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.location_:_
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004173a5
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4962c9
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4962d9
push ebx
call fcn.005039b9
add esp, 4
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
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
push dword [ebp - 0x44]
push 1
lea eax, [ebp - 0x20]
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
push 1
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
mov eax, str.Accept:_text_html__application_xhtmlxml____r_nReferer:_https:__account.xiaomi.com_pass_serviceLogin_callbackhttp_3A_2F_2Forder.mi.com_2Flogin_2Fcallback_3Ffollowup_3Dhttp_253A_252F_252Fwww.mi.com_252F_26sign_3DNWU4MzRmNjBhZmU4MDRmNmZkYzVjMTZhMGVlMGFmMTllMGY0ZTNhZQ_2C_2Csidmi_eshop_r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__Trident_7.0__rv:11.0__like_Gecko_r_nHost:_account.xiaomi.com
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
push dword [ebp + 0x14]
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], 0
push 0
push dword [ebp - 0x60]
lea eax, [ebp - 0x34]
push eax
call fcn.00415eed
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x496394
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4963a4
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4963b4
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4963c4
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4963d4
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4963e4
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4963f4
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x496404
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x496414
push ebx
call fcn.005039b9
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x496427
mov eax, 0x5f5e98
push eax
push 1
mov ebx, 0x5060b0
call fcn.005039b3
add esp, 0x10
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x49644d
push ebx
call fcn.005039b9
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x496461
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x5f7bfd
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, str.href_
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004173a5
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4964b1
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4964c1
push ebx
call fcn.005039b9
add esp, 4
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
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
push dword [ebp - 0x44]
push 1
lea eax, [ebp - 0x20]
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
push 1
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
mov eax, str.Accept:_text_html__application_xhtmlxml____r_nReferer:_https:__account.xiaomi.com_pass_serviceLogin_callbackhttps_3A_2F_2Faccount.xiaomi.com_2Fsts_3Fsign_3DyH_252BRPlADbLkheMddsDSX9ZWtYTY_253D_26followup_3Dhttps_253A_252F_252Faccount.xiaomi.com_252Fpass_252Fauth_252Fsecurity_252Fhome_253FuserId_253D_26sid_3Dpassportsidpassport_r_nAccept_Language:_zh_CN_r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__Trident_7.0__rv:11.0__like_Gecko_r_nHost:_account.xiaomi.com
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
push dword [ebp + 0x14]
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], 0
push 0
push dword [ebp - 0x60]
lea eax, [ebp - 0x34]
push eax
call fcn.00415eed
mov ebx, eax
test ebx, ebx
je 0x496578
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x496588
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x496598
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4965a8
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4965b8
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4965c8
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4965d8
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4965e8
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4965f8
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x496608
push ebx
call fcn.005039b9
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x622092
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0x14]
call fcn.0045213f
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x496647
push ebx
call fcn.005039b9
add esp, 4
push 0x5f5e2d
push dword [ebp - 0x30]
call fcn.004010e8
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x496675
push ebx
call fcn.005039b9
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x496684
jmp 0x49668b
pop ebx
pop ecx
jmp 0x4958dc
add esp, 8
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x622092
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0x14]
call fcn.0045213f
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4966cd
push ebx
call fcn.005039b9
add esp, 4
push 0x5f5e2d
push dword [ebp - 0x30]
call fcn.004010e8
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4966fb
push ebx
call fcn.005039b9
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x496723
mov eax, 0x62344a
push eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x49671d
push ebx
call fcn.005039b9
add esp, 4
pop eax
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x496733
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x496743
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x496753
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x496763
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x496773
push ebx
call fcn.005039b9
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x496783
push ebx
call fcn.005039b9
add esp, 4
mov esp, ebp
pop ebp
ret 0x14