Function at 0x10051a50
Capabilities:
Register http server url
Start http server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100885be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
lea ecx, [edi + 0x50]
call fcn.1000b640
lea ecx, [edi + 0x68]
call fcn.1000b640
lea ecx, [edi + 0x80]
mov byte [ebp - 4], 4
push 0x10096a23
call fcn.1000b5b0
push fcn.1000b430
push fcn.1000b640
push 9
push 0x18
lea eax, [edi + 0x98]
mov byte [ebp - 4], 5
push eax
call fcn.10061fd9
lea ecx, [edi + 0x170]
call fcn.1000b640
lea ecx, [edi + 0x188]
call fcn.1000b640
lea eax, [edi + 0x1a0]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.1000ad60
lea ecx, [edi + 0x1b8]
call fcn.1000b640
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0x1b8]
mov al, byte [ebp + 8]
mov byte [edi + 0x4d], al
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x1dc], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x1d4], eax
lea eax, [ebp + 0x2c]
push eax
mov dword [edi + 0x1d8], 0
mov byte [edi + 0x4c], 0
call fcn.1000b3f0
mov eax, dword [ebp + 0x44]
lea ecx, [edi + 0x68]
mov dword [edi + 0x1d0], eax
lea eax, [ebp + 0x48]
push eax
call fcn.1000b3f0
cmp byte [edi + 0x4d], 0
mov eax, dword [edi + 0x1d0]
push eax
je 0x10051bed
lea eax, [ebp - 0x7c]
push eax
call fcn.10004130
mov esi, eax
lea eax, [edi + 0x1b8]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xc4]
push str.https:__
push eax
call fcn.100140e0
push 0x100a11c4
push eax
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0xc
push eax
call fcn.100140a0
push esi
push eax
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0xd
push eax
call fcn.100141d0
push 0x100a11c0
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xe
push eax
call fcn.100140a0
add esp, 0x38
lea ecx, [edi + 0x50]
push eax
call fcn.1000b450
lea ecx, [ebp - 0x64]
call fcn.1000b430
lea ecx, [ebp - 0x94]
call fcn.1000b430
lea ecx, [ebp - 0xac]
call fcn.1000b430
lea ecx, [ebp - 0xc4]
call fcn.1000b430
lea ecx, [ebp - 0x7c]
jmp 0x10051c87
lea eax, [ebp - 0x64]
push eax
call fcn.10004130
mov esi, eax
lea eax, [edi + 0x1b8]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x94]
push str.http:__
push eax
call fcn.100140e0
push 0x100a11c4
push eax
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0x10
push eax
call fcn.100140a0
push esi
push eax
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 0x11
push eax
call fcn.100141d0
push 0x100a11c0
push eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x12
push eax
call fcn.100140a0
add esp, 0x38
lea ecx, [edi + 0x50]
push eax
call fcn.1000b450
lea ecx, [ebp - 0x7c]
call fcn.1000b430
lea ecx, [ebp - 0xc4]
call fcn.1000b430
lea ecx, [ebp - 0xac]
call fcn.1000b430
lea ecx, [ebp - 0x94]
call fcn.1000b430
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xa
call fcn.1000b430
mov edi, dword [ebp - 0x10]
lea eax, [ebp + 0x14]
push eax
mov ecx, edi
call fcn.1000aba0
mov ecx, edi
mov byte [ebp - 4], 0x13
call fcn.10001690
push eax
call fcn.100017c0
add esp, 4
mov esi, eax
mov ecx, esi
call fcn.1000f600
mov ecx, dword [esi + 0x10]
push esi
lea ecx, [eax + ecx*2]
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
call fcn.10001870
mov esi, dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 0x14
call fcn.10001690
push eax
call fcn.100017c0
add esp, 4
mov edi, eax
mov ecx, edi
call fcn.1000f600
push edi
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
call fcn.10001870
mov byte [ebp - 4], 0xa
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x10051d20
mov ecx, 0x5c
nop dword [eax]
cmp word [eax], 0x2f
jne 0x10051d19
mov word [eax], cx
add eax, 2
cmp eax, esi
jne 0x10051d10
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x7c]
lea esi, [edi + 0x20]
mov dword [ebp + 8], 1
mov dword [esi], 0
lea edx, [edi + 0x50]
call fcn.1005db60
mov ecx, eax
call fcn.1000a850
lea ecx, [ebp - 0x7c]
call fcn.1000abe0
push 0
push 3
push dword [ebp + 8]
call dword [sym.imp.HTTPAPI.dll_HttpInitialize]
test eax, eax
jne 0x10051f59
cmp byte [edi + 0x4d], al
je 0x10051ece
cmp byte [0x100afb37], al
jne 0x10051de8
call fcn.100513f0
mov esi, eax
test esi, esi
jne 0x10051d99
push 0x40010
push str.ERROR
push str._HS__Cer_failed
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x10051f59
push 0x100ae400
push 0x100afbe0
push dword [esi + 8]
push dword [esi + 4]
push 0
push 0x8004
push 0
call dword [sym.imp.CRYPT32.dll_CryptHashCertificate]
test eax, eax
jne 0x10051dd7
push 0x40010
push str.ERROR
push str._HS__CHC_failed
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x10051f59
push esi
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov byte [0x100afb37], 1
lea esi, [edi + 0x20]
xorps xmm0, xmm0
lea ecx, [edi + 0x1b8]
movlpd qword [ebp - 0x54], xmm0
call fcn.1000b0a0
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x58], eax
mov eax, 2
mov word [ebp - 0x5c], ax
movzx eax, word [edi + 0x1d0]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x5a], ax
lea eax, [ebp - 0x5c]
push 0
mov dword [ebp - 0x4c], eax
mov eax, dword [0x100ae400]
push 0x38
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
push 1
push 0
mov dword [ebp - 0x44], 0x100afbe0
mov dword [ebp - 0x40], 0x3997d7bf
mov dword [ebp - 0x3c], 0x4665ae86
mov dword [ebp - 0x38], 0x4ee206b5
mov dword [ebp - 0x34], 0xe1489a32
mov dword [ebp - 0x30], str.Root
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.HTTPAPI.dll_HttpSetServiceConfiguration]
cmp eax, 0xb7
jne 0x10051ec6
push 0
push 0x38
lea eax, [ebp - 0x4c]
push eax
push 1
push 0
call dword [sym.imp.HTTPAPI.dll_HttpDeleteServiceConfiguration]
test eax, eax
jne 0x10051f59
push eax
push 0x38
lea eax, [ebp - 0x4c]
push eax
push 1
push 0
call dword [sym.imp.HTTPAPI.dll_HttpSetServiceConfiguration]
test eax, eax
jne 0x10051f59
push 0
push esi
call dword [sym.imp.HTTPAPI.dll_HttpCreateHttpHandle]
test eax, eax
jne 0x10051f59
lea edx, [edi + 0x50]
lea ecx, [ebp - 0x7c]
call fcn.1005db60
mov ecx, eax
call fcn.1000a850
push 0
push eax
push dword [esi]
call dword [sym.imp.HTTPAPI.dll_HttpAddUrl]
lea ecx, [ebp - 0x7c]
mov esi, eax
call fcn.1000abe0
test esi, esi
jne 0x10051f59
mov dword [edi + 0x1c], 0x51d8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x51d8
push esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [edi + 0x18], eax
test eax, eax
je 0x10051f59
push esi
push esi
mov dword [edi + 0x14], eax
xorps xmm0, xmm0
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
movups xmmword [edi + 0x24], xmm0
push 1
mov dword [edi + 0x34], esi
push esi
mov dword [edi + 0x2c], 0x1000
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 0x34], eax
xorps xmm0, xmm0
movups xmmword [edi + 0x38], xmm0
mov dword [edi + 0x48], esi
lea ecx, [ebp + 0x14]
call fcn.1000abe0
lea ecx, [ebp + 0x2c]
call fcn.1000b430
lea ecx, [ebp + 0x48]
call fcn.1000b430
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x58