Function at 0x10057d16
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x10057e9e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x10057e84
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x10057dad
mov eax, 0xbf9
test eax, eax
jne 0x10057dad
and dword [ebp - 0x18], 0
jmp 0x10057db4
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xfffffffe
jne 0x10057dd5
mov dword [ebp - 0x10], 1
jmp 0x10057dd9
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jne 0x10057dec
mov dword [ebp - 0x14], 1
jmp 0x10057df0
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jl 0x10057e03
mov dword [ebp - 8], 1
jmp 0x10057e07
and dword [ebp - 8], 0
push 1
mov ecx, dword [ebp - 0x54]
call fcn.10025e5b
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 8]
jl 0x10057e27
mov dword [ebp - 0x1c], 1
jmp 0x10057e2b
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
imul ecx, dword [ebp - 0x1c]
imul eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x10057e57
mov eax, dword [ebp - 0x58]
cmp dword [eax], 0
jne 0x10057e57
and dword [ebp - 0x20], 0
jmp 0x10057e5e
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x20]
add eax, 7
je 0x10057e76
push 0xfffffffffffffffd
pop eax
test eax, eax
je 0x10057e76
mov dword [ebp - 0x24], 1
jmp 0x10057e7a
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x10057e9c
push 0x2150
push 0
push 0
push 0
push 0
push 0xfe8
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x10057eea
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x10057ec2
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
jmp 0x10057eea
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x10057eea
push 0x950
push 0
push 0x1131
call dword [sym.imp.GDI32.dll_Polyline]
mov esp, ebp
pop ebp
ret