Function at 0x1034382
Capabilities:
Start http server

Disassembly:
push 0x9c
mov eax, 0x10dac16
call fcn.010a0c60
mov dword [ebp - 0x28], ecx
mov eax, dword [0x10ed030]
mov edi, 0x10ed030
cmp eax, edi
je 0x10343bd
test byte [eax + 0x1c], 1
je 0x10343bd
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.0103254f
push 0x10f1178
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0102847f
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 0x103445a
test byte [ecx + 0x1c], 2
je 0x103445a
movzx eax, byte [ecx + 0x19]
mov edx, esi
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp eax, edx
jl 0x103445a
push dword [ebp - 0x10]
push esi
push 0x1002b50
push 0xa8
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0102cb22
mov dword [ebp - 0x10], 0xc00d37e3
test esi, esi
jne 0x103464b
push esi
push dword [ebp - 0x18]
lea ecx, [ebp - 0xa8]
call fcn.01034011
push 3
push 0xf003f
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.010327d4
movzx esi, al
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
call fcn.010307d2
neg esi
sbb esi, esi
and esi, ebx
mov ebx, 0x538
add esi, ebx
mov eax, dword [0x10ed030]
cmp eax, edi
je 0x10344ea
test byte [eax + 0x1c], 2
je 0x10344ea
movzx ecx, byte [eax + 0x19]
mov edx, esi
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp ecx, edx
jl 0x10344ea
push dword [ebp - 0x10]
push esi
push 0x1002b50
push 0xa9
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cb22
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 0x103464b
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x24]
call fcn.0102e2da
push 4
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
call fcn.01033aa3
test al, al
jne 0x1034527
mov esi, ebx
mov eax, dword [0x10ed030]
cmp eax, edi
je 0x1034560
test byte [eax + 0x1c], 2
je 0x1034560
movzx ecx, byte [eax + 0x19]
mov edx, esi
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp ecx, edx
jl 0x1034560
push esi
push 0x1002b50
push 0xaa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
mov dword [ebp - 0x10], 0xc00d37e3
test esi, esi
jne 0x103464b
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 0x10345b6
test byte [eax + 0x1c], 2
je 0x10345b6
movzx ecx, byte [eax + 0x19]
mov edx, esi
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp ecx, edx
jl 0x10345b6
push esi
push 0x1002b50
push 0xab
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
mov dword [ebp - 0x10], 0xc00d37e4
test esi, esi
jne 0x103464b
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x1c]
call fcn.010286c1
push eax
push 0x10039a8
call fcn.0102d618
cmp eax, ebx
jne 0x10345f3
push ebx
lea ecx, [ebp - 0x1c]
call fcn.010286c1
push eax
push 0x1003974
call fcn.0102d618
push ebx
push 2
call dword [sym.imp.HTTPAPI.dll_HttpTerminate]
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, edi
je 0x103463c
test byte [eax + 0x1c], 2
je 0x103463c
movzx ecx, byte [eax + 0x19]
mov edx, esi
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp ecx, edx
jl 0x103463c
push esi
push 0x1002b50
push 0xac
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
mov eax, dword [0x10ed030]
mov dword [ebp - 0x10], 0xc00d37e6
cmp esi, ebx
je 0x10346d2
push 0x10f1178
lea ecx, [ebp - 0x14]
call fcn.0102847f
push esi
lea eax, [ebp - 0x14]
push 0x1002a04
push eax
mov byte [ebp - 4], 4
call fcn.0102ad35
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.0102a65e
mov ecx, dword [0x10efc9c]
push esi
push dword [ebp - 0x10]
call fcn.0102d8fa
mov eax, dword [0x10ed030]
cmp eax, edi
je 0x10346c2
test byte [eax + 0x1c], 2
je 0x10346c2
cmp byte [eax + 0x19], 2
jb 0x10346c2
push esi
push dword [ebx + 0x24]
push 0x1002b50
push 0xad
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01059d60
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.01028079
mov eax, dword [0x10ed030]
cmp eax, edi
je 0x1034706
test byte [eax + 0x1c], 1
je 0x1034706
movzx ecx, byte [eax + 0x19]
mov edx, esi
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp ecx, edx
jl 0x1034706
push esi
push 0x1002b50
push 0xae
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.01028079
lea ecx, [ebp - 0x48]
call fcn.010336a5
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x1002bfc
call fcn.0102c514
mov eax, esi
call fcn.010a0d4c
ret