Function at 0x403dc0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49db7c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28c]
xor ebx, ebx
push edi
cmp esi, ebx
mov dword [esp + 0x24], ecx
je 0x404255
mov ebp, dword [esp + 0x28c]
cmp ebp, ebx
je 0x404255
push str.IPG_LinuxAgent.tar
call fcn.0040e410
mov eax, dword [0x4be930]
add esp, 4
mov dword [esp + 0x28], eax
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x288], ebx
call fcn.00484d61
push 0x4bd364
lea ecx, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x290], 1
call fcn.00484f92
push str.tar.exe
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x290], 2
call fcn.00484f92
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x288], 3
call fcn.0048511a
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 2
call fcn.00484ced
lea ecx, [esp + 0x30]
mov byte [esp + 0x284], 1
call fcn.00484ced
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], bl
call fcn.00484ced
mov eax, dword [0x4be930]
mov dword [esp + 0x14], eax
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x288], 4
call fcn.00484d61
mov edi, eax
lea ecx, [esp + 0x14]
push 0x4bd628
lea edx, [esp + 0x30]
push ecx
push edx
mov byte [esp + 0x290], 5
call fcn.00484f92
push str.IPG_LinuxAgent.tar
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x28c], 6
push eax
call fcn.00484f92
push 0x4bd61c
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x290], 7
call fcn.00484f92
push edi
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x290], 8
call fcn.00484f2c
push 0x4bd618
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x28c], 9
push eax
call fcn.00484f92
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 0xa
call fcn.00484e34
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], 9
call fcn.00484ced
lea ecx, [esp + 0x30]
mov byte [esp + 0x284], 8
call fcn.00484ced
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 7
call fcn.00484ced
lea ecx, [esp + 0x34]
mov byte [esp + 0x284], 6
call fcn.00484ced
lea ecx, [esp + 0x2c]
mov byte [esp + 0x284], 5
call fcn.00484ced
lea ecx, [esp + 0x20]
mov byte [esp + 0x284], 4
call fcn.00484ced
mov ecx, dword [0x4be930]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x18]
push edx
push esi
mov byte [esp + 0x28c], 0xb
call fcn.00403a80
mov eax, dword [esp + 0x18]
cmp dword [eax - 8], ebx
jne 0x404016
push ebx
push ebx
push str.Can_not_find_AKernel3_mac_.e32
call fcn.0048ff0e
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], 4
call fcn.00484ced
lea ecx, [esp + 0x14]
mov byte [esp + 0x284], bl
call fcn.00484ced
mov dword [esp + 0x284], 0xffffffff
lea ecx, [esp + 0x28]
jmp 0x404250
lea ecx, [esp + 0x18]
push str.IPG_config
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.00484f92
push 0x4bd580
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x28c], 0xc
push eax
call fcn.00484f92
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x288], 0xd
call fcn.00484e34
lea ecx, [esp + 0x24]
mov byte [esp + 0x284], 0xc
call fcn.00484ced
lea ecx, [esp + 0x20]
mov byte [esp + 0x284], 0xb
call fcn.00484ced
lea ecx, [esp + 0x14]
push 0x4bd580
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.00484f92
lea ecx, [esp + 0x18]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
mov byte [esp + 0x290], 0xe
call fcn.00484f2c
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 0xf
call fcn.00484e34
lea ecx, [esp + 0x24]
mov byte [esp + 0x284], 0xe
call fcn.00484ced
lea ecx, [esp + 0x20]
mov byte [esp + 0x284], 0xb
call fcn.00484ced
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x38]
lea edx, [esp + 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
push edx
mov dword [esp + 0x3c], 0x3c
mov dword [esp + 0x40], 0x40
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [esp + 0x70]
or edi, 0xffffffff
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], 4
call fcn.00484ced
lea ecx, [esp + 0x14]
mov byte [esp + 0x284], bl
call fcn.00484ced
lea ecx, [esp + 0x28]
mov dword [esp + 0x284], edi
call fcn.00484ced
push ebp
call fcn.0040e410
push ebp
call fcn.0040edb0
mov ecx, dword [0x4be930]
add esp, 8
mov dword [esp + 0x10], ecx
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x288], 0x10
call fcn.00484d61
push 0x4bd364
lea edx, [esp + 0x38]
push eax
push edx
mov byte [esp + 0x290], 0x11
call fcn.00484f92
push 0x4bd5b8
push eax
lea eax, [esp + 0x34]
mov byte [esp + 0x28c], 0x12
push eax
call fcn.00484f92
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], 0x13
call fcn.0048511a
lea ecx, [esp + 0x2c]
mov byte [esp + 0x284], 0x12
call fcn.00484ced
lea ecx, [esp + 0x34]
mov byte [esp + 0x284], 0x11
call fcn.00484ced
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], 0x10
call fcn.00484ced
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push ecx
push 0x1002
push ebp
call fcn.00403bf0
add esp, 0x14
cmp eax, ebx
je 0x404245
lea edx, [esp + 0x74]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 2
push ebx
push str.IPG_LinuxAgent.tar
push 2
push ebp
call fcn.00403bf0
add esp, 0x14
cmp eax, ebx
jne 0x404272
mov dword [esp + 0x284], edi
lea ecx, [esp + 0x10]
call fcn.00484ced
xor eax, eax
mov ecx, dword [esp + 0x27c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x278
ret 8
push str.IPG_LinuxAgent.tar
call fcn.0040e410
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x284], edi
call fcn.00484ced
mov eax, 1
jmp 0x404257