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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0xc
call fcn.0046ef1d
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x58fb0c
push ebx
add ebx, 4
push ebx
push 8
call fcn.0046ef1d
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x577595
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add ebx, 4
push ebx
push 8
call fcn.0046ef1d
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x577595
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push str.v6.2.22
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.https:__payapp.weixin.qq.com_qrappzd_customer_check_sid
mov ecx, 3
call fcn.00401bc0
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41f654
push ebx
call fcn.0046ef17
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
push str._22_7D
mov ebx, dword [ebp + 8]
push dword [ebx]
push str._7B_22v_22_3A_226.2.22_22_2C_22sid_22_3A_22
mov ecx, 3
call fcn.00401bc0
add esp, 0xc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
call fcn.0041faa6
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41f6a6
push ebx
call fcn.0046ef17
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41f6ba
push ebx
call fcn.0046ef17
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_53.0.2785.143_Safari_537.36_MicroMessenger_7.0.9.501_NetType_WIFI_MiniProgramEnv_Windows_WindowsWechat
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41f700
push ebx
call fcn.0046ef17
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41f710
push ebx
call fcn.0046ef17
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.application_json
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x58fa94
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41f752
push ebx
call fcn.0046ef17
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41f762
push ebx
call fcn.0046ef17
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.https:__servicewechat.com_wx28be8489b7a36aaa_902_page_frame.htm
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str.Referer
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41f7a4
push ebx
call fcn.0046ef17
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41f7b4
push ebx
call fcn.0046ef17
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.payapp.weixin.qq.com
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, 0x58fafe
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41f7f6
push ebx
call fcn.0046ef17
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41f806
push ebx
call fcn.0046ef17
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41f837
push ebx
call fcn.0046ef17
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
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
push 1
push dword [ebp - 0x18]
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
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
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.0041fefc
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x41f8e5
push ebx
call fcn.0046ef17
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x41f8f5
push ebx
call fcn.0046ef17
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41f905
push ebx
call fcn.0046ef17
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41f915
push ebx
call fcn.0046ef17
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41f925
push ebx
call fcn.0046ef17
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41f939
push ebx
call fcn.0046ef17
add esp, 4
pop eax
mov dword [ebp - 0x1c], 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
lea eax, [ebp - 0x1c]
push eax
call fcn.004223d2
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41f97f
push ebx
call fcn.0046ef17
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41f98f
push ebx
call fcn.0046ef17
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x41f9a2
mov eax, 0x577595
push eax
push 1
mov ebx, 0x4716c0
call fcn.0046ef05
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41f9c8
push ebx
call fcn.0046ef17
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41f9dc
push ebx
call fcn.0046ef17
add esp, 4
pop eax
mov dword [ebp - 0x20], 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, 0x58fb03
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041577e
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41fa20
push ebx
call fcn.0046ef17
add esp, 4
cmp dword [ebp - 0x30], 0xffffffff
jne 0x41fa34
mov eax, 1
jmp 0x41fa3e
mov eax, 0
jmp 0x41fa3e
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41fa4f
push ebx
call fcn.0046ef17
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41fa5f
push ebx
call fcn.0046ef17
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0046ef17
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41fa7f
push ebx
call fcn.0046ef17
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41fa8f
push ebx
call fcn.0046ef17
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41fa9f
push ebx
call fcn.0046ef17
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4