Function at 0x404432
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c240
mov eax, dword fs:[0]
push eax
mov eax, 0x2ffc
call fcn.0043fb50
mov eax, dword [0x4809a0]
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, ecx
xor edi, edi
lea eax, [ebp - 0x2fd8]
inc edi
push eax
mov dword [ebp - 4], edi
call fcn.004081f2
mov byte [ebp - 4], 2
call fcn.0041d57f
push eax
lea ecx, [ebp - 0x2fe4]
call fcn.00403246
mov byte [ebp - 4], 3
call fcn.0041d57f
push eax
lea ecx, [ebp - 0x2ffc]
call fcn.00403246
mov byte [ebp - 4], 4
call fcn.0041d57f
push eax
lea ecx, [ebp - 0x3000]
call fcn.00403246
push ecx
mov byte [ebp - 4], 5
lea eax, [ebp + 8]
mov dword [ebp - 0x2ff0], esp
mov ecx, esp
push eax
call fcn.0040326b
call fcn.0041a589
cmp dword [ebp + 0xc], 0
push ecx
setne al
mov ecx, esp
mov dword [ebp - 0x2ff0], esp
mov ebx, str.Settings.conf
push ebx
mov byte [0x485420], al
call fcn.00402fb8
call fcn.0041989c
lea eax, [ebp - 0x2fe8]
push eax
call fcn.0041a63d
push eax
lea ecx, [ebp - 0x2fe4]
mov byte [ebp - 4], 6
call fcn.00403289
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2fe8]
add ecx, 0xfffffff0
call fcn.004010ea
push str.__k
lea ecx, [ebp - 0x2fe4]
call fcn.00403522
mov eax, dword [ebp + 8]
push dword [eax - 0xc]
lea ecx, [ebp - 0x2fe4]
push eax
call fcn.0040377c
cmp dword [ebp + 0xc], edi
lea eax, [ebp - 0x2fe4]
jne 0x404559
push str.__Agent
jmp 0x40455e
push str.__Viewer
push eax
call fcn.0040308a
push str._showInit_0
lea eax, [ebp - 0x2fe4]
push eax
call fcn.0040308a
cmp dword [esi + 0x48], edi
jne 0x40458b
push str.__loghere
lea eax, [ebp - 0x2fe4]
push eax
call fcn.0040308a
cmp dword [ebp + 0x14], 0
je 0x4045d0
push str.__ControlAlwaysKey
lea eax, [ebp - 0x2fe4]
push eax
call fcn.0040308a
lea eax, [ebp - 0x2fe8]
push eax
call fcn.00403a44
push eax
lea ecx, [ebp - 0x2fe4]
mov byte [ebp - 4], 7
call fcn.004032d6
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2fe8]
add ecx, 0xfffffff0
call fcn.004010ea
push ecx
mov ecx, esp
mov dword [ebp - 0x2ff0], esp
push ebx
call fcn.00402fb8
call fcn.0041989c
mov ebx, dword [ebp - 0x2fe4]
push ebx
push str.args_:__s
call fcn.0040762c
call fcn.00414df5
push eax
push str.Admin:_d
call fcn.0040762c
push dword [esi + 0x28]
push str.Agent_exe_started.:_s
call fcn.0040762c
mov eax, dword [esi + 0x28]
add esp, 0x18
push edi
push eax
push ebx
push str.agent.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push eax
push str.Application_started_with_status_code_:__d
mov dword [ebp - 0x2fe8], eax
call fcn.0040762c
pop ecx
pop ecx
mov ecx, esi
call fcn.00404de6
mov dword [ebp - 0x2fec], eax
call fcn.0041d57f
push eax
lea ecx, [ebp - 0x2fe0]
call fcn.00403246
mov byte [ebp - 4], 8
push dword [ebp - 0x2fe8]
lea eax, [ebp - 0x2fe0]
push str.Status_code:_d_
push eax
call fcn.0040397a
add esp, 0xc
push str.ExeName:
lea ecx, [ebp - 0x2fe0]
call fcn.00403522
lea eax, [esi + 0x34]
push eax
lea ecx, [ebp - 0x2fe0]
call fcn.004032d6
mov edi, dword [ebp + 0x10]
cmp dword [edi - 0xc], 0
jne 0x40473e
call fcn.0041d57f
push eax
lea ecx, [ebp - 0x2fdc]
call fcn.00403246
push str._Track_msg:
lea ecx, [ebp - 0x2fe0]
mov byte [ebp - 4], 9
call fcn.00403522
cmp dword [0x4857c8], 0
lea ecx, [ebp - 0x2fdc]
je 0x404702
push str.JOIN_INVOKED_THROUGH_LAUNCH_APPLICATION
call fcn.00403547
mov eax, dword [ebp - 0x2fdc]
push dword [eax - 0xc]
lea ecx, [ebp - 0x2fe0]
push eax
call fcn.0040377c
push str.join_exe_got_invoked_through_launch_application
jmp 0x404726
push str.JOIN_INVOKED_THROUGH_DOWNLOAD
call fcn.00403547
mov eax, dword [ebp - 0x2fdc]
push dword [eax - 0xc]
lea ecx, [ebp - 0x2fe0]
push eax
call fcn.0040377c
push str.join_exe_got_invoked_through_download
call fcn.0040762c
pop ecx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2fdc]
add ecx, 0xfffffff0
call fcn.004010ea
push str._Msg:
lea ecx, [ebp - 0x2fe0]
call fcn.00403522
push dword [edi - 0xc]
lea ecx, [ebp - 0x2fe0]
push edi
call fcn.0040377c
push dword [ebx - 0xc]
lea ecx, [ebp - 0x2fe0]
push ebx
call fcn.0040377c
push ecx
lea eax, [esi + 0x38]
mov dword [ebp - 0x2ff0], esp
mov ecx, esp
push eax
call fcn.0040326b
push ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2fe0]
mov dword [ebp - 0x2fdc], esp
mov ecx, esp
push eax
call fcn.0040326b
push ecx
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x3004], esp
push 0x484f68
call fcn.00402fb8
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x2ff8], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xc
call fcn.0040326b
push dword [ebp - 0x2fec]
mov byte [ebp - 4], 8
call fcn.00404f89
mov dword [ebp - 0x2ff0], eax
add esp, 0x14
lea eax, [ebp - 0x2fec]
push eax
call fcn.00403a7c
mov eax, dword [eax]
cmp dword [eax - 0xc], 5
mov ecx, dword [ebp - 0x2fec]
setg byte [ebp - 0x2ff1]
add ecx, 0xfffffff0
call fcn.004010ea
cmp byte [ebp - 0x2ff1], 0
je 0x404895
call fcn.0041d57f
push eax
lea ecx, [ebp - 0x2fdc]
call fcn.00403246
lea eax, [ebp - 0x2fec]
push eax
mov byte [ebp - 4], 0xd
call fcn.00403a7c
mov byte [ebp - 4], 0xe
push dword [eax]
lea eax, [ebp - 0x2fdc]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.ROLE_CHANGE_JOIN_SUCCEEDED__s__role:_d___old_client_id:_s_
push eax
call fcn.0040397a
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x2fec]
add esp, 0x14
add ecx, 0xfffffff0
call fcn.004010ea
push ecx
lea eax, [ebp - 0x2fdc]
mov dword [ebp - 0x2ff8], esp
mov ecx, esp
push eax
call fcn.0040326b
lea ecx, [ebp - 0x2fd8]
call fcn.004095cb
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2fdc]
add ecx, 0xfffffff0
call fcn.004010ea
cmp dword [ebp - 0x2fe8], 2
jne 0x40491d
cmp dword [0x4853ec], 0
jne 0x40491d
mov ebx, dword [0x485414]
lea eax, [ebp - 0x2ff0]
push 0x2347
push eax
call fcn.00416cba
mov dword [ebp - 0x2fec], eax
lea eax, [ebp - 0x2fdc]
mov byte [ebp - 4], 0xf
mov ebx, dword [0x485414]
push 0x2349
push eax
call fcn.00416cba
mov ecx, dword [ebp - 0x2fec]
mov ecx, dword [ecx]
mov eax, dword [eax]
add esp, 0x10
push 0
push ecx
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x2fdc]
add ecx, 0xfffffff0
call fcn.004010ea
mov ecx, dword [ebp - 0x2ff0]
add ecx, 0xfffffff0
call fcn.004010ea
mov ebx, dword [ebp - 0x2fe4]
jmp 0x40496d
push ecx
mov ecx, esp
mov dword [ebp - 0x2ff8], esp
push str.Unknown_error
call fcn.00402fb8
push 2
call fcn.0040b128
cmp dword [ebp - 0x2fe8], 0x2a
jne 0x40496d
cmp dword [ebp - 0x2ff0], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x2ff8], esp
jne 0x404959
push str.Connection_Succeeded
jmp 0x40495e
push str.Connection_Succeeded___older_agent__
call fcn.00402fb8
push 0xc8
call fcn.0040b128
mov ecx, dword [ebp - 0x2fe0]
add ecx, 0xfffffff0
call fcn.004010ea
mov ecx, dword [ebp - 0x3000]
add ecx, 0xfffffff0
call fcn.004010ea
mov ecx, dword [ebp - 0x2ffc]
add ecx, 0xfffffff0
call fcn.004010ea
lea ecx, [ebx - 0x10]
call fcn.004010ea
lea esi, [ebp - 0x2fd8]
call fcn.004082fb
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004010ea
lea ecx, [edi - 0x10]
call fcn.004010ea
mov eax, dword [ebp - 0x2fe8]
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.004388b9
leave
ret 0x10