Function at 0x4550a0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Get file attributes
Get file size
Read file via mapping
Set file attributes
Timestomp file

Disassembly:
sub esp, 0x58
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x68]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4550d0
test al, 1
je 0x4550d0
xor eax, 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor ebp, ebp
push ebp
push ebp
push 3
push ebp
push 3
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [esp + 0x24], ebx
cmp ebx, 0xffffffff
jne 0x455104
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0062016f
add esp, 0x58
ret
lea eax, [esp + 0x14]
push eax
push ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45512d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4553b4
mov ecx, dword [esp + 0x14]
push edi
push ebp
push esi
push ecx
push 4
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x4553b3
push 0
push 0
push 0
push 6
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4553ac
lea edi, [esi + 1]
push edi
mov dword [esp + 0x34], edi
call fcn.005f4427
push edi
mov ebp, eax
call fcn.005f4427
add esp, 8
mov edi, eax
test ebp, ebp
je 0x455399
test edi, edi
je 0x455399
mov al, 0x61
mov cl, 0x6e
mov bl, 0x6a
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x28], 1
mov byte [esp + 0x48], 0x21
mov byte [esp + 0x49], 0x66
mov byte [esp + 0x4a], al
mov byte [esp + 0x4b], 0x7b
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], 0x7d
mov byte [esp + 0x4e], al
mov byte [esp + 0x4f], bl
mov byte [esp + 0x50], 0x7b
mov byte [esp + 0x51], 0x6b
mov byte [esp + 0x52], 0x60
mov byte [esp + 0x53], 0x78
mov byte [esp + 0x54], al
mov byte [esp + 0x55], 0x63
mov byte [esp + 0x56], 0x60
mov byte [esp + 0x57], cl
mov byte [esp + 0x58], 0x6b
mov byte [esp + 0x59], 0x62
mov byte [esp + 0x5a], cl
mov byte [esp + 0x5b], al
mov byte [esp + 0x5c], cl
mov byte [esp + 0x5d], 0x68
mov byte [esp + 0x5e], bl
mov byte [esp + 0x5f], 0x7d
mov byte [esp + 0x60], 0x21
mov byte [esp + 0x61], 0x6c
mov byte [esp + 0x62], 0x60
mov byte [esp + 0x63], 0x62
mov byte [esp + 0x64], 0
call fcn.005cb4d0
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x3c], 0x7d
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0x68
mov byte [esp + 0x3f], 0x66
mov byte [esp + 0x40], 0x7c
mov byte [esp + 0x41], 0x7b
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], 0x7d
mov byte [esp + 0x44], 0x66
mov byte [esp + 0x45], 0x6b
mov byte [esp + 0x46], 0x62
mov byte [esp + 0x47], 0x21
mov byte [esp + 0x48], 0x6c
mov byte [esp + 0x49], 0x60
mov byte [esp + 0x4a], 0x62
mov byte [esp + 0x4b], 0
call fcn.005cb4d0
mov ecx, dword [esp + 0x1c]
push esi
push ecx
push ebp
call fcn.00621d10
add esp, 0x14
mov byte [esi + ebp], 0
cmp byte [ebp], 0
mov ebx, ebp
mov dword [esp + 0x10], 0
je 0x455386
push 0xa
push ebx
call fcn.00621750
add esp, 8
test eax, eax
je 0x4552d5
mov esi, eax
sub esi, ebx
lea edx, [esi + 1]
push edx
push ebx
push edi
call fcn.006219d0
mov byte [esi + edi + 1], 0
jmp 0x4552e9
mov esi, dword [esp + 0x30]
lea eax, [esi - 1]
push eax
push ebx
push edi
call fcn.006219d0
mov byte [esi + edi - 1], 0
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4552f1
sub eax, edx
add ebx, eax
mov esi, edi
mov edi, edi
mov al, byte [esi]
cmp al, 0x20
je 0x45530a
cmp al, 9
jne 0x45530d
inc esi
jmp 0x455300
cmp byte [esi], 0x23
jne 0x455320
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x455317
jmp 0x455377
push edi
call fcn.00624df3
lea ecx, [esp + 0x48]
push ecx
push esi
call fcn.00621810
add esp, 0xc
test eax, eax
je 0x455346
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov byte [eax + edx], 0x23
jmp 0x455364
lea ecx, [esp + 0x34]
push ecx
push esi
call fcn.00621810
add esp, 8
test eax, eax
je 0x455364
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov byte [edx + eax], 0x23
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x455370
sub eax, edx
add dword [esp + 0x10], eax
cmp byte [ebx], 0
jne 0x4552b0
push ebp
call fcn.005f4432
push edi
call fcn.005f4432
mov ebx, dword [esp + 0x30]
add esp, 8
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test ebp, ebp
je 0x4553fd
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x28], edx
push 0
lea edx, [esp + 0x2c]
push edx
push ebx
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x60]
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.0062016f
add esp, 0x58
ret