Function at 0x101b144
Capabilities:
Start http server

Disassembly:
push 0xb8
mov eax, 0x1026678
call fcn.0100a0f9
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov edx, ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xa4], eax
cmp eax, ebx
jne 0x101b1a0
push ecx
push 0x54f
push 0x10069e8
push 0x6d9
push 0x10066b0
call fcn.0100a7b1
xor eax, eax
jmp 0x101b48e
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x101b1c8
test dword [eax + 0x1c], 0x200000
je 0x101b1c8
push edx
push 0x1006694
push 0x43
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019984
push 0x80
lea eax, [ebp - 0x90]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push dword [ebp - 0x9c]
lea eax, [ebp - 0x90]
push eax
push edi
push esi
call fcn.0100bdb0
mov dword [ebp - 0x94], eax
mov dword [ebp - 0xac], ebx
cmp eax, ebx
je 0x101b488
xor edi, edi
inc edi
mov eax, edi
mov word [ebp - 0x98], ax
push ebx
xor eax, eax
push 2
mov word [ebp - 0x96], ax
push dword [ebp - 0x98]
call dword [sym.imp.HTTPAPI.dll_HttpInitialize]
cmp eax, ebx
jne 0x101b235
mov dword [ebp - 0xac], edi
jmp 0x101b26e
mov ecx, dword [ebp - 0x9c]
cmp eax, 5
jne 0x101b247
mov eax, dword [ecx]
call dword [eax + 0x10]
jmp 0x101b268
cmp eax, 0xe
jne 0x101b253
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x101b268
mov edx, dword [ecx]
push eax
push 0x1004b20
push 0x4033c360
push eax
push ecx
call dword [edx + 0x1c]
add esp, 0x14
mov dword [ebp - 0x94], ebx
cmp dword [ebp - 0x94], ebx
je 0x101b449
mov esi, dword [sym.imp.HTTPAPI.dll_HttpQueryServiceConfiguration]
push ebx
lea eax, [ebp - 0x90]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x98]
push eax
push ebx
push ebx
push 0xc
lea eax, [ebp - 0xc4]
push eax
push edi
push ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xbc], ebx
call esi
cmp eax, 0x7a
je 0x101b320
cmp eax, 2
je 0x101b313
mov ecx, dword [0x102b00c]
cmp ecx, 0x102b00c
je 0x101b2e9
test dword [ecx + 0x1c], 0x200000
je 0x101b2e9
push eax
push 0x1006694
push 0x44
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01019984
push dword [ebp - 0x9c]
push 0x54f
push 0x10069dc
push 0x709
push 0x10066b0
call fcn.0100a7b1
mov dword [ebp - 0x94], ebx
jmp 0x101b449
mov eax, dword [ebp - 0xa4]
mov dword [eax], ebx
jmp 0x101b449
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 4], edi
push ebx
lea eax, [ebp - 0xa5]
push eax
push dword [ebp - 0x98]
call sub.WsmSvc.DLL_public:_static_void____stdcall_WSManMemory::Alloc_unsigned_int__class_TestSystem::CallSite_const___enum_TestSystem::Mode_
push eax
lea ecx, [ebp - 0xa0]
call fcn.0101424f
cmp dword [ebp - 0xa0], ebx
jne 0x101b361
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x94], ebx
cmp dword [ebp - 0x94], ebx
je 0x101b43a
push ebx
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
lea eax, [ebp - 0xc4]
push dword [ebp - 0xa0]
push 0xc
push eax
push edi
push ebx
call esi
cmp eax, ebx
je 0x101b3e3
mov ecx, dword [0x102b00c]
cmp ecx, 0x102b00c
je 0x101b3bc
test dword [ecx + 0x1c], 0x200000
je 0x101b3bc
push eax
push 0x1006694
push 0x45
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01019984
push dword [ebp - 0x9c]
push 0x54f
push 0x10069d0
push 0x721
push 0x10066b0
call fcn.0100a7b1
mov dword [ebp - 0x94], ebx
jmp 0x101b43a
mov esi, dword [ebp - 0xa0]
push 4
add esi, 0xc
xor eax, eax
mov eax, dword [ebp - 0xa4]
pop ecx
mov edi, 0x10013ec
repe cmpsd dword [esi], dword es:[edi]
jne 0x101b404
mov dword [eax], ebx
jmp 0x101b43a
mov dword [eax], 1
cmp dword [ebp + 0x14], ebx
je 0x101b43a
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xb4]
push eax
push 2
push 0x72782
call fcn.0100b154
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.0100c51b
cmp dword [ebp - 0xac], ebx
je 0x101b488
push ebx
push 2
call dword [sym.imp.HTTPAPI.dll_HttpTerminate]
cmp eax, ebx
je 0x101b488
mov ecx, dword [0x102b00c]
cmp ecx, 0x102b00c
je 0x101b488
test dword [ecx + 0x1c], 0x400000
je 0x101b488
push eax
push 0x1006694
push 0x46
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01019984
mov eax, dword [ebp - 0x94]
call fcn.0100a18b
ret 0x14