Function at 0x43c040
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push esi
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.0043b370
lea edx, [ebp - 0x28]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x43c084
xor eax, eax
jmp 0x43c3f3
push 0x80
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0xc], 0
jne 0x43c0a3
cmp dword [ebp - 8], 0
je 0x43c3e9
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x10]
or eax, dword [edx + 0x14]
jne 0x43c0d8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43c3f3
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x40]
call fcn.0043b280
test eax, eax
jne 0x43c0ef
xor eax, eax
jmp 0x43c3f3
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x34], 0
jmp 0x43c10a
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x34]
add edx, 1
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x34], edx
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x40]
mov eax, dword [ecx + 0x34]
cmp eax, dword [edx + 4]
jae 0x43c394
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
sub eax, 1
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 6
ja case.default.0x43c13a
mov ecx, dword [ebp - 0x48]
jmp dword [ecx*4 + 0x43c3fc]
mov edx, dword [ebp - 0x40]
mov dword [edx + 0x2c], 1
mov ecx, dword [ebp - 0x40]
call fcn.0043c020
mov dword [ebp - 4], eax
jmp case.default.0x43c13a
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x2c], 3
mov ecx, dword [ebp - 0x40]
call fcn.0043bfc0
mov dword [ebp - 4], eax
jmp case.default.0x43c13a
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x2c], 4
mov ecx, dword [ebp - 0x40]
call fcn.0043bf40
mov dword [ebp - 4], eax
jmp case.default.0x43c13a
mov edx, dword [ebp - 0x40]
mov dword [edx + 0x2c], 3
mov ecx, dword [ebp - 0x40]
call fcn.0043bee0
mov dword [ebp - 4], eax
jmp case.default.0x43c13a
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x2c], 7
mov ecx, dword [ebp - 0x40]
call fcn.0043be60
mov dword [ebp - 4], eax
jmp case.default.0x43c13a
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x2c], 7
mov ecx, dword [ebp - 0x40]
call fcn.0043bdd0
mov dword [ebp - 4], eax
jmp case.default.0x43c13a
mov edx, dword [ebp - 0x40]
mov dword [edx + 0x2c], 0x23
mov ecx, dword [ebp - 0x40]
call fcn.0043bba0
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [ebp - 0x40]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jne 0x43c234
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x43c3f3
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x40]
call fcn.0043b280
test eax, eax
jne 0x43c24b
xor eax, eax
jmp 0x43c3f3
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
jmp 0x43c26f
mov eax, dword [ebp - 0x38]
add eax, 0x20000
mov ecx, dword [ebp - 0x34]
adc ecx, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [eax + 0x14]
jg 0x43c38f
jl 0x43c295
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x38]
cmp eax, dword [edx + 0x10]
jae 0x43c38f
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x10]
sub edx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x14]
sbb eax, dword [ebp - 0x34]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jg 0x43c343
jl 0x43c2c3
cmp dword [ebp - 0x54], 0x20000
jae 0x43c343
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x10]
sub edx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x14]
sbb eax, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x40]
call fcn.0043b210
test eax, eax
jne 0x43c2ec
jmp 0x43c38f
mov dword [ebp - 0x3c], 0
jmp 0x43c2fe
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov eax, dword [ebp - 0x40]
mov esi, dword [eax + 0x10]
sub esi, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
sbb eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [ebp - 0x60]
jg 0x43c341
jl 0x43c330
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp - 0x64]
jae 0x43c341
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 0x3c]
mov al, byte [ecx + edx]
mov byte [ebp - 0x2d], al
jmp 0x43c2f5
jmp 0x43c38a
push 0x20000
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x40]
call fcn.0043b210
test eax, eax
jne 0x43c35e
jmp 0x43c38f
mov dword [ebp - 0x3c], 0
jmp 0x43c370
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x20000
jae 0x43c38a
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x3c]
mov cl, byte [edx + eax]
mov byte [ebp - 0x2d], cl
jmp 0x43c367
jmp 0x43c25b
jmp 0x43c0fb
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
je 0x43c3dc
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
mov esp, ebp
pop ebp
ret 8