Function at 0x403c40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a11b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x43c
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x24]
call fcn.00489022
xor ebp, ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x454], ebp
call fcn.00488adc
mov eax, dword [0x4c1960]
mov dword [esp + 0x20], eax
push ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x458], 2
mov dword [esp + 0x14], vtable.CFileException.0
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], 0xffffffff
call fcn.004885ca
mov esi, dword [esp + 0x460]
mov edi, dword [esp + 0x45c]
lea ecx, [esp + 0x10]
or esi, 0x40
push ecx
push esi
push edi
lea ecx, [esp + 0x30]
mov byte [esp + 0x460], 3
call fcn.004891d4
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
jne 0x403cfe
inc ebp
cmp ebp, 3
je 0x403def
push 5
call ebx
lea edx, [esp + 0x10]
lea ecx, [esp + 0x24]
push edx
push esi
push edi
call fcn.004891d4
test eax, eax
je 0x403cdc
lea ecx, [esp + 0x38]
call fcn.00489022
mov edx, dword [esp + 0x468]
mov eax, dword [esp + 0x464]
lea ecx, [esp + 0x10]
or edx, 0x40
push ecx
push edx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x460], 5
call fcn.004891d4
test eax, eax
jne 0x403d38
push 5
call ebx
cmp dword [esp + 0x46c], 2
jne 0x403d51
mov edx, dword [esp + 0x24]
push 2
push 0
lea ecx, [esp + 0x2c]
call dword [edx + 0x28]
lea eax, [esp + 0x48]
push 0x400
push eax
lea ecx, [esp + 0x40]
call fcn.004892f1
mov esi, eax
test esi, esi
jle 0x403d81
lea ecx, [esp + 0x48]
push esi
push ecx
lea ecx, [esp + 0x2c]
call fcn.0048932b
cmp esi, 0x400
jge 0x403d51
lea ecx, [esp + 0x38]
call fcn.004893ef
lea ecx, [esp + 0x24]
call fcn.004893ef
lea ecx, [esp + 0x38]
mov byte [esp + 0x454], 3
call fcn.00489117
mov dword [esp + 0x10], vtable.CFileException.0
lea ecx, [esp + 0x20]
mov byte [esp + 0x454], 7
call fcn.00488433
lea ecx, [esp + 0x24]
mov dword [esp + 0x454], 0xffffffff
call fcn.00489117
mov ecx, dword [esp + 0x44c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x448
ret
push 0
push 0
push edi
call fcn.00493634
lea eax, [esp + 0x34]
push 0x4b2208
push eax
mov dword [esp + 0x3c], 0xef18
call fcn.0041ec39
push 0xffffffffffffffff
push 0x4a129c
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 0x4042a5
mov ebp, dword [esp + 0x28c]
cmp ebp, ebx
je 0x4042a5
push str.IPG_LinuxAgent.tar
call fcn.0040e790
mov eax, dword [0x4c1960]
add esp, 4
mov dword [esp + 0x28], eax
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x288], ebx
call fcn.004884a7
push 0x4c0364
lea ecx, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x290], 1
call fcn.004886d8
push str.tar.exe
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x290], 2
call fcn.004886d8
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x288], 3
call fcn.00488860
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 2
call fcn.00488433
lea ecx, [esp + 0x30]
mov byte [esp + 0x284], 1
call fcn.00488433
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], bl
call fcn.00488433
mov eax, dword [0x4c1960]
mov dword [esp + 0x14], eax
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x288], 4
call fcn.004884a7
mov edi, eax
lea ecx, [esp + 0x14]
push 0x4c0634
lea edx, [esp + 0x30]
push ecx
push edx
mov byte [esp + 0x290], 5
call fcn.004886d8
push str.IPG_LinuxAgent.tar
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x28c], 6
push eax
call fcn.004886d8
push 0x4c0628
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x290], 7
call fcn.004886d8
push edi
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x290], 8
call fcn.00488672
push 0x4c0624
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x28c], 9
push eax
call fcn.004886d8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 0xa
call fcn.0048857a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], 9
call fcn.00488433
lea ecx, [esp + 0x30]
mov byte [esp + 0x284], 8
call fcn.00488433
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 7
call fcn.00488433
lea ecx, [esp + 0x34]
mov byte [esp + 0x284], 6
call fcn.00488433
lea ecx, [esp + 0x2c]
mov byte [esp + 0x284], 5
call fcn.00488433
lea ecx, [esp + 0x20]
mov byte [esp + 0x284], 4
call fcn.00488433
mov ecx, dword [0x4c1960]
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.00403ad0
mov eax, dword [esp + 0x18]
cmp dword [eax - 8], ebx
jne 0x404066
push ebx
push ebx
push str.Can_not_find_AKernel3_mac_.e32
call fcn.00493634
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], 4
call fcn.00488433
lea ecx, [esp + 0x14]
mov byte [esp + 0x284], bl
call fcn.00488433
mov dword [esp + 0x284], 0xffffffff
lea ecx, [esp + 0x28]
jmp 0x4042a0
lea ecx, [esp + 0x18]
push str.IPG_config
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.004886d8
push 0x4c058c
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x28c], 0xc
push eax
call fcn.004886d8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x288], 0xd
call fcn.0048857a
lea ecx, [esp + 0x24]
mov byte [esp + 0x284], 0xc
call fcn.00488433
lea ecx, [esp + 0x20]
mov byte [esp + 0x284], 0xb
call fcn.00488433
lea ecx, [esp + 0x14]
push 0x4c058c
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.004886d8
lea ecx, [esp + 0x18]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
mov byte [esp + 0x290], 0xe
call fcn.00488672
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 0xf
call fcn.0048857a
lea ecx, [esp + 0x24]
mov byte [esp + 0x284], 0xe
call fcn.00488433
lea ecx, [esp + 0x20]
mov byte [esp + 0x284], 0xb
call fcn.00488433
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.00488433
lea ecx, [esp + 0x14]
mov byte [esp + 0x284], bl
call fcn.00488433
lea ecx, [esp + 0x28]
mov dword [esp + 0x284], edi
call fcn.00488433
push ebp
call fcn.0040e790
push ebp
call fcn.0040f130
mov ecx, dword [0x4c1960]
add esp, 8
mov dword [esp + 0x10], ecx
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x288], 0x10
call fcn.004884a7
push 0x4c0364
lea edx, [esp + 0x38]
push eax
push edx
mov byte [esp + 0x290], 0x11
call fcn.004886d8
push 0x4c05c4
push eax
lea eax, [esp + 0x34]
mov byte [esp + 0x28c], 0x12
push eax
call fcn.004886d8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], 0x13
call fcn.00488860
lea ecx, [esp + 0x2c]
mov byte [esp + 0x284], 0x12
call fcn.00488433
lea ecx, [esp + 0x34]
mov byte [esp + 0x284], 0x11
call fcn.00488433
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], 0x10
call fcn.00488433
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push ecx
push 0x1002
push ebp
call fcn.00403c40
add esp, 0x14
cmp eax, ebx
je 0x404295
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.00403c40
add esp, 0x14
cmp eax, ebx
jne 0x4042c2
mov dword [esp + 0x284], edi
lea ecx, [esp + 0x10]
call fcn.00488433
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.0040e790
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x284], edi
call fcn.00488433
mov eax, 1
jmp 0x4042a7