Function at 0x4e27b8
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 0x4e27c1
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.0040b4a8
lea eax, [ebp - 8]
call fcn.0040b4a8
xor eax, eax
push ebp
push 0x4e31e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4f8d38]
cmp byte [eax + 0x90], 0
je 0x4e2844
mov dl, 1
xor eax, eax
call fcn.004dde34
push 0x4e31fc
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x88]
mov edx, 3
call fcn.0040c0f4
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
call fcn.0040c338
mov eax, dword [ebp - 0x84]
mov dl, 1
call fcn.004dde34
mov eax, dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004e20a0
test al, al
jne 0x4e2884
mov eax, dword [0x4f8d38]
cmp byte [eax + 0x90], 0
je 0x4e3194
mov dl, 1
mov eax, 0x4e3228
call fcn.004dde34
xor eax, eax
call fcn.004de034
jmp 0x4e3194
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_GetFileSizeEx
test eax, eax
jne 0x4e28c8
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4f8d38]
cmp byte [eax + 0x90], 0
je 0x4e3194
mov dl, 1
mov eax, 0x4e3268
call fcn.004dde34
xor eax, eax
call fcn.004de034
jmp 0x4e3194
cmp dword [ebp - 0x54], 0
jne 0x4e2900
cmp dword [ebp - 0x58], 0
jne 0x4e2900
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4f8d38]
cmp byte [eax + 0x90], 0
je 0x4e3194
mov dl, 1
mov eax, 0x4e32b0
call fcn.004dde34
jmp 0x4e3194
xor ebx, ebx
cmp dword [ebp - 0x54], 0
jne 0x4e2914
cmp dword [ebp - 0x58], 0x10
jbe 0x4e29bc
jmp 0x4e291a
jle 0x4e29bc
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.0040c078
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x40]
call fcn.004e1e0c
mov byte [ebp - 0x7d], al
movzx eax, byte [ebp - 0x7d]
dec al
je 0x4e2959
dec al
je 0x4e2985
dec al
je 0x4e2989
jmp 0x4e29bc
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4f8d38]
cmp byte [eax + 0x90], 0
je 0x4e3194
mov dl, 1
mov eax, 0x4e32f8
call fcn.004dde34
jmp 0x4e3194
mov bl, 1
jmp 0x4e29bc
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4f8d38]
cmp byte [eax + 0x90], 0
je 0x4e3194
mov dl, 1
mov eax, 0x4e3354
call fcn.004dde34
xor eax, eax
call fcn.004de034
jmp 0x4e3194
test bl, bl
je 0x4e2a55
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4e29d0
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.00432d10
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4e29f0
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.00432d10
mov edx, dword [ebp - 0x34]
mov eax, edx
test eax, eax
je 0x4e2a0f
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 0x4e2a25
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 0x4e2a3b
sub esi, 4
mov esi, dword [esi]
lea edx, [ebp - 0x20]
mov eax, esi
call fcn.00432c98
lea ecx, [ebp - 0x34]
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x20]
call fcn.004324ec
jmp 0x4e2a5f
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.00432c98
test bl, bl
je 0x4e2adb
cmp byte [ebp - 0x41], 2
jbe 0x4e2a9c
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4f8d38]
cmp byte [eax + 0x90], 0
je 0x4e3194
mov dl, 1
mov eax, 0x4e33d0
call fcn.004dde34
xor eax, eax
call fcn.004de034
jmp 0x4e3194
cmp byte [ebp - 0x42], 1
jb 0x4e2aa8
cmp byte [ebp - 0x42], 0xe
jbe 0x4e2adb
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4f8d38]
cmp byte [eax + 0x90], 0
je 0x4e3194
mov dl, 1
mov eax, 0x4e3448
call fcn.004dde34
xor eax, eax
call fcn.004de034
jmp 0x4e3194
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 8]
call fcn.004116b8
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4e2af2
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx]
test edx, edx
je 0x4e2b00
sub edx, 4
mov edx, dword [edx]
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x4e2b0c
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.004e0e54
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 0x4e2b5c
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.00432c98
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x5c]
call fcn.00432c98
lea eax, [ebp - 0x1c]
mov edx, dword [0x431758]
call fcn.0040e788
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, dword [0x431758]
call fcn.0040e664
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.0040c078
mov eax, dword [ebp - 0x90]
push eax
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x4c]
call fcn.004e1a40
test al, al
jne 0x4e2c3e
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea eax, [ebp - 0x94]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040c078
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x40]
call fcn.004e1310
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4f8d38]
cmp byte [eax + 0x90], 0
je 0x4e3194
mov dl, 1
mov eax, 0x4e34b4
call fcn.004dde34
xor eax, eax
call fcn.004de034
jmp 0x4e3194
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.004e2678
lea eax, [ebp - 0x10]
mov edx, dword [0x431758]
call fcn.0040e788
mov eax, dword [ebp - 0x50]
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x431758]
call fcn.0040e664
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x14]
mov cl, 1
call fcn.004e1420
movzx eax, byte [ebp - 0x41]
sub al, 1
jb 0x4e2ca0
je 0x4e2cc4
dec al
je 0x4e2cee
jmp 0x4e2d20
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.004e19e4
jmp 0x4e2d20
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.004e1820
jmp 0x4e2d20
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.004e18f4
mov eax, dword [0x4f8d38]
cmp byte [eax + 0x9c], 0
jne 0x4e2d57
cmp dword [ebp - 0x60], 0
jne 0x4e2d3a
cmp dword [ebp - 0x5c], 0
je 0x4e2d57
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.004324ec
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x38]
mov edx, 0x4e351c
call fcn.0040bbf4
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
call fcn.00432fac
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
call fcn.004324ec
lea eax, [ebp - 0x30]
mov edx, dword [0x431758]
call fcn.0040e788
push 0x10
lea eax, [ebp - 0x30]
mov ecx, 1
mov edx, dword [0x431758]
call fcn.0040e664
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4e2dc0
sub eax, 4
mov eax, dword [eax]
mov ecx, dword [ebp - 0x30]
mov edx, eax
mov eax, dword [ebp - 0x28]
call fcn.004e24b8
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.004324ec
lea eax, [ebp - 0x2c]
mov edx, dword [0x431758]
call fcn.0040e788
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4e2df5
sub ebx, 4
mov ebx, dword [ebx]
push ebx
lea eax, [ebp - 0x2c]
mov ecx, 1
mov edx, dword [0x431758]
call fcn.0040e664
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4e2e18
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.004d84a0
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.004e020c
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4e2e6d
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.0040c078
mov eax, dword [ebp - 0x98]
push eax
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0x40]
mov edx, ebx
call fcn.004e1a40
test al, al
jne 0x4e2ef4
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea eax, [ebp - 0x9c]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040c078
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 0x40]
call fcn.004e1310
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4f8d38]
cmp byte [eax + 0x90], 0
je 0x4e3194
mov dl, 1
mov eax, 0x4e352c
call fcn.004dde34
xor eax, eax
call fcn.004de034
jmp 0x4e3194
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.004e2718
mov eax, dword [0x4f8d38]
cmp byte [eax + 0x9c], 0
je 0x4e2f34
cmp dword [ebp - 0x60], 0
jne 0x4e2f23
cmp dword [ebp - 0x5c], 0
je 0x4e2f34
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 [0x4f8d38]
cmp byte [eax + 0x90], 0
je 0x4e2f4e
mov dl, 1
mov eax, 0x4e359c
call fcn.004dde34
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4f8d38]
cmp byte [eax + 0x9c], 0
jne 0x4e3194
push 0
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004e20a0
test al, al
jne 0x4e2fa0
mov eax, dword [0x4f8d38]
cmp byte [eax + 0x90], 0
je 0x4e3194
mov dl, 1
mov eax, 0x4e35c8
call fcn.004dde34
jmp 0x4e3194
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_GetFileSizeEx
test eax, eax
jne 0x4e2fdd
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4f8d38]
cmp byte [eax + 0x90], 0
je 0x4e3194
mov dl, 1
mov eax, 0x4e3610
call fcn.004dde34
jmp 0x4e3194
mov byte [ebp - 0x7d], 0
cmp dword [ebp - 0x54], 0
jne 0x4e2fef
cmp dword [ebp - 0x58], 0x10
jbe 0x4e301e
jmp 0x4e2ff1
jle 0x4e301e
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.0040c078
mov edx, dword [ebp - 0xa0]
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x40]
call fcn.004e1e0c
mov byte [ebp - 0x7d], al
cmp byte [ebp - 0x7d], 1
je 0x4e306b
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4f8d38]
cmp byte [eax + 0x90], 0
je 0x4e3194
cmp byte [ebp - 0x7d], 3
jne 0x4e3053
mov dl, 1
mov eax, 0x4e3660
call fcn.004dde34
jmp 0x4e305f
mov dl, 1
mov eax, 0x4e36ec
call fcn.004dde34
xor eax, eax
call fcn.004de034
jmp 0x4e3194
mov eax, dword [ebp - 0x40]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4f8d38]
cmp byte [eax + 0x90], 0
je 0x4e308e
mov dl, 1
mov eax, 0x4e3764
call fcn.004dde34
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.00431858
lea eax, [ebp - 0xa8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0040c078
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa4]
call fcn.00431fc8
mov eax, dword [ebp - 0xa4]
call fcn.0040bff0
push eax
lea eax, [ebp - 0xb0]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040c078
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xac]
call fcn.00431fc8
mov eax, dword [ebp - 0xac]
call fcn.0040bff0
push eax
call sub.kernel32.dll_MoveFileW
test eax, eax
jne 0x4e3127
mov eax, dword [0x4f8d38]
cmp byte [eax + 0x90], 0
je 0x4e3194
mov dl, 1
mov eax, 0x4e37a0
call fcn.004dde34
jmp 0x4e3194
mov eax, dword [0x4f8d38]
cmp byte [eax + 0x90], 0
je 0x4e3141
mov dl, 1
mov eax, 0x4e37e4
call fcn.004dde34
lea eax, [ebp - 0xb4]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040c078
mov eax, dword [ebp - 0xb4]
call fcn.00432374
test al, al
je 0x4e3194
lea eax, [ebp - 0xbc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040c078
mov eax, dword [ebp - 0xbc]
lea edx, [ebp - 0xb8]
call fcn.00431fc8
mov eax, dword [ebp - 0xb8]
call fcn.0040bff0
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e31ee
lea eax, [ebp - 0xbc]
mov edx, 0xe
call fcn.0040b464
lea eax, [ebp - 0x84]
call fcn.0040b394
lea eax, [ebp - 0x38]
call fcn.0040b3b8
lea eax, [ebp - 0x34]
mov edx, dword [0x431758]
mov ecx, 0xa
call fcn.0040d23c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040b464
pop eax
jmp eax