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

Disassembly:
sub esp, 0x260
mov eax, dword [0x10263fdc]
xor eax, esp
mov dword [esp + 0x25c], eax
mov eax, dword [esp + 0x264]
mov ecx, dword [esp + 0x270]
mov edx, dword [esp + 0x274]
push ebx
push ebp
mov ebp, dword [esp + 0x270]
push esi
movzx esi, word [esp + 0x284]
push edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x27c]
xor ebx, ebx
push 0x1ff
mov dword [esp + 0x14], eax
lea eax, [esp + 0x71]
push ebx
push eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x40], esi
mov byte [esp + 0x78], bl
call sub.MSVCR100.dll_memset
xor eax, eax
movzx ecx, si
mov byte [esp + 0x4c], bl
push 0xa
lea ebx, [esp + 0x50]
lea edi, [esp + 0x20]
mov dword [esp + 0x51], eax
mov dword [esp + 0x55], eax
mov byte [esp + 0x59], al
mov dword [esp + 0x38], ecx
call fcn.101820e0
add esp, 0x10
test eax, eax
je 0x10182277
mov edx, dword [esp + 0x14]
push str.Excessive_alt_svc_header__ignoring..._n
push edx
call fcn.1017f0b0
add esp, 8
jmp 0x101826c3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push esi
push eax
push ecx
push ebp
call fcn.10182150
lea edx, [esp + 0x50]
push str.clear
push edx
call fcn.10187380
add esp, 0x18
test eax, eax
jne 0x101826c3
mov esi, dword [esp + 0x10]
cmp byte [esi], 0x3d
jne 0x101826c3
nop
lea eax, [esp + 0x40]
push 0x1023a038
push eax
call fcn.10187380
add esp, 8
test eax, eax
je 0x101822cd
mov ebp, 8
jmp 0x10182305
lea ecx, [esp + 0x40]
push 0x1023a034
push ecx
call fcn.10187380
add esp, 8
test eax, eax
je 0x101822ea
mov ebp, 0x10
jmp 0x10182305
lea edx, [esp + 0x40]
push 0x1023a030
push edx
call fcn.10187380
add esp, 8
mov ebp, eax
neg ebp
sbb ebp, ebp
and ebp, 0x20
cmp byte [esi + 1], 0x22
jne 0x101826c3
xor eax, eax
add esi, 2
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov al, byte [esi]
mov dword [esp + 0x10], 0x1024cb20
mov dword [esp + 0x38], 0x15180
cmp al, 0x3a
je 0x101823a4
mov ebx, esi
test al, al
je 0x10182362
jmp 0x10182340
movzx eax, al
push eax
call fcn.101a8d10
add esp, 4
test eax, eax
jne 0x1018235a
mov al, byte [esi]
cmp al, 0x2e
je 0x1018235a
cmp al, 0x2d
jne 0x10182362
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10182340
mov edi, esi
sub edi, ebx
je 0x1018238e
cmp edi, 0x200
jae 0x1018238e
push edi
lea ecx, [esp + 0x70]
push ebx
push ecx
call sub.MSVCR100.dll_memcpy
lea edx, [esp + 0x78]
add esp, 0xc
mov byte [esp + edi + 0x6c], 0
mov dword [esp + 0x10], edx
jmp 0x101823ac
mov eax, dword [esp + 0x14]
push str.Excessive_alt_svc_host_name__ignoring..._n
push eax
call fcn.1017f0b0
add esp, 8
xor ebp, ebp
jmp 0x101823ac
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
cmp byte [esi], 0x3a
jne 0x10182404
push 0xa
lea edx, [esp + 0x1c]
push edx
inc esi
push esi
call dword [sym.imp.MSVCR100.dll_strtoul]
mov edi, eax
add esp, 0xc
cmp edi, 0xffff
ja 0x101823da
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x101823da
cmp byte [eax], 0x22
je 0x101823f2
mov eax, dword [esp + 0x14]
push str.Unknown_alt_svc_port_number__ignoring..._n
push eax
call fcn.1017f0b0
mov eax, dword [esp + 0x20]
add esp, 8
xor ebp, ebp
push edi
mov esi, eax
call fcn.10181a30
movzx ecx, ax
add esp, 4
mov dword [esp + 0x28], ecx
mov dl, byte [esi]
inc esi
cmp dl, 0x22
jne 0x101826c3
mov al, byte [esi]
cmp al, 0x20
je 0x1018241a
cmp al, 9
jne 0x1018241d
inc esi
jmp 0x10182410
cmp byte [esi], 0x3b
jne 0x101825b9
mov al, byte [esi + 1]
inc esi
test al, al
je 0x101825b9
cmp al, 0xa
je 0x101825b9
cmp al, 0xd
je 0x101825b9
cmp al, 0x20
je 0x1018244a
cmp al, 9
jne 0x10182452
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10182442
mov al, byte [esi]
mov ecx, esi
test al, al
je 0x10182478
lea ebx, [ebx]
cmp al, 0x20
je 0x10182478
cmp al, 9
je 0x10182478
cmp al, 0x3b
je 0x10182478
cmp al, 0x3d
je 0x10182478
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10182460
mov edi, esi
sub edi, ecx
je 0x10182499
cmp edi, 0x20
jae 0x10182499
push edi
push ecx
lea eax, [esp + 0x54]
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov byte [esp + edi + 0x4c], 0
jmp 0x1018249e
mov byte [esp + 0x4c], 0
mov al, byte [esi]
test al, al
je 0x101824b4
cmp al, 0x20
je 0x101824ac
cmp al, 9
jne 0x101824b4
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x101824a4
cmp byte [esi], 0x3d
jne 0x101826c3
mov al, byte [esi + 1]
inc esi
test al, al
je 0x101826c3
lea esp, [esp]
cmp al, 0x20
je 0x101824d8
cmp al, 9
jne 0x101824e5
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x101824d0
jmp 0x101826c3
mov al, byte [esi]
test al, al
je 0x101826c3
cmp al, 0x22
jne 0x101824fc
inc esi
mov dword [esp + 0x24], 1
cmp dword [esp + 0x24], 0
mov al, byte [esi]
mov ebx, esi
je 0x10182529
test al, al
je 0x1018251c
jmp 0x10182510
cmp al, 0x22
je 0x1018251c
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10182510
mov cl, byte [esi]
inc esi
test cl, cl
je 0x101826c3
jmp 0x10182548
test al, al
je 0x10182548
lea ecx, [ecx]
cmp al, 0x20
je 0x10182548
cmp al, 9
je 0x10182548
cmp al, 0x3b
je 0x10182548
cmp al, 0x2c
je 0x10182548
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10182530
push 0xa
lea edx, [esp + 0x1c]
push edx
push ebx
call dword [sym.imp.MSVCR100.dll_strtoul]
add esp, 0xc
mov edi, eax
cmp dword [esp + 0x18], ebx
je 0x10182410
cmp edi, 0xffffffff
jae 0x10182410
lea eax, [esp + 0x4c]
push eax
push 0x1023a184
call fcn.10187380
add esp, 8
test eax, eax
je 0x1018258d
mov dword [esp + 0x38], edi
jmp 0x10182410
lea ecx, [esp + 0x4c]
push ecx
push str.persist
call fcn.10187380
add esp, 8
test eax, eax
je 0x10182410
cmp edi, 1
jne 0x10182410
mov dword [esp + 0x2c], edi
jmp 0x10182410
test ebp, ebp
je 0x1018266e
movzx ebx, word [esp + 0x28]
movzx edx, word [esp + 0x34]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push ebx
push edx
mov edx, dword [esp + 0x24]
push ebp
push eax
push ecx
push edx
call fcn.10181a90
mov edi, eax
add esp, 0x18
test edi, edi
je 0x10182685
push 0
call dword [sym.imp.MSVCR100.dll__time64]
mov ecx, eax
add ecx, dword [esp + 0x3c]
mov eax, 0
adc edx, eax
mov dword [edi + 0x1c], edx
mov edx, dword [esp + 0x30]
lea eax, [edi + 0x28]
push eax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x18], ecx
mov dword [edi + 0x20], edx
mov ecx, dword [eax + 8]
push edi
push ecx
add eax, 4
push eax
call fcn.101a80e0
add esp, 0x14
cmp ebp, 8
je 0x1018264e
cmp ebp, 0x10
je 0x10182647
cmp ebp, 0x20
je 0x10182640
mov eax, 0x1024cb20
jmp 0x10182653
mov eax, 0x1023a030
jmp 0x10182653
mov eax, 0x1023a034
jmp 0x10182653
mov eax, 0x1023a038
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push ebx
push edx
push str.Added_alt_svc:__s:_d_over__s_n
push eax
call fcn.1017f0b0
add esp, 0x14
jmp 0x10182685
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x40]
push ecx
push str.Unknown_alt_svc_protocol___s___skipping..._n
push edx
call fcn.1017f0b0
add esp, 0xc
cmp byte [esi], 0x2c
jne 0x101826a9
inc esi
push 0xa
lea ebx, [esp + 0x44]
lea edi, [esp + 0x14]
mov dword [esp + 0x14], esi
call fcn.101820e0
add esp, 4
test eax, eax
jne 0x101826c3
mov esi, dword [esp + 0x10]
mov al, byte [esi]
test al, al
je 0x101826c3
cmp al, 0x3b
je 0x101826c3
cmp al, 0xa
je 0x101826c3
cmp al, 0xd
je 0x101826c3
cmp al, 0x3d
je 0x101822b0
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.101ce9e2
add esp, 0x260
ret