Function at 0x4571df
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x92c
mov eax, 0x4b5fe9
call fcn.00461a91
mov ebx, edx
mov dword [ebp - 0x928], ebx
mov dword [ebp - 0x92c], ecx
lea eax, [ebp - 0x4d8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x914]
call fcn.0040a6f3
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x4d8]
mov edi, dword [ebx + 0xc]
push str._se_crashdump_subzip_
push eax
lea eax, [ebp - 0x914]
push eax
call fcn.0040a68b
pop ecx
pop ecx
push eax
call fcn.0040a68b
push 0xa
mov esi, eax
lea eax, [ebp - 0x50]
push 0x20
push eax
push edi
call fcn.004670f9
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.0040a68b
push 0x5f
push eax
call fcn.0040a321
push 0xa
mov esi, eax
lea eax, [ebp - 0x90]
push 0x20
push eax
push dword [ebx + 0x10]
call fcn.004670f9
lea eax, [ebp - 0x90]
push eax
push esi
call fcn.0040a68b
add esp, 0x40
push 0x5f
push eax
call fcn.0040a321
pop ecx
pop ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xa
push 0x20
lea ecx, [ebp - 0xd0]
push ecx
push eax
call fcn.004670f9
add esp, 0x10
lea eax, [ebp - 0xd0]
push str..zip
push eax
push esi
call fcn.0040a68b
pop ecx
pop ecx
push eax
call fcn.0040a68b
pop ecx
pop ecx
lea ecx, [ebp - 0x914]
call fcn.0040a840
mov ecx, eax
call fcn.0045c7d1
mov edi, eax
mov edx, ebx
mov ecx, edi
mov dword [ebp - 0x920], edi
call fcn.00459b7b
lea ecx, [ebp - 0x938]
call fcn.00403b7f
mov byte [ebp - 4], 1
xor ecx, ecx
push dword [ebx + 0xc]
push ecx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x45731e
mov edx, eax
lea ecx, [ebp - 0x938]
call fcn.004570f5
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
call fcn.0044e2b8
mov esi, eax
test esi, esi
je 0x45733d
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea ecx, [ebp - 0x938]
mov ebx, eax
mov dword [ebp - 0x918], eax
call fcn.00405868
test eax, eax
je 0x45750a
push ebx
lea ecx, [ebp - 0x938]
call fcn.0040584d
mov ecx, eax
call fcn.00404e0f
mov edi, eax
lea edx, [ebp - 0x91c]
xor eax, eax
mov ecx, edi
mov dword [ebp - 0x91c], eax
call fcn.00416bb4
mov esi, eax
mov dword [ebp - 0x924], esi
test esi, esi
je 0x4574ea
push 0x5c
push edi
call fcn.004646ea
pop ecx
pop ecx
test eax, eax
lea ecx, [eax + 2]
cmovne edi, ecx
lea ecx, [ebp - 0x508]
call fcn.00414daa
mov byte [ebp - 4], 2
test edi, edi
je 0x457489
xor eax, eax
cmp word [edi], ax
je 0x457489
push 0x200
push eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.00464590
add esp, 0xc
lea eax, [ebp - 0x2d0]
xor ecx, ecx
push ecx
push ecx
push 0x1ff
push eax
push 0xffffffffffffffff
push edi
push ecx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x457428
cmp eax, 0x200
jae 0x4575ff
xor ecx, ecx
mov byte [ebp + eax - 0x2d0], cl
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x508]
call fcn.0040ae37
jmp 0x457489
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push edi
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea esi, [eax + 1]
lea ecx, [esi + 1]
push ecx
call fcn.0046142c
pop ecx
mov ebx, eax
xor eax, eax
push eax
push eax
push esi
push ebx
push 0xffffffffffffffff
push edi
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
mov byte [eax + ebx], cl
test eax, eax
jle 0x457476
push ebx
lea ecx, [ebp - 0x508]
call fcn.0040ae37
push ebx
call fcn.00461435
mov ebx, dword [ebp - 0x918]
mov esi, dword [ebp - 0x924]
pop ecx
lea eax, [ebp - 0x508]
push eax
lea ecx, [ebp - 0x4f0]
call fcn.0040a793
lea ecx, [ebp - 0x508]
call fcn.00404f45
lea ecx, [ebp - 0x4f0]
mov byte [ebp - 4], 3
call fcn.0040a7fe
mov edi, dword [ebp - 0x920]
mov edx, eax
push ecx
push dword [ebp - 0x91c]
mov ecx, edi
push esi
call fcn.0045c811
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4f0]
call fcn.00404f45
push 1
push esi
call fcn.00461025
pop ecx
pop ecx
jmp 0x4574f0
mov edi, dword [ebp - 0x920]
inc ebx
lea ecx, [ebp - 0x938]
mov dword [ebp - 0x918], ebx
call fcn.00405868
cmp ebx, eax
jb 0x45735a
mov esi, dword [ebp - 0x928]
cmp dword [esi + 0x20], 0
je 0x457581
push 0xffffffffffffffff
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esi, 0x24
mov ecx, esi
call fcn.00405bc9
test al, al
jne 0x457581
push 0xfde9
lea eax, [ebp - 0x4f0]
push esi
push eax
call fcn.0040a860
add esp, 0xc
lea ecx, [ebp - 0x4f0]
mov byte [ebp - 4], 4
call fcn.00403bbd
lea ecx, [ebp - 0x4f0]
mov esi, eax
call fcn.0040a7fe
push ecx
push esi
push eax
mov edx, str.usernote.txt
mov ecx, edi
call fcn.0045c811
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4f0]
call fcn.00404f45
mov ecx, edi
call fcn.0045c9f3
xor eax, eax
lea ecx, [ebp - 0x914]
mov dword [ebp - 0x918], eax
call fcn.0040a840
lea edx, [ebp - 0x918]
mov ecx, eax
call fcn.00416bb4
mov esi, eax
test esi, esi
je 0x4575e3
push ecx
push dword [ebp - 0x918]
mov ecx, dword [ebp - 0x92c]
mov edx, str.otherfile.zip
push esi
call fcn.0045c811
push 1
push esi
call fcn.00461025
add esp, 0x14
lea ecx, [ebp - 0x914]
call fcn.0040a840
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x938]
call fcn.00405a54
lea ecx, [ebp - 0x914]
call fcn.0040a6d0
call fcn.00461a3b
ret
call fcn.0046155b
int3