Function at 0x1045246
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp byte [esi], 0
je 0x10454b1
mov cl, byte [esi]
movsx eax, cl
cmp eax, 0x52
jg 0x10452ab
je 0x10452d8
sub eax, 0x22
je 0x1045296
sub eax, 0xb
je 0x10452a8
sub eax, 4
je 0x1045421
dec eax
je 0x1045408
dec eax
je 0x104528e
sub eax, 0x16
je 0x10452ec
jmp 0x10452c9
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
jmp 0x1045255
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10452a2
cmp al, 0x22
jne 0x1045296
inc esi
cmp byte [esi], 0x20
jne 0x1045255
inc esi
jmp 0x1045255
sub eax, 0x53
je 0x104533f
dec eax
dec eax
je 0x1045310
sub eax, 0x14
je 0x10452ec
sub eax, 9
je 0x10452d8
dec eax
je 0x104533f
dec eax
dec eax
je 0x1045310
test cl, cl
je 0x10452a3
cmp cl, 0x20
je 0x10452a3
mov cl, byte [esi + 1]
inc esi
jmp 0x10452c9
mov eax, dword [ebp + 0x10]
mov byte [eax + 0x11], 1
mov al, byte [esi]
test al, al
je 0x10452a3
cmp al, 0x20
je 0x10452a3
inc esi
jmp 0x10452df
mov al, byte [esi + 1]
inc esi
test al, al
je 0x1045303
cmp al, 0x73
je 0x10452fc
cmp al, 0x53
jne 0x1045303
mov eax, dword [ebp + 0x10]
mov byte [eax + 0xe], 1
mov al, byte [esi]
test al, al
je 0x10452a3
cmp al, 0x20
je 0x10452a3
inc esi
jmp 0x1045303
mov ecx, dword [ebp + 0x10]
inc esi
mov byte [ecx + 0xc], 1
mov al, byte [esi]
test al, al
je 0x104532a
cmp al, 0x73
je 0x1045326
cmp al, 0x53
jne 0x104532a
mov byte [ecx + 0xd], 1
mov al, byte [esi]
test al, al
je 0x10452a3
cmp al, 0x20
je 0x10452a3
inc esi
jmp 0x104532a
push str.sect
push esi
call fcn.0105b710
pop ecx
test eax, eax
pop ecx
je 0x10453c1
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ecx + 1]
push edi
call fcn.0105b249
pop ecx
mov ebx, eax
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov al, byte [esi]
mov ecx, esi
test al, al
je 0x1045397
mov edx, ebx
sub edx, esi
cmp al, 0x20
je 0x1045397
mov byte [edx + ecx], al
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x1045388
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 4
jbe 0x10453b8
lea eax, [ebx + 4]
push eax
call fcn.0105b81b
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
push ebx
call fcn.0105ad60
pop ecx
jmp 0x10453f3
push str.scrsvr
push esi
call fcn.0105b710
pop ecx
test eax, eax
pop ecx
je 0x10453db
mov eax, dword [ebp + 0x10]
mov byte [eax + 0xf], 1
jmp 0x10453f3
push str.scrsett
push esi
call fcn.0105b710
pop ecx
test eax, eax
pop ecx
je 0x10453f3
mov eax, dword [ebp + 0x10]
mov byte [eax + 0x10], 1
mov al, byte [esi]
test al, al
je 0x10452a3
cmp al, 0x20
je 0x10452a3
inc esi
jmp 0x10453f3
inc esi
inc esi
cmp byte [esi], 0
je 0x104541a
push esi
call fcn.0107c8af
test eax, eax
pop ecx
jne 0x104540f
xor al, al
jmp 0x10454b3
inc esi
inc esi
cmp byte [esi], 0
je 0x104541a
mov edi, 0x1098d40
push edi
push esi
call fcn.0105dfc4
mov ebx, eax
pop ecx
test ebx, ebx
pop ecx
je 0x104542d
lea eax, [ebp - 0x104]
push 0x103
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x104]
push 0x1098d3c
push eax
call fcn.0105dfc4
mov edi, eax
push edi
call fcn.0105ea25
add esp, 0xc
cmp eax, 0xffffffff
push ebx
je 0x104547b
push eax
call fcn.0105e9ea
jmp 0x1045464
call fcn.0105ddff
pop ecx
lea eax, [ebp - 0x104]
push eax
push esi
lea eax, [ebp - 0x30c]
push str._s__2__s
push eax
call fcn.0105c81f
add esp, 0x10
lea eax, [ebp - 0x30c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x104541a
mov al, 1
pop edi
pop esi
pop ebx
leave
ret