Function at 0x1008e160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x260
mov eax, dword [0x101354c0]
xor eax, esp
mov dword [esp + 0x25c], eax
mov eax, dword [esp + 0x26c]
mov ecx, dword [esp + 0x270]
push ebx
mov ebx, dword [esp + 0x278]
push ebp
mov ebp, dword [esp + 0x26c]
push esi
movzx esi, word [esp + 0x284]
push edi
mov edi, dword [esp + 0x278]
push 0x200
mov dword [esp + 0x18], eax
lea eax, [esp + 0x70]
push 0
push eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x48], edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x44], esi
call sub.VCRUNTIME140.dll_memset
movzx eax, si
xorps xmm0, xmm0
mov dword [esp + 0x40], eax
lea eax, [esp + 0x4c]
push 0xa
push eax
lea eax, [esp + 0x28]
movq qword [esp + 0x54], xmm0
push eax
mov word [esp + 0x60], 0
call fcn.1008ec80
add esp, 0x18
test eax, eax
je 0x1008e20e
push str.Excessive_alt_svc_header__ignoring.
push ebp
call fcn.1008b150
add esp, 8
jmp 0x1008e718
mov edi, dword [edi + 4]
test edi, edi
je 0x1008e2be
mov eax, dword [esp + 0x18]
nop dword [eax]
mov esi, dword [edi]
mov ebx, dword [edi + 8]
cmp eax, dword [esi + 8]
jne 0x1008e2b0
mov eax, dword [esp + 0x38]
cmp ax, word [esi + 4]
jne 0x1008e2ac
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esi]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008e241
sub ecx, edx
mov edx, ebp
lea eax, [edx + 1]
mov dword [esp + 0x30], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x1008e253
sub edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
test ecx, ecx
je 0x1008e26e
cmp byte [eax + ecx - 1], 0x2e
jne 0x1008e26e
dec ecx
cmp ecx, edx
jne 0x1008e2ac
push ecx
push ebp
push eax
call fcn.1008f890
add esp, 0xc
test eax, eax
je 0x1008e2ac
mov eax, dword [esp + 0x3c]
push 0
add eax, 4
push edi
push eax
call fcn.10093cd0
push dword [esi]
call dword [0x1013512c]
push dword [esi + 0xc]
call dword [0x1013512c]
push esi
call dword [0x1013512c]
add esp, 0x18
mov eax, dword [esp + 0x18]
mov edi, ebx
test ebx, ebx
jne 0x1008e220
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x40]
push str.clear
push eax
call fcn.1008f840
add esp, 8
test eax, eax
jne 0x1008e718
mov esi, dword [esp + 0x14]
cmp byte [esi], 0x3d
jne 0x1008e718
lea eax, [esp + 0x40]
push 0x1011dbc8
push eax
call fcn.1008f840
add esp, 8
test eax, eax
je 0x1008e302
mov eax, 8
jmp 0x1008e338
lea eax, [esp + 0x40]
push 0x1011dbcc
push eax
call fcn.1008f840
add esp, 8
test eax, eax
je 0x1008e31f
mov eax, 0x10
jmp 0x1008e338
lea eax, [esp + 0x40]
push 0x1011dbd0
push eax
call fcn.1008f840
add esp, 8
neg eax
sbb eax, eax
and eax, 0x20
cmp byte [esi + 1], 0x22
mov dword [esp + 0x20], eax
jne 0x1008e718
mov ecx, 0x15180
mov dword [esp + 0x28], 0x100d07ca
mov dword [esp + 0x30], ecx
xor al, al
lea ecx, [esi + 2]
mov byte [esp + 0x13], al
mov esi, ecx
mov byte [esp + 0x12], 0
mov dword [esp + 0x14], ecx
mov al, byte [esi]
cmp al, 0x3a
je 0x1008e3f7
test al, al
je 0x1008e3b2
mov edi, ecx
mov ebx, ecx
mov ebp, ecx
nop
movzx eax, al
push eax
call fcn.10090840
add esp, 4
test eax, eax
jne 0x1008e39e
mov al, byte [esi]
mov edi, ebx
cmp al, 0x2e
je 0x1008e39e
mov edi, ebp
cmp al, 0x2d
jne 0x1008e3ae
mov al, byte [edi + 1]
lea esi, [edi + 1]
mov edi, esi
mov ebx, esi
mov ebp, esi
test al, al
jne 0x1008e380
mov ecx, dword [esp + 0x14]
mov edi, esi
sub edi, ecx
je 0x1008e3de
cmp edi, 0x200
jae 0x1008e3de
push edi
push ecx
lea eax, [esp + 0x74]
push eax
call sub.VCRUNTIME140.dll_memcpy
lea eax, [esp + 0x78]
mov byte [esp + edi + 0x78], 0
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x1008e3fb
push str.Excessive_alt_svc_host_name__ignoring.
push dword [esp + 0x30]
call fcn.1008b150
add esp, 8
xor ebp, ebp
mov dword [esp + 0x20], ebp
jmp 0x1008e3fb
mov dword [esp + 0x28], ebx
cmp byte [esi], 0x3a
jne 0x1008e455
push 0xa
lea eax, [esp + 0x28]
push eax
lea edi, [esi + 1]
push edi
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtoul
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffff
ja 0x1008e42a
mov esi, dword [esp + 0x24]
cmp esi, edi
je 0x1008e42a
cmp byte [esi], 0x22
je 0x1008e445
push str.Unknown_alt_svc_port_number__ignoring.
push dword [esp + 0x30]
call fcn.1008b150
mov esi, dword [esp + 0x2c]
add esp, 8
xor eax, eax
mov dword [esp + 0x20], eax
push ebx
call fcn.1008d9d0
movzx ecx, ax
add esp, 4
mov dword [esp + 0x34], ecx
mov al, byte [esi]
inc esi
cmp al, 0x22
jne 0x1008e718
mov al, byte [esp + 0x12]
mov byte [esp + 0x12], al
mov al, byte [esi]
cmp al, 0x20
je 0x1008e472
cmp al, 9
jne 0x1008e475
inc esi
jmp 0x1008e468
cmp al, 0x3b
jne 0x1008e60e
mov al, byte [esi + 1]
inc esi
mov dword [esp + 0x14], esi
test al, al
je 0x1008e60e
cmp al, 0xa
je 0x1008e60e
cmp al, 0xd
je 0x1008e60e
push 0x20
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1008ec80
movzx ecx, byte [esp + 0x58]
xor edx, edx
mov esi, dword [esp + 0x20]
add esp, 0xc
test eax, eax
cmovne ecx, edx
mov byte [esp + 0x4c], cl
mov cl, byte [esi]
test cl, cl
je 0x1008e4e4
mov al, cl
nop dword [eax]
cmp al, 0x20
je 0x1008e4da
mov cl, al
cmp al, 9
jne 0x1008e4e4
mov cl, byte [esi + 1]
inc esi
mov al, cl
test al, al
jne 0x1008e4d0
cmp cl, 0x3d
jne 0x1008e718
mov cl, byte [esi + 1]
inc esi
mov edx, esi
test cl, cl
je 0x1008e718
mov al, cl
mov edi, esi
mov ebx, esi
mov ebp, esi
cmp al, 0x20
je 0x1008e511
mov edi, ebx
mov cl, al
mov edx, ebp
cmp al, 9
jne 0x1008e525
mov cl, byte [edi + 1]
lea esi, [edi + 1]
mov al, cl
mov edi, esi
mov ebx, esi
mov ebp, esi
mov edx, esi
test al, al
jne 0x1008e503
test cl, cl
je 0x1008e718
cmp cl, 0x22
jne 0x1008e53c
inc esi
mov byte [esp + 0x12], 1
mov ebx, esi
jmp 0x1008e54a
mov cl, byte [esp + 0x12]
mov ebx, edx
mov byte [esp + 0x12], cl
test cl, cl
je 0x1008e575
mov cl, byte [esi]
mov esi, ebx
test cl, cl
je 0x1008e56a
mov al, cl
mov edx, ebx
mov cl, al
cmp al, 0x22
je 0x1008e56a
mov cl, byte [edx + 1]
lea esi, [edx + 1]
mov al, cl
mov edx, esi
test al, al
jne 0x1008e556
inc esi
test cl, cl
je 0x1008e718
jmp 0x1008e59d
mov al, byte [esi]
mov ebx, edx
mov byte [esp + 0x12], cl
test al, al
je 0x1008e59d
mov byte [esp + 0x12], cl
cmp al, 0x20
je 0x1008e59d
cmp al, 9
je 0x1008e59d
cmp al, 0x3b
je 0x1008e59d
cmp al, 0x2c
je 0x1008e59d
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1008e585
push 0xa
lea eax, [esp + 0x28]
push eax
push ebx
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtoul
add esp, 0xc
mov edi, eax
cmp dword [esp + 0x24], ebx
je 0x1008e460
cmp edi, 0xffffffff
jae 0x1008e460
lea eax, [esp + 0x4c]
push eax
push 0x1011dd2c
call fcn.1008f840
add esp, 8
test eax, eax
je 0x1008e5e1
mov dword [esp + 0x30], edi
jmp 0x1008e460
lea eax, [esp + 0x4c]
push eax
push str.persist
call fcn.1008f840
add esp, 8
test eax, eax
je 0x1008e460
cmp edi, 1
jne 0x1008e460
mov byte [esp + 0x13], 1
jmp 0x1008e460
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x1008e6be
mov eax, dword [esp + 0x34]
movzx ebx, ax
mov eax, dword [esp + 0x38]
push ebx
movzx eax, ax
push eax
push ebp
push dword [esp + 0x24]
push dword [esp + 0x38]
push dword [esp + 0x30]
call fcn.1008e920
mov edi, eax
add esp, 0x18
test edi, edi
je 0x1008e6d4
push 0
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
add eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov dword [edi + 0x18], eax
adc edx, 0
mov al, byte [esp + 0x17]
mov byte [edi + 0x20], al
lea eax, [edi + 0x28]
push eax
push edi
mov dword [edi + 0x1c], edx
lea eax, [ecx + 4]
push dword [ecx + 8]
push eax
call fcn.10093c50
add esp, 0x14
cmp ebp, 8
je 0x1008e69f
cmp ebp, 0x10
je 0x1008e698
cmp ebp, 0x20
mov eax, 0x100d07ca
mov ecx, 0x1011dbd0
cmove eax, ecx
jmp 0x1008e6a4
mov eax, 0x1011dbcc
jmp 0x1008e6a4
mov eax, 0x1011dbc8
mov ebp, dword [esp + 0x2c]
push eax
push ebx
push dword [esp + 0x30]
push str.Added_alt_svc:__s:_d_over__s
push ebp
call fcn.1008b150
add esp, 0x14
jmp 0x1008e6d4
lea eax, [esp + 0x40]
push eax
push str.Unknown_alt_svc_protocol___s___skipping.
push dword [esp + 0x34]
call fcn.1008b150
add esp, 0xc
cmp byte [esi], 0x2c
jne 0x1008e6fa
push 0xa
lea eax, [esp + 0x44]
inc esi
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], esi
push eax
call fcn.1008ec80
add esp, 0xc
test eax, eax
jne 0x1008e718
mov esi, dword [esp + 0x14]
mov al, byte [esi]
test al, al
je 0x1008e718
cmp al, 0x3b
je 0x1008e718
cmp al, 0xa
je 0x1008e718
cmp al, 0xd
je 0x1008e718
mov ebx, dword [esp + 0x1c]
cmp al, 0x3d
je 0x1008e2e5
mov ecx, dword [esp + 0x26c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100ca284
add esp, 0x260
ret