Function at 0x4cf6a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52895a
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x56617c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004cfdc0
mov esi, eax
call fcn.004cc620
mov ecx, dword [ebp + 0xc]
mov edi, eax
add ecx, 0xffff63bf
cmp ecx, 0x2e
ja case.0x4cf474.40010
movzx ecx, byte [ecx + 0x4cf928]
jmp dword [ecx*4 + 0x4cf8ec]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x64]
push 0
push 0x9c41
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 1
je case.0x4cf474.40010
push 1
push 1
mov ecx, edi
call fcn.004ce970
jmp case.0x4cf474.40010
push 4
push 1
mov ecx, edi
call fcn.004ce970
jmp case.0x4cf474.40010
test esi, esi
je case.0x4cf474.40010
mov ecx, dword [esi + 0x6c]
call fcn.004ee9a0
jmp case.0x4cf474.40010
test esi, esi
je case.0x4cf474.40010
mov esi, dword [esi + 0x6c]
cmp dword [esi + 0x28], 1
je case.0x4cf474.40010
mov ecx, esi
mov dword [esi + 0x28], 1
call fcn.004eeac0
mov dword [esi + 0x28], 0
jmp case.0x4cf474.40010
test esi, esi
je case.0x4cf474.40010
mov ecx, dword [esi + 0x6c]
push 1
call fcn.004eea50
jmp case.0x4cf474.40010
call fcn.00425b20
mov cl, al
dec ecx
and ecx, 1
call fcn.00425bf0
jmp case.0x4cf474.40010
call fcn.00425d80
mov cl, al
dec ecx
and ecx, 1
call fcn.00425e50
jmp case.0x4cf474.40010
call fcn.004263d0
mov cl, al
dec ecx
and ecx, 1
call fcn.004264a0
jmp case.0x4cf474.40010
mov eax, dword [esi + 0x68]
and dword [eax], 0xfffffff7
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x4cf58f
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
je 0x4cf58f
mov esi, dword [esi + 0x70]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x14]
test eax, eax
je 0x4cf580
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x30]
call fcn.0042a8c0
push ecx
push 1
mov ecx, eax
call fcn.0042d240
push 2
push 1
mov ecx, edi
call fcn.004ce970
jmp case.0x4cf474.40010
mov eax, dword [esi + 0x68]
and dword [eax], 0xfffffff7
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x4cf5db
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
je 0x4cf5db
mov esi, dword [esi + 0x70]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x14]
test eax, eax
je 0x4cf5cc
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x30]
call fcn.0042a8c0
push ecx
push 1
mov ecx, eax
call fcn.0042d240
push 8
push 1
mov ecx, edi
call fcn.004ce970
jmp case.0x4cf474.40010
mov eax, dword [esi + 0x68]
and dword [eax], 0xfffffff7
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x4cf627
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
je 0x4cf627
mov esi, dword [esi + 0x70]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x14]
test eax, eax
je 0x4cf618
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x30]
call fcn.0042a8c0
push ecx
push 1
mov ecx, eax
call fcn.0042d240
push 0x10
push 1
mov ecx, edi
call fcn.004ce970
jmp case.0x4cf474.40010
push 0x74
lea eax, [ebp - 0x1a0]
push 0
push eax
call fcn.005001b0
add esp, 0xc
lea ecx, [ebp - 0x1a0]
call fcn.004ef340
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x138], 0x78
push eax
push 0x4eb490
push dword [esi + 0x2c]
mov dword [ebp - 0x1a0], 0x54c2a0
push 0x78
push dword [0x59287c]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [ebp - 0x1a0]
mov dword [ebp - method.CApiDialog.virtual_0], vtable.CApiDialog.0
call fcn.004ef3e0
jmp case.0x4cf474.40010
push 0x44
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.005001b0
add esp, 0xc
lea ecx, [ebp - 0x54]
call fcn.0041ad80
cmp dword [ebp - 0x1c], 0
mov eax, vtable.CStringUTF8.0
mov dword [ebp - 0x54], eax
je 0x4cf6d1
lea ecx, [ebp - 0x20]
call fcn.0041a760
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
push 0x6d
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0
call dword [eax + 8]
push 0x44
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.005001b0
add esp, 0xc
lea ecx, [ebp - 0x98]
call fcn.0041ad80
cmp dword [ebp - 0x60], 0
mov dword [ebp - 0x98], vtable.CStringUTF8.0
je 0x4cf724
lea ecx, [ebp - 0x64]
call fcn.0041a760
mov dword [ebp - 0x5c], 0xffffffff
mov dword [ebp - 0x58], 0xffffffff
push 0x592950
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.0041a900
push 0x50
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.005001b0
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x1ec]
call fcn.004e7410
sub esp, 0x38
mov byte [ebp - 4], 3
mov ecx, esp
push str.manual_
push ecx
mov ecx, eax
call fcn.0041eea0
lea ecx, [ebp - 0xe8]
call fcn.004cfa20
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 5
call fcn.0041c2a0
push 0x44
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.005001b0
sub esp, 0x38
mov esi, esp
mov ecx, esi
mov dword [ebp - 0x1a4], esi
call fcn.0041ad80
cmp dword [esi + 0x38], 0
mov dword [esi], vtable.CStringUTF8.0
je 0x4cf7d1
lea ecx, [esi + 0x34]
call fcn.0041a760
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 6
push eax
mov ecx, esi
call fcn.0041a900
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0xe8]
call fcn.004cf960
lea eax, [ebp - 0x1ec]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xe8]
call fcn.0041f010
mov byte [ebp - 4], 8
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x7c]
push 1
push eax
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x12c]
push 0x53e7d0
call dword [eax + 0x7c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x1ec]
call fcn.0041c2a0
lea ecx, [ebp - 0x12c]
call fcn.0041c2a0
lea ecx, [ebp - 0xa4]
call fcn.0041f520
lea ecx, [ebp - 0xe8]
call fcn.0041c2a0
lea ecx, [ebp - 0x98]
call fcn.0041c2a0
lea ecx, [ebp - 0x54]
call fcn.0041c2a0
jmp case.0x4cf474.40010
mov esi, dword [esi + 0x6c]
mov eax, dword [esi + 0x24]
cmp eax, 1
jne 0x4cf8ae
cmp dword [esi + 0x28], eax
je 0x4cf8bc
mov ecx, esi
mov dword [esi + 0x28], eax
call fcn.004eeac0
mov dword [esi + 0x28], 0
jmp 0x4cf8bc
cmp eax, 2
jne 0x4cf8bc
push 1
mov ecx, esi
call fcn.004eea50
call fcn.004296f0
mov ecx, dword [eax + 4]
test ecx, ecx
je case.0x4cf474.40010
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fe27d
mov esp, ebp
pop ebp
ret 0x10