Function at 0x401090
Capabilities:
Check mutex on windows
Get common file path
Get proxy
Persist via run registry key
Query environment variable
Query or enumerate registry value

Disassembly:
sub esp, 0x784
push ebx
push ebp
push esi
push edi
mov ecx, 5
mov esi, str.WinMain__
lea edi, [esp + 0x20]
xor ebp, ebp
rep movsd dword es:[edi], dword [esi]
push ebp
lea ecx, [esp + 0x468]
call fcn.00404df0
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x58c]
push 0x104
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x58]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x260]
rep stosd dword es:[edi], eax
push 0x413ca4
mov dword [esp + 0x48], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, ebp
je 0x401f32
cmp eax, 0x104
jg 0x401f32
push 0x104
push 0x413eac
push str.windir
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp eax, ebp
je 0x401ede
cmp eax, 0x104
jg 0x401ede
mov eax, dword [str.AgentAdmin.exe]
lea ecx, [esp + 0x58c]
push eax
push 0x413ca4
push 0x40efe8
push 0x103
push ecx
call fcn.004051ce
mov eax, dword [str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders]
add esp, 0x14
lea edx, [esp + 0x18]
push edx
push 0xf003f
push ebp
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, ebp
je 0x4011b2
push esi
lea ecx, [esp + 0x260]
push 0x103
push ecx
call fcn.00403ba0
add esp, 0xc
push eax
push esi
push 0x106
jmp 0x401f59
lea eax, [esp + 0x14]
lea ecx, [esp + 0x25c]
push eax
mov eax, dword [str.Personal]
lea edx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ebp
push eax
push ecx
mov dword [esp + 0x54], 1
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, ebp
je 0x40120e
push esi
lea edx, [esp + 0x260]
push 0x103
push edx
call fcn.00403ba0
add esp, 0xc
push eax
push esi
push 0x111
jmp 0x401f05
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x25c]
lea eax, [esp + 0x25c]
push edx
push str._sLogs
push 0x103
push eax
mov dword [esp + 0x28], ebp
call fcn.004051ce
lea ecx, [esp + 0x26c]
push ecx
call fcn.00403c50
mov edx, dword [str.AgentAdmin.exe]
add esp, 0x14
lea eax, [esp + 0x54]
push edx
push 0x40efc8
push 0x103
push eax
call fcn.004051ce
mov eax, dword [0x4138a0]
add esp, 0x10
lea ecx, [esp + 0x54]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [0x40c2dc]
push 0x11b
push edx
push eax
push ecx
push 0x40ef78
push 6
push 0x412858
call fcn.00404600
mov edx, dword [esp + 0x4a4]
add esp, 0x20
neg edx
sbb edx, edx
lea eax, [esp + 0x464]
test eax, edx
jne 0x40130a
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea ecx, [esp + 0x260]
push 0x103
push ecx
call fcn.00403ba0
add esp, 0xc
push eax
call esi
push eax
push 0x40ef44
lea edx, [esp + 0x60]
push 0x103
push edx
call fcn.004051ce
mov edx, dword [0x4138a0]
add esp, 0x14
lea eax, [esp + 0x54]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [0x40c2c8]
push 0x122
push ecx
push edx
push eax
jmp 0x401b00
mov ecx, dword [str.AgentAdminMutex]
mov edx, dword [str.Local]
push ecx
push edx
push 0x40efe8
lea eax, [esp + 0x268]
push 0x103
push eax
call fcn.004051ce
mov edx, dword [esp + 0x498]
add esp, 0x14
neg edx
lea ecx, [esp + 0x25c]
lea eax, [esp + 0x464]
sbb edx, edx
push ecx
and edx, eax
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, ebp
mov dword [esp + 0x40], eax
jne 0x4013b8
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea ecx, [esp + 0x260]
push 0x103
push ecx
call fcn.00403ba0
add esp, 0xc
push eax
call esi
push eax
push 0x40ef14
lea edx, [esp + 0x60]
push 0x103
push edx
call fcn.004051ce
mov edx, dword [0x4138a0]
add esp, 0x14
lea eax, [esp + 0x54]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [0x40c2c8]
push 0x12d
push ecx
push edx
push eax
jmp 0x401b00
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x401418
push 0x40eee8
lea ecx, [esp + 0x58]
push 0x103
push ecx
call fcn.004051ce
mov ecx, dword [0x4138a0]
add esp, 0xc
lea edx, [esp + 0x54]
lea eax, [esp + 0x20]
push edx
mov edx, dword [0x40c2dc]
push 0x135
push eax
push ecx
push edx
push 0x40ef78
push 6
push 0x412858
call fcn.00404600
add esp, 0x20
jmp 0x401f8c
cmp eax, 0xffffffff
jne 0x401465
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea eax, [esp + 0x260]
push 0x103
push eax
call fcn.00403ba0
add esp, 0xc
push eax
call esi
push eax
push 0x40eeb4
lea ecx, [esp + 0x60]
push 0x103
push ecx
call fcn.004051ce
add esp, 0x14
lea edx, [esp + 0x54]
push edx
push 0x13c
jmp 0x401aed
mov eax, dword [str.AgentAdminExit]
mov ecx, dword [str.Global]
push eax
push ecx
push 0x40efe8
lea edx, [esp + 0x268]
push 0x103
push edx
call fcn.004051ce
mov ecx, dword [esp + 0x498]
add esp, 0x14
neg ecx
lea eax, [esp + 0x25c]
lea edx, [esp + 0x464]
sbb ecx, ecx
push eax
push ebp
and ecx, edx
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, ebp
mov dword [esp + 0x38], eax
jne 0x401502
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea eax, [esp + 0x260]
push 0x103
push eax
call fcn.00403ba0
add esp, 0xc
push eax
call esi
push eax
push 0x40ee84
lea ecx, [esp + 0x60]
push 0x103
push ecx
call fcn.004051ce
add esp, 0x14
lea edx, [esp + 0x54]
push edx
push 0x147
jmp 0x401aed
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [esp + 0x1c]
push eax
push 0x20008
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x40157e
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea ecx, [esp + 0x260]
push 0x103
push ecx
call fcn.00403ba0
add esp, 0xc
push eax
call esi
push eax
push 0x40ee50
lea edx, [esp + 0x60]
push 0x103
push edx
call fcn.004051ce
mov edx, dword [0x4138a0]
add esp, 0x14
lea eax, [esp + 0x54]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [0x40c2c8]
push 0x151
push ecx
push edx
push eax
jmp 0x401b00
mov edx, dword [esp + 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea ecx, [esp + 0x14]
push ecx
push ebp
push ebp
push 1
push edx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4015e7
call ebx
cmp eax, 0x7a
je 0x4015e7
call ebx
push eax
lea eax, [esp + 0x260]
push 0x103
push eax
call fcn.00403ba0
add esp, 0xc
push eax
call ebx
push eax
push 0x40ee18
lea ecx, [esp + 0x60]
push 0x103
push ecx
call fcn.004051ce
add esp, 0x14
lea edx, [esp + 0x54]
push edx
push 0x159
jmp 0x401aed
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [eax + eax]
push ecx
push ebp
call esi
cmp eax, ebp
mov dword [esp + 0x10], eax
jne 0x401638
push 0x40ee08
lea edx, [esp + 0x58]
push 0x103
push edx
call fcn.004051ce
mov edx, dword [0x4138a0]
add esp, 0xc
lea eax, [esp + 0x54]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [0x40c2c8]
push 0x15f
push ecx
push edx
push eax
jmp 0x401b00
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
mov eax, dword [esp + 0x28]
push 1
push eax
call edi
test eax, eax
jne 0x4016a4
call ebx
push eax
lea ecx, [esp + 0x260]
push 0x103
push ecx
call fcn.00403ba0
add esp, 0xc
push eax
call ebx
push eax
push 0x40edd4
lea edx, [esp + 0x60]
push 0x103
push edx
call fcn.004051ce
mov edx, dword [0x4138a0]
add esp, 0x14
lea eax, [esp + 0x54]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [0x40c2c8]
push 0x167
push ecx
push edx
push eax
jmp 0x401b00
lea ecx, [esp + 0x50]
lea edx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x14]
mov ebp, 0x100
push edx
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x50], ebp
mov edx, dword [ecx]
push 0x413aa4
push eax
push 0x412658
xor edi, edi
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
test eax, eax
jne 0x401720
call ebx
push eax
lea eax, [esp + 0x260]
push 0x103
push eax
call fcn.00403ba0
add esp, 0xc
push eax
call ebx
push eax
push 0x40eda0
lea ecx, [esp + 0x60]
push 0x103
push ecx
call fcn.004051ce
add esp, 0x14
lea edx, [esp + 0x54]
push edx
push 0x170
jmp 0x401aed
push 0x412658
push 0x413aa4
push str.S_MR
lea eax, [esp + 0x60]
push 0x103
push eax
call fcn.004051ce
mov eax, dword [0x4138a0]
add esp, 0x14
lea ecx, [esp + 0x54]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [0x40c2dc]
push 0x174
push edx
push eax
push ecx
push 0x40ef78
push 6
push 0x412858
call fcn.00404600
mov edx, dword [esp + 0x3c]
add esp, 0x20
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x44
push edi
mov dword [esp + 0x24], edi
call esi
mov dword [0x414138], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edx
push eax
push 0x44
call dword [sym.imp.ADVAPI32.dll_CopySid]
test eax, eax
jne 0x4017e0
call ebx
push eax
lea eax, [esp + 0x260]
push 0x103
push eax
call fcn.00403ba0
add esp, 0xc
push eax
call ebx
push eax
push str._rY6RS_MRS
lea ecx, [esp + 0x60]
push 0x103
push ecx
call fcn.004051ce
add esp, 0x14
lea edx, [esp + 0x54]
push edx
push 0x17e
jmp 0x401aed
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
push eax
call esi
mov edx, dword [0x414138]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
test eax, eax
je 0x40186b
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x54]
push eax
push 0x40ed38
push 0x103
push ecx
call fcn.004051ce
mov ecx, dword [0x4138a0]
add esp, 0x10
lea edx, [esp + 0x54]
lea eax, [esp + 0x20]
push edx
mov edx, dword [0x40c2dc]
push 0x185
push eax
push ecx
push edx
push 0x40ef78
push 6
push 0x412858
call fcn.00404600
mov eax, dword [esp + 0x30]
push eax
call fcn.004051b1
mov ecx, dword [esp + 0x34]
inc eax
push eax
push ecx
push 0x4138a4
call fcn.00405174
add esp, 0x30
mov edx, dword [esp + 0x10]
push edx
call esi
mov ecx, dword [str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings]
lea eax, [esp + 0x18]
push eax
push 0xf003f
push edi
push ecx
push 0x80000001
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
je 0x4018dd
push esi
lea edx, [esp + 0x260]
push 0x103
push edx
call fcn.00403ba0
add esp, 0xc
lea ecx, [esp + 0x54]
push eax
mov eax, dword [str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings]
push esi
push eax
push 0x40ece4
push 0x103
push ecx
call fcn.004051ce
add esp, 0x18
lea edx, [esp + 0x54]
push edx
push 0x191
jmp 0x401aed
lea eax, [esp + 0x14]
lea ecx, [esp + 0x4c]
push eax
mov eax, dword [str.ProxyEnable]
lea edx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push ecx
mov dword [esp + 0x2c], 4
call edi
mov esi, eax
test esi, esi
je 0x40197d
push esi
lea edx, [esp + 0x260]
push 0x103
push edx
call fcn.00403ba0
add esp, 0xc
lea ecx, [esp + 0x54]
push eax
mov eax, dword [str.ProxyEnable]
push esi
push eax
push 0x40ecb4
push 0x103
push ecx
call fcn.004051ce
mov ecx, dword [0x4138a0]
add esp, 0x18
lea edx, [esp + 0x54]
lea eax, [esp + 0x20]
push edx
mov edx, dword [0x40c2d0]
push 0x19a
push eax
push ecx
push edx
push 0x40ef78
push 3
push 0x412858
call fcn.00404600
mov eax, dword [str.disabled]
push ebp
push eax
jmp 0x401a33
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x40199f
mov ecx, dword [str.disabled]
push ebp
push ecx
push 0x412458
call fcn.00405174
add esp, 0xc
jmp 0x401a40
mov ecx, dword [str.ProxyServer]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x40]
push 0x412458
push eax
push 0
push ecx
push edx
mov dword [esp + 0x2c], ebp
call edi
mov esi, eax
test esi, esi
je 0x401a40
push esi
lea eax, [esp + 0x260]
push 0x103
push eax
call fcn.00403ba0
mov ecx, dword [str.ProxyServer]
add esp, 0xc
lea edx, [esp + 0x54]
push eax
push esi
push ecx
push 0x40ecb4
push 0x103
push edx
call fcn.004051ce
mov edx, dword [0x4138a0]
add esp, 0x18
lea eax, [esp + 0x54]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [0x40c2c8]
push 0x1ac
push ecx
push edx
push eax
push 0x40ef78
push 1
push 0x412858
call fcn.00404600
mov ecx, dword [str.disabled]
push ebp
push ecx
push 0x412458
call fcn.00405174
add esp, 0x2c
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [str.AgentAdminUserInformation]
mov ecx, dword [str.Global]
push eax
push ecx
push 0x40efe8
lea edx, [esp + 0x268]
push 0x103
push edx
mov dword [esp + 0x2c], 0
call fcn.004051ce
mov ecx, dword [esp + 0x498]
add esp, 0x14
lea eax, [esp + 0x25c]
lea edx, [esp + 0x464]
neg ecx
push eax
push 0x400
sbb ecx, ecx
push 0
and ecx, edx
push 4
push ecx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
mov dword [esp + 0x44], eax
jne 0x401b19
call ebx
push eax
lea eax, [esp + 0x260]
push 0x103
push eax
call fcn.00403ba0
add esp, 0xc
push eax
call ebx
push eax
push 0x40ec7c
lea ecx, [esp + 0x60]
push 0x103
push ecx
call fcn.004051ce
add esp, 0x14
lea edx, [esp + 0x54]
push edx
push 0x1be
mov ecx, dword [0x4138a0]
mov edx, dword [0x40c2c8]
lea eax, [esp + 0x28]
push eax
push ecx
push edx
push 0x40ef78
push 1
push 0x412858
call fcn.00404600
add esp, 0x20
jmp 0x401f8c
push 0x400
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, eax
xor eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push eax
push eax
push ebp
push edx
push 0xffffffffffffffff
mov ecx, ebp
mov edi, edx
push 0x412658
push 0x200
rep stosd dword es:[edi], eax
push eax
mov dword [esp + 0x54], edx
call esi
push 0
push 0
mov edi, dword [esp + 0x3c]
push ebp
lea eax, [edi + 0x100]
push eax
push 0xffffffffffffffff
push 0x413aa4
push 0x200
push 0
call esi
push 0
push 0
lea ecx, [edi + 0x200]
push ebp
push ecx
push 0xffffffffffffffff
push 0x4138a4
push 0x200
push 0
call esi
push 0
push 0
add edi, 0x300
push ebp
push edi
push 0xffffffffffffffff
push 0x412458
push 0x200
push 0
call esi
mov edx, dword [str.AgentAdminUserLogin]
mov eax, dword [str.Global]
push edx
push eax
push 0x40efe8
lea ecx, [esp + 0x268]
push 0x103
push ecx
call fcn.004051ce
mov eax, dword [esp + 0x498]
add esp, 0x14
neg eax
lea edx, [esp + 0x25c]
lea ecx, [esp + 0x464]
sbb eax, eax
push edx
push 1
and eax, ecx
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
jne 0x401c66
call ebx
push eax
lea edx, [esp + 0x260]
push 0x103
push edx
call fcn.00403ba0
add esp, 0xc
push eax
call ebx
push eax
push 0x40ee84
lea eax, [esp + 0x60]
push 0x103
push eax
call fcn.004051ce
mov eax, dword [0x4138a0]
add esp, 0x14
lea ecx, [esp + 0x54]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [0x40c2c8]
push 0x1df
push edx
push eax
push ecx
push 0x40ef78
push 1
push 0x412858
call fcn.00404600
add esp, 0x20
jmp 0x401f8c
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x58c]
push edx
call fcn.00402230
add esp, 4
test eax, eax
jne 0x401cd4
push str.AgentAdmin
lea eax, [esp + 0x58]
push 0x103
push eax
call fcn.004051ce
mov eax, dword [0x4138a0]
add esp, 0xc
lea ecx, [esp + 0x54]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [0x40c2d0]
push 0x1f6
push edx
push eax
push ecx
push 0x40ef78
push 3
push 0x412858
call fcn.00404600
add esp, 0x20
jmp 0x401f8c
mov edx, dword [str.AgentAdmin.exe]
lea eax, [esp + 0x54]
push edx
push 0x40ec44
push 0x103
push eax
call fcn.004051ce
mov eax, dword [0x4138a0]
add esp, 0x10
lea ecx, [esp + 0x54]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [0x40c2dc]
push 0x1fb
push edx
push eax
push ecx
push 0x40ef78
push 6
push 0x412858
call fcn.00404600
mov edi, dword [esp + 0x58]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0x20
mov esi, 1
push 0x7d0
push edi
call ebp
test eax, eax
je 0x401e2a
cmp eax, 0x102
jne 0x401e76
test esi, esi
je 0x401e1a
mov edx, dword [str.EventLog]
push edx
call fcn.00402aa0
add esp, 4
test eax, eax
jne 0x401dbc
call ebx
mov esi, eax
push str.b__rY
lea eax, [esp + 0x58]
push 0x103
push eax
call fcn.004051ce
mov eax, dword [0x4138a0]
add esp, 0xc
lea ecx, [esp + 0x54]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [0x40c2d0]
push 0x214
push edx
push eax
push ecx
push 0x40ef78
push 3
push 0x412858
call fcn.00404600
add esp, 0x20
xor edx, edx
cmp esi, 5
setne dl
mov esi, edx
call fcn.00402390
test eax, eax
jne 0x401e1a
call ebx
mov esi, eax
push 0x40ec1c
lea eax, [esp + 0x58]
push 0x103
push eax
call fcn.004051ce
mov eax, dword [0x4138a0]
add esp, 0xc
lea ecx, [esp + 0x54]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [0x40c2d0]
push 0x21d
push edx
push eax
push ecx
push 0x40ef78
push 3
push 0x412858
call fcn.00404600
add esp, 0x20
xor edx, edx
cmp esi, 5
setne dl
mov esi, edx
push 0x7d0
push edi
call ebp
test eax, eax
jne 0x401d41
push str.MainThread
lea eax, [esp + 0x58]
push 0x103
push eax
call fcn.004051ce
mov eax, dword [0x4138a0]
add esp, 0xc
lea ecx, [esp + 0x54]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [0x40c2dc]
push 0x204
push edx
push eax
push ecx
push 0x40ef78
push 6
push 0x412858
call fcn.00404600
add esp, 0x20
jmp 0x401f8c
call ebx
push eax
lea edx, [esp + 0x260]
push 0x103
push edx
call fcn.00403ba0
add esp, 0xc
push eax
call ebx
push eax
push 0x40ebc4
lea eax, [esp + 0x60]
push 0x103
push eax
call fcn.004051ce
mov eax, dword [0x4138a0]
add esp, 0x14
lea ecx, [esp + 0x54]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [0x40c2d0]
push 0x230
push edx
push eax
push ecx
push 0x40ef78
push 3
push 0x412858
call fcn.00404600
add esp, 0x20
jmp 0x401f8c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea edx, [esp + 0x260]
push 0x103
push edx
call fcn.00403ba0
add esp, 0xc
push eax
call esi
push eax
push 0xfa
mov eax, dword [0x4138a0]
lea ecx, [esp + 0x60]
push eax
push 0x40eb8c
push 0x103
push ecx
call fcn.004051ce
mov edx, dword [0x40c2c8]
add esp, 0x1c
lea eax, [esp + 0x54]
push 0x10
push edx
push eax
jmp 0x401f85
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea ecx, [esp + 0x260]
push 0x103
push ecx
call fcn.00403ba0
add esp, 0xc
push eax
call esi
push eax
push 0xf2
mov edx, dword [0x4138a0]
lea eax, [esp + 0x60]
push edx
push 0x40eb8c
push 0x103
push eax
call fcn.004051ce
mov ecx, dword [0x40c2c8]
add esp, 0x1c
lea edx, [esp + 0x54]
push 0x10
push ecx
push edx
push ebp
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x44]
push ecx
call esi
push 0
call esi
mov edx, dword [esp + 0x38]
push edx
call esi
mov edi, dword [esp + 0x40]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [esp + 0x10]
push edx
call esi
mov eax, dword [0x414138]
push eax
call esi
mov ecx, dword [str.AgentAdmin.exe]
lea edx, [esp + 0x54]
push ecx
push 0x40eb7c
push 0x103
push edx
call fcn.004051ce
mov edx, dword [0x4138a0]
add esp, 0x10
lea eax, [esp + 0x54]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [0x40c2dc]
push 0x243
push ecx
push edx
push eax
push 0x40ef78
push 6
push 0x412858
call fcn.00404600
add esp, 0x20
lea ecx, [esp + 0x464]
call fcn.00404e30
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x784
ret 0x10