Function at 0x45d820
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a65b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5fad8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xe8], 0
push 0xf
push str.APP_NATIVE_PATH
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.00455d10
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00479b20
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
push ecx
push eax
call fcn.004821f0
mov eax, dword [ebp - 0x8c]
add esp, 0x10
cmp eax, 0x10
jb 0x45d8d5
inc eax
push 1
push eax
push dword [ebp - 0xa0]
call fcn.0045bfe0
add esp, 0xc
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x45d90b
inc eax
push 1
push eax
push dword [ebp - 0x58]
call fcn.0045bfe0
add esp, 0xc
lea eax, [ebp - 0x1d0]
push eax
call fcn.00479b40
add esp, 4
push 0xc
push str.APP_LOG_PATH
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00455d10
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00479b20
add esp, 8
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 6
cmp eax, 0x10
jb 0x45d96e
inc eax
push 1
push eax
push dword [ebp - 0x40]
call fcn.0045bfe0
add esp, 0xc
push 0x10
push str.media_handle.log
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
call fcn.00455d10
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 7
je 0x45da95
push 1
push 0x587ab4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.00455d10
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00483030
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x45da39
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x45da1e
inc eax
push 1
push eax
push dword [ebp - 0x28]
call fcn.0045bfe0
add esp, 0xc
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004561f0
mov eax, dword [ebp - 0xa4]
cmp eax, 0x10
jb 0x45da56
inc eax
push 1
push eax
push dword [ebp - 0xb8]
call fcn.0045bfe0
add esp, 0xc
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
mov byte [ebp - 4], 7
cmp eax, 0x10
jb 0x45dbe7
inc eax
push 1
push eax
push dword [ebp - 0x70]
call fcn.0045bfe0
add esp, 0xc
jmp 0x45dbe7
lea eax, [ebp - 0x100]
push eax
call fcn.00484170
add esp, 4
cmp dword [ebp - 0xf0], 0
mov byte [ebp - 4], 0xa
je 0x45dbd8
push 0x587ab4
lea ecx, [ebp - 0x188]
call fcn.00454680
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x14c], 0xf
mov dword [ebp - 0x150], 0
mov byte [ebp - 0x160], 0
call fcn.00455e10
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1d0]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x134], 0xf
mov dword [ebp - 0x138], 0
mov byte [ebp - 0x148], 0
call fcn.00455e10
push str.Logs
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xd
call fcn.00454680
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x104], 0xf
mov dword [ebp - 0x108], 0
mov byte [ebp - 0x118], 0
call fcn.00455e10
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x100]
push ecx
lea edx, [ebp - 0x160]
push edx
lea eax, [ebp - 0x1e8]
push eax
call fcn.00483260
add esp, 0x10
lea ecx, [ebp - 0x28]
push eax
call fcn.00454580
lea ecx, [ebp - 0x1e8]
call fcn.00454540
push fcn.00454540
push 4
push 0x18
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 0xb
push eax
call fcn.00535eb4
lea ecx, [ebp - 0x188]
call fcn.00454540
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 7
call fcn.00454540
cmp dword [ebp - 0x18], 0
je 0x45dcd3
lea eax, [ebp - 0x28]
push eax
call fcn.00482890
push 4
call fcn.00482880
add esp, 8
lea ecx, [ebp - 0x1a0]
push 0x587ab4
call fcn.00454680
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
call fcn.00455e10
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x1b8]
push eax
call fcn.00483260
add esp, 0x10
push fcn.00454540
push 1
push 0x18
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x13
push eax
call fcn.00535eb4
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 0x14
call fcn.00454540
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x200]
push eax
call fcn.00486460
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x45dcab
mov eax, dword [eax]
push str.MEDIAHANDLE
push eax
call fcn.0045d5d0
add esp, 8
lea ecx, [ebp - 0x200]
call fcn.0045d4a0
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 7
call fcn.00454540
lea eax, [ebp - 0x210]
push eax
call fcn.0046d9d0
mov esi, dword [ebp - 0x20c]
add esp, 4
or edi, 0xffffffff
test esi, esi
je 0x45dd0e
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x45dd0e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x45dd0e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x218]
push eax
call fcn.0045b710
mov esi, dword [ebp - 0x214]
add esp, 4
test esi, esi
je 0x45dd45
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x45dd45
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x45dd45
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push eax
call fcn.004866f0
mov edi, dword [sym.imp.MSVCP140.dll__Thrd_sleep]
add esp, 8
mov esi, eax
nop
mov cl, byte [0x6005d8]
test cl, cl
jne 0x45ddce
test esi, esi
je 0x45ddbe
mov eax, esi
cdq
push edx
push eax
call fcn.00486740
add esp, 8
test al, al
je 0x45ddbe
lea eax, [ebp - 0x208]
mov dword [ebp - 0x208], 1
push eax
lea eax, [ebp - 0x228]
mov dword [ebp - 0x204], 0
push eax
call fcn.0045d400
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x170]
push eax
movups xmmword [ebp - 0x170], xmm0
call edi
add esp, 0xc
jmp 0x45dd60
push esi
push str.main:_Parent_process_doesnt_exist._exit_now._id:__d
push 2
call fcn.004825f0
add esp, 0xc
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3