Function at 0x10010560
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100252e4
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x10031008]
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 - 0x234], edx
mov esi, ecx
mov edi, dword [ebp + 0x10]
mov ecx, edi
call fcn.10019370
test al, al
je 0x10010c39
lea ecx, [ebp - 0x80]
call fcn.100114b0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x70], 0
jne 0x100105c8
mov byte [ebp - 0x229], 0
jmp 0x10010bdc
lea ecx, [ebp - 0xc8]
call fcn.1001ab90
mov byte [ebp - 4], 1
lea eax, [ebp - 0xc8]
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x58]
call fcn.1001a3e0
add esp, 4
mov byte [ebp - 4], 2
xor eax, eax
push 3
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push 0x10029214
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10007130
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
lea edx, [ebp - 0x58]
mov ecx, esi
push dword [ebp + 8]
call fcn.10011000
add esp, 0xc
test al, al
sete al
mov byte [ebp - 0x229], al
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1001068d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001067d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001067d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
mov al, byte [ebp - 0x229]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov byte [ebp - 0x229], cl
test al, al
jne 0x10010b26
lea ecx, [ebp - 0x228]
call fcn.1001a790
lea eax, [ebp - 0x228]
push eax
call fcn.1001a8f0
mov esi, eax
lea ecx, [ebp - 0x68]
xorps xmm0, xmm0
mov dword [ebp - 0x230], esi
movups xmmword [ebp - 0x68], xmm0
call fcn.10011770
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x100106f4
cmp dword [ebp - 0x5c], 0
jne 0x100106f4
lea ecx, [ebp - 0x5c]
push ecx
call eax
push dword [ebp - 0x234]
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.1001a3e0
add esp, 4
mov byte [ebp - 4], 5
cmp dword [ebp - 0x30], 0
je 0x10010aa8
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xb0]
call fcn.10007ad0
mov byte [ebp - 4], 6
cmp esi, 1
jne 0x1001078b
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x30]
sub eax, ecx
cmp eax, 5
jb 0x1001076d
cmp edx, 8
lea esi, [ebp - 0x40]
push 0xa
cmovae esi, dword [ebp - 0x40]
lea edi, [ecx + 5]
push str..DTMP
mov dword [ebp - 0x30], edi
lea eax, [esi + ecx*2]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0x230]
jmp 0x1001078b
push 5
push str..DTMP
mov byte [ebp - 0x230], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x230]
push 5
call fcn.10007810
push 0x44
lea eax, [ebp - 0x10c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x10c]
call fcn.10013250
mov byte [ebp - 4], 7
sub esp, 0x10
call fcn.10013360
lea ecx, [ebp - 0x40]
call fcn.100194a0
test al, al
je 0x100108e4
lea ecx, [ebp - 0x98]
call fcn.1001ab90
mov byte [ebp - 4], 8
lea eax, [ebp - 0x98]
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x28]
call fcn.1001a3e0
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x40]
push 1
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x10c]
push eax
call fcn.10013570
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 4
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x10c]
push 0
push eax
call fcn.10013570
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1001086d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010863
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010863
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x100108c7
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100108bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100108bd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
add esp, 8
xor eax, eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x10c]
call fcn.10013500
cmp eax, 1
sete byte [ebp - 0x229]
jne 0x10010945
lea ecx, [ebp - 0x10c]
call fcn.100134d0
test al, al
je 0x10010945
cmp esi, 1
jne 0x10010a36
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0x40]
call fcn.1001dbb0
mov byte [ebp - 0x229], al
jmp 0x10010a36
push 2
mov ecx, 0x100317e0
call fcn.1001fa10
mov esi, eax
test esi, esi
je 0x10010a2b
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push eax
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
push ecx
push 0x10029998
push eax
call fcn.1001ffc0
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, 0x100317e0
push 0x153
push 0x10028744
push 0x10028744
push eax
push 2
call fcn.1001fa50
cmp esi, 1
jbe 0x100109d7
lea eax, [ebp - 0x28]
mov ecx, 0x100317e0
push eax
call fcn.1001fdf0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10010a17
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010a0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010a0d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x10c]
call fcn.100134a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10c]
call fcn.100132d0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x10010a8b
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010a81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010a81
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
add esp, 8
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10010ae8
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010ade
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010ade
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2c], 7
test eax, eax
je 0x10010b08
push dword [ebp - 0x5c]
call eax
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.100119d0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x10010b66
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010b5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010b5c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], al
mov edx, dword [ebp - 0xb4]
cmp edx, 8
jb 0x10010bbf
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010bb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010bb5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
add esp, 8
xor eax, eax
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 7
mov word [ebp - 0xc8], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x10010c1f
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010c15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010c15
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
mov al, byte [ebp - 0x229]
mov dword [ebp - 0x6c], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100224d9
mov esp, ebp
pop ebp
ret