Function at 0x1003f870
Capabilities:
Create process on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100779f0
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x1009e034]
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
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xb8], ecx
movq xmm0, qword [str.regedit.exe]
movq qword [ebp - 0x28], xmm0
movq xmm0, qword [0x1008a030]
movq qword [ebp - 0x20], xmm0
movq xmm0, qword [0x1008a038]
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x18], xmm0
call fcn.1003fc70
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x1003f951
push 0x44
push eax
lea eax, [ebp - 0xa8]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xa8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
push 0
mov dword [ebp - 0xa8], 0x44
movq qword [ebp - 0x38], xmm0
movq qword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1003f94a
mov edi, dword [ebp - 0x30]
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x44], edi
call esi
push dword [ebp - 0x34]
call esi
test edi, edi
jne 0x1003f951
xor eax, eax
jmp 0x1003fc53
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.10008ed0
lea eax, [ebp - 0xac]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x34]
call fcn.10008ed0
mov edi, dword [sym.imp.USER32.dll_EnumWindows]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea eax, [ebp - 0x34]
push eax
push 0x1003fd60
call edi
push 0x12c
call ebx
mov eax, dword [ebp - 0xac]
test eax, eax
jne 0x1003f9c8
inc esi
cmp esi, 0xa
jl 0x1003f9a6
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x1003f9e6
push ecx
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov eax, dword [ebp - 0xac]
add esp, 4
test eax, eax
je 0x1003f94a
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1003fa07
push 9
push dword [ebp - 0xac]
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0xac]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [sym.imp.USER32.dll_EnumChildWindows]
lea eax, [ebp - 0xb0]
push eax
push 0x1003feb0
push dword [ebp - 0xac]
mov dword [ebp - 0xb0], 0
call esi
cmp dword [ebp - 0xb0], 0
je 0x1003f94a
lea eax, [ebp - 0xb4]
push eax
push 0x1003fe20
push dword [ebp - 0xac]
mov dword [ebp - 0xb4], 0
call esi
cmp dword [ebp - 0xb4], 0
je 0x1003f94a
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 7
push dword [ebp - 0xb0]
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x1e
lea ebx, [ebx]
push 1
call edi
push 0
push 0x25
push 0x100
push dword [ebp - 0xb0]
call ebx
dec esi
jne 0x1003faa0
mov eax, dword [ebp - 0xb8]
mov esi, dword [eax]
mov edi, dword [eax + 4]
cmp esi, edi
je 0x1003fb57
push 0
push 0x27
push 0x100
push dword [ebp - 0xb0]
call ebx
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.10053e20
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x30]
xor ebx, ebx
test eax, eax
je 0x1003fb25
cmp eax, ebx
jbe 0x1003fb4c
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
movzx eax, word [eax + ebx*2]
push eax
push 0x102
push dword [ebp - 0xb0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x30]
inc ebx
cmp eax, ebx
ja 0x1003fafa
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 8
jb 0x1003fb3e
push dword [ebp - 0x40]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add esi, 0x18
jmp 0x1003fac3
push str.invalid_string_position
call dword [sym.imp.MSVCP110.dll_void___cdecl_std::_Xout_of_range_char_const__]
mov esi, dword [ebp - 0xbc]
test esi, esi
je 0x1003fc4e
push 0
push 0
push 7
push dword [ebp - 0xb4]
call ebx
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x24
push 0x100
push dword [ebp - 0xb4]
call ebx
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [esi], ax
jne 0x1003fbac
xor ecx, ecx
jmp 0x1003fbc0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003fbb1
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.10003de0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 2
call fcn.10053e20
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2c], 8
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x1003fbf4
push dword [ebp - 0x40]
call edi
add esp, 4
xor eax, eax
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x4c]
xor esi, esi
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
test eax, eax
je 0x1003fc40
cmp eax, esi
jbe 0x1003fb4c
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push 0
movzx eax, word [eax + esi*2]
push eax
push 0x102
push dword [ebp - 0xb4]
call ebx
mov eax, dword [ebp - 0x4c]
inc esi
cmp eax, esi
ja 0x1003fc19
cmp dword [ebp - 0x48], 8
jb 0x1003fc4e
push dword [ebp - 0x5c]
call edi
add esp, 4
mov eax, 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.1006e4e6
mov esp, ebp
pop ebp
ret