Function at 0x4a62c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc1f8
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x564610]
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 esi, dword [ebp + 0xc]
xor ebx, ebx
cmp esi, ebx
je 0x4a656d
mov eax, dword [esi + 0x20]
push 1
push eax
call fcn.00455290
mov ecx, eax
call fcn.00455f00
call fcn.0041b800
mov ecx, eax
call fcn.0041b850
lea edi, [esi + 4]
mov dword [ebp - 0x224], eax
mov eax, dword [edi]
mov ecx, 0x5127b8
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a6356
cmp dx, bx
je 0x4a6352
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a6356
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4a6330
xor eax, eax
jmp 0x4a635b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4a63ee
push 0x206
lea ecx, [ebp - 0x216]
push ebx
push ecx
mov word [ebp - 0x218], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call dword [sym.imp.MSVCR80.dll_wcsrchr]
add esp, 8
cmp eax, ebx
je 0x4a656d
mov word [eax + 2], bx
mov ecx, dword [esi + 0x14]
push ecx
lea edx, [ebp - 0x218]
push 0x104
push edx
call dword [sym.imp.MSVCR80.dll_wcscat_s]
mov esi, dword [esi + 0x10]
add esp, 0xc
push 1
push ebx
push esi
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov eax, ecx
jmp 0x4a656f
mov ecx, dword [ebp - 0x224]
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x220]
push eax
mov eax, dword [edi]
push eax
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
call fcn.00415ae0
mov eax, dword [edi]
mov ecx, dword [ebp - 0x224]
push eax
call fcn.00416050
test eax, eax
je 0x4a643c
cmp dword [ebp - 0x220], ebx
jne 0x4a643c
cmp dword [ebp - 0x21c], ebx
je 0x4a64c9
push 0x523240
lea ecx, [ebp - 0x25c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov eax, dword [edi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
mov dword [ebp - 4], ebx
jle 0x4a6466
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
call fcn.004787e0
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x240]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea edx, [ebp - 0x25c]
push edx
lea eax, [ebp - 0x240]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.0041bc60
mov ecx, eax
call fcn.0041c2a0
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x25c]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push esi
call fcn.004a5f50
add esp, 4
mov eax, 1
jmp 0x4a656f
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x4a64f3
mov ecx, dword [esi + 0x18]
mov edx, dword [edi]
push ebx
push str.MainTab_Home
push ebx
push ecx
push edx
call fcn.00479e00
push esi
call fcn.004a5f50
add esp, 0x18
mov eax, 1
jmp 0x4a656f
cmp eax, 1
jne 0x4a656d
push 0x206
lea eax, [ebp - 0x216]
push ebx
push eax
mov word [ebp - 0x218], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x218]
push 0x5c
push edx
call dword [sym.imp.MSVCR80.dll_wcsrchr]
add esp, 8
cmp eax, ebx
je 0x4a656d
mov word [eax + 2], bx
mov eax, dword [esi + 0x14]
push eax
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call dword [sym.imp.MSVCR80.dll_wcscat_s]
mov esi, dword [esi + 0x10]
add esp, 0xc
push 1
push ebx
push esi
lea edx, [ebp - 0x218]
push edx
jmp 0x4a63d7
xor eax, eax
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.004f019a
mov esp, ebp
pop ebp
ret