Function at 0x536060
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x593b6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call sub.MFC42.DLL_CWnd::GetStyle
and eax, 0x800
mov dword [esp + 0x10], eax
jne 0x5363fc
mov esi, dword [esp + 0x174]
mov edi, dword [esp + 0x170]
mov eax, esi
mov ecx, dword [edi + 0x28]
shl eax, 5
add eax, ecx
mov cl, byte [eax + 0xb]
cmp cl, 0x6d
jne 0x53610d
mov edx, dword [edi + 0x128]
lea ecx, [esp + 0x10]
mov eax, dword [edx + esi*4]
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov dword [esp + 0x168], 0
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x10]
push 5
push 0
push 0
push ecx
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x168], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x5363fc
cmp cl, 0x44
jne 0x53616b
push 0
lea ecx, [esp + 0x18]
call fcn.00523790
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x74]
push edx
push eax
mov dword [esp + 0x170], 1
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x14]
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], esi
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x168], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
mov eax, esi
jmp 0x5363fe
cmp cl, 0x54
jne 0x5361c9
push 0
lea ecx, [esp + 0x18]
call fcn.00547dc0
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x74]
push ecx
push edx
mov dword [esp + 0x170], 2
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x14]
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], esi
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x168], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
mov eax, esi
jmp 0x5363fe
cmp cl, 0x43
jne 0x5363d3
xor ecx, ecx
push str.TIME
mov cl, byte [eax + 0x10]
push eax
push 1
mov ebp, ecx
call fcn.004a6d70
add esp, 0xc
test eax, eax
jle 0x53624b
cmp ebp, 8
jne 0x53624b
push 0
lea ecx, [esp + 0x18]
call fcn.00547bf0
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x74]
push edx
push eax
mov dword [esp + 0x170], 3
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x14]
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], esi
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x168], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
mov eax, esi
jmp 0x5363fe
mov ecx, ebx
call sub.MFC42.DLL_CWnd::GetStyle
and eax, 4
mov dword [esp + 0x10], eax
je 0x5362f3
push 0
lea ecx, [esp + 0x18]
call fcn.0054e270
lea ecx, [esp + 0x7c]
mov dword [esp + 0x168], 4
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CWnd::GetWindowTextA
lea ecx, [esp + 0x14]
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], esi
call sub.MFC42.DLL_CDialog::DoModal
mov ebx, eax
cmp ebx, 1
jne 0x5362b0
mov eax, dword [edi + 0x128]
mov edx, dword [esp + 0x7c]
push edx
mov ecx, dword [eax + esi*4]
push ecx
call fcn.0044dab0
add esp, 8
lea ecx, [esp + 0x80]
mov dword [esp + 0x168], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x7c]
mov byte [esp + 0x168], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x168], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
mov eax, ebx
jmp 0x5363fe
mov eax, dword [0x64b2e0]
mov ecx, dword [eax + 0x8a0]
test ecx, ecx
je 0x5363ba
push 0
lea ecx, [esp + 0xa8]
call fcn.0054d990
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x10c]
push edx
push eax
mov dword [esp + 0x170], 7
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [edi + 0x128]
mov edx, dword [ecx + esi*4]
lea ecx, [esp + 0x15c]
push edx
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0xa4]
call sub.MFC42.DLL_CDialog::DoModal
mov ebx, eax
cmp ebx, 1
jne 0x536374
mov ecx, dword [edi + 0x128]
mov eax, dword [esp + 0x15c]
push eax
mov edx, dword [ecx + esi*4]
push edx
call fcn.0044dab0
add esp, 8
lea ecx, [esp + 0x15c]
mov dword [esp + 0x168], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x11c]
mov byte [esp + 0x168], 8
call sub.MFC42.DLL_CEdit::CEdit
lea ecx, [esp + 0xa4]
mov dword [esp + 0x168], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
mov eax, ebx
jmp 0x5363fe
mov ecx, dword [eax + 0x8a8]
test ecx, ecx
je 0x5363fc
push 5
push str.OSK.EXE
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x5363fc
push esi
push edi
call fcn.0048fc80
add esp, 8
test eax, eax
je 0x5363fc
mov eax, dword [0x64b2e0]
mov ecx, dword [eax + 0x8a0]
test ecx, ecx
je 0x5363fc
mov edx, dword [ebx]
push esi
push edi
mov ecx, ebx
call dword [edx + 0xec]
xor eax, eax
mov ecx, dword [esp + 0x160]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x15c
ret 8