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

Disassembly:
sub esp, 0x268
mov eax, dword [0x46c400]
xor eax, esp
mov dword [esp + 0x264], eax
mov eax, dword [esp + 0x270]
push ebx
mov ebx, dword [esp + 0x270]
push ebp
movzx ebp, word [esp + 0x288]
push esi
mov esi, dword [esp + 0x284]
push edi
mov edi, dword [esp + 0x28c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x284]
push 0x200
mov dword [esp + 0x18], eax
lea eax, [esp + 0x78]
push 0
push eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], ebp
call sub.VCRUNTIME140.dll_memset
movzx eax, bp
xorps xmm0, xmm0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x54]
push 0xa
push eax
lea eax, [esp + 0x28]
movq qword [esp + 0x5c], xmm0
push eax
mov word [esp + 0x68], 0
mov dword [esp + 0x4c], 0
call fcn.0041b4c0
add esp, 0x18
test eax, eax
je 0x41a926
push str.Excessive_alt_svc_header__ignoring.
push ebx
call fcn.00416e20
add esp, 8
jmp 0x41adf5
lea eax, [esp + 0x48]
push str.clear
push eax
call fcn.0041c1f0
add esp, 8
test eax, eax
je 0x41a950
push ebp
push edi
push esi
push dword [esp + 0x34]
call fcn.0041b180
add esp, 0x10
jmp 0x41adf5
mov esi, dword [esp + 0x14]
cmp byte [esi], 0x3d
jne 0x41adf5
nop dword [eax]
lea eax, [esp + 0x48]
push 0x45d8b0
push eax
call fcn.0041c1f0
add esp, 8
test eax, eax
je 0x41a980
mov dword [esp + 0x1c], 8
jmp 0x41a9bd
lea eax, [esp + 0x48]
push 0x45d8b4
push eax
call fcn.0041c1f0
add esp, 8
test eax, eax
je 0x41a9a0
mov dword [esp + 0x1c], 0x10
jmp 0x41a9bd
lea eax, [esp + 0x48]
push 0x45d8b8
push eax
call fcn.0041c1f0
add esp, 8
neg eax
sbb eax, eax
and eax, 0x20
mov dword [esp + 0x1c], eax
cmp byte [esi + 1], 0x22
jne 0x41adf5
lea ebp, [esi + 2]
mov dword [esp + 0x20], 0x469eb8
xor al, al
mov byte [esp + 0x13], 0
mov ebx, ebp
mov dword [esp + 0x24], eax
mov ecx, 0x15180
mov byte [esp + 0x12], 1
mov dword [esp + 0x44], ecx
mov al, byte [ebx]
cmp al, 0x3a
je 0x41aaac
cmp al, 0x5b
jne 0x41aa25
lea edi, [ebp + 1]
push str.0123456789abcdefABCDEF:.
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strspn]
mov esi, eax
add esp, 8
cmp byte [esi + edi], 0x5d
jne 0x41adf5
lea ebx, [edi - 1]
add esi, 2
add ebx, esi
mov edi, ebx
jmp 0x41aa64
mov edi, ebp
test al, al
je 0x41aa60
mov ecx, ebp
nop dword [eax]
cmp al, 0x30
jl 0x41aa38
cmp al, 0x39
jle 0x41aa52
cmp al, 0x61
jl 0x41aa40
cmp al, 0x7a
jle 0x41aa52
cmp al, 0x41
jl 0x41aa48
cmp al, 0x5a
jle 0x41aa52
cmp al, 0x2e
je 0x41aa52
mov edi, ecx
cmp al, 0x2d
jne 0x41aa60
mov al, byte [ecx + 1]
lea ebx, [ecx + 1]
mov ecx, ebx
mov edi, ebx
test al, al
jne 0x41aa30
mov esi, edi
sub esi, ebp
test esi, esi
je 0x41aa94
cmp esi, 0x200
jae 0x41aa94
push esi
lea eax, [esp + 0x78]
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
lea eax, [esp + 0x80]
mov byte [esp + esi + 0x80], 0
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x41aab2
push str.Excessive_alt_svc_host_name__ignoring.
push dword [esp + 0x30]
call fcn.00416e20
add esp, 8
mov byte [esp + 0x12], 0
jmp 0x41aab2
mov dword [esp + 0x20], edi
mov edi, ebp
cmp byte [ebx], 0x3a
jne 0x41ab1e
mov al, byte [edi + 1]
lea ebx, [edi + 1]
cmp al, 0x30
jl 0x41ab04
cmp al, 0x39
jg 0x41ab04
push 0xa
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
add esp, 0xc
test eax, eax
je 0x41ab08
cmp eax, 0xffff
ja 0x41ab08
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x41ab08
cmp byte [ecx], 0x22
jne 0x41ab08
push eax
call fcn.0041a0a0
mov ebx, dword [esp + 0x1c]
add esp, 4
movzx ebp, ax
mov dword [esp + 0x38], ebp
jmp 0x41ab1e
mov dword [esp + 0x18], ebx
push str.Unknown_alt_svc_port_number__ignoring.
push dword [esp + 0x30]
call fcn.00416e20
add esp, 8
mov byte [esp + 0x12], 0
cmp byte [ebx], 0x22
lea esi, [ebx + 1]
jne 0x41adf5
mov edi, esi
nop dword [eax]
mov al, byte [esi]
cmp al, 0x20
je 0x41ab3a
cmp al, 9
jne 0x41ab3f
lea esi, [edi + 1]
jmp 0x41ab2a
cmp al, 0x3b
jne 0x41acd1
mov al, byte [edi + 1]
lea esi, [edi + 1]
mov dword [esp + 0x14], esi
mov edi, esi
test al, al
je 0x41acd1
cmp al, 0xa
je 0x41acd1
cmp al, 0xd
je 0x41acd1
push 0x20
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0041b4c0
movzx ecx, byte [esp + 0x60]
xor edx, edx
mov esi, dword [esp + 0x20]
add esp, 0xc
test eax, eax
cmovne ecx, edx
mov byte [esp + 0x54], cl
mov al, byte [esi]
test al, al
je 0x41abb0
nop dword [eax]
cmp al, 0x20
je 0x41aba8
cmp al, 9
jne 0x41abb0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x41aba0
cmp byte [esi], 0x3d
jne 0x41adf5
mov al, byte [esi + 1]
inc esi
test al, al
je 0x41adf5
mov ebp, esi
cmp al, 0x20
je 0x41abcf
cmp al, 9
jne 0x41abe0
mov al, byte [ebp + 1]
lea esi, [ebp + 1]
mov ebp, esi
test al, al
jne 0x41abc7
jmp 0x41adf5
mov al, byte [esi]
test al, al
je 0x41adf5
cmp al, 0x22
jne 0x41abfa
lea esi, [ebp + 1]
mov byte [esp + 0x13], 1
mov ebp, esi
jmp 0x41ac00
cmp byte [esp + 0x13], dl
je 0x41ac35
mov al, byte [esi]
mov ecx, ebp
test al, al
je 0x41ac24
mov edx, ebp
nop word [eax + eax]
mov ecx, edx
cmp al, 0x22
je 0x41ac24
mov al, byte [edx + 1]
lea esi, [edx + 1]
mov edx, esi
mov ecx, esi
test al, al
jne 0x41ac10
mov al, byte [esi]
lea esi, [ecx + 1]
test al, al
je 0x41adf5
mov edi, esi
jmp 0x41ac57
mov ecx, ebp
mov edi, ecx
cmp al, 0x20
je 0x41ac57
cmp al, 9
je 0x41ac57
cmp al, 0x3b
je 0x41ac57
cmp al, 0x2c
je 0x41ac57
mov al, byte [ecx + 1]
lea esi, [ecx + 1]
mov ecx, esi
mov edi, esi
test al, al
jne 0x41ac37
push 0xa
lea eax, [esp + 0x1c]
push eax
push ebp
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
add esp, 0xc
mov ebx, eax
cmp dword [esp + 0x18], ebp
je 0x41ab30
cmp ebx, 0xffffffff
jae 0x41ab30
lea eax, [esp + 0x54]
push eax
push 0x45da40
call fcn.0041c1f0
add esp, 8
test eax, eax
je 0x41ac9c
mov dword [esp + 0x44], ebx
jmp 0x41ab30
lea eax, [esp + 0x54]
push eax
push str.persist
call fcn.0041c1f0
add esp, 8
test eax, eax
je 0x41ab30
mov eax, dword [esp + 0x24]
cmp ebx, 1
movzx eax, al
mov ecx, 1
cmove eax, ecx
mov dword [esp + 0x24], eax
jmp 0x41ab30
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x41adaf
cmp byte [esp + 0x12], 0
je 0x41adaf
mov ecx, dword [esp + 0x34]
mov eax, ecx
inc ecx
mov dword [esp + 0x34], ecx
test eax, eax
jne 0x41ad0f
push dword [esp + 0x3c]
push dword [esp + 0x34]
push dword [esp + 0x48]
push dword [esp + 0x34]
call fcn.0041b180
add esp, 0x10
mov eax, dword [esp + 0x38]
movzx ebp, ax
mov eax, dword [esp + 0x3c]
push ebp
movzx eax, ax
push eax
push ebx
push dword [esp + 0x4c]
push dword [esp + 0x30]
push dword [esp + 0x44]
call fcn.0041b080
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x41adaf
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add eax, dword [esp + 0x48]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x28]
adc edx, 0
mov byte [ebx + 0x20], al
lea eax, [ebx + 0x28]
push eax
mov eax, dword [esp + 0x30]
add eax, 4
mov dword [ebx + 0x1c], edx
push ebx
push eax
call fcn.0041f700
mov ecx, dword [esp + 0x2c]
add esp, 0x10
cmp ecx, 8
je 0x41ad92
cmp ecx, 0x10
je 0x41ad8b
cmp ecx, 0x20
mov eax, 0x469eb8
mov ecx, 0x45d8b8
cmove eax, ecx
jmp 0x41ad97
mov eax, 0x45d8b4
jmp 0x41ad97
mov eax, 0x45d8b0
mov ebx, dword [esp + 0x2c]
push eax
push ebp
push dword [esp + 0x28]
push str.Added_alt_svc:__s:_d_over__s
push ebx
call fcn.00416e20
add esp, 0x14
cmp byte [esi], 0x2c
jne 0x41add7
lea eax, [edi + 1]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x48]
push 0xa
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0041b4c0
add esp, 0xc
test eax, eax
jne 0x41adf5
mov esi, dword [esp + 0x14]
mov al, byte [esi]
test al, al
je 0x41adf5
cmp al, 0x3b
je 0x41adf5
cmp al, 0xa
je 0x41adf5
cmp al, 0xd
je 0x41adf5
mov edi, dword [esp + 0x30]
cmp al, 0x3d
je 0x41a960
mov ecx, dword [esp + 0x274]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00459940
add esp, 0x268
ret