Function at 0x424580
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x620]
sub esp, 0x620
push 0xffffffffffffffff
push 0x4826c0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4b445c]
xor eax, ebp
mov dword [ebp + 0x61c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x62c]
mov dword [esi + 0x30c], eax
mov ecx, dword [ebp + 0x628]
mov dword [esi + 0x27c], ecx
mov ecx, esi
call fcn.00423f00
lea ecx, [esi + 0x274]
call fcn.00423e90
test eax, eax
jne 0x42460c
mov eax, dword [esi + 0x308]
cmp eax, edi
je 0x42460c
push str.CVNCServerAgent::Start_failed_to_SetScreenTimeout.
push eax
call fcn.00430fd0
add esp, 8
lea ecx, [ebp]
call fcn.004233e0
mov byte [ebp - 4], 1
push edi
push str.RTSClient.ini
lea ecx, [ebp]
call fcn.004234b0
mov ecx, 0x4bad90
call fcn.0043c9e0
mov byte [ebp + 0x310], 0
push 0x103
push edi
lea edx, [ebp + 0x311]
push edx
call fcn.0045eb50
add esp, 0xc
lea ecx, [ebp]
call fcn.00423230
push eax
push str._sRTSClientTransaction.exe
lea eax, [ebp + 0x310]
push eax
call fcn.0045f1a1
add esp, 8
mov ecx, esp
mov dword [ebp - 0x18], esp
lea edx, [ebp + 0x310]
push edx
call fcn.00407010
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
call fcn.00408fc0
add esp, 4
cmp eax, edi
jne 0x4246a6
mov eax, dword [esi + 0x308]
cmp eax, edi
je 0x4246a6
push str.Cantt_find_RTSClientTransaction.exe
push eax
call fcn.004310b0
add esp, 8
mov ebx, 5
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], edi
lea ecx, [ebp]
call fcn.00423230
push eax
lea eax, [ebp + 0x518]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.RTSClientTransaction.exe__run
lea ecx, [ebp + 0x518]
push ecx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
call edi
mov byte [ebp + 0x414], 0
push 0x103
push 0
lea edx, [ebp + 0x415]
push edx
call fcn.0045eb50
mov eax, dword [ebp + 0x628]
push eax
mov ecx, dword [esi + 0x304]
push ecx
push str.__d__d
lea edx, [ebp + 0x414]
push edx
call fcn.0045f1a1
add esp, 0x1c
lea eax, [ebp + 0x414]
push eax
lea ecx, [ebp + 0x518]
push ecx
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ecx]
cmp dword [ebp - 0x14], 0
jne 0x4247eb
test ebx, ebx
jle 0x4247c4
lea edx, [esi + 0x280]
push edx
lea eax, [esi + 0x2c0]
push eax
lea ecx, [ebp]
call fcn.00423230
push eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp + 0x518]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x4247a1
cmp dword [esi + 0x308], eax
je 0x4247b9
call edi
push eax
push ebx
push str.CVNCServerAgent::CreateProcess_RTSClientTransaction.exe_failed._LastErrorCode:_d
mov edx, dword [esi + 0x308]
push edx
call fcn.00430fd0
add esp, 0x10
sub ebx, 1
mov dword [ebp - 0x24], ebx
jmp 0x424730
mov eax, dword [esi + 0x308]
test eax, eax
je 0x4247b9
push str.CVNCServerAgent::CreateProcess_RTSClientTransaction.exe_success
push eax
call fcn.00430fd0
add esp, 8
sub ebx, 1
mov dword [ebp - 0x24], ebx
jmp 0x424730
cmp dword [esi + 0x308], 0
je 0x424855
call edi
push eax
push ebx
push str.CVNCServerAgent::Start_failed._nRetryCreate:__d._Detail:_d
mov eax, dword [esi + 0x308]
push eax
call fcn.00430fd0
add esp, 0x10
jmp 0x424855
mov eax, dword [esi + 0x280]
test eax, eax
je 0x424801
push 0x1388
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
lea esp, [esp]
mov dword [ebp - 0x18], 0
mov eax, dword [esi + 0x280]
test eax, eax
je 0x424990
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x42488a
cmp dword [ebp - 0x18], 0x103
je 0x42488a
mov esi, dword [esi + 0x308]
test esi, esi
je 0x424855
push str.CVNCServerAgent::Start__dwExitCode___STILL_ACTIVE_
push esi
call fcn.004310b0
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.00422f00
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x61c]
xor ecx, ebp
call fcn.0045e17e
add ebp, 0x620
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
call fcn.004242f0
test al, al
je 0x424930
mov eax, dword [esi + 0x308]
test eax, eax
je 0x4248b1
push str.RTSClientTransaction.exe_Listening_OK
push eax
call fcn.00430fd0
add esp, 8
mov edi, dword [ebp - 0x14]
cmp byte [esi + 0x310], 0
je 0x4248fb
cmp edi, 1
jne 0x4248fb
cmp byte [0x4badac], 0
jne 0x4248fb
mov edx, dword [esi + 0x304]
push edx
push str.2052
mov ecx, 0x4bada0
call fcn.0043c390
test al, al
je 0x4248fb
push 0
push 0
push 0xa742
mov eax, dword [esi + 0x304]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov esi, dword [esi + 0x308]
test esi, esi
je 0x424916
push 1
push edi
push str.CVNCServerAgent::Start_end._bOK:__d__bRes:__d
push esi
call fcn.00430fd0
add esp, 0x10
cmp edi, 1
sete bl
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.00422f00
mov al, bl
jmp 0x424863
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
push ecx
call edi
test eax, eax
je 0x424958
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x424930
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
add ebx, 0x32
mov dword [ebp - 0x20], ebx
cmp ebx, 0x2710
jle 0x424810
mov esi, dword [esi + 0x308]
test esi, esi
je 0x424855
push str.CVNCServerAgent::Start_failed__nEatTime___1000__10
push esi
call fcn.00430fd0
jmp 0x424852
mov esi, dword [esi + 0x308]
test esi, esi
je 0x424855
push str.CVNCServerAgent::Start__hProcess__NULL_
jmp 0x42484c