Function at 0x101b37b
Capabilities:
Start http server

Disassembly:
push 0xb8
mov eax, 0x10268ba
call fcn.0100a107
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 0x101b3d7
push ecx
push 0x54f
push 0x10069d8
push 0x6d9
push 0x1006698
call fcn.0100a7c1
xor eax, eax
jmp 0x101b6c5
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x101b3ff
test dword [eax + 0x1c], 0x200000
je 0x101b3ff
push edx
push 0x100667c
push 0x43
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a936
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.0100be49
mov dword [ebp - 0x94], eax
mov dword [ebp - 0xac], ebx
cmp eax, ebx
je 0x101b6bf
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 0x101b46c
mov dword [ebp - 0xac], edi
jmp 0x101b4a5
mov ecx, dword [ebp - 0x9c]
cmp eax, 5
jne 0x101b47e
mov eax, dword [ecx]
call dword [eax + 0x10]
jmp 0x101b49f
cmp eax, 0xe
jne 0x101b48a
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x101b49f
mov edx, dword [ecx]
push eax
push 0x1004afc
push 0x4033c360
push eax
push ecx
call dword [edx + 0x1c]
add esp, 0x14
mov dword [ebp - 0x94], ebx
cmp dword [ebp - 0x94], ebx
je 0x101b680
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 0x101b557
cmp eax, 2
je 0x101b54a
mov ecx, dword [0x102b00c]
cmp ecx, 0x102b00c
je 0x101b520
test dword [ecx + 0x1c], 0x200000
je 0x101b520
push eax
push 0x100667c
push 0x44
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0100a936
push dword [ebp - 0x9c]
push 0x54f
push 0x10069cc
push 0x709
push 0x1006698
call fcn.0100a7c1
mov dword [ebp - 0x94], ebx
jmp 0x101b680
mov eax, dword [ebp - 0xa4]
mov dword [eax], ebx
jmp 0x101b680
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.0100c5d6
cmp dword [ebp - 0xa0], ebx
jne 0x101b598
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x94], ebx
cmp dword [ebp - 0x94], ebx
je 0x101b671
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 0x101b61a
mov ecx, dword [0x102b00c]
cmp ecx, 0x102b00c
je 0x101b5f3
test dword [ecx + 0x1c], 0x200000
je 0x101b5f3
push eax
push 0x100667c
push 0x45
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0100a936
push dword [ebp - 0x9c]
push 0x54f
push 0x10069c0
push 0x721
push 0x1006698
call fcn.0100a7c1
mov dword [ebp - 0x94], ebx
jmp 0x101b671
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 0x101b63b
mov dword [eax], ebx
jmp 0x101b671
mov dword [eax], 1
cmp dword [ebp + 0x14], ebx
je 0x101b671
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.0100b1ca
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.0100c5c0
cmp dword [ebp - 0xac], ebx
je 0x101b6bf
push ebx
push 2
call dword [sym.imp.HTTPAPI.dll_HttpTerminate]
cmp eax, ebx
je 0x101b6bf
mov ecx, dword [0x102b00c]
cmp ecx, 0x102b00c
je 0x101b6bf
test dword [ecx + 0x1c], 0x400000
je 0x101b6bf
push eax
push 0x100667c
push 0x46
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0100a936
mov eax, dword [ebp - 0x94]
call fcn.0100a199
ret 0x14