Function at 0x40b2b7
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
push 0xc
call fcn.0041237d
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], 0x8ac8d5
push ebx
add ebx, 4
push ebx
push 8
call fcn.0041237d
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x8ac0e0
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.0041237d
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x8ac0e0
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 ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x40b374
push eax
mov ebx, eax
call fcn.00401161
inc eax
push eax
call fcn.0041237d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b385
push ebx
call fcn.00412383
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.00403c0f
push getpeername
push 0
push 0x8ac0e8
push getpeername
push 0
push 0x8ac71b
push getpeername
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x40b3cc
mov eax, 0x4b6da7
push eax
push 6
mov ebx, 0x4131d0
call fcn.00412389
add esp, 0x4c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b3f8
push ebx
call fcn.00412383
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
push dword [ebp + 0x10]
call fcn.0040b986
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]
lea eax, [ebp - 0x20]
push eax
call fcn.0040b9d7
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40b43d
push ebx
call fcn.00412383
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40b453
push ebx
call fcn.00412383
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov eax, str.http:__mail1.zffa.top_mail_api.php_address_
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40b46f
push ebx
call fcn.00412383
add esp, 4
pop eax
mov dword [ebp - 8], 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
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 1
push dword [ebp + 0x10]
push 1
mov eax, 0x8ac77a
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 4]
push eax
push 1
mov eax, 0x8ac785
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
mov eax, 0x8ac790
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
lea eax, [ebp - 8]
push eax
call fcn.0040c284
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40b51d
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40b52d
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40b53d
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40b54d
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40b55d
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b56d
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40b57d
push ebx
call fcn.00412383
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40b591
push ebx
call fcn.00412383
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
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 - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
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 - 0x28]
test ebx, ebx
je 0x40b5de
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b5ee
push ebx
call fcn.00412383
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.application_json
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.content_type
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
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 - 0x28]
test ebx, ebx
je 0x40b630
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b640
push ebx
call fcn.00412383
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, str.https:__servicewechat.com_wxb1c0b93f4bc832c7_9_page_frame.html
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.Referer
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
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 - 0x28]
test ebx, ebx
je 0x40b682
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b692
push ebx
call fcn.00412383
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
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 - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40b6c3
push ebx
call fcn.00412383
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
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
push dword [ebp - 0x2c]
push 1
lea eax, [ebp - 0x18]
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
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
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
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 1
lea eax, [ebp - 0x14]
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
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
push 1
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
call fcn.00403cfc
mov ebx, eax
test ebx, ebx
je 0x40b7c8
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40b7d8
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40b7e8
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40b7f8
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40b808
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40b818
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40b828
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40b838
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40b848
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40b858
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40b868
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40b878
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b888
push ebx
call fcn.00412383
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40b89b
mov eax, 0x8ac0e0
push eax
push 1
mov ebx, 0x413bb0
call fcn.00412389
add esp, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040c84b
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40b8cd
push ebx
call fcn.00412383
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40b8e1
push ebx
call fcn.00412383
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push 0x8ac8c4
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x4b6fe0
mov ecx, 4
call fcn.004011cc
add esp, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00402c39
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40b920
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b930
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40b940
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40b960
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40b970
push ebx
call fcn.00412383
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40b980
push ebx
call fcn.00412383
add esp, 4
mov esp, ebp
pop ebp
ret 0xc