Function at 0x402bce
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50b280
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5e4ce0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x124
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
mov edi, str.CFreezeWrapStub::ExitStub
push edi
call fcn.004014b0
and dword [esp + 0x38], 0
or dword [esp + 0x38], 0xffffffff
call fcn.0040665a
or dword [esp + 0xc], 0xffffffff
lea esi, [ebx + 0x70]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
test eax, eax
je 0x402d8d
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
je 0x402d15
lea ecx, [esp + 0x10]
call fcn.004037c8
mov dword [esp + 0x30], 1
push dword [esp + 0xc]
lea eax, [esp + 0x14]
push dword [esp + 0x10]
push str.Process_exit_code___u__0x_08X_
push eax
call fcn.004037b5
add esp, 0xc
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.004037f2
mov byte [esp + 0x34], 2
push 2
mov byte [esp + 0x38], 1
call fcn.004066ca
cmp dword [esp + 0xc], 0
je 0x402d05
push 0x131
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edi
call fcn.004014b0
mov byte [esp + 0x38], 3
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.abnormal
call fcn.004014b0
mov byte [esp + 0x3c], 4
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.Process_returned_non_zero_exit_code_
call fcn.004014b0
mov byte [esp + 0x40], 5
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.procexit
call fcn.004014b0
mov byte [esp + 0x44], 6
push dword [esp + 0x20]
mov byte [esp + 0x48], 1
mov ecx, ebx
call fcn.00403389
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004010f8
jmp 0x402d84
push 0x136
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edi
call fcn.004014b0
mov dword [esp + 0x38], 7
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.abnormal
call fcn.004014b0
mov byte [esp + 0x3c], 8
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.GetExitCode_failed_
call fcn.004014b0
mov byte [esp + 0x40], 9
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.getexitcode
call fcn.004014b0
mov byte [esp + 0x44], 0xa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
or dword [esp + 0x48], 0xffffffff
mov ecx, ebx
call fcn.00403389
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
jmp 0x402db2
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Process_never_ran.
call fcn.004014b0
mov dword [esp + 0x34], 0xb
push 2
or dword [esp + 0x38], 0xffffffff
call fcn.004066ca
cmp dword [esp + 0xc], 0
je 0x402dc0
mov ecx, ebx
call fcn.00402f46
mov eax, dword [ebx + 4]
lea ecx, [eax + 0x244]
mov eax, dword [ecx]
push 0x10
call dword [eax + 4]
test eax, eax
je 0x402eed
push ecx
mov edi, esp
mov dword [esp + 0x24], esp
push ecx
lea eax, [ebx + 0x7c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.004037f2
mov dword [esp + 0x38], 0xc
or dword [esp + 0x38], 0xffffffff
call fcn.00407611
mov dword [esp + 0x38], 0xd
lea ecx, [ebx + 0x10]
mov eax, dword [ecx]
mov edx, esp
mov dword [esp + 0x24], esp
push edx
call dword [eax + 0x18]
mov byte [esp + 0x38], 0xe
or dword [esp + 0x38], 0xffffffff
lea esi, [esp + 0x18]
call fcn.00407701
mov dword [esp + 0x38], 0xf
add esp, 4
mov ecx, esp
mov dword [esp + 0x24], esp
mov edi, str..log
push edi
call fcn.004014b0
mov byte [esp + 0x34], 0x10
push ecx
mov eax, esi
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.004037f2
mov byte [esp + 0x38], 0x11
mov byte [esp + 0x38], 0xf
lea esi, [esp + 0x20]
call fcn.0040767f
pop ecx
pop ecx
mov byte [esp + 0x30], 0x12
push eax
lea ecx, [esp + 0x14]
call fcn.004038a3
mov byte [esp + 0x30], 0xf
mov ecx, esi
call fcn.004010f8
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edi
call fcn.004014b0
mov byte [esp + 0x34], 0x13
push ecx
mov esi, esp
mov dword [esp + 0x24], esp
call fcn.0040776f
mov byte [esp + 0x38], 0x14
mov byte [esp + 0x38], 0xf
lea esi, [esp + 0x1c]
call fcn.0040767f
pop ecx
pop ecx
mov byte [esp + 0x30], 0x15
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov byte [esp + 0x30], 0xf
mov ecx, esi
call fcn.004010f8
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004010f8
mov eax, dword [ebx + 4]
lea ecx, [eax + 0x244]
mov eax, dword [ecx]
push 2
call dword [eax + 4]
test eax, eax
jne 0x402f28
xor ecx, ecx
call fcn.004069cb
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push eax
call fcn.004016bb
mov dword [esp + 0x34], 0x16
or dword [esp + 0x34], 0xffffffff
call fcn.00407383
pop ecx
lea ecx, [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret