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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0xc
call fcn.00141867
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], 0x2a8b86
push ebx
add ebx, 4
push ebx
push 8
call fcn.00141867
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x26b90d
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.00141867
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x26b90d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov eax, 0x26b90d
test eax, eax
je 0x109d91
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00141867
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 0x109da2
push ebx
call fcn.00141879
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [0x33afd8]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0
je 0x10a2b5
cmp dword [ebp + 0x1c], 1
jne 0x109dd4
mov dword [ebp - 8], 2
jmp 0x109ddb
mov dword [ebp - 8], 1
mov ebx, dword [0x33afd8]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp + 8]
push dword [ebx]
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push str.https:__127.0.0.1:
mov ecx, 3
call fcn.001058f1
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x109e17
push ebx
call fcn.00141879
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [0x33afd8]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push str.127.0.0.1:
mov ecx, 2
call fcn.001058f1
add esp, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
mov eax, str.Host
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
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 - 0x20]
test ebx, ebx
je 0x109e78
push ebx
call fcn.00141879
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x109e88
push ebx
call fcn.00141879
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, str.application_json
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.Content_Type
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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 - 0x1c]
test ebx, ebx
je 0x109eca
push ebx
call fcn.00141879
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x109eda
push ebx
call fcn.00141879
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, str.Keep_Alive
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.Connection
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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 - 0x1c]
test ebx, ebx
je 0x109f1c
push ebx
call fcn.00141879
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x109f2c
push ebx
call fcn.00141879
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, str.en_US_en_q0.9
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.Accept_Language
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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 - 0x1c]
test ebx, ebx
je 0x109f6e
push ebx
call fcn.00141879
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x109f7e
push ebx
call fcn.00141879
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, str.Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__RiotClient_81.0.0__CEF_74__Safari_537.36
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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 - 0x1c]
test ebx, ebx
je 0x109fc0
push ebx
call fcn.00141879
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x109fd0
push ebx
call fcn.00141879
add esp, 4
mov ebx, dword [0x33afd8]
mov dword [ebp - 0x14], ebx
push str._index.html
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push str.https:__127.0.0.1:
mov ecx, 3
call fcn.001058f1
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
mov eax, str.Referer
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
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 - 0x20]
test ebx, ebx
je 0x10a032
push ebx
call fcn.00141879
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10a042
push ebx
call fcn.00141879
add esp, 4
mov ebx, dword [0x33afd8]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push str.riot:
mov ecx, 2
call fcn.001058f1
add esp, 8
mov dword [ebp - 0x18], eax
push getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x10a07b
mov eax, 0x26b92f
push eax
push 1
mov ebx, 0x142d10
call fcn.0014187f
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10a0a1
push ebx
call fcn.00141879
add esp, 4
lea eax, [ebp - 0x1c]
push eax
call fcn.0010a30c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10a0bd
push ebx
call fcn.00141879
add esp, 4
push dword [ebp - 0x20]
push str.Basic
mov ecx, 2
call fcn.001058f1
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10a0e5
push ebx
call fcn.00141879
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
mov eax, str.Authorization
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
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 - 0x2c]
test ebx, ebx
je 0x10a11f
push ebx
call fcn.00141879
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10a12f
push ebx
call fcn.00141879
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
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 - 0x18], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
push dword [ebp - 8]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
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
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
push 1
push dword [ebp + 0x14]
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
lea eax, [ebp - 0x18]
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
lea eax, [ebp - 0x50]
push eax
push 1
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
call fcn.0010b001
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x10a22d
push ebx
call fcn.00141879
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x10a23d
push ebx
call fcn.00141879
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x10a24d
push ebx
call fcn.00141879
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10a25d
push ebx
call fcn.00141879
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x10a26d
push ebx
call fcn.00141879
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x10a27d
push ebx
call fcn.00141879
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10a28d
push ebx
call fcn.00141879
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10a29d
push ebx
call fcn.00141879
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10a2b1
push ebx
call fcn.00141879
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x10a2cf
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00141867
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10a2d4
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10a2e5
push ebx
call fcn.00141879
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10a2f5
push ebx
call fcn.00141879
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00141879
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x1c