Function at 0x101b244
Capabilities:
Start http server

Disassembly:
push 0xb8
mov eax, 0x1026768
call fcn.0100a1f7
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 0x101b2a0
push ecx
push 0x54f
push 0x1006a80
push 0x6d9
push 0x1006740
call fcn.0100a8b1
xor eax, eax
jmp 0x101b58e
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x101b2c8
test dword [eax + 0x1c], 0x200000
je 0x101b2c8
push edx
push 0x1006724
push 0x43
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019a84
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.0100beb0
mov dword [ebp - 0x94], eax
mov dword [ebp - 0xac], ebx
cmp eax, ebx
je 0x101b588
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 0x101b335
mov dword [ebp - 0xac], edi
jmp 0x101b36e
mov ecx, dword [ebp - 0x9c]
cmp eax, 5
jne 0x101b347
mov eax, dword [ecx]
call dword [eax + 0x10]
jmp 0x101b368
cmp eax, 0xe
jne 0x101b353
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x101b368
mov edx, dword [ecx]
push eax
push 0x1004bac
push 0x4033c360
push eax
push ecx
call dword [edx + 0x1c]
add esp, 0x14
mov dword [ebp - 0x94], ebx
cmp dword [ebp - 0x94], ebx
je 0x101b549
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 0x101b420
cmp eax, 2
je 0x101b413
mov ecx, dword [0x102b00c]
cmp ecx, 0x102b00c
je 0x101b3e9
test dword [ecx + 0x1c], 0x200000
je 0x101b3e9
push eax
push 0x1006724
push 0x44
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01019a84
push dword [ebp - 0x9c]
push 0x54f
push 0x1006a74
push 0x709
push 0x1006740
call fcn.0100a8b1
mov dword [ebp - 0x94], ebx
jmp 0x101b549
mov eax, dword [ebp - 0xa4]
mov dword [eax], ebx
jmp 0x101b549
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.0101434f
cmp dword [ebp - 0xa0], ebx
jne 0x101b461
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x94], ebx
cmp dword [ebp - 0x94], ebx
je 0x101b53a
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 0x101b4e3
mov ecx, dword [0x102b00c]
cmp ecx, 0x102b00c
je 0x101b4bc
test dword [ecx + 0x1c], 0x200000
je 0x101b4bc
push eax
push 0x1006724
push 0x45
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01019a84
push dword [ebp - 0x9c]
push 0x54f
push 0x1006a68
push 0x721
push 0x1006740
call fcn.0100a8b1
mov dword [ebp - 0x94], ebx
jmp 0x101b53a
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 0x101b504
mov dword [eax], ebx
jmp 0x101b53a
mov dword [eax], 1
cmp dword [ebp + 0x14], ebx
je 0x101b53a
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.0100b254
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.0100c61b
cmp dword [ebp - 0xac], ebx
je 0x101b588
push ebx
push 2
call dword [sym.imp.HTTPAPI.dll_HttpTerminate]
cmp eax, ebx
je 0x101b588
mov ecx, dword [0x102b00c]
cmp ecx, 0x102b00c
je 0x101b588
test dword [ecx + 0x1c], 0x400000
je 0x101b588
push eax
push 0x1006724
push 0x46
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01019a84
mov eax, dword [ebp - 0x94]
call fcn.0100a289
ret 0x14