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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0xc
call fcn.004c0084
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], 0x85d3ed
push ebx
add ebx, 8
push ebx
push 8
call fcn.004c0084
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.0044b97a
pop ebx
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0x854a3e
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str.roomid
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.0040b41c
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x47b64c
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x47b65c
push ebx
call fcn.004c0096
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x47b670
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x685e5b
push dword [ebp - 4]
call fcn.00401abc
add esp, 8
cmp eax, 0
jne 0x47b6e4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, str.roomid
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call fcn.004157e2
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x47b6cc
push ebx
call fcn.004c0096
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x47b6e0
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x685e5b
push dword [ebp - 4]
call fcn.00401abc
add esp, 8
cmp eax, 0
je 0x47b71a
lea eax, [ebp - 4]
push eax
call fcn.0044a1f3
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jne 0x47b71a
mov eax, 1
jmp 0x47b71f
mov eax, 0
test eax, eax
je 0x47bbd7
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0044a2e4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.0044a2e4
mov dword [ebp - 0x38], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x47b7a6
mov eax, 0x685e5b
push eax
push 1
mov ebx, 0x4c14c0
call fcn.004c00a2
add esp, 0x10
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x47b7cf
push ebx
call fcn.004c0096
add esp, 4
fild qword [ebp - 0x40]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fadd qword [0x7649f6]
fstp qword [ebp - 0x50]
push 0x80000601
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 1
mov ebx, 0x4c27e0
call fcn.004c00a2
add esp, 0x10
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
push str.CGTVIXGP_
push dword [ebp - 0x24]
push str.momoidsrcm50011web_uid
push dword [ebp - 4]
push str.https:__live_api.immomo.com_open_m_room_profile_roomid
mov ecx, 6
call fcn.0040106f
add esp, 0x18
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x47b839
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x47b849
push ebx
call fcn.004c0096
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x47b85d
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 8
call fcn.004c0084
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x20]
push 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
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]
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, str.User_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
mov dword [ebp - 0x48], eax
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
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 1
push 0
lea eax, [ebp - 8]
push eax
call fcn.00408076
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x47b974
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x47b984
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x47b994
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x47b9a4
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x47b9b4
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x47b9c4
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x47b9d4
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x47b9e4
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x47b9f4
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4c61b0
call fcn.004c00a2
add esp, 0x10
call fcn.004c0096
add esp, 4
lea eax, [ebp - 0x58]
push eax
call fcn.0044a1b0
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x47ba33
push ebx
call fcn.004c0096
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x47ba47
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x20
call fcn.004c0084
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x47baa6
push ebx
call fcn.004c0096
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x47baba
push ebx
call fcn.004c0096
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x47bace
push ebx
call fcn.004c0096
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x47bae2
push ebx
call fcn.004c0096
add esp, 4
pop ebx
call fcn.004c0096
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x47bbd7
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 1
mov eax, 0x85abbb
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x47bb30
push ebx
call fcn.004c0096
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x47bb46
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 1
mov eax, str.data.url
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x47bb87
push ebx
call fcn.004c0096
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x47bb9d
push ebx
call fcn.004c0096
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
push 0x685e5b
mov ebx, dword [ebp + 0x10]
push dword [ebx]
call fcn.00401abc
add esp, 8
cmp eax, 0
je 0x47bbcd
mov eax, 1
jmp 0x47bbe1
mov eax, 0
jmp 0x47bbe1
mov eax, 0
jmp 0x47bbe1
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x47bbf2
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x47bc02
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x47bc12
push ebx
call fcn.004c0096
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004c0096
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x24