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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
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
push 0xc
call fcn.004723c1
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x51cd5e
push ebx
add ebx, 8
push ebx
push 8
call fcn.004723c1
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.00405f82
pop ebx
mov dword [ebp - 0x20], 0
mov eax, str.http:__127.0.0.1:8081_VXAPI_Wxapp_JSLogin
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41e884
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
push 0x51cca2
mov ebx, dword [ebp + 8]
push dword [ebx]
push str._Appid_:__wxafec6f8422cb357b___Wxid_:__
mov ecx, 3
call fcn.0040196e
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41e8c2
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, str.Host:_127.0.0.1:8081_r_nConnection:_keep_alive_r_nContent_Length:_68_r_naccept:_application_json_r_nUser_Agent:_Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_77.0.3865.120_Safari_537.36_Core_1.77.119.400_QQBrowser_10.9.4817.400_r_nSec_Fetch_Mode:_cors_r_nContent_Type:_application_json_r_nOrigin:_http:__127.0.0.1:8081_r_nSec_Fetch_Site:_same_origin_r_nReferer:_http:__127.0.0.1:8081__r_nAccept_Language:_zh_CN_zh_q0.9_r_nCookie:_wicgo4422a1f4ab0a8a727704e620d799e036
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41e8dc
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
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]
push 8
call fcn.004723c1
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
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
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
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
push 1
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.004062f5
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x41e9e2
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x41e9f2
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x41ea02
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x41ea12
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x41ea22
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41ea32
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41ea42
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x478070
call fcn.004723d9
add esp, 0x10
call fcn.004723c7
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41ea79
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 0x14], 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 - 0x14]
push eax
call fcn.0040d8e4
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41eabf
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41eacf
push ebx
call fcn.004723c7
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x41eae2
mov eax, 0x51cc04
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41eb08
push ebx
call fcn.004723c7
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41eb1c
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x20
call fcn.004723c1
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x24]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41eb78
push ebx
call fcn.004723c7
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41eb8c
push ebx
call fcn.004723c7
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41eba0
push ebx
call fcn.004723c7
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41ebb4
push ebx
call fcn.004723c7
add esp, 4
pop ebx
call fcn.004723c7
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
mov eax, str.Data.code
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41ebf8
push ebx
call fcn.004723c7
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41ec0c
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
mov eax, str.Message
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41ec4b
push ebx
call fcn.004723c7
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41ec61
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push 0x51cc0c
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401139
add esp, 8
cmp eax, 0
jne 0x41ecb7
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41ec9e
push eax
mov ebx, eax
call fcn.00401903
inc eax
push eax
call fcn.004723c1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x41ecb1
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x41ecd3
push eax
mov ebx, eax
call fcn.00401903
inc eax
push eax
call fcn.004723c1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41ecd8
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41ece9
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41ecf9
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41ed09
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41ed19
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41ed29
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41ed49
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8