Function at 0x40e8e9
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 eax, str.http:__creator.douyin.com_web_api_media_user_info_
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40e98f
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 - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40e9c8
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 0x40e9e2
push ebx
call fcn.0044cfc2
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 8
call fcn.0044cfc8
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x2c]
push 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
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
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 0x40eae2
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40eaf2
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40eb02
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40eb12
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40eb22
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40eb32
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x2c]
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 0x40eb69
push ebx
call fcn.0044cfc2
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
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040baa1
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40ebaf
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40ebbf
push ebx
call fcn.0044cfc2
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40ebd2
mov eax, 0x7c5541
push eax
push 1
mov ebx, 0x44ed70
call fcn.0044cfda
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40ebf8
push ebx
call fcn.0044cfc2
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40ec0c
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 - 0x20], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
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 - 0x20]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40ec68
push ebx
call fcn.0044cfc2
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40ec7c
push ebx
call fcn.0044cfc2
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40ec90
push ebx
call fcn.0044cfc2
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40eca4
push ebx
call fcn.0044cfc2
add esp, 4
pop ebx
call fcn.0044cfc2
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
mov eax, str.user.nickname
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
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 - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40ece8
push ebx
call fcn.0044cfc2
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40ecfe
push ebx
call fcn.0044cfc2
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
mov eax, str.user.signature
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
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 - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40ed3f
push ebx
call fcn.0044cfc2
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40ed55
push ebx
call fcn.0044cfc2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
mov eax, str.user_following_count_
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
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 - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40ed96
push ebx
call fcn.0044cfc2
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40edac
push ebx
call fcn.0044cfc2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
mov eax, str.user_follower_count_
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
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 - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40eded
push ebx
call fcn.0044cfc2
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40ee03
push ebx
call fcn.0044cfc2
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40ee19
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40ee29
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40ee39
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40ee49
push ebx
call fcn.0044cfc2
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40ee59
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 esp, ebp
pop ebp
ret 0x24