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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f041f
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x1011cfc0]
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 0x1009ecaa
neg eax
push eax
lea eax, [ebp - 0x3e]
push eax
call fcn.10082fb0
add esp, 8
mov ecx, 0x2d
sub eax, 2
mov word [eax], cx
jmp 0x1009ecb7
push eax
lea eax, [ebp - 0x3e]
push eax
call fcn.10082fb0
add esp, 8
lea ecx, [ebp - 0x121]
push ecx
lea ecx, [ebp - 0x3e]
push ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.1009e010
push str.http:__127.0.0.1:
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0
call fcn.10004120
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 1
push ecx
push eax
push dword [ebp - 0x128]
lea ecx, [ebp - 0x2c]
call fcn.100041f0
push str._fuck
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.10097fa0
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 4
cmp ecx, 7
jbe 0x1009ed56
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009ed4c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009f0db
push ecx
push edx
call fcn.100be665
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 0x1009edae
mov edx, dword [ebp - 0x98]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009eda4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009f0db
push ecx
push edx
call fcn.100be665
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 0x1009ee0f
mov edx, dword [ebp - 0xb0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009ee05
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009f0db
push ecx
push edx
call fcn.100be665
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 0x1009ee59
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 0x1009f0b6
push 0
lea eax, [ebp - 0x120]
push eax
push esi
call dword [sym.imp.HTTPAPI.dll_HttpCreateServerSession]
test eax, eax
je 0x1009ee76
mov byte [edi + 0x18], 0
jmp 0x1009f08a
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 0x1009ee6d
call fcn.100d5065
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1009f0f0
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 0x1009eec0
lea eax, [ebp - 0x121]
push eax
lea eax, [ebp - 0x12]
push eax
push esi
lea ecx, [ebp - 0x98]
call fcn.1009e010
push 0x10100514
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 8
call fcn.10004120
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 9
push ecx
push eax
push dword [ebp - 0x128]
lea ecx, [ebp - 0xdc]
call fcn.100041f0
push 0x10100510
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.10097fa0
add esp, 0xc
push dword [ebp - 0x128]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0xb
push eax
push dword [ebp - 0x128]
call fcn.100041f0
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.10004830
lea ecx, [ebp - 0xf4]
call fcn.10004830
lea ecx, [ebp - 0xdc]
call fcn.10004830
lea ecx, [ebp - 0x10c]
call fcn.10004830
lea ecx, [ebp - 0x98]
call fcn.10004830
lea ecx, [ebp - 0x58]
call fcn.10004830
test esi, esi
jne 0x1009ee6d
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 0x1009ee6d
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 0x1009ee6d
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 0x1009ee6d
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.10004830
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.100be9a9
mov esp, ebp
pop ebp
ret
call fcn.100ca86f
int3