Function at 0x410624
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 0x410666
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 0x4106ac
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 0x410741
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x410751
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x410761
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x410771
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x410781
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x410791
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4107a1
push ebx
call fcn.00413c8e
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4107b5
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 0x4107ea
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 0x41101a
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 0xf
jg 0x4109c1
push 0xffffffffffffffff
push 8
push 0x16011a8e
push 0x52010001
call fcn.00413cac
add esp, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp + 0xc]
push 0x4df568
lea eax, [ebp - 0x18]
push eax
call fcn.004110dc
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x410854
push ebx
call fcn.00413c8e
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410868
push ebx
call fcn.00413c8e
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4b8a76
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x41089d
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 0x410998
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x4b8a7f
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0x4b8a81
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004088b0
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x410909
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x410919
push ebx
call fcn.00413c8e
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41092d
push ebx
call fcn.00413c8e
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x49a34c
push dword [ebp - 0x10]
push 0x4b8a83
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 0x410961
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 0x410993
push ebx
call fcn.00413c8e
add esp, 4
jmp 0x4109c1
push 0x80000301
push 0
push 0x7d0
push 1
mov eax, 1
mov ebx, 0x462a00
call fcn.00413cb8
add esp, 0x10
pop ecx
jmp 0x41080c
add esp, 4
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 0x4109fa
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 0x410a21
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x18]
xor ebx, ebx
test eax, eax
je 0x410a32
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x410a49
dec eax
test ecx, ecx
je 0x410a49
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 0x410a69
push ebx
call fcn.00413c8e
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x410af3
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 0x410a9a
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x20]
xor ebx, ebx
test eax, eax
je 0x410aab
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x410ac2
dec eax
test ecx, ecx
je 0x410ac2
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 0x410ae2
push ebx
call fcn.00413c8e
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x410af3
mov eax, 1
jmp 0x410af5
xor eax, eax
test eax, eax
je 0x41100b
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 0x410c51
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 0x410b4c
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 0x410b72
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 0x410bfc
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x410c0c
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x410c1c
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x410c2c
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x410c3c
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x410c4c
push ebx
call fcn.00413c8e
add esp, 4
jmp 0x410d06
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 0x410c7d
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 0x410ca3
push ebx
call fcn.00413c8e
add esp, 4
cmp dword [ebp - 0x1c], 3
jle 0x410cd5
push 0x80000301
push 0
push 0x3e8
push 1
mov eax, 1
mov ebx, 0x462a00
call fcn.00413cb8
add esp, 0x10
jmp 0x410c51
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 0x410d02
push ebx
call fcn.00413c8e
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
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 0x410d1c
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 0x410dd1
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x410de1
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x410df1
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x410e01
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x410e11
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x410e21
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x410e31
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x410e41
push ebx
call fcn.00413c8e
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x410e55
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 0x410ead
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 0x410edc
mov eax, 3
jmp 0x411084
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 0x410f0d
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 0x410f3c
mov eax, 4
jmp 0x411084
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 0x410f6d
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 0x410f9c
mov eax, 5
jmp 0x411084
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4b8b06
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x410fcd
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 0x410ffc
mov eax, 8
jmp 0x411084
mov eax, 6
jmp 0x411084
mov eax, 7
jmp 0x411084
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 0x41104b
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 0x41107a
mov eax, 1
jmp 0x411084
mov eax, 2
jmp 0x411084
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x411095
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4110a5
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4110b5
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4110c5
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4110d5
push ebx
call fcn.00413c8e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10