Function at 0x45af16
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce50d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
xor eax, eax
mov al, byte [0x5d451e]
test eax, eax
jne 0x45af62
xor ecx, ecx
mov cl, byte [0x5d541e]
test ecx, ecx
jne 0x45af62
xor edx, edx
mov dl, byte [0x5d5438]
test edx, edx
jne 0x45af62
xor eax, eax
mov al, byte [0x5d3fc5]
test eax, eax
jne 0x45af67
jmp 0x45b301
push 0x549efc
call fcn.0040d6f5
add esp, 4
lea ecx, [ebp - 0x128]
call fcn.00406f30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.00406f30
mov byte [ebp - 4], 1
mov dword [ebp - 0x120], 0
lea ecx, [ebp - 0x110]
call fcn.00406f30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x118]
call fcn.00406f30
mov byte [ebp - 4], 3
mov dword [ebp - 0x114], 0
lea ecx, [ebp - 0x11c]
call fcn.00406f30
mov byte [ebp - 4], 4
mov dword [ebp - 0x124], 0
mov byte [0x5d541e], 1
push 0x200
mov ecx, 0x5d3e18
call fcn.004ad4f0
push eax
lea ecx, [ebp - 0x10c]
call fcn.0042314e
push 0x549f10
push 0x549f3c
push 0x549f44
lea ecx, [ebp - 0x10c]
call fcn.004232f4
push eax
lea ecx, [ebp - 0x128]
call fcn.004ad249
push 0x549f4c
push 0x549f60
push 0x549f6c
lea ecx, [ebp - 0x10c]
call fcn.004232f4
push eax
lea ecx, [ebp - 0x12c]
call fcn.004ad249
push 0x50
push ecx
mov ecx, esp
mov dword [ebp - 0x130], esp
lea edx, [ebp - 0x12c]
push edx
call fcn.004ace35
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x134], esp
lea edx, [ebp - 0x128]
push edx
call fcn.004ace35
mov dword [ebp - 0x148], eax
mov byte [ebp - 4], 4
call fcn.0042cd77
add esp, 0xc
xor eax, eax
mov al, byte [0x5d4453]
test eax, eax
je 0x45b0b9
xor ecx, ecx
mov cl, byte [0x54935d]
test ecx, ecx
jne 0x45b0d0
xor edx, edx
mov dl, byte [0x5d4452]
test edx, edx
je 0x45b0d5
xor eax, eax
mov al, byte [0x54935e]
test eax, eax
je 0x45b0d5
call fcn.004576ca
cmp dword [0x5d5418], 0
je 0x45b278
xor ecx, ecx
mov cl, byte [0x5b8441]
test ecx, ecx
jne 0x45b1b5
push 0x5d5358
push 0x5d53e4
push 1
call dword [sym.imp.RtlICS.dll_ICS_SetShare]
add esp, 0xc
push 0x5d520c
push 0x5d5240
push 0x5d5274
lea edx, [ebp - 0x138]
push edx
call fcn.0042c094
add esp, 4
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx]
push edx
push 0x549f78
lea eax, [ebp - 0x11c]
push eax
call fcn.004a988a
add esp, 0x18
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x138]
call fcn.004ad0c0
xor ecx, ecx
mov cl, byte [0x5b835c]
test ecx, ecx
je 0x45b189
push 1
lea ecx, [ebp - 0x11c]
call fcn.00406f50
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x45b19d
push 0
lea ecx, [ebp - 0x11c]
call fcn.00406f50
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x5d5358
push 0x5d53e4
call dword [sym.imp.RtlLib.dll_RT_EnableSoftAP_ICS]
add esp, 8
jmp 0x45b278
push 0x5d5358
push 0x5b83f4
push 1
call dword [sym.imp.RtlICS.dll_ICS_SetShare]
add esp, 0xc
push 0x5d520c
push 0x5d5240
push 0x5d5274
lea edx, [ebp - 0x13c]
push edx
call fcn.0042c094
add esp, 4
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x158]
mov edx, dword [ecx]
push edx
push str._sRTLDHCP__v__ip__s__range__s__s
lea eax, [ebp - 0x11c]
push eax
call fcn.004a988a
add esp, 0x18
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x13c]
call fcn.004ad0c0
xor ecx, ecx
mov cl, byte [0x5b835c]
test ecx, ecx
je 0x45b24c
push 1
lea ecx, [ebp - 0x11c]
call fcn.00406f50
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x45b260
push 0
lea ecx, [ebp - 0x11c]
call fcn.00406f50
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x5d5358
push 0x5b83f4
call dword [sym.imp.RtlLib.dll_RT_EnableSoftAP_ICS]
add esp, 8
call fcn.0045a6ea
push 0x62b800
push 0x62b7cc
push 0x62b7c8
call dword [sym.imp.RtlICS.dll_ICS_GetShare]
add esp, 0xc
call fcn.0042ce03
push str.Do_Apply_ICS____
call fcn.0040d6f5
add esp, 4
mov dword [0x5d53dc], 3
mov byte [0x5d541e], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11c]
call fcn.004ad0c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x118]
call fcn.004ad0c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x110]
call fcn.004ad0c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.004ad0c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.004ad0c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret