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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f694f
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x101240c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x118], 0
movlpd qword [ebp - 0x120], xmm0
movlpd qword [ebp - 0x114], xmm0
mov dword [ebp - 0x12c], 2
test eax, eax
jns 0x100a55ca
neg eax
push eax
lea eax, [ebp - 0x3e]
push eax
call fcn.10085710
add esp, 8
mov ecx, 0x2d
sub eax, 2
mov word [eax], cx
jmp 0x100a55d7
push eax
lea eax, [ebp - 0x3e]
push eax
call fcn.10085710
add esp, 8
lea ecx, [ebp - 0x121]
push ecx
lea ecx, [ebp - 0x3e]
push ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.100a4930
push str.http:__127.0.0.1:
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0
call fcn.10004e20
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 1
push ecx
push eax
push dword [ebp - 0x128]
lea ecx, [ebp - 0x2c]
call fcn.10004ef0
push str._sakurakouji
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.1009e730
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 4
cmp ecx, 7
jbe 0x100a5676
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100a566c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a59fb
push ecx
push edx
call fcn.100c4d9c
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov ecx, dword [ebp - 0x84]
mov byte [ebp - 4], 5
cmp ecx, 7
jbe 0x100a56ce
mov edx, dword [ebp - 0x98]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100a56c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a59fb
push ecx
push edx
call fcn.100c4d9c
add esp, 8
xor eax, eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
mov ecx, dword [ebp - 0x9c]
mov byte [ebp - 4], 6
cmp ecx, 7
jbe 0x100a572f
mov edx, dword [ebp - 0xb0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100a5725
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a59fb
push ecx
push edx
call fcn.100c4d9c
add esp, 8
mov esi, dword [ebp - 0x12c]
push 0
push 1
push esi
call dword [sym.imp.HTTPAPI.dll_HttpInitialize]
test eax, eax
je 0x100a5779
mov ecx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x114]
mov edx, dword [ebp - 0x11c]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x120]
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0x118]
mov dword [edi], eax
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], ecx
mov byte [edi + 0x18], 0
jmp 0x100a59d6
push 0
lea eax, [ebp - 0x120]
push eax
push esi
call dword [sym.imp.HTTPAPI.dll_HttpCreateServerSession]
test eax, eax
je 0x100a5796
mov byte [edi + 0x18], 0
jmp 0x100a59aa
push 0
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
call dword [sym.imp.HTTPAPI.dll_HttpCreateUrlGroup]
test eax, eax
jne 0x100a578d
call fcn.100db385
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100a5a10
add esp, 8
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea esi, [ebp - 0x12]
nop dword [eax]
mov eax, 0xcccccccd
sub esi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x100a57e0
lea eax, [ebp - 0x121]
push eax
lea eax, [ebp - 0x12]
push eax
push esi
lea ecx, [ebp - 0x98]
call fcn.100a4930
push 0x101078a4
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 8
call fcn.10004e20
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 9
push ecx
push eax
push dword [ebp - 0x128]
lea ecx, [ebp - 0xdc]
call fcn.10004ef0
push 0x101078a0
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.1009e730
add esp, 0xc
push dword [ebp - 0x128]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0xb
push eax
push dword [ebp - 0x128]
call fcn.10004ef0
cmp dword [ebp - 0x9c], 7
lea ecx, [ebp - 0x118]
mov esi, dword [ebp - 0x12c]
lea eax, [ebp - 0xb0]
cmova eax, dword [ebp - 0xb0]
push ecx
push 0
push 0
push eax
push esi
call dword [sym.imp.HTTPAPI.dll_HttpCreateRequestQueue]
lea ecx, [ebp - 0xb0]
mov esi, eax
call fcn.10005530
lea ecx, [ebp - 0xf4]
call fcn.10005530
lea ecx, [ebp - 0xdc]
call fcn.10005530
lea ecx, [ebp - 0x10c]
call fcn.10005530
lea ecx, [ebp - 0x98]
call fcn.10005530
lea ecx, [ebp - 0x58]
call fcn.10005530
test esi, esi
jne 0x100a578d
mov eax, dword [ebp - 0x118]
or dword [ebp - 0x134], 1
mov esi, dword [sym.imp.HTTPAPI.dll_HttpSetUrlGroupProperty]
push 8
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x134]
push eax
push 7
push dword [ebp - 0x110]
push dword [ebp - 0x114]
call esi
test eax, eax
jne 0x100a578d
mov dword [ebp - 0xb4], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0xc4], xmm0
mov eax, 0x32
mov dword [ebp - 0xc4], 1
push 0x14
mov word [ebp - 0xc0], ax
lea eax, [ebp - 0xc4]
push eax
push 3
push dword [ebp - 0x110]
push dword [ebp - 0x114]
call esi
test eax, eax
jne 0x100a578d
cmp dword [ebp - 0x6c], 7
lea eax, [ebp - 0x80]
push 0
cmova eax, dword [ebp - 0x80]
push 0
push 0
push eax
push dword [ebp - 0x110]
push dword [ebp - 0x114]
call dword [sym.imp.HTTPAPI.dll_HttpAddUrlToUrlGroup]
test eax, eax
jne 0x100a578d
mov byte [edi + 0x18], 1
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x110]
mov dword [edi], eax
mov eax, dword [ebp - 0x120]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x118]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x11c]
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0x80]
call fcn.10005530
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c50df
mov esp, ebp
pop ebp
ret
call fcn.100d0b8f
int3