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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
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 eax, str.http:__support.weixin.qq.com_cgi_bin_mmsupport_bin_getmobileverifycode_langzh_CN
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4124e5
push ebx
call fcn.00413c8e
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str.imgcode
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push str.ccA86mobile
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.username
mov ecx, 6
call fcn.004015f8
add esp, 0x18
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41252b
push ebx
call fcn.00413c8e
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
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
push 1
mov eax, str.Origin:_http:__support.weixin.qq.com_r_nAccept:_text_html_application_xhtmlxml_application_xml_q0.9_image_webp___q0.8_r_nContent_Type:_application_x_www_form_urlencoded_r_nAccept_Language:_zh_CN_zh_q0.8_r_nReferer:_http:__support.weixin.qq.com_cgi_bin_mmsupport_bin_readtemplate_tweixin_unlock_selfstep0langzh_CN_r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_31.0.1650.48_Safari_537.36_QQBrowser_8.0.2959.400_r_n_r_n
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
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
lea eax, [ebp - 8]
push eax
push 1
push 1
lea eax, [ebp - 4]
push eax
call fcn.0040b29a
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4125c0
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4125d0
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4125e0
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4125f0
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x412600
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x412610
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x412620
push ebx
call fcn.00413c8e
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x412634
push ebx
call fcn.00413c8e
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 reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4b8a6b
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x412669
mov eax, 0x49a343
push eax
push 4
mov ebx, 0x414410
call fcn.00413cb2
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x412dd2
push 0x49a34c
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x4b8e2a
mov ecx, 3
call fcn.004015f8
add esp, 0xc
mov dword [ebp - 0x18], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4126bb
mov eax, 0x49a343
push eax
push 0x10005
push 0x16011ad6
push 0x52010001
push 2
mov ebx, 0x4159d0
call fcn.00413cb2
add esp, 0x1c
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4126ed
push ebx
call fcn.00413c8e
add esp, 4
push 0xffffffffffffffff
push 8
push 0x16014ff6
push 0x52010001
call fcn.00413cac
add esp, 0x10
mov dword [ebp - 0x18], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x412719
mov eax, 0x49a343
push eax
push 1
mov ebx, 0x4140d0
call fcn.00413cb2
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41273f
push ebx
call fcn.00413c8e
add esp, 4
cmp dword [ebp - 0x1c], 6
jne 0x412771
push 0x80000301
push 0
push 0x7d0
push 1
mov eax, 1
mov ebx, 0x462a00
call fcn.00413cb8
add esp, 0x10
jmp 0x4126ed
push 0xffffffffffffffff
push 8
push 0x16014ff6
push 0x52010001
call fcn.00413cac
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41279e
push ebx
call fcn.00413c8e
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0
push 0x49a343
push 0xffffffffffffffff
push 8
push 0x16014ff6
push 0x52010001
call fcn.00413ca6
add esp, 0x18
push dword [ebp + 0x14]
call fcn.004071b6
mov dword [ebp - 0x18], eax
push 0
push dword [ebp - 0x18]
push 0xffffffffffffffff
push 0xa
push 0x160119f5
push 0x52010001
call fcn.00413ca6
add esp, 0x18
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4127f5
push ebx
call fcn.00413c8e
add esp, 4
push 0xffffffffffffffff
push 0xa
push 0x160119f5
push 0x52010001
call fcn.00413cac
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, 0x49a344
xor ecx, ecx
test eax, eax
je 0x41281c
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x18]
xor ebx, ebx
test eax, eax
je 0x41282d
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x412844
dec eax
test ecx, ecx
je 0x412844
call fcn.004019d3
add esp, 0xc
test eax, eax
mov eax, 0
setne al
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x412864
push ebx
call fcn.00413c8e
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x4128ee
push 0xffffffffffffffff
push 0xa
push 0x160119f5
push 0x52010001
call fcn.00413cac
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, 0x4b85c2
xor ecx, ecx
test eax, eax
je 0x412895
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x20]
xor ebx, ebx
test eax, eax
je 0x4128a6
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4128bd
dec eax
test ecx, ecx
je 0x4128bd
call fcn.004019d3
add esp, 0xc
test eax, eax
mov eax, 0
setne al
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4128dd
push ebx
call fcn.00413c8e
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x4128ee
mov eax, 1
jmp 0x4128f0
xor eax, eax
test eax, eax
je 0x412dc3
push 0xffffffffffffffff
push 0x12
push 0x16011a8c
push 0x52010001
call fcn.00413cac
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jne 0x412a4c
push 0xffffffffffffffff
push 0xa
push 0x160119f5
push 0x52010001
call fcn.00413cac
add esp, 0x10
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x412947
mov eax, 0x49a344
push eax
push 1
mov ebx, 0x4140f0
call fcn.00413cb2
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41296d
push ebx
call fcn.00413c8e
add esp, 4
push 0xffffffffffffffff
push 0xa
push 0x160119f5
push 0x52010001
call fcn.00413cac
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
push 8
push 0x16011a89
push 0x52010001
call fcn.00413cac
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0xffffffffffffffff
push 8
push 0x16011a8b
push 0x52010001
call fcn.00413cac
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, 0x4b85de
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, str.11437
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
call fcn.0040a41b
mov ebx, eax
test ebx, ebx
je 0x4129f7
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x412a07
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x412a17
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x412a27
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x412a37
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x412a47
push ebx
call fcn.00413c8e
add esp, 4
jmp 0x412b1e
push 0xffffffffffffffff
push 8
push 0x160119fa
push 0x52010001
call fcn.00413cac
add esp, 0x10
mov dword [ebp - 0x18], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x412a78
mov eax, 0x49a343
push eax
push 1
mov ebx, 0x4140d0
call fcn.00413cb2
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x412a9e
push ebx
call fcn.00413c8e
add esp, 4
cmp dword [ebp - 0x1c], 3
jle 0x412ad0
push 0x80000301
push 0
push 0x3e8
push 1
mov eax, 1
mov ebx, 0x462a00
call fcn.00413cb8
add esp, 0x10
jmp 0x412a4c
push 0xffffffffffffffff
push 8
push 0x160119fa
push 0x52010001
call fcn.00413cac
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x412afd
push ebx
call fcn.00413c8e
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0
push 0x49a343
push 0xffffffffffffffff
push 8
push 0x160119fa
push 0x52010001
call fcn.00413ca6
add esp, 0x18
mov eax, str.http:__support.weixin.qq.com_cgi_bin_mmsupport_bin_unblock_langzh_CN
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x412b34
push ebx
call fcn.00413c8e
add esp, 4
pop eax
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
push str.imgcode
push dword [ebp - 0x10]
push str.smscode
mov ecx, 4
call fcn.004015f8
add esp, 0x10
mov dword [ebp - 0x18], eax
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
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 1
mov eax, str.Origin:_http:__support.weixin.qq.com_r_nAccept:_text_html_application_xhtmlxml_application_xml_q0.9_image_webp___q0.8_r_nContent_Type:_application_x_www_form_urlencoded_r_nAccept_Language:_zh_CN_zh_q0.8_r_nReferer:_http:__support.weixin.qq.com_cgi_bin_mmsupport_bin_readtemplate_tweixin_unlock_selfstep0langzh_CN_r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_31.0.1650.48_Safari_537.36_QQBrowser_8.0.2959.400_r_n_r_n
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
push 1
lea eax, [ebp - 0x18]
push eax
push 1
push 1
lea eax, [ebp - 4]
push eax
call fcn.0040b29a
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x412be9
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x412bf9
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x412c09
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x412c19
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x412c29
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x412c39
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x412c49
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x412c59
push ebx
call fcn.00413c8e
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x412c6d
push ebx
call fcn.00413c8e
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x3e8
push 1
mov eax, 1
mov ebx, 0x462a00
call fcn.00413cb8
add esp, 0x10
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4b8ae5
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x412cc5
mov eax, 0x49a343
push eax
push 4
mov ebx, 0x414410
call fcn.00413cb2
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x412cf4
mov eax, 3
jmp 0x412e3c
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4b8aee
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x412d25
mov eax, 0x49a343
push eax
push 4
mov ebx, 0x414410
call fcn.00413cb2
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x412d54
mov eax, 4
jmp 0x412e3c
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4b8b01
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x412d85
mov eax, 0x49a343
push eax
push 4
mov ebx, 0x414410
call fcn.00413cb2
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x412db4
mov eax, 5
jmp 0x412e3c
mov eax, 6
jmp 0x412e3c
mov eax, 7
jmp 0x412e3c
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4b8b15
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x412e03
mov eax, 0x49a343
push eax
push 4
mov ebx, 0x414410
call fcn.00413cb2
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x412e32
mov eax, 1
jmp 0x412e3c
mov eax, 2
jmp 0x412e3c
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x412e4d
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x412e5d
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x412e6d
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x412e7d
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x412e8d
push ebx
call fcn.00413c8e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10