Function at 0x1034126
Capabilities:
Start http server

Disassembly:
push 0x9c
mov eax, 0x10da93e
call fcn.010a0b4c
mov dword [ebp - 0x28], ecx
mov eax, dword [0x10ed030]
mov edi, 0x10ed030
cmp eax, edi
je 0x1034161
test byte [eax + 0x1c], 1
je 0x1034161
push 0x1002b50
push 0xa7
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
xor esi, esi
mov dword [ebp - 0x24], 0x1002bfc
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], esi
call fcn.0103224d
push 0x10f1178
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0104bdc3
xor eax, eax
inc eax
mov word [ebp - 0x14], ax
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x18]
push eax
push 0x10039e0
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], esi
call sub.ADVAPI32.dll_ConvertStringSidToSidW
mov esi, eax
mov dword [ebp - 0x10], esi
neg esi
sbb esi, esi
mov ebx, 0xfffffac8
and esi, ebx
add esi, 0x538
mov ecx, dword [0x10ed030]
cmp ecx, edi
je 0x10341fe
test byte [ecx + 0x1c], 2
je 0x10341fe
movzx eax, byte [ecx + 0x19]
mov edx, esi
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp eax, edx
jl 0x10341fe
push dword [ebp - 0x10]
push esi
push 0x1002b50
push 0xa8
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0102cde9
mov dword [ebp - 0x10], 0xc00d37e3
test esi, esi
jne 0x10343ef
push esi
push dword [ebp - 0x18]
lea ecx, [ebp - 0xa8]
call fcn.01033db5
push 3
push 0xf003f
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.010324d2
movzx esi, al
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
call fcn.0103051e
neg esi
sbb esi, esi
and esi, ebx
mov ebx, 0x538
add esi, ebx
mov eax, dword [0x10ed030]
cmp eax, edi
je 0x103428e
test byte [eax + 0x1c], 2
je 0x103428e
movzx ecx, byte [eax + 0x19]
mov edx, esi
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp ecx, edx
jl 0x103428e
push dword [ebp - 0x10]
push esi
push 0x1002b50
push 0xa9
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cde9
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0xc00d37e3
test esi, esi
jne 0x10343ef
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x24]
call fcn.0102e110
push 4
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
call fcn.010337e6
test al, al
jne 0x10342cb
mov esi, ebx
mov eax, dword [0x10ed030]
cmp eax, edi
je 0x1034304
test byte [eax + 0x1c], 2
je 0x1034304
movzx ecx, byte [eax + 0x19]
mov edx, esi
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp ecx, edx
jl 0x1034304
push esi
push 0x1002b50
push 0xaa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
mov dword [ebp - 0x10], 0xc00d37e3
test esi, esi
jne 0x10343ef
push esi
push 2
push dword [ebp - 0x14]
call dword [sym.imp.HTTPAPI.dll_HttpInitialize]
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, edi
je 0x103435a
test byte [eax + 0x1c], 2
je 0x103435a
movzx ecx, byte [eax + 0x19]
mov edx, esi
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp ecx, edx
jl 0x103435a
push esi
push 0x1002b50
push 0xab
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
mov dword [ebp - 0x10], 0xc00d37e4
test esi, esi
jne 0x10343ef
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x1c]
call fcn.0102869f
push eax
push 0x10039a8
call fcn.0102d535
cmp eax, ebx
jne 0x1034397
push ebx
lea ecx, [ebp - 0x1c]
call fcn.0102869f
push eax
push 0x1003974
call fcn.0102d535
push ebx
push 2
call dword [sym.imp.HTTPAPI.dll_HttpTerminate]
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, edi
je 0x10343e0
test byte [eax + 0x1c], 2
je 0x10343e0
movzx ecx, byte [eax + 0x19]
mov edx, esi
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp ecx, edx
jl 0x10343e0
push esi
push 0x1002b50
push 0xac
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
mov eax, dword [0x10ed030]
mov dword [ebp - 0x10], 0xc00d37e6
cmp esi, ebx
je 0x1034476
push 0x10f1178
lea ecx, [ebp - 0x14]
call fcn.0104bdc3
push esi
lea eax, [ebp - 0x14]
push 0x1002a04
push eax
mov byte [ebp - 4], 4
call fcn.0102aca6
mov ebx, dword [ebp - 0x28]
add esp, 0xc
push 0
push dword [ebp - 0x14]
mov ecx, ebx
push dword [ebx + 0x24]
push dword [ebp - 0x10]
push 1
call fcn.0102a5cf
mov ecx, dword [0x10efc9c]
push esi
push dword [ebp - 0x10]
call fcn.0102d817
mov eax, dword [0x10ed030]
cmp eax, edi
je 0x1034466
test byte [eax + 0x1c], 2
je 0x1034466
cmp byte [eax + 0x19], 2
jb 0x1034466
push esi
push dword [ebx + 0x24]
push 0x1002b50
push 0xad
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0104adee
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.010280a5
mov eax, dword [0x10ed030]
cmp eax, edi
je 0x10344aa
test byte [eax + 0x1c], 1
je 0x10344aa
movzx ecx, byte [eax + 0x19]
mov edx, esi
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp ecx, edx
jl 0x10344aa
push esi
push 0x1002b50
push 0xae
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.010280a5
lea ecx, [ebp - 0x48]
call fcn.010333e8
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x1002bfc
call fcn.0102c485
mov eax, esi
call fcn.010a0c38
ret