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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420d21
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x42b730]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x20]
call sub.mfc90.dll_Ordinal_404
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call sub.mfc90.dll_Ordinal_320
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 3
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x44], 0
push 0x42b860
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_820]
push 0x42278c
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_945]
push 0
push 0x40
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
lea ecx, [ebp - 0x20]
call sub.mfc90.dll_Ordinal_5520
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jne 0x402a77
cmp dword [section..data], 1
jne 0x402a77
push str.041110_2
call fcn.004100f0
add esp, 4
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00410430
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.mfc90.dll_Ordinal_663
mov eax, dword [ebp - 0x84]
jmp 0x402ed8
lea ecx, [ebp - 0x20]
call sub.mfc90.dll_Ordinal_3179
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x64], eax
push 0x8040
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x64], 0
jle 0x402b82
cmp dword [ebp - 0x64], 0x8000
jl 0x402acf
mov dword [ebp - 0x48], 0x8000
jmp 0x402ad5
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
call sub.mfc90.dll_Ordinal_5753
mov ecx, dword [ebp - 0x64]
sub ecx, dword [ebp - 0x48]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x48]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0
jmp 0x402b15
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x48]
sub ecx, 1
cmp dword [ebp - 0x44], ecx
jge 0x402b7d
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x78]
xor eax, dword [edx]
mov ecx, dword [ebp - 0x74]
xor ecx, dword [edx + 4]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [edx]
or ecx, dword [eax + 8]
mov edx, dword [edx + 4]
or edx, dword [eax + 0xc]
add ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
adc eax, edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ecx]
and eax, dword [edx + 8]
mov ecx, dword [ecx + 4]
and ecx, dword [edx + 0xc]
add eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
adc edx, ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x4c]
add eax, 8
mov dword [ebp - 0x4c], eax
jmp 0x402b0c
jmp 0x402ab3
lea ecx, [ebp - 0x20]
call sub.mfc90.dll_Ordinal_1555
push 0x42b860
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_820]
push 0x4227ac
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_945]
push 0
push 0x40
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
lea ecx, [ebp - 0x20]
call sub.mfc90.dll_Ordinal_5520
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
jne 0x402c1e
cmp dword [section..data], 1
jne 0x402c1e
push str.041110_22
call fcn.004100f0
add esp, 4
mov dword [ebp - 0x88], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00410430
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.mfc90.dll_Ordinal_663
mov eax, dword [ebp - 0x88]
jmp 0x402ed8
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push 0x8000
mov edx, dword [ebp - 0x24]
push edx
lea ecx, [ebp - 0x20]
call sub.mfc90.dll_Ordinal_5753
lea ecx, [ebp - 0x20]
call sub.mfc90.dll_Ordinal_1555
push 0x8000
mov eax, dword [ebp - 0x24]
push eax
call fcn.00410540
add esp, 8
push 8
lea ecx, [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x24]
add edx, 0x31ed
push edx
call dword [sym.imp.MSVCR90.dll_memmove]
add esp, 0xc
push 8
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x35d5
push ecx
call dword [sym.imp.MSVCR90.dll_memmove]
add esp, 0xc
push 8
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x24]
add eax, 0x39bd
push eax
call dword [sym.imp.MSVCR90.dll_memmove]
add esp, 0xc
push 0x8000
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00410540
add esp, 8
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x58], eax
push 0x20
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0x42
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
lea ecx, [ebp - 0x20]
call sub.mfc90.dll_Ordinal_5520
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x402d56
cmp dword [section..data], 1
jne 0x402d56
push str.041110_23
call fcn.004100f0
add esp, 4
mov dword [ebp - 0x8c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00410430
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.mfc90.dll_Ordinal_663
mov eax, dword [ebp - 0x8c]
jmp 0x402ed8
lea ecx, [ebp - 0x20]
call fcn.00410440
push 0x8000
mov edx, dword [ebp - 0x24]
push edx
lea ecx, [ebp - 0x20]
call sub.mfc90.dll_Ordinal_6793
lea ecx, [ebp - 0x20]
call sub.mfc90.dll_Ordinal_1555
push 0
push 0x42
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
lea ecx, [ebp - 0x20]
call sub.mfc90.dll_Ordinal_5520
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x402def
cmp dword [section..data], 1
jne 0x402def
push str.041110_24
call fcn.004100f0
add esp, 4
mov dword [ebp - 0x90], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00410430
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.mfc90.dll_Ordinal_663
mov eax, dword [ebp - 0x90]
jmp 0x402ed8
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea ecx, [ebp - 0x20]
call sub.mfc90.dll_Ordinal_1555
mov ecx, dword [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x402e81
mov dword [ebp - 4], 1
jmp 0x402ead
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00410430
mov dword [ebp - 0x98], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.mfc90.dll_Ordinal_663
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret