Function at 0x445d8d
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov dword [ebp - 8], ecx
xor ecx, ecx
push esi
mov esi, ecx
mov dword [ebp - 0x18], ecx
push edi
mov dword [ebp - 4], ecx
mov ebx, ecx
mov dword [ebp - 0xc], esi
call fcn.0040fa31
mov edi, eax
test edi, edi
jns 0x445e02
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x4462d6
test byte [eax + 0x1c], 8
je 0x4462d6
cmp byte [eax + 0x19], 2
jb 0x4462d6
push edi
push 0x407d60
call fcn.00411040
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x14
mov edx, 0x407ea8
pop ecx
call fcn.00410eec
jmp 0x4462d6
cmp edi, 0x40200
je 0x4462d6
cmp dword [0x46affc], ebx
je 0x445e35
push dword [ebp + 8]
cmp dword [0x46aff8], ebx
je 0x445e2b
call fcn.0040fffa
jmp 0x4462d6
call fcn.0040ff64
jmp 0x4462d6
push 0x12b4
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
test eax, eax
je 0x445e55
mov ecx, eax
call fcn.00440a7b
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x10], ebx
jmp 0x445e5a
xor eax, eax
mov dword [ebp - 0x10], eax
test ebx, ebx
jne 0x445ea5
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x445e9b
test byte [eax + 0x1c], 8
je 0x445e9b
cmp byte [eax + 0x19], 2
jb 0x445e9b
push 0x401a48
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x15
mov edx, 0x407ea8
pop ecx
call fcn.0040f9dc
mov edi, 0x8007000e
jmp 0x4462d6
push eax
push ecx
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.00440aec
mov ecx, eax
cmp ecx, 1
je 0x445efc
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x445ef1
test byte [eax + 0x1c], 1
je 0x445ef1
cmp byte [eax + 0x19], 2
jb 0x445ef1
push ecx
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
mov edx, 0x407ea8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x16
pop ecx
call fcn.00412c68
xor eax, eax
inc eax
mov dword [ebp - 0x18], eax
jmp 0x4462d6
xor eax, eax
cmp dword [ebx + 0x1098], eax
je 0x445f17
mov edx, dword [ebp - 8]
mov ecx, ebx
call fcn.00445ca2
mov edi, eax
jmp 0x4462d6
mov ecx, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00433763
mov edi, eax
test edi, edi
jns 0x445f6a
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x4462d6
test byte [eax + 0x1c], 8
je 0x4462d6
cmp byte [eax + 0x19], 2
jb 0x4462d6
push edi
push 0x407d84
call fcn.00411040
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x17
jmp 0x445df2
push 0x3039c
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
test eax, eax
je 0x445f83
mov ecx, eax
call fcn.00426adb
jmp 0x445f85
xor eax, eax
push eax
lea ecx, [ebp - 0xc]
call fcn.004102d7
mov esi, dword [ebp - 0xc]
test esi, esi
jne 0x445fd8
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x445e9b
test byte [eax + 0x1c], 8
je 0x445e9b
cmp byte [eax + 0x19], 2
jb 0x445e9b
push 0x401a58
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x18
jmp 0x445e90
push ebx
mov ecx, esi
call fcn.0042ef1f
mov edi, eax
test edi, edi
jns 0x446028
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x4462d6
test byte [eax + 0x1c], 8
je 0x4462d6
cmp byte [eax + 0x19], 2
jb 0x4462d6
push edi
push 0x407da4
call fcn.00411040
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x19
jmp 0x445df2
lea eax, [ebx + 0x830]
push eax
lea eax, [ebx + 0x628]
push eax
push dword [ebp + 0xc]
xor eax, eax
cmp dword [ebx + 0xa3c], eax
sete al
push eax
push esi
call fcn.0043419b
mov edi, eax
cmp edi, 0x40200
je 0x4462d6
test edi, edi
jns 0x44609f
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x4462d6
test byte [eax + 0x1c], 8
je 0x4462d6
cmp byte [eax + 0x19], 2
jb 0x4462d6
push edi
push 0x407dd0
call fcn.00411040
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1a
jmp 0x445df2
push ebx
mov ecx, esi
call fcn.0042e905
mov edi, eax
test edi, edi
jns 0x4460ef
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x4462d6
test byte [eax + 0x1c], 8
je 0x4462d6
cmp byte [eax + 0x19], 2
jb 0x4462d6
push edi
push 0x407df8
call fcn.00411040
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1b
jmp 0x445df2
push 0x3c
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
test eax, eax
je 0x44610c
mov ecx, eax
call fcn.0046124f
mov dword [0x46b018], eax
xor edi, edi
jmp 0x446114
xor edi, edi
mov dword [0x46b018], edi
cmp dword [0x46b018], 0
jne 0x446160
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x445e9b
test byte [eax + 0x1c], 8
je 0x445e9b
cmp byte [eax + 0x19], 2
jb 0x445e9b
push 0x401ae4
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1c
jmp 0x445e90
mov eax, dword [0x46b018]
mov eax, dword [eax + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
lea eax, [esi + 0x30390]
push eax
call fcn.004612de
lea eax, [ebx + 0xe60]
cmp word [eax], di
je 0x4461a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, ebx
call fcn.00440ab8
push ebx
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void__]
mov ebx, edi
pop ecx
mov dword [ebp - 0x10], ebx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], edi
push eax
lea eax, [ebp - 0x14]
mov dword [ebp + 0xc], edi
push eax
mov ecx, esi
call fcn.00432c73
mov edi, eax
test edi, edi
jns 0x446207
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x4461f4
test byte [eax + 0x1c], 1
je 0x4461f4
cmp byte [eax + 0x19], 2
jb 0x4461f4
push edi
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
mov edx, 0x407ea8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1d
pop ecx
call fcn.00412c68
push dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
call fcn.00445895
jmp 0x4462d6
mov ecx, dword [ebp - 4]
xor eax, eax
push esi
push eax
call fcn.00433b0c
mov edi, eax
test edi, edi
jns 0x44625b
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x4462d6
test byte [eax + 0x1c], 8
je 0x4462d6
cmp byte [eax + 0x19], 2
jb 0x4462d6
push edi
push 0x407e10
call fcn.00411040
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1e
jmp 0x445df2
mov eax, dword [ebp - 4]
xor ecx, ecx
mov dword [ebp + 0xc], ecx
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x446270
mov eax, dword [eax + 0x48]
mov dword [ebp + 0xc], eax
test edi, edi
jne 0x4462d6
push ecx
push ecx
push ecx
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4462d6
mov esi, dword [ebp + 0xc]
xor ebx, ebx
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4462bf
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x4462bf
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x44628a
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
cmp dword [0x46affc], 0
je 0x4462e4
call fcn.004467b8
test ebx, ebx
je 0x446313
cmp edi, 0x40200
je 0x446304
lea eax, [ebx + 0xe60]
xor ecx, ecx
cmp word [eax], cx
je 0x446304
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, ebx
call fcn.00440ab8
push ebx
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void__]
pop ecx
mov eax, dword [ebp - 4]
test eax, eax
je 0x44635d
mov ecx, eax
call fcn.00434599
mov edi, eax
test edi, edi
jns 0x44635d
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x44635d
test byte [eax + 0x1c], 1
je 0x44635d
cmp byte [eax + 0x19], 2
jb 0x44635d
call fcn.00411040
push eax
mov eax, dword [0x46a020]
mov edx, 0x407ea8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1f
pop ecx
call fcn.004110b1
mov eax, dword [0x46b018]
test eax, eax
je 0x446376
mov eax, dword [eax + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
mov dword [0x46b018], eax
test edi, edi
jns 0x44637f
xor ebx, ebx
inc ebx
jmp 0x446382
mov ebx, dword [ebp - 0x18]
test esi, esi
je 0x44638f
mov eax, dword [esi + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x44639f
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8