Function at 0x4317b8
Capabilities:
Delete file
Get file size
Move file
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x17
push 0
push 0
dec ecx
jne 0x4317c1
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004082dc
lea eax, [ebp - 8]
call fcn.004082dc
xor eax, eax
push ebp
push 0x4321e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x431844
mov dl, 1
xor eax, eax
call fcn.0042838c
push 0x4321fc
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x88]
mov edx, 3
call fcn.00408da4
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
call fcn.00408fd8
mov eax, dword [ebp - 0x84]
mov dl, 1
call fcn.0042838c
mov eax, dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004310a0
test al, al
jne 0x431884
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x432194
mov dl, 1
mov eax, 0x432228
call fcn.0042838c
xor eax, eax
call fcn.0042858c
jmp 0x432194
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_GetFileSizeEx
test eax, eax
jne 0x4318c8
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x432194
mov dl, 1
mov eax, 0x432268
call fcn.0042838c
xor eax, eax
call fcn.0042858c
jmp 0x432194
cmp dword [ebp - 0x54], 0
jne 0x431900
cmp dword [ebp - 0x58], 0
jne 0x431900
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x432194
mov dl, 1
mov eax, 0x4322b0
call fcn.0042838c
jmp 0x432194
xor ebx, ebx
cmp dword [ebp - 0x54], 0
jne 0x431914
cmp dword [ebp - 0x58], 0x10
jbe 0x4319bc
jmp 0x43191a
jle 0x4319bc
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push 1
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00408d28
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x40]
call fcn.00430e0c
mov byte [ebp - 0x7d], al
movzx eax, byte [ebp - 0x7d]
dec al
je 0x431959
dec al
je 0x431985
dec al
je 0x431989
jmp 0x4319bc
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x432194
mov dl, 1
mov eax, 0x4322f8
call fcn.0042838c
jmp 0x432194
mov bl, 1
jmp 0x4319bc
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x432194
mov dl, 1
mov eax, 0x432354
call fcn.0042838c
xor eax, eax
call fcn.0042858c
jmp 0x432194
test bl, bl
je 0x431a55
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4319d0
sub eax, 4
mov eax, dword [eax]
sub eax, 8
push eax
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x34]
mov ecx, 8
call fcn.00422210
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4319f0
sub eax, 4
mov eax, dword [eax]
sub eax, 8
push eax
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x34]
xor ecx, ecx
call fcn.00422210
mov edx, dword [ebp - 0x34]
mov eax, edx
test eax, eax
je 0x431a0f
sub eax, 4
mov eax, dword [eax]
mov ecx, dword [ebp - 0x34]
movzx eax, byte [ecx + eax - 1]
mov byte [ebp - 0x42], al
mov eax, edx
test eax, eax
je 0x431a25
sub eax, 4
mov eax, dword [eax]
mov ecx, dword [ebp - 0x34]
movzx eax, byte [ecx + eax - 2]
mov byte [ebp - 0x41], al
mov esi, edx
test esi, esi
je 0x431a3b
sub esi, 4
mov esi, dword [esi]
lea edx, [ebp - 0x20]
mov eax, esi
call fcn.00422198
lea ecx, [ebp - 0x34]
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x20]
call fcn.00421b38
jmp 0x431a5f
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.00422198
test bl, bl
je 0x431adb
cmp byte [ebp - 0x41], 2
jbe 0x431a9c
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x432194
mov dl, 1
mov eax, 0x4323d0
call fcn.0042838c
xor eax, eax
call fcn.0042858c
jmp 0x432194
cmp byte [ebp - 0x42], 1
jb 0x431aa8
cmp byte [ebp - 0x42], 0xe
jbe 0x431adb
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x432194
mov dl, 1
mov eax, 0x432448
call fcn.0042838c
xor eax, eax
call fcn.0042858c
jmp 0x432194
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 8]
call fcn.0040de70
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x431af2
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx]
test edx, edx
je 0x431b00
sub edx, 4
mov edx, dword [edx]
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x431b0c
sub esi, 4
mov esi, dword [esi]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea ecx, [ebp - 0x41]
push ecx
lea ecx, [ebp - 0x42]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x50]
push ecx
push ebx
push esi
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push 0
mov ecx, edx
mov edx, dword [ebp - 8]
xchg edx, eax
call fcn.0042fe54
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_GetFileTime
test eax, eax
jne 0x431b5c
xor eax, eax
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x60]
call fcn.00422198
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x5c]
call fcn.00422198
lea eax, [ebp - 0x1c]
mov edx, dword [0x420c8c]
call fcn.0040b244
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, dword [0x420c8c]
call fcn.0040b120
add esp, 4
mov eax, dword [ebp - 0x1c]
mov byte [eax + 1], 0
mov eax, dword [ebp - 0x1c]
mov byte [eax + 3], 0
mov eax, dword [ebp - 0x1c]
mov byte [eax + 5], 0
mov eax, dword [ebp - 0x1c]
mov byte [eax + 7], 0
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea eax, [ebp - 0x90]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00408d28
mov eax, dword [ebp - 0x90]
push eax
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x4c]
call fcn.00430a40
test al, al
jne 0x431c3e
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea eax, [ebp - 0x94]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00408d28
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x40]
call fcn.00430310
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x432194
mov dl, 1
mov eax, 0x4324b4
call fcn.0042838c
xor eax, eax
call fcn.0042858c
jmp 0x432194
mov eax, dword [ebp - 0x4c]
xor edx, edx
add eax, dword [ebp - 0x58]
adc edx, dword [ebp - 0x54]
push edx
push eax
mov eax, dword [ebp - 0x40]
call fcn.00431678
lea eax, [ebp - 0x10]
mov edx, dword [0x420c8c]
call fcn.0040b244
mov eax, dword [ebp - 0x50]
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x420c8c]
call fcn.0040b120
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x14]
mov cl, 1
call fcn.00430420
movzx eax, byte [ebp - 0x41]
sub al, 1
jb 0x431ca0
je 0x431cc4
dec al
je 0x431cee
jmp 0x431d20
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x40]
call fcn.004309e4
jmp 0x431d20
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x40]
call fcn.00430820
jmp 0x431d20
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x7c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x40]
call fcn.004308f4
mov eax, dword [0x4448c8]
cmp byte [eax + 0xb1], 0
jne 0x431d57
cmp dword [ebp - 0x60], 0
jne 0x431d3a
cmp dword [ebp - 0x5c], 0
je 0x431d57
mov dword [ebp - 0x60], 1
xor eax, eax
mov dword [ebp - 0x5c], eax
push 0
push 0
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_SetFileTime
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.00421b38
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x38]
mov edx, 0x43251c
call fcn.004088a4
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
call fcn.004224ac
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
call fcn.00421b38
lea eax, [ebp - 0x30]
mov edx, dword [0x420c8c]
call fcn.0040b244
push 0x10
lea eax, [ebp - 0x30]
mov ecx, 1
mov edx, dword [0x420c8c]
call fcn.0040b120
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x431dc0
sub eax, 4
mov eax, dword [eax]
mov ecx, dword [ebp - 0x30]
mov edx, eax
mov eax, dword [ebp - 0x28]
call fcn.004314b8
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.00421b38
lea eax, [ebp - 0x2c]
mov edx, dword [0x420c8c]
call fcn.0040b244
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x431df5
sub ebx, 4
mov ebx, dword [ebx]
push ebx
lea eax, [ebp - 0x2c]
mov ecx, 1
mov edx, dword [0x420c8c]
call fcn.0040b120
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x431e18
sub eax, 4
mov eax, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
call fcn.00425ce4
movzx eax, byte [ebp - 0x41]
push eax
movzx eax, byte [ebp - 0x42]
push eax
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x7c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp + 0x18]
lea eax, [ebp - 0x1c]
call fcn.0042f0d4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x431e6d
sub ebx, 4
mov ebx, dword [ebx]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea eax, [ebp - 0x98]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00408d28
mov eax, dword [ebp - 0x98]
push eax
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0x40]
mov edx, ebx
call fcn.00430a40
test al, al
jne 0x431ef4
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea eax, [ebp - 0x9c]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00408d28
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 0x40]
call fcn.00430310
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x432194
mov dl, 1
mov eax, 0x43252c
call fcn.0042838c
xor eax, eax
call fcn.0042858c
jmp 0x432194
mov eax, dword [ebp - 0x4c]
xor edx, edx
add eax, dword [ebp - 0x58]
adc edx, dword [ebp - 0x54]
push edx
push eax
mov eax, dword [ebp - 0x40]
call fcn.00431718
mov eax, dword [0x4448c8]
cmp byte [eax + 0xb1], 0
je 0x431f34
cmp dword [ebp - 0x60], 0
jne 0x431f23
cmp dword [ebp - 0x5c], 0
je 0x431f34
lea eax, [ebp - 0x68]
push eax
push 0
push 0
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_SetFileTime
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x431f4e
mov dl, 1
mov eax, 0x43259c
call fcn.0042838c
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4448c8]
cmp byte [eax + 0xb1], 0
jne 0x432194
push 0
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004310a0
test al, al
jne 0x431fa0
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x432194
mov dl, 1
mov eax, 0x4325c8
call fcn.0042838c
jmp 0x432194
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_GetFileSizeEx
test eax, eax
jne 0x431fdd
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x432194
mov dl, 1
mov eax, 0x432610
call fcn.0042838c
jmp 0x432194
mov byte [ebp - 0x7d], 0
cmp dword [ebp - 0x54], 0
jne 0x431fef
cmp dword [ebp - 0x58], 0x10
jbe 0x43201e
jmp 0x431ff1
jle 0x43201e
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push 0
lea eax, [ebp - 0xa0]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00408d28
mov edx, dword [ebp - 0xa0]
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x40]
call fcn.00430e0c
mov byte [ebp - 0x7d], al
cmp byte [ebp - 0x7d], 1
je 0x43206b
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x432194
cmp byte [ebp - 0x7d], 3
jne 0x432053
mov dl, 1
mov eax, 0x432660
call fcn.0042838c
jmp 0x43205f
mov dl, 1
mov eax, 0x4326ec
call fcn.0042838c
xor eax, eax
call fcn.0042858c
jmp 0x432194
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x43208e
mov dl, 1
mov eax, 0x432764
call fcn.0042838c
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea eax, [ebp - 0xc]
push eax
mov cl, 2
movzx edx, byte [ebp - 0x42]
mov eax, dword [ebp - 4]
call fcn.00420d8c
lea eax, [ebp - 0xa8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00408d28
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa4]
call fcn.00421434
mov eax, dword [ebp - 0xa4]
call fcn.00408ca0
push eax
lea eax, [ebp - 0xb0]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00408d28
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xac]
call fcn.00421434
mov eax, dword [ebp - 0xac]
call fcn.00408ca0
push eax
call sub.kernel32.dll_MoveFileW
test eax, eax
jne 0x432127
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x432194
mov dl, 1
mov eax, 0x4327a0
call fcn.0042838c
jmp 0x432194
mov eax, dword [0x4448c8]
cmp byte [eax + 0xa4], 0
je 0x432141
mov dl, 1
mov eax, 0x4327e4
call fcn.0042838c
lea eax, [ebp - 0xb4]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00408d28
mov eax, dword [ebp - 0xb4]
call fcn.004219c0
test al, al
je 0x432194
lea eax, [ebp - 0xbc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00408d28
mov eax, dword [ebp - 0xbc]
lea edx, [ebp - 0xb8]
call fcn.00421434
mov eax, dword [ebp - 0xb8]
call fcn.00408ca0
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4321ee
lea eax, [ebp - 0xbc]
mov edx, 0xe
call fcn.00408298
lea eax, [ebp - 0x84]
call fcn.004081c8
lea eax, [ebp - 0x38]
call fcn.004081ec
lea eax, [ebp - 0x34]
mov edx, dword [0x420c8c]
mov ecx, 0xa
call fcn.00409e18
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00408298
pop eax
jmp eax