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

Disassembly:
sub esp, 0x260
mov eax, dword [0x5503c8]
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 + 0x24], ebp
mov dword [esp + 0x48], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], esi
call fcn.004d1960
movzx eax, si
xorps xmm0, xmm0
mov dword [esp + 0x3c], 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.00493c50
add esp, 0x18
test eax, eax
je 0x4931be
push str.Excessive_alt_svc_header__ignoring.
push ebp
call fcn.004901f0
add esp, 8
jmp 0x4936aa
mov edi, dword [edi + 4]
test edi, edi
je 0x493230
mov eax, dword [esp + 0x20]
mov ebp, ebx
nop dword [eax + eax]
mov esi, dword [edi]
mov ebx, dword [edi + 8]
cmp eax, dword [esi + 8]
jne 0x493222
mov eax, dword [esp + 0x34]
cmp ax, word [esi + 4]
jne 0x49321e
push dword [esi]
push ebp
call fcn.00494810
add esp, 8
test eax, eax
je 0x49321e
mov eax, dword [esp + 0x3c]
push 0
add eax, 4
push edi
push eax
call fcn.004998f0
push dword [esi]
call dword [0x55036c]
push dword [esi + 0xc]
call dword [0x55036c]
push esi
call dword [0x55036c]
add esp, 0x18
mov eax, dword [esp + 0x20]
mov edi, ebx
test ebx, ebx
jne 0x4931d0
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x40]
push str.clear
push eax
call fcn.00494810
add esp, 8
test eax, eax
jne 0x4936aa
mov esi, dword [esp + 0x14]
cmp byte [esi], 0x3d
jne 0x4936aa
nop word [eax + eax]
lea eax, [esp + 0x40]
push 0x513fa8
push eax
call fcn.00494810
add esp, 8
test eax, eax
je 0x49327d
mov eax, 8
jmp 0x4932b3
lea eax, [esp + 0x40]
push 0x513fac
push eax
call fcn.00494810
add esp, 8
test eax, eax
je 0x49329a
mov eax, 0x10
jmp 0x4932b3
lea eax, [esp + 0x40]
push 0x513fb0
push eax
call fcn.00494810
add esp, 8
neg eax
sbb eax, eax
and eax, 0x20
cmp byte [esi + 1], 0x22
mov dword [esp + 0x1c], eax
jne 0x4936aa
mov ecx, 0x15180
mov dword [esp + 0x28], 0x52923e
mov dword [esp + 0x38], 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 0x493378
test al, al
je 0x493336
mov edi, ecx
mov ebx, ecx
mov ebp, ecx
nop word [eax + eax]
movzx eax, al
push eax
call fcn.004bc0d0
add esp, 4
test eax, eax
jne 0x49331e
mov al, byte [esi]
mov edi, ebx
cmp al, 0x2e
je 0x49331e
mov edi, ebp
cmp al, 0x2d
jne 0x49332e
mov al, byte [edi + 1]
lea esi, [edi + 1]
mov edi, esi
mov ebx, esi
mov ebp, esi
test al, al
jne 0x493300
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, esi
sub edi, ecx
je 0x493362
cmp edi, 0x200
jae 0x493362
push edi
push ecx
lea eax, [esp + 0x74]
push eax
call fcn.004d13e0
lea eax, [esp + 0x78]
mov byte [esp + edi + 0x78], 0
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x49337c
push str.Excessive_alt_svc_host_name__ignoring.
push ebp
call fcn.004901f0
add esp, 8
xor ebp, ebp
mov dword [esp + 0x1c], ebp
jmp 0x49337c
mov dword [esp + 0x28], ebx
cmp byte [esi], 0x3a
jne 0x4933d6
push 0xa
lea eax, [esp + 0x28]
push eax
lea edi, [esi + 1]
push edi
call fcn.004e00d0
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffff
ja 0x4933ab
mov esi, dword [esp + 0x24]
cmp esi, edi
je 0x4933ab
cmp byte [esi], 0x22
je 0x4933c6
push str.Unknown_alt_svc_port_number__ignoring.
push dword [esp + 0x1c]
call fcn.004901f0
mov esi, dword [esp + 0x2c]
add esp, 8
xor eax, eax
mov dword [esp + 0x1c], eax
push ebx
call fcn.00492970
movzx ecx, ax
add esp, 4
mov dword [esp + 0x30], ecx
mov al, byte [esi]
inc esi
cmp al, 0x22
jne 0x4936aa
mov al, byte [esp + 0x12]
mov byte [esp + 0x12], al
nop dword [eax]
mov al, byte [esi]
cmp al, 0x20
je 0x4933fa
cmp al, 9
jne 0x4933fd
inc esi
jmp 0x4933f0
cmp al, 0x3b
jne 0x493599
mov al, byte [esi + 1]
inc esi
mov dword [esp + 0x14], esi
test al, al
je 0x493599
cmp al, 0xa
je 0x493599
cmp al, 0xd
je 0x493599
push 0x20
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00493c50
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 0x493469
mov al, cl
cmp al, 0x20
je 0x49345f
mov cl, al
cmp al, 9
jne 0x493469
mov cl, byte [esi + 1]
inc esi
mov al, cl
test al, al
jne 0x493455
cmp cl, 0x3d
jne 0x4936aa
mov cl, byte [esi + 1]
inc esi
mov edx, esi
test cl, cl
je 0x4936aa
mov al, cl
mov edi, esi
mov ebx, esi
mov ebp, esi
cmp al, 0x20
je 0x493496
mov edi, ebx
mov cl, al
mov edx, ebp
cmp al, 9
jne 0x4934aa
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 0x493488
test cl, cl
je 0x4936aa
cmp cl, 0x22
jne 0x4934c1
inc esi
mov byte [esp + 0x12], 1
mov ebx, esi
jmp 0x4934cf
mov cl, byte [esp + 0x12]
mov ebx, edx
mov byte [esp + 0x12], cl
test cl, cl
je 0x4934ff
mov cl, byte [esi]
mov esi, ebx
test cl, cl
je 0x4934f4
mov al, cl
mov edx, ebx
nop dword [eax + eax]
mov cl, al
cmp al, 0x22
je 0x4934f4
mov cl, byte [edx + 1]
lea esi, [edx + 1]
mov al, cl
mov edx, esi
test al, al
jne 0x4934e0
inc esi
test cl, cl
je 0x4936aa
jmp 0x493528
mov al, byte [esi]
mov ebx, edx
mov byte [esp + 0x12], cl
test al, al
je 0x493528
mov byte [esp + 0x12], cl
nop
cmp al, 0x20
je 0x493528
cmp al, 9
je 0x493528
cmp al, 0x3b
je 0x493528
cmp al, 0x2c
je 0x493528
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x493510
push 0xa
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.004e00d0
add esp, 0xc
mov edi, eax
cmp dword [esp + 0x24], ebx
je 0x4933e1
cmp edi, 0xffffffff
jae 0x4933e1
lea eax, [esp + 0x4c]
push eax
push 0x51410c
call fcn.00494810
add esp, 8
test eax, eax
je 0x49356c
mov dword [esp + 0x38], edi
jmp 0x4933e1
lea eax, [esp + 0x4c]
push eax
push str.persist
call fcn.00494810
add esp, 8
test eax, eax
je 0x4933e1
cmp edi, 1
jne 0x4933e1
mov byte [esp + 0x13], 1
jmp 0x4933e1
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x493649
mov eax, dword [esp + 0x30]
movzx ebx, ax
mov eax, dword [esp + 0x34]
push ebx
movzx eax, ax
push eax
push ebp
push dword [esp + 0x2c]
push dword [esp + 0x38]
push dword [esp + 0x40]
call fcn.00493910
mov edi, eax
add esp, 0x18
test edi, edi
je 0x493662
push 0
call fcn.004d99bc
add eax, dword [esp + 0x3c]
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.00499870
add esp, 0x14
cmp ebp, 8
je 0x49362a
cmp ebp, 0x10
je 0x493623
cmp ebp, 0x20
mov eax, 0x52923e
mov ecx, 0x513fb0
cmove eax, ecx
jmp 0x49362f
mov eax, 0x513fac
jmp 0x49362f
mov eax, 0x513fa8
mov ebp, dword [esp + 0x18]
push eax
push ebx
push dword [esp + 0x30]
push str.Added_alt_svc:__s:_d_over__s
push ebp
call fcn.004901f0
add esp, 0x14
jmp 0x493666
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x40]
push eax
push str.Unknown_alt_svc_protocol___s___skipping.
push ebp
call fcn.004901f0
add esp, 0xc
jmp 0x493666
mov ebp, dword [esp + 0x18]
cmp byte [esi], 0x2c
jne 0x49368c
push 0xa
lea eax, [esp + 0x44]
inc esi
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], esi
push eax
call fcn.00493c50
add esp, 0xc
test eax, eax
jne 0x4936aa
mov esi, dword [esp + 0x14]
mov al, byte [esi]
test al, al
je 0x4936aa
cmp al, 0x3b
je 0x4936aa
cmp al, 0xa
je 0x4936aa
cmp al, 0xd
je 0x4936aa
mov ebx, dword [esp + 0x2c]
cmp al, 0x3d
je 0x493260
mov ecx, dword [esp + 0x26c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004cf8bc
add esp, 0x260
ret