Function at 0x4056ad
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x143c
call fcn.0042d380
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
push dword [ebp + 8]
call fcn.00425bbe
mov ecx, eax
call fcn.00426903
mov esi, eax
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x405b77
cmp dword [ebp + 0xc], ebx
je 0x405775
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
push 0x45799c
push dword [ebp + 0xc]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x405706
push 1
push str.CG_TOP
jmp 0x405768
push 0x45798c
push dword [ebp + 0xc]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x40571f
push 1
push str.CG_NEW
jmp 0x405768
push str.history
push dword [ebp + 0xc]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x405738
push 1
push str.CG_RNT
jmp 0x405768
push str.4399
push dword [ebp + 0xc]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x405751
push 1
push str.CG_43
jmp 0x405768
push 0x45795c
push dword [ebp + 0xc]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x405775
push 1
push str.CG_3D
push ebx
call fcn.004017aa
mov ecx, eax
call fcn.0040b8fe
cmp dword [esi + 4], 2
je 0x405b77
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x222]
mov word [ebp - 0x224], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x224]
push 0x104
push eax
mov ecx, edi
call fcn.00405f83
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
test eax, eax
pop ecx
je 0x405b77
mov ecx, edi
mov dword [ebp + 8], ebx
call fcn.004065da
cmp eax, ebx
mov dword [ebp - 0xc], eax
jne 0x405816
push ebx
push ebx
lea eax, [ebp - 0x224]
push str._toolbar
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
add dword [ebp + 8], 0x32
mov ecx, edi
call fcn.004065da
cmp eax, ebx
mov dword [ebp - 0xc], eax
jne 0x405816
cmp dword [ebp + 8], 0xbb8
jle 0x4057ee
jmp 0x405b77
lea eax, [edi + 0x510]
mov dword [edi + 0x524], 1
mov dword [ebp + 8], eax
mov eax, dword [eax]
cmp dword [eax - 8], ebx
je 0x405914
mov edi, 0xc0
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
push edi
push ebx
push esi
call sub.MSVCRT.dll_memset
mov edi, dword [ebp + 8]
add esp, 0x10
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax - 8]
lea eax, [eax + eax + 2]
push eax
push ebx
call fcn.004039ee
push eax
push esi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, edi
push 0xffffffffffffffff
call fcn.00403a60
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x514]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax - 8]
lea eax, [eax + eax + 2]
push eax
push ebx
call fcn.004039ee
push eax
lea eax, [esi + 0x40]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, edi
push 0xffffffffffffffff
call fcn.00403a60
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x518]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax - 8]
lea eax, [eax + eax + 2]
push eax
push ebx
call fcn.004039ee
push eax
lea eax, [esi + 0x80]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, edi
push 0xffffffffffffffff
call fcn.00403a60
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
push 0x3e8
lea eax, [ebp - 0x1c]
push ebx
push eax
push ebx
push 0x4a
mov dword [ebp - 0x1c], 2
push dword [ebp - 0xc]
mov dword [ebp - 0x18], 0xc0
mov dword [ebp - 0x14], esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push esi
call fcn.0042c9ee
mov esi, dword [ebp - 8]
pop ecx
jmp 0x40592b
push ebx
push 0x3e8
push ebx
push ebx
push ebx
push 0xc00
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xa18
lea eax, [ebp - 0xc3c]
push ebx
push eax
mov dword [ebp - 0x1c], 1
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [ebp - 0xc38], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xc34], eax
mov eax, dword [esi + 4]
cmp eax, ebx
mov dword [ebp - 0xc3c], eax
jne 0x4059f8
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x143a]
mov word [ebp - 0x143c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x143c]
push 0x400
add esi, 0x1a34
push eax
push esi
call fcn.00425bbe
mov ecx, eax
call fcn.0042757e
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x143c]
test eax, eax
je 0x405a0e
lea eax, [ebp - 0x143c]
push eax
call edi
lea eax, [eax + eax + 2]
mov dword [ebp + 8], eax
add eax, 3
and al, 0xfc
call fcn.0042d380
mov eax, esp
push ebx
push ebx
mov dword [ebp - 4], eax
push dword [ebp + 8]
mov byte [eax], bl
push eax
lea eax, [ebp - 0x143c]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call esi
mov eax, dword [ebp - 4]
jmp 0x405a45
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esi + 0x1c3c]
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, ebx
jne 0x405a12
xor eax, eax
jmp 0x405a45
push eax
call edi
lea eax, [eax + eax + 2]
mov dword [ebp + 8], eax
add eax, 3
and al, 0xfc
call fcn.0042d380
mov eax, esp
push ebx
push ebx
mov dword [ebp - 4], eax
push dword [ebp + 8]
mov byte [eax], bl
push eax
mov eax, dword [ebp - 8]
add eax, 0x1c3c
push 0xffffffffffffffff
push eax
push ebx
push ebx
call esi
mov eax, dword [ebp - 4]
push 0x400
push eax
lea eax, [ebp - 0xb2c]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
mov eax, dword [ebp - 8]
add esp, 0xc
add eax, 0x1a34
cmp eax, ebx
jne 0x405a6b
xor eax, eax
jmp 0x405a9e
push eax
call edi
lea eax, [eax + eax + 2]
mov dword [ebp + 8], eax
add eax, 3
and al, 0xfc
call fcn.0042d380
mov eax, esp
push ebx
push ebx
mov dword [ebp - 4], eax
push dword [ebp + 8]
mov byte [eax], bl
push eax
mov eax, dword [ebp - 8]
add eax, 0x1a34
push 0xffffffffffffffff
push eax
push ebx
push ebx
call esi
mov eax, dword [ebp - 4]
push 0x104
push eax
lea eax, [ebp - 0xc30]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
mov eax, dword [ebp - 8]
add esp, 0xc
add eax, 0x234
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x405ac7
xor eax, eax
jmp 0x405af4
push eax
call edi
lea eax, [eax + eax + 2]
mov dword [ebp + 8], eax
add eax, 3
and al, 0xfc
call fcn.0042d380
mov eax, esp
push ebx
push ebx
mov dword [ebp - 8], eax
push dword [ebp + 8]
mov byte [eax], bl
push eax
push 0xffffffffffffffff
push dword [ebp - 4]
push ebx
push ebx
call esi
mov eax, dword [ebp - 8]
push 0x400
push eax
lea eax, [ebp - 0x72c]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
cmp dword [ebp + 0xc], ebx
jne 0x405b13
xor edi, edi
jmp 0x405b3c
push dword [ebp + 0xc]
call edi
lea eax, [eax + eax + 2]
mov dword [ebp + 8], eax
add eax, 3
and al, 0xfc
call fcn.0042d380
mov edi, esp
push ebx
push ebx
push dword [ebp + 8]
mov byte [edi], bl
push edi
push 0xffffffffffffffff
push dword [ebp + 0xc]
push ebx
push ebx
call esi
push 0x103
lea eax, [ebp - 0x32c]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
lea eax, [ebp - 0xc3c]
add esp, 0xc
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], 0xa18
push dword [eax + 0x2c]
push 0x4a
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
lea esp, [ebp - 0x1448]
pop edi
pop esi
pop ebx
leave
ret 8