Function at 0x4344d0
Capabilities:
Create process on windows
Read .ini file
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55657b
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0x5c3040]
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
lea ecx, [ebp - 0x328]
call fcn.004270f0
lea eax, [ebp - 0x328]
push eax
push 0
push str.rdpmode
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor dl, dl
mov dword [ebp - 0x334], eax
xor cl, cl
call fcn.00434300
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 0x63
mov esi, dword [sym.imp.KERNEL32.dll_OpenEventA]
mov dword [ebp - 0x330], edi
mov dword [0x5c68f0], 0
mov byte [0x5c6494], 0
mov byte [ebp - 0x329], 0
mov dword [ebp - 0x348], 0
nop word [eax + eax]
push str.GlobalSessionEventUltra
push 0
push 0x1f0003
call esi
mov dword [0x5c6a0c], eax
test eax, eax
je 0x4345aa
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [0x5c6a0c]
call ebx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x5c6494], 0
je 0x434570
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push str.GlobalSessionEventUltra
push 0
push 0
push 0
call esi
push str.GlobalSessionEventUltraCad
push 0
push 0
push 0
mov dword [ebp - 0x33c], eax
call esi
push str.GlobalSessionEventUltraPreConnect
push 0
push 0
push 0
mov dword [ebp - 0x354], eax
call esi
push str.GlobalEndSessionEvent
push 0
push 0
push 0
mov dword [ebp - 0x358], eax
call esi
push str.GlobalSessionUltraPreConnect
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
mov dword [0x5c6900], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x364], eax
test eax, eax
je 0x43462f
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x348], eax
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xbb8
call esi
cmp byte [0x5c6494], 0
mov ecx, dword [0x5c6900]
mov eax, dword [ebp - 0x354]
mov edx, dword [ebp - 0x358]
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x374], ecx
mov dword [ebp - 0x370], eax
jne 0x434c79
cmp dword [0x5c67d0], 4
mov ecx, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
jne 0x434c79
cmp dword [ebp - 0x334], 0
push 0x3e8
push 0
je 0x4346a7
lea eax, [ebp - 0x224]
push eax
push 3
jmp 0x4346b0
lea eax, [ebp - 0x374]
push eax
push 2
call ecx
cmp eax, 2
ja 0x434897
je 0x4347c0
sub eax, 0
je 0x434c72
sub eax, 1
jne 0x434c5e
push str.sas.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push str.SendSAS
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4346f9
push 0
call eax
jmp 0x4347ac
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x43472d
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00525fd0
add esp, 8
test eax, eax
je 0x434d17
mov byte [eax], 0
push 0x579be0
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0052c1a3
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0052c1fd
push 0x5a7330
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0052c1fd
push str.cad.exe
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0052c1fd
add esp, 0x30
lea eax, [ebp - 0x114]
push 1
push 0
push 0x579be0
push eax
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
test esi, esi
je 0x434c5e
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x434c5e
push dword [ebp - 0x33c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 0x348]
mov dword [ebp - 0x340], 0x103
mov eax, dword [ecx]
mov dword [ebp - 0x330], eax
mov eax, dword [0x5c68f0]
test eax, eax
je 0x43484e
cmp byte [0x5c6494], 0
jne 0x43484e
lea ecx, [ebp - 0x340]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x340], 0x103
je 0x43483b
push 0x3a98
push dword [0x5c68f0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x5c68f0]
test eax, eax
je 0x43482d
push eax
call ebx
mov eax, dword [0x5c68f4]
test eax, eax
je 0x434842
push eax
call ebx
jmp 0x434842
push 0x3e8
call esi
cmp dword [ebp - 0x340], 0x103
je 0x4347e4
xor esi, esi
cmp byte [0x5c6494], 0
jne 0x434877
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
push 0x3e8
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xa
jg 0x434877
cmp edi, 0xffffffff
je 0x434850
mov edi, dword [ebp - 0x330]
xor dl, dl
push 1
mov ecx, edi
call fcn.00434d40
add esp, 4
mov byte [ebp - 0x329], 1
jmp 0x434c5e
cmp eax, 0x102
jne 0x434c5e
cmp dword [ebp - 0x334], 0
je 0x434b96
call fcn.00434120
test al, al
je 0x434b96
cmp dword [0x5c68f0], 0
jne 0x43493c
call fcn.00434120
test al, al
je 0x4348f0
push 0
mov dl, 1
xor ecx, ecx
call fcn.00434d40
add esp, 4
mov byte [ebp - 0x329], 0
xor edi, edi
mov dword [ebp - 0x330], edi
jmp 0x434c5e
or edi, 0xffffffff
xor esi, esi
cmp byte [0x5c6494], 0
jne 0x43491c
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
push 0x3e8
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xa
jg 0x43491c
cmp edi, 0xffffffff
je 0x4348f5
push 0
xor dl, dl
mov dword [ebp - 0x330], edi
mov ecx, edi
call fcn.00434d40
add esp, 4
mov byte [ebp - 0x329], 0
jmp 0x434c5e
cmp byte [ebp - 0x329], 1
jne 0x434af7
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor esi, esi
push str.wtsapi32
mov dword [ebp - 0x36c], esi
call ebx
mov edi, eax
mov dword [ebp - 0x368], edi
test edi, edi
je 0x43497e
push 0x5abee4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [ebp - 0x36c], esi
xor eax, eax
mov dword [ebp - 4], 0
push str.wtsapi32
mov dword [ebp - 0x360], eax
call ebx
mov ebx, eax
mov dword [ebp - 0x35c], ebx
test ebx, ebx
je 0x4349b4
push 0x5abf08
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x360], eax
jmp 0x4349b6
xor eax, eax
mov byte [ebp - 4], 1
test esi, esi
je 0x434aab
test eax, eax
je 0x434aab
lea eax, [ebp - 0x344]
mov dword [ebp - 0x338], 0
push eax
lea eax, [ebp - 0x338]
mov dword [ebp - 0x344], 0
push eax
push 1
xor edi, edi
push edi
push edi
call esi
test eax, eax
je 0x434a71
mov ecx, dword [ebp - 0x338]
xor ebx, ebx
cmp dword [ebp - 0x344], ebx
jbe 0x434a62
xor esi, esi
nop
test edi, edi
jne 0x434a62
push str.Console
push dword [esi + ecx + 4]
call fcn.00534d42
mov ecx, dword [ebp - 0x338]
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x330]
jne 0x434a3a
cmp dword [esi + ecx], eax
jmp 0x434a4f
cmp dword [esi + ecx], eax
jne 0x434a56
mov eax, dword [esi + ecx + 8]
test eax, eax
je 0x434a51
cmp eax, 3
je 0x434a51
cmp eax, 2
jne 0x434a56
mov edi, 1
inc ebx
add esi, 0xc
cmp ebx, dword [ebp - 0x344]
jb 0x434a10
mov eax, dword [ebp - 0x360]
push ecx
call eax
mov ebx, dword [ebp - 0x35c]
mov byte [ebp - 4], 2
test ebx, ebx
je 0x434a84
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call ebx
jmp 0x434a8a
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x368]
test eax, eax
je 0x434a9e
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x434ad9
jmp 0x434ae5
mov byte [ebp - 4], 4
test ebx, ebx
je 0x434abe
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call ebx
jmp 0x434ac4
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 5
test edi, edi
je 0x434ad2
push edi
call ebx
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x33c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp - 0x330]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x34c]
mov dword [ebp - 0x34c], 0
push eax
push dword [0x5c68f0]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x434b6f
mov eax, dword [0x5c68f0]
test eax, eax
je 0x434b24
push eax
call ebx
mov eax, dword [0x5c68f4]
test eax, eax
je 0x434b30
push eax
call ebx
lea eax, [ebp - 0x328]
mov dword [0x5c68f0], 0
push eax
push 0
push str.rdpmode
push str.admin
mov dword [0x5c68f4], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x3e8
mov dword [ebp - 0x334], eax
call esi
jmp 0x434c5e
cmp dword [ebp - 0x34c], 0x103
je 0x434c5e
mov eax, dword [0x5c68f0]
test eax, eax
je 0x434b24
push 0x3a98
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x434b18
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov esi, eax
cmp edi, esi
je 0x434bae
push dword [ebp - 0x33c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp esi, 0xffffffff
je 0x434c5e
mov eax, dword [0x5c68f0]
mov dword [ebp - 0x350], 0
test eax, eax
jne 0x434be4
push eax
xor dl, dl
mov ecx, esi
call fcn.00434d40
mov edi, esi
add esp, 4
mov dword [ebp - 0x330], edi
jmp 0x434c5e
lea ecx, [ebp - 0x350]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x434c13
cmp dword [ebp - 0x350], 0x103
je 0x434c5e
push 0x3a98
push dword [0x5c68f0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x5c68f0]
test eax, eax
je 0x434c1f
push eax
call ebx
mov eax, dword [0x5c68f4]
test eax, eax
je 0x434c2b
push eax
call ebx
lea eax, [ebp - 0x328]
mov dword [0x5c68f0], 0
push eax
push 0
push str.rdpmode
push str.admin
mov dword [0x5c68f4], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x334], eax
cmp byte [0x5c6494], 0
jne 0x434c79
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x434679
mov byte [0x5c6494], 1
mov esi, dword [ebp - 0x33c]
test esi, esi
je 0x434c8a
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x5c68f0]
test eax, eax
je 0x434ccb
push 0x3a98
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x5c68f0]
test eax, eax
je 0x434cab
push eax
call ebx
mov eax, dword [0x5c68f4]
test eax, eax
je 0x434cb7
push eax
call ebx
mov dword [0x5c68f0], 0
mov dword [0x5c68f4], 0
test esi, esi
je 0x434cd2
push esi
call ebx
mov eax, dword [ebp - 0x354]
test eax, eax
je 0x434cdf
push eax
call ebx
mov eax, dword [ebp - 0x358]
test eax, eax
je 0x434cec
push eax
call ebx
mov ecx, dword [0x5c6900]
test ecx, ecx
je 0x434cf9
push ecx
call ebx
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x434d0a
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x364]
test eax, eax
je 0x434d17
push eax
call ebx
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.00524763
mov esp, ebp
pop ebp
ret