Function at 0x1002cf30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007f758
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x100a04fc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc8], eax
xor ebx, ebx
mov edi, 0x10
mov eax, edi
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 4], ebx
call fcn.10073d20
mov dword [ebp - 0x10], esp
mov esi, esp
push 0xdead0009
lea ecx, [ebp - 0x78]
push 0xfebeef
push ecx
call fcn.10001af0
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x1002cfa3
mov eax, dword [eax]
mov edx, dword [eax]
mov dword [esi], edx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
cmp dword [ebp - 0x64], edi
jb 0x1002cfcb
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 4
call fcn.10073d20
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xc0], eax
cmp eax, ebx
je 0x1002cfea
mov dword [eax], 0xabab00fe
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x1002d012
mov edx, dword [ebp - 0xc0]
mov dword [edx], 0xcdcd00fe
jmp 0x1002d012
test byte [0x100a4bb0], 1
mov dword [ebp - 0xbc], 6
jne 0x1002d04d
or dword [0x100a4bb0], 1
mov dword [ebp - 4], 2
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
or esi, 0xffffffff
mov dword [ebp - 4], esi
jmp 0x1002d050
or esi, 0xffffffff
lea eax, [ebp - 0xbc]
push eax
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x1002d16e
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 0x5c], bl
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
lea edi, [ebp - 0x5c]
mov dword [ebp - 4], 3
call fcn.10023cb0
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x1002d0a2
push 0xd
push str.EnterFunction
mov ecx, eax
call fcn.100041d0
jmp 0x1002d0b0
push str.EnterFunction
push ecx
call fcn.10012390
add esp, 8
push 0x1ff
push ebx
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.10001ab0
mov edi, eax
mov byte [ebp - 4], 4
test byte [0x100a4bb0], 1
jne 0x1002d0f2
or dword [0x100a4bb0], 1
mov byte [ebp - 4], 5
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [0x100a4b64]
mov eax, dword [edx + 4]
mov ecx, 0x100a4b64
mov dword [ebp - 0xbc], ecx
call eax
mov byte [ebp - 4], 6
mov ecx, dword [0x100a4bac]
cmp ecx, ebx
je 0x1002d13b
cmp dword [edi + 0x14], 8
jb 0x1002d120
mov eax, dword [edi]
jmp 0x1002d122
mov eax, edi
mov edx, dword [ecx]
push 0xfe
push str.FileHandler::RemoveFile
push str.FileHandler.cpp
push eax
mov eax, dword [edx + 8]
push 6
call eax
mov byte [ebp - 4], 4
mov edx, dword [0x100a4b64]
mov eax, dword [edx + 8]
mov ecx, 0x100a4b64
call eax
cmp dword [ebp - 0x64], 8
jb 0x1002d162
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [ebp - 0x5c]
push edx
mov dword [ebp - 4], esi
call fcn.10023b80
mov eax, dword [ebp - 0xc0]
cmp eax, ebx
je 0x1002d17e
mov dword [eax], 0xcdcd00ff
test byte [0x100a4bb0], 1
mov dword [ebp - 0xbc], 6
jne 0x1002d1b4
or dword [0x100a4bb0], 1
mov dword [ebp - 4], 7
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov dword [ebp - 4], esi
lea eax, [ebp - 0xbc]
push eax
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x1002d31f
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp - 0xc8]
push ecx
push str.EnterFunction_Path_
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 8
call fcn.10023cb0
mov ecx, eax
call fcn.10032000
add esp, 4
push eax
call fcn.100125f0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xbc], eax
mov eax, dword [eax + 0x1c]
add esp, 8
lea esi, [ebp - 0x78]
call fcn.10023e50
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0xbc]
mov edi, eax
call fcn.10003bf0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x64], 8
jb 0x1002d24a
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
xor eax, eax
push ecx
mov ecx, esi
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x78], ax
call fcn.10001ab0
mov esi, eax
mov byte [ebp - 4], 0xa
test byte [0x100a4bb0], 1
jne 0x1002d29b
or dword [0x100a4bb0], 1
mov byte [ebp - 4], 0xb
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov byte [ebp - 4], 0xa
mov edx, dword [0x100a4b64]
mov eax, dword [edx + 4]
mov ecx, 0x100a4b64
mov dword [ebp - 0xbc], 0x100a4b64
call eax
mov byte [ebp - 4], 0xc
mov ecx, dword [0x100a4bac]
cmp ecx, ebx
je 0x1002d2e8
cmp dword [esi + 0x14], 8
jb 0x1002d2cd
mov eax, dword [esi]
jmp 0x1002d2cf
mov eax, esi
mov edx, dword [ecx]
push 0xff
push str.FileHandler::RemoveFile
push str.FileHandler.cpp
push eax
mov eax, dword [edx + 8]
push 6
call eax
mov byte [ebp - 4], 0xa
mov edx, dword [0x100a4b64]
mov eax, dword [edx + 8]
mov ecx, 0x100a4b64
call eax
cmp dword [ebp - 0x40], 8
jb 0x1002d30f
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
mov esi, dword [ebp - 0xc8]
mov edi, dword [ebp - 0xc0]
push esi
lea ecx, [ebp - 0xc1]
call fcn.1002da80
add esp, 4
test al, al
jne 0x1002d479
cmp edi, ebx
je 0x1002d34c
mov dword [edi], 0xcdcd0104
test byte [0x100a4bb0], 1
mov dword [ebp - 0xbc], 6
jne 0x1002d386
or dword [0x100a4bb0], 1
mov dword [ebp - 4], 0xd
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xbc]
push eax
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x1002d472
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 0xe
call fcn.10023cb0
mov esi, eax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x1002d3da
push 0x11
push str.ExitFunction_Ret:
mov ecx, esi
call fcn.100041d0
jmp 0x1002d3e8
push str.ExitFunction_Ret:
push eax
call fcn.10012390
add esp, 8
mov edx, str.False
call fcn.100237d0
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.10001ab0
mov ebx, eax
mov byte [ebp - 4], 0xf
test byte [0x100a4bb0], 1
jne 0x1002d434
or dword [0x100a4bb0], 1
mov byte [ebp - 4], 0x10
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov byte [ebp - 4], 0xf
push 0x104
push str.FileHandler::RemoveFile
push str.FileHandler.cpp
push 6
mov ecx, 0x100a4b60
call fcn.10023680
cmp dword [ebp - 0x40], 8
jb 0x1002d462
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
xor al, al
jmp 0x1002da55
cmp byte [ebp - 0xc1], bl
jne 0x1002d690
cmp edi, ebx
je 0x1002d48f
mov dword [edi], 0xcdcd0107
test byte [0x100a4bb0], 1
mov dword [ebp - 0xbc], 2
jne 0x1002d4c9
or dword [0x100a4bb0], 1
mov dword [ebp - 4], 0x11
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
push ecx
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x1002d594
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 0x12
call fcn.10023cb0
mov edx, str.IsFileExist_failed
mov esi, eax
call fcn.100237d0
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x1002d52a
mov edx, dword [ebp - 0xc8]
push 0xffffffffffffffff
push ebx
push edx
mov ecx, eax
call fcn.100040c0
jmp 0x1002d53a
mov eax, dword [ebp - 0xc8]
push eax
push ecx
call fcn.100125f0
add esp, 8
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.10001ab0
mov ebx, eax
push 0x107
push str.FileHandler::RemoveFile
push str.FileHandler.cpp
push 2
mov byte [ebp - 4], 0x13
call fcn.100230e0
mov ecx, eax
call fcn.10023680
cmp dword [ebp - 0x40], 8
jb 0x1002d582
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
xor ebx, ebx
mov eax, dword [ebp - 0xc0]
cmp eax, ebx
je 0x1002d5a4
mov dword [eax], 0xcdcd0108
test byte [0x100a4bb0], 1
mov dword [ebp - 0xbc], 6
jne 0x1002d5de
or dword [0x100a4bb0], 1
mov dword [ebp - 4], 0x14
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
push ecx
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x1002d689
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 0x15
call fcn.10023cb0
mov edx, str.ExitFunction_Ret:
mov esi, eax
call fcn.100237d0
mov edx, str.False
mov esi, eax
call fcn.100237d0
mov ecx, dword [ebp - 0x18]
push 0x1ff
push ebx
lea edx, [ebp - 0x54]
push edx
call fcn.10001ab0
mov ebx, eax
push 0x108
push str.FileHandler::RemoveFile
push str.FileHandler.cpp
push 6
mov byte [ebp - 4], 0x16
call fcn.100230e0
mov ecx, eax
call fcn.10023680
cmp dword [ebp - 0x40], 8
jb 0x1002d679
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
xor al, al
jmp 0x1002da55
cmp dword [esi + 0x14], 8
jb 0x1002d69a
mov eax, dword [esi]
jmp 0x1002d69c
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1002d8c7
push esi
call fcn.1002e070
add esp, 4
test al, al
jne 0x1002d763
cmp edi, ebx
je 0x1002d6c6
mov dword [edi], 0xcdcd010e
lea edx, [ebp - 0xbc]
push edx
mov dword [ebp - 0xbc], 6
call fcn.100230e0
mov edi, eax
call fcn.100235e0
test al, al
je 0x1002d689
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 0x17
call fcn.10023cb0
mov edx, str.ExitFunction_Ret:
mov esi, eax
call fcn.100237d0
mov edx, str.False
mov esi, eax
call fcn.100237d0
mov ecx, dword [ebp - 0x18]
push 0x1ff
push ebx
lea eax, [ebp - 0x54]
push eax
call fcn.10001ab0
mov ebx, eax
mov byte [ebp - 4], 0x18
push 0x10e
push str.FileHandler::RemoveFile
push str.FileHandler.cpp
push 6
call fcn.100230e0
mov ecx, eax
call fcn.10023680
lea ecx, [ebp - 0x54]
call fcn.10002a10
jmp 0x1002d679
cmp dword [esi + 0x14], 8
jb 0x1002d76d
mov eax, dword [esi]
jmp 0x1002d76f
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1002d8c7
cmp edi, ebx
je 0x1002d788
mov dword [edi], 0xcdcd0112
lea edx, [ebp - 0xbc]
push edx
mov dword [ebp - 0xbc], 2
call fcn.100230e0
mov edi, eax
call fcn.100235e0
test al, al
je 0x1002d836
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 0x19
call fcn.10023cb0
mov edx, str.DeleteFileW_failed
mov esi, eax
call fcn.100237d0
mov ecx, dword [ebp - 0xc8]
mov esi, eax
call fcn.100237a0
mov ecx, dword [ebp - 0x18]
push 0x1ff
push ebx
lea eax, [ebp - 0x54]
push eax
call fcn.10001ab0
mov ebx, eax
push 0x112
push str.FileHandler::RemoveFile
push str.FileHandler.cpp
push 2
mov byte [ebp - 4], 0x1a
call fcn.100230e0
mov ecx, eax
call fcn.10023680
lea ecx, [ebp - 0x54]
call fcn.10002a10
mov ecx, edi
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
xor ebx, ebx
mov eax, dword [ebp - 0xc0]
cmp eax, ebx
je 0x1002d846
mov dword [eax], 0xcdcd0113
lea edx, [ebp - 0xbc]
push edx
mov dword [ebp - 0xbc], 6
call fcn.100230e0
mov edi, eax
call fcn.100235e0
test al, al
je 0x1002d689
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 0x1b
call fcn.10023cb0
mov edx, str.ExitFunction_Ret:
mov esi, eax
call fcn.100237d0
mov edx, str.False
mov esi, eax
call fcn.100237d0
mov ecx, dword [ebp - 0x18]
push 0x1ff
push ebx
lea eax, [ebp - 0x54]
push eax
call fcn.10001ab0
mov ebx, eax
mov byte [ebp - 4], 0x1c
push 0x113
jmp 0x1002d73e
cmp edi, ebx
je 0x1002d8d1
mov dword [edi], 0xcdcd0117
lea edx, [ebp - 0xbc]
push edx
mov dword [ebp - 0xbc], 6
call fcn.100230e0
mov edi, eax
call fcn.100235e0
test al, al
je 0x1002d986
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push esi
push str.ExitFunction_Path_
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 0x1d
call fcn.10023cb0
mov ecx, eax
call fcn.10032000
add esp, 4
push eax
call fcn.100125f0
add esp, 8
push 0x1ff
push ebx
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
push ecx
call fcn.10023d20
mov ecx, eax
call fcn.10001ab0
mov ebx, eax
push 0x117
push str.FileHandler::RemoveFile
push str.FileHandler.cpp
push 6
mov byte [ebp - 4], 0x1e
call fcn.100230e0
mov ecx, eax
call fcn.10023680
lea ecx, [ebp - 0x54]
call fcn.10002a10
mov edx, edi
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
xor ebx, ebx
mov eax, dword [ebp - 0xc0]
cmp eax, ebx
je 0x1002d996
mov dword [eax], 0xcdcd0118
lea eax, [ebp - 0xbc]
push eax
mov dword [ebp - 0xbc], 6
call fcn.100230e0
mov edi, eax
call fcn.100235e0
test al, al
je 0x1002da53
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
lea edi, [ebp - 0x9c]
mov dword [ebp - 4], 0x1f
call fcn.10023cb0
mov edx, str.ExitFunction_Ret:
mov esi, eax
call fcn.100237d0
mov edx, str.True
mov esi, eax
call fcn.100237d0
push 0x1ff
push ebx
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, dword [ebp - 0x7c]
call fcn.10001ab0
mov ebx, eax
push 0x118
push str.FileHandler::RemoveFile
push str.FileHandler.cpp
push 6
mov byte [ebp - 4], 0x20
call fcn.100230e0
mov ecx, eax
call fcn.10023680
lea ecx, [ebp - 0xb8]
call fcn.10002a10
mov edx, edi
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
mov al, 1
lea esp, [ebp - 0xd8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007236c
mov esp, ebp
pop ebp
ret