Function at 0x446b30
Capabilities:
Access peb ldr_data
Check for software breakpoints
Create process on windows
Create process suspended
Delete file
Get common file path
Get process heap flags
Get process heap force flags
Self delete

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3f4
mov esi, dword [0x717c50]
test esi, esi
je 0x447210
mov ebx, dword fs:[0x18]
mov edx, dword [ebx + 0x20]
mov edi, eax
mov dword [esp], edx
mov dword [ebp - 0x3d8], edx
call dword [sym.imp.kernel32.dll_DebugActiveProcess]
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x59334b
mov dword [eax + 4], 0x415
xor eax, eax
test esi, esi
sete al
mov dword [esp + 4], str.DebugActiveProcess___succeeded_on_own_process._n
mov dword [esp], eax
call fcn.00444b30
lea eax, [ebp - 0x214]
mov byte [ebp - 0x318], 0
mov dword [esp + 4], eax
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
lea eax, [ebp - 0x318]
sub esp, 8
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x214]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x593ac4
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov eax, dword [edi]
mov ecx, dword [sym.imp.msvcrt.dll_strlen]
sub esp, 0x10
mov dword [esp], eax
mov dword [ebp - 0x3d4], ecx
call ecx
mov esi, eax
lea eax, [ebp - 0x318]
mov dword [esp], eax
mov ecx, dword [ebp - 0x3d4]
call ecx
mov dword [esp + 4], 0
lea eax, [esi + eax + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
lea eax, [ebp - 0x318]
mov dword [esp + 0x14], eax
mov edx, dword [ebp - 0x3d8]
mov dword [esp + 0xc], str._debugger_child
mov dword [esp + 0x10], edx
mov eax, dword [edi]
lea edi, [ebp - 0x3b8]
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_s_08lx___s_
call fcn.00443b30
xor eax, eax
mov ecx, 0x10
lea edx, [ebp - 0x3bc]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3cc]
mov dword [ebp - 0x3bc], 0x44
mov dword [esp + 0x20], edx
mov dword [esp + 4], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateProcessA]
sub esp, 0x28
mov edi, eax
call fcn.0057d110
mov dword [eax], 0x59334b
mov dword [eax + 4], 0x41e
mov eax, dword [ebx + 0x34]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.CreateProcess_failed__last_error__lx._n
call fcn.00444b30
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
lea eax, [ebp - 0x3d0]
sub esp, 0xc
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3cc]
mov dword [esp], eax
call dword [0x717c50]
sub esp, 8
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x59334b
mov dword [eax + 4], 0x423
mov eax, dword [ebx + 0x34]
mov dword [esp], esi
lea esi, [ebp - 0x378]
mov dword [esp + 8], eax
mov dword [esp + 4], str.CheckRemoteDebuggerPresent_failed__last_error__lx._n
call fcn.00444b30
call fcn.0057d110
mov dword [eax], 0x59334b
mov dword [eax + 4], 0x424
mov eax, dword [ebp - 0x3d0]
mov dword [esp + 4], 0x593764
mov dword [esp + 8], eax
mov dword [esp], eax
call fcn.00444b30
mov edi, dword [sym.imp.kernel32.dll_WaitForDebugEvent]
jmp 0x446e27
mov eax, dword [ebp - 0x36c]
cmp eax, dword [0x717c1c]
je 0x4471d0
cmp eax, dword [0x717c18]
je 0x4471c0
cmp eax, dword [0x717c14]
je 0x4471b0
mov dword [esp + 8], 0x10002
mov eax, dword [ebp - 0x370]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x374]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ContinueDebugEvent]
sub esp, 0xc
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x59334b
mov dword [eax + 4], 0x43a
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.ContinueDebugEvent_failed__last_error__lx._n
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.00444b30
test ebx, ebx
je 0x446fc0
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call edi
sub esp, 8
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x59334b
mov dword [eax + 4], 0x42b
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.WaitForDebugEvent_failed__last_error__lx._n
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.00444b30
test ebx, ebx
je 0x446fc0
mov eax, dword [ebp - 0x378]
cmp eax, 5
je 0x446fc0
mov edx, dword [ebp - 0x3cc]
cmp eax, 6
je 0x446f30
cmp eax, 7
je 0x446da0
cmp eax, 1
jne 0x446dca
cmp dword [ebp - 0x36c], 0x80000003
jne 0x446dca
lea eax, [ebp - 0x214]
mov byte [ebp - 0x214], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x360]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3cc]
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_NtReadVirtualMemory]
sub esp, 0x14
call fcn.0057d110
mov dword [eax], 0x59334b
mov dword [eax + 4], 0x436
movzx edx, byte [ebp - 0x214]
mov dword [esp + 4], str.got__02x_n
cmp dl, 0xcc
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00444b30
jmp 0x446dca
lea eax, [ebp - 0x214]
mov dword [esp + 0xc], 0x104
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x368]
mov dword [esp], edx
mov dword [esp + 4], eax
call dword [0x717c2c]
sub esp, 0x10
test eax, eax
jne 0x446f65
xor ebx, ebx
mov word [ebp - 0x214], bx
lea eax, [ebp - 0x214]
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
mov dword [esp + 4], 0x5937fc
test eax, eax
lea ebx, [eax + 2]
lea eax, [ebp - 0x214]
cmove ebx, eax
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x447180
mov eax, dword [ebp - 0x368]
mov dword [0x717c1c], eax
mov eax, dword [ebp - 0x378]
jmp 0x446e97
call fcn.0057d110
mov edx, dword [0x717c1c]
mov dword [eax], 0x59334b
mov dword [eax + 4], 0x43f
mov eax, 1
cmp edx, 1
je 0x446ff6
mov ecx, dword [0x8f0770]
test ecx, ecx
sete cl
xor eax, eax
test edx, edx
setne al
and eax, ecx
mov dword [esp], eax
mov dword [esp + 4], str.ole32.dll_was_not_reported_n
call fcn.00444b30
call fcn.0057d110
mov dword [eax], 0x59334b
mov dword [eax + 4], 0x440
xor eax, eax
mov dword [esp + 4], str.oleaut32.dll_was_not_reported_n
cmp dword [0x717c18], 1
sete al
mov dword [esp], eax
call fcn.00444b30
call fcn.0057d110
mov dword [eax], 0x59334b
mov dword [eax + 4], 0x444
xor eax, eax
mov dword [esp + 4], str.oleacc.dll_was_reported_n
mov edx, dword [0x717c14]
test edx, edx
sete al
mov dword [esp], eax
mov ebx, dword fs:[0x18]
call fcn.00444b30
mov eax, dword [ebp - 0x3c8]
mov edi, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], eax
call edi
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x59334b
mov dword [eax + 4], 0x448
mov eax, dword [ebx + 0x34]
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], str.CloseHandle_failed__last_error__lx._n
call fcn.00444b30
mov eax, dword [ebp - 0x3cc]
mov dword [esp], eax
call edi
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x59334b
mov dword [eax + 4], 0x44a
mov eax, dword [ebx + 0x34]
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], str.CloseHandle_failed__last_error__lx._n
call fcn.00444b30
lea ecx, [ebp - 0x214]
lea edx, [ebp - 0x318]
mov dword [esp], 4
mov eax, 0x44c
call fcn.00445c50
call fcn.0057d110
mov dword [eax], 0x59334b
mov dword [eax + 4], 0x44d
mov eax, dword [ebp - 0x214]
mov dword [esp + 4], str.Got__ld_failures_from_child_process._n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00444b30
lea eax, [ebp - 0x318]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
mov esi, eax
call fcn.0057d110
mov dword [eax], 0x59334b
mov dword [eax + 4], 0x450
mov eax, dword [ebx + 0x34]
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], str.DeleteFileA_failed__last_error__lx._n
call fcn.00444b30
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], str.oleaut32.dll
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x4471e0
mov eax, dword [ebp - 0x368]
mov dword [0x717c18], eax
mov eax, dword [ebp - 0x378]
jmp 0x446e97
mov dword [0x717c14], 1
jmp 0x446dca
mov dword [0x717c18], 1
jmp 0x446dbe
mov dword [0x717c1c], 1
jmp 0x446db2
mov dword [esp + 4], str.oleacc.dll
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x447200
mov eax, dword [ebp - 0x368]
mov dword [0x717c14], eax
mov eax, dword [ebp - 0x378]
jmp 0x446e97
call fcn.0057d110
mov dword [eax], 0x59334b
mov dword [eax + 4], 0x404
mov dword [esp], str.CheckRemoteDebuggerPresent_not_available__skipping_test._n
call fcn.00444ad0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret