Function at 0x10005030
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058ed3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x80
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100051cc
lea eax, [ebp + 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x100051a5
mov byte [ebp - 0x12], 0
mov dword [ebp - 0x3c], 0x706
mov dword [ebp - 0x58], str.bvevios_qbrhcirew_ypxckdcjj_zyaiie
cmp dword [ebp - 0x3c], 0xa25
jle 0x10005127
push 0
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
and dword [ebp - 0x2c], 0
jmp 0x100050af
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x34c6
jge 0x10005127
and dword [ebp - 0x20], 0
jmp 0x100050c5
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x53d2
jge 0x10005125
and dword [ebp - 0x1c], 0
jmp 0x100050db
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2836
jge 0x10005123
and dword [ebp - 0x24], 0
jmp 0x100050f1
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6d60
jge 0x10005121
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
and ecx, dword [ebp - 0x20]
or eax, ecx
cdq
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
mov ecx, 0x10072098
call fcn.10013ec4
jmp 0x100050ea
jmp 0x100050d4
jmp 0x100050be
jmp 0x100050a8
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x10005163
push 0x78be
push 0x2361
push 0x4590
push 0
push 0x5e70
push 0x4984
push 0x5f55
push 0x19b4
push 0x6254
push 1
call fcn.1001045f
add esp, 0x28
and dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0x6a9
jge 0x1000517d
mov edx, dword [ebp - 0x58]
mov ecx, 0x10072098
call fcn.1001684d
jmp 0x10005199
or dword [ebp - 4], 0xffffffff
jmp 0x100051a3
jmp 0x100051c7
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x100051c7
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
jmp 0x10005396
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x10005201
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
jmp 0x10005396
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x38], 0x3bfa32a1
mov dword [ebp - 0x34], 0x3531
mov dword [ebp - 0x44], 0xa13b2885
mov dword [ebp - 0x28], 0
jmp 0x1000523f
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x10005255
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x8c], 0
jmp 0x10005238
mov dword [ebp - 0x18], 0
jmp 0x10005265
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 8
jle 0x100052a3
mov dword [ebp - 0x30], 0xb96ca2cb
mov dword [ebp - 0x30], 0xffffffe3
jmp 0x10005282
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x1b
je 0x100052a1
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x3203
push 0
call fcn.10003997
add esp, 0xc
jmp 0x1000527b
jmp 0x1000525e
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp + eax - 0x8c]
jg 0x100052be
mov dword [ebp - 0x48], 1
jmp 0x100052c2
and dword [ebp - 0x48], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x8c]
cmp eax, dword [ebp - 0x48]
je 0x100052dd
mov dword [ebp - 0x40], 1
jmp 0x100052e1
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x8c]
lea eax, [ecx + eax - 0x21a3]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x90], eax
imul eax, dword [ebp - 0x18], 0
test eax, eax
je 0x1000535d
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10005341
push 0
push 0
push 0
push 0
push 0x13c7
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov byte [ebp - 0x13], 0
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x1000535b
push 0
push 0
push 1
call fcn.10003820
add esp, 0xc
jmp 0x1000536b
push 0
push 0x3cad
call fcn.10003d06
pop ecx
pop ecx
mov eax, dword [ebp - 0x4c]
cdq
mov ecx, 0x3e8
idiv ecx
mov esi, eax
mov eax, dword [ebp - 0x4c]
cdq
mov ecx, 0x3e8
idiv ecx
mov edi, edx
mov ecx, dword [ebp - 0x64]
call fcn.10001b16
add eax, edi
add eax, esi
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret