Function at 0x430590
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0306
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x4c448c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, dword [0x4c7dd0]
lea eax, [ebp - 0x220]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesProcessGovernor
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4307ea
push esi
lea ecx, [ebp - 0x220]
call fcn.00464360
test al, al
je 0x4307ea
push 0xeb
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x43066b
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x430630
sub eax, edx
sar eax, 1
dec eax
test eax, eax
jle 0x43066b
mov ecx, 0x5c
lea esp, [esp]
cmp word [ebp + eax*2 - 0x218], cx
je 0x430661
dec eax
test eax, eax
jg 0x430650
jmp 0x43066b
xor edx, edx
mov word [ebp + eax*2 - 0x218], dx
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x430674
mov ecx, 7
mov esi, str._bitsumms.exe
lea eax, [ebp - 0x220]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x218]
call fcn.00402ba0
mov dword [ebp - 4], 0
mov edx, dword [0x4c41fc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4c41fc
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x220]
push str.ProcessGovernor
push ecx
push str.__s___stop__name:_s
lea edi, [ebp - 0x21c]
call fcn.004020e0
add esp, 0xc
lea edx, [ebp - 0x278]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov ebx, dword [ebp - 0x21c]
cmp dword [ebx - 4], 1
jle 0x43070c
mov eax, dword [ebx - 0xc]
push eax
mov ecx, edi
push ecx
call fcn.00401ff0
mov ebx, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x278]
push eax
push 0
push 0
push 0x8000008
push 0
push 0
push 0
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4307a1
mov edx, dword [ebp - 0x230]
push 0xbb8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x22c]
mov esi, dword [sym.imp.KERNEL32.dll_GetHandleInformation]
lea ecx, [ebp - 0x21c]
push ecx
push eax
mov edi, eax
mov dword [ebp - 0x21c], 0
call esi
test eax, eax
je 0x43077a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x230]
lea edx, [ebp - 0x21c]
push edx
push eax
mov edi, eax
mov dword [ebp - 0x21c], 0
call esi
test eax, eax
je 0x4307a1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4307c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4307ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [sym.imp.KERNEL32.dll_OpenEventW]
push str.GlobalioloGovernorExitEvent
push 0
push 2
call edi
push str.LocalioloGovernorExitEvent
push 0
push 2
mov esi, eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
mov edi, eax
test esi, esi
je 0x43083a
push esi
call ebx
lea ecx, [ebp - 0x220]
push ecx
push esi
mov dword [ebp - 0x220], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x43083a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x430864
push edi
call ebx
lea edx, [ebp - 0x21c]
push edx
push edi
mov dword [ebp - 0x21c], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x430864
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00474985
mov esp, ebp
pop ebp
ret