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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
push 8
call fcn.004173e9
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.004173e9
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, 3
mov dword [ebx], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], esp
push 0
mov eax, 6
call fcn.004173e3
cmp dword [ebp - 0x14], esp
je 0x402ab4
push 0
push 0x4019057
push 6
call fcn.004173dd
add esp, 0xc
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.00401168
push getpeername
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x402adf
mov eax, 0x4ddd66
push eax
push getpeername
push 0
push str.formhashformhas
push getpeername
push 0
push str._____________________________7dc2421de0480_r_nContent_Disposition:_form_data__name_formhash__r_n_r_nformhashformhas_r_n_____________________________7dc2421de0480_r_nContent_Disposition:_form_data__name_sign__r_n_r_nsignsign_r_n_____________________________7dc2421de0480_r_nContent_Disposition:_form_data__name_DATA__r_nContent_Type:_multipart_form_data_r_n_r_n
push 6
mov ebx, 0x4183e0
call fcn.004173f5
add esp, 0x4c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402b21
push ebx
call fcn.004173ef
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.00401168
push getpeername
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x402b50
mov eax, 0x4ddd66
push eax
push getpeername
push 0
push str.signsign
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x402b70
mov eax, 0x4ddd66
push eax
push 6
mov ebx, 0x4183e0
call fcn.004173f5
add esp, 0x4c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402b9a
push ebx
call fcn.004173ef
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [0x51a278], 3
jne 0x402d03
push 0
push 0
push 0
push getpeername
push 0
push str.Microsoft.XMLHTTP
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x41dc20
call fcn.004173f5
add esp, 0x28
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x402cfe
push 0
push 0
push 0
push getpeername
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x41dc20
call fcn.004173f5
add esp, 0x28
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x402cfe
push 0
push 0
push 0
push getpeername
push 0
push str.MSXML2.ServerXMLHTTP.6.0
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x41dc20
call fcn.004173f5
add esp, 0x28
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x402cfe
push 0
push 0
push 0
push getpeername
push 0
push str.MSXML2.ServerXMLHTTP.5.0
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x41dc20
call fcn.004173f5
add esp, 0x28
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x402cfe
mov ebx, 6
call fcn.00401168
push 0x80000301
push 0
push 0x30
push getpeername
push 0
push 0x4de0af
push 4
mov ebx, 0x41a060
call fcn.004173f5
add esp, 0x34
mov dword [ebp - 0x14], esp
mov eax, 7
call fcn.004173e3
cmp dword [ebp - 0x14], esp
je 0x402cf4
push 0x386
push 0x4019057
push 6
call fcn.004173dd
add esp, 0xc
mov eax, 0x4dde77
jmp 0x4035f3
jmp 0x402fc7
cmp dword [0x51a278], 1
jne 0x402e2d
push 0
push 0
push 0
push getpeername
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x41dc20
call fcn.004173f5
add esp, 0x28
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x402e28
push 0
push 0
push 0
push getpeername
push 0
push str.MSXML2.ServerXMLHTTP.6.0
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x41dc20
call fcn.004173f5
add esp, 0x28
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x402e28
push 0
push 0
push 0
push getpeername
push 0
push str.MSXML2.ServerXMLHTTP.5.0
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x41dc20
call fcn.004173f5
add esp, 0x28
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x402e28
mov ebx, 6
call fcn.00401168
push 0x80000301
push 0
push 0x30
push getpeername
push 0
push 0x4de0af
push 4
mov ebx, 0x41a060
call fcn.004173f5
add esp, 0x34
mov dword [ebp - 0x14], esp
mov eax, 7
call fcn.004173e3
cmp dword [ebp - 0x14], esp
je 0x402e1e
push 0x649
push 0x4019057
push 6
call fcn.004173dd
add esp, 0xc
mov eax, 0x4dde77
jmp 0x4035f3
jmp 0x402fc7
mov dword [ebp - 0x14], esp
mov eax, 7
call fcn.004173e3
cmp dword [ebp - 0x14], esp
je 0x402e56
push 0x6bd
push 0x4019057
push 6
call fcn.004173dd
add esp, 0xc
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x402e69
mov eax, 0x4ddd66
push eax
push 1
mov ebx, 0x418760
call fcn.004173f5
add esp, 0x10
mov dword [ebp - 0x14], eax
push getpeername
push 0
push str._r_n_____________________________7dc2421de0480___r_n
push 1
mov ebx, 0x418760
call fcn.004173f5
add esp, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0x14]
mov ecx, 3
call fcn.004029c5
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x402ecb
push ebx
call fcn.004173ef
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402edb
push ebx
call fcn.004173ef
add esp, 4
push dword [ebp + 0x20]
push 1
push dword [ebp + 0x18]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
lea eax, [ebp - 0x1c]
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
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
mov eax, 0x4de0f1
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call fcn.00403661
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x402f5f
push ebx
call fcn.004173ef
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x402f6f
push ebx
call fcn.004173ef
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x402f7f
push ebx
call fcn.004173ef
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x402f8f
push ebx
call fcn.004173ef
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x402f9f
push ebx
call fcn.004173ef
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402faf
push ebx
call fcn.004173ef
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x402fbf
push ebx
call fcn.004173ef
add esp, 4
mov eax, dword [ebp - 0x3c]
jmp 0x4035f3
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push getpeername
push 0
push 0x4de0f1
push getpeername
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 8]
push 5
mov ebx, 0x41ca60
call fcn.004173f5
add esp, 0x40
push getpeername
push 0
push 0x4de0fb
push getpeername
push 0
push str.Accept
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x41ca60
call fcn.004173f5
add esp, 0x34
push getpeername
push 0
push str.zh_CN
push getpeername
push 0
push str.Accept_Language
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x41ca60
call fcn.004173f5
add esp, 0x34
push getpeername
push 0
push str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__WOW64__Trident_5.0_
push getpeername
push 0
push str.User_Agent
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x41ca60
call fcn.004173f5
add esp, 0x34
push getpeername
push 0
push str.multipart_form_data__boundary___________________________7dc2421de0480
push getpeername
push 0
push str.Content_Type
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x41ca60
call fcn.004173f5
add esp, 0x34
push getpeername
push 0
push str.deflate
push getpeername
push 0
push str.Accept_Encoding
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x41ca60
call fcn.004173f5
add esp, 0x34
push getpeername
push 0
push str.Keep_Alive
push getpeername
push 0
push str.Connection
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x41ca60
call fcn.004173f5
add esp, 0x34
push getpeername
push 0
push str.no_cache
push getpeername
push 0
push str.Cache_Control
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x41ca60
call fcn.004173f5
add esp, 0x34
push getpeername
push 0
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx]
test eax, eax
jne 0x4031e6
mov eax, 0x4ddd66
push eax
push 1
mov ebx, 0x417a20
call fcn.004173f5
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jle 0x403249
push 0xa0000004
push 0
push dword [ebp + 0x18]
push getpeername
push 0
push str.Cookie
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x41ca60
call fcn.004173f5
add esp, 0x34
jmp 0x403289
push getpeername
push 0
push 0x4ddd66
push getpeername
push 0
push str.Cookie
push getpeername
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x41ca60
call fcn.004173f5
add esp, 0x34
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40329c
mov eax, 0x4ddd66
push eax
push 1
mov ebx, 0x418760
call fcn.004173f5
add esp, 0x10
mov dword [ebp - 0x14], eax
push getpeername
push 0
push str._r_n_____________________________7dc2421de0480___r_n
push 1
mov ebx, 0x418760
call fcn.004173f5
add esp, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0x14]
mov ecx, 3
call fcn.004029c5
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4032fe
push ebx
call fcn.004173ef
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40330e
push ebx
call fcn.004173ef
add esp, 4
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x403327
mov eax, 0x4dde77
push eax
push 0x10031
push 0
push dword [ebp - 0xc]
push 3
mov ebx, 0x41d630
call fcn.004173f5
add esp, 0x28
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403354
push ebx
call fcn.004173ef
add esp, 4
push 0x20010031
push 0
lea eax, [ebp - 0xc]
push eax
push getpeername
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x41ca60
call fcn.004173f5
add esp, 0x28
push 0
push 0
push 0
push getpeername
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x41ca30
call fcn.004173f5
add esp, 0x28
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0x41cbf0
call fcn.004173f5
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x41cbb0
call fcn.004173f5
add esp, 0x10
call fcn.004173ef
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x403414
push ebx
call fcn.004173ef
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push getpeername
push 0
push str.GetallResponseHeaders
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x41c9a0
call fcn.004173f5
add esp, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40345d
push ebx
call fcn.004173ef
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push str.Set_Cookie
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x403492
mov eax, 0x4ddd66
push eax
push 4
mov ebx, 0x417d80
call fcn.004173f5
add esp, 0x34
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x403573
mov eax, 0x4de252
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403b84
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4034e6
push ebx
call fcn.004173ef
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4034f6
push ebx
call fcn.004173ef
add esp, 4
push 0x4de252
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40351e
push ebx
call fcn.004173ef
add esp, 4
push getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x403531
mov eax, 0x4ddd66
push eax
push 1
mov ebx, 0x4183c0
call fcn.004173f5
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403557
push ebx
call fcn.004173ef
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp + 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40356d
push ebx
call fcn.004173ef
add esp, 4
pop eax
mov ebx, dword [ebp + 0x20]
mov dword [ebx], eax
push 0x10031
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x41cbb0
call fcn.004173f5
add esp, 0x10
push 0x10030
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x41dbf0
call fcn.004173f5
add esp, 0x10
mov dword [ebp - 0x14], esp
mov eax, 7
call fcn.004173e3
cmp dword [ebp - 0x14], esp
je 0x4035d4
push 0xd43
push 0x4019057
push 6
call fcn.004173dd
add esp, 0xc
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4035ee
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004173e9
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4035f3
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403604
push ebx
call fcn.004173ef
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x41dbf0
call fcn.004173f5
add esp, 0x10
call fcn.004173ef
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x41cbb0
call fcn.004173f5
add esp, 0x10
call fcn.004173ef
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40365a
push ebx
call fcn.004173ef
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x20