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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
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.0044cfc8
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], 0x7c5e16
push ebx
add ebx, 8
push ebx
push 8
call fcn.0044cfc8
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.0040c1be
pop ebx
mov dword [ebp - 0x20], 0
mov eax, str.http:__creator.douyin.com_web_api_media_user_info_
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40e479
push ebx
call fcn.0044cfc2
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.sessionid
mov ecx, 2
call fcn.0040126c
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40e4b2
push ebx
call fcn.0044cfc2
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, str.Connection:_Keep_Alive_r_nContent_Type:_application_x_www_form_urlencoded_r_nAccept:___r_nAccept_Language:_zh_cn_r_nHost:_creator.douyin.com_r_nReferer:_http:__creator.douyin.com_r_nUser_Agent:_Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_50.0.2661.102_Safari_537.36
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40e4cc
push ebx
call fcn.0044cfc2
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.0044cfc8
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
push 1
push 0x1e
push 1
push 0x966c7c
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
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
push 1
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.004073d3
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40e5c7
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40e5d7
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40e5e7
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40e5f7
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40e607
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40e617
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x451790
call fcn.0044cfda
add esp, 0x10
call fcn.0044cfc2
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e64e
push ebx
call fcn.0044cfc2
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.0040baa1
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40e694
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40e6a4
push ebx
call fcn.0044cfc2
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40e6b7
mov eax, 0x7c5541
push eax
push 1
mov ebx, 0x44ed70
call fcn.0044cfda
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40e6dd
push ebx
call fcn.0044cfc2
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e6f1
push ebx
call fcn.0044cfc2
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x20
call fcn.0044cfc8
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 0x40e74d
push ebx
call fcn.0044cfc2
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e761
push ebx
call fcn.0044cfc2
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e775
push ebx
call fcn.0044cfc2
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e789
push ebx
call fcn.0044cfc2
add esp, 4
pop ebx
call fcn.0044cfc2
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
mov eax, str._status_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 0x40e7cd
push ebx
call fcn.0044cfc2
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40e7e1
push ebx
call fcn.0044cfc2
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x7c6581
push dword [ebp - 0x20]
call fcn.00402ac2
add esp, 8
cmp eax, 0
jne 0x40e826
mov eax, 0x7c6583
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e816
push ebx
call fcn.0044cfc2
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, 0
jmp 0x40e871
push 0x7c6413
push dword [ebp - 0x20]
call fcn.00402ac2
add esp, 8
cmp eax, 0
jne 0x40e867
mov eax, 0x7c6596
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e857
push ebx
call fcn.0044cfc2
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, 1
jmp 0x40e871
mov eax, 1
jmp 0x40e871
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40e882
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40e892
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40e8a2
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e8b2
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e8c2
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40e8e2
push ebx
call fcn.0044cfc2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc