Function at 0x41d246
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
push 0xc
call fcn.004723c1
add esp, 4
mov dword [ebp - 0x20], 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 - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
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
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
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
push 1
mov eax, 0x51ccb4
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push 1
mov eax, 0x51cce6
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x53a1f7
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
mov eax, 0x51cc93
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
mov dword [ebp - 0x60], 0
push 0
push dword [ebp - 0x60]
push dword [ebp + 8]
call fcn.0040445a
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x41d3b3
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x41d3c3
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x41d3d3
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x41d3e3
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x41d3f3
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x41d403
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41d413
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41d423
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41d433
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41d443
push ebx
call fcn.004723c7
add esp, 4
mov eax, dword [ebp - 0x64]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41d457
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, str.http:__127.0.0.1:8081_VXAPI_Wxapp_JSOperateWxData
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41d471
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 1
push 0x51cca2
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push str.___Opt_:_0__Wxid_:__
push dword [ebp - 4]
push str._Appid_:__wxafec6f8422cb357b___Data_:__
mov ecx, 5
call fcn.0040196e
add esp, 0x14
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41d4b7
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov eax, str.Host:_127.0.0.1:8081_r_nConnection:_keep_alive_r_nContent_Length:_75_r_naccept:_application_json_r_nUser_Agent:_Mozilla_5.0__iPhone__CPU_iPhone_OS_11_0_like_Mac_OS_X__AppleWebKit_604.1.38__KHTML__like_Gecko__Version_11.0_Mobile_15A372_Safari_604.1_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:_wicgo96f653f11d37807bb4efdee1b89b752f
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41d4d1
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
push 8
call fcn.004723c1
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 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
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x64], 0
push 0
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x68], 0
push 0
lea eax, [ebp - 0x68]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 1
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
call fcn.004062f5
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x41d5d7
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x41d5e7
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x41d5f7
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x41d607
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x41d617
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x41d627
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x41d637
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x3c]
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 - 0x6c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41d66e
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 0x18], 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
lea eax, [ebp - 0x18]
push eax
call fcn.0040d8e4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41d6b4
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41d6c4
push ebx
call fcn.004723c7
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x41d6d7
mov eax, 0x51cc04
push eax
push 1
mov ebx, 0x474330
call fcn.004723d9
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41d6fd
push ebx
call fcn.004723c7
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41d711
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x20
call fcn.004723c1
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x30]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41d76d
push ebx
call fcn.004723c7
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41d781
push ebx
call fcn.004723c7
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41d795
push ebx
call fcn.004723c7
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41d7a9
push ebx
call fcn.004723c7
add esp, 4
pop ebx
call fcn.004723c7
add esp, 4
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
mov eax, str.Data.data
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41d7ed
push ebx
call fcn.004723c7
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41d801
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push 0x51cc0c
push dword [ebp - 0x24]
call fcn.00401139
add esp, 8
cmp eax, 0
je 0x41db9a
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
call fcn.0041dc81
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.0041d203
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41d852
push ebx
call fcn.004723c7
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41d866
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
push 0x20
call fcn.004723c1
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x30]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41d8c2
push ebx
call fcn.004723c7
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41d8d6
push ebx
call fcn.004723c7
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41d8ea
push ebx
call fcn.004723c7
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41d8fe
push ebx
call fcn.004723c7
add esp, 4
pop ebx
call fcn.004723c7
add esp, 4
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
mov eax, 0x51ccaf
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41d942
push ebx
call fcn.004723c7
add esp, 4
push 0x51cc0c
push dword [ebp - 0x38]
call fcn.00401139
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41d970
push ebx
call fcn.004723c7
add esp, 4
cmp dword [ebp - 0x3c], 0
je 0x41db56
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
mov eax, 0x51ccaf
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41d9b5
push ebx
call fcn.004723c7
add esp, 4
push 0x20
call fcn.004723c1
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41da06
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x3c]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41da1d
push ebx
call fcn.004723c7
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41da31
push ebx
call fcn.004723c7
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41da45
push ebx
call fcn.004723c7
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41da59
push ebx
call fcn.004723c7
add esp, 4
pop ebx
call fcn.004723c7
add esp, 4
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 1
mov eax, 0x51ccaf
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41da9d
push ebx
call fcn.004723c7
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41dab1
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
push 0x51cc0c
push dword [ebp - 0x2c]
call fcn.00401139
add esp, 8
cmp eax, 0
je 0x41db12
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x41daea
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 0x41dafd
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, 1
jmp 0x41dbd9
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x41db2e
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 0x41db41
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, 0
jmp 0x41dbd9
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x41db72
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 0x41db85
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, 0
jmp 0x41dbd9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41dbb6
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 0x41dbc9
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, 0
jmp 0x41dbd9
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41dbea
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41dbfa
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41dc0a
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41dc1a
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41dc2a
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41dc3a
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41dc5a
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41dc6a
push ebx
call fcn.004723c7
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41dc7a
push ebx
call fcn.004723c7
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc