Function at 0x405860
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x154
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x60]
lea edx, [ebp - 0x3a]
lea esi, [entry0]
mov dword [ebp - 0x90], 0xf
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x70], 0
mov ebx, dword [ebp - 0x70]
mov dword [ebp - 0x48], 1
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x40], 7
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], 0x100000
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x74]
mov byte [ebp - 0x91], 0x58
mov dword [ebp - 0xd8], 0x100000
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x8c]
and eax, 0
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xe0], 0x10
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x6c], 0xa
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x50], 8
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x98], 2
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xd0], 0x400
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x88], 4
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xdc], accept
mov word [ebp - 0x1a], 0x1ca2
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0xdc]
mov byte [ebp - 0xd1], 0xa9
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xa0], 0x800
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x44], eax
mov dword [0x409764], esi
mov byte [ebp - 0xc9], 0xe
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [ebp - 0x10c]
mov dword [esp + 8], ecx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x134], edi
call fcn.00401550
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x80]
mov byte [ebp - 0xc9], 0xe1
xor ecx, 0
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp - 0x100]
add ecx, dword [ebp - 0x44]
cmp eax, ecx
jge 0x405c5b
lea eax, [ebp - 0xc9]
mov cl, byte [ebp - 0x91]
mov dl, al
or cl, dl
mov byte [ebp - 0x91], cl
mov eax, esp
mov esi, dword [ebp - 0x134]
mov dword [eax + 4], esi
mov dword [eax], str.D7yHaaOgny2TMS
mov eax, dword [sym.imp.USER32.dll_CharLowerBuffA]
call eax
sub esp, 8
mov cl, 0xc0
mov esi, dword [ebp - 0x10]
sub cl, byte [ebp - 0xc9]
mov byte [ebp - 0xc9], cl
mov edi, dword [ebp - 0xf8]
cmp esi, edi
mov dword [ebp - 0x13c], eax
jne 0x405bd2
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0xc9]
mov dl, byte [ebp - 0x91]
mov dh, cl
xor dl, dh
mov byte [ebp - 0xc9], dl
mov ecx, dword [ebp - 0x80]
or ecx, eax
mov dword [ebp - 0x80], ecx
mov eax, dword [ebp - 0xf4]
cmp dword [ebp - 0x44], eax
jne 0x405b5e
lea eax, [ebp - 0xc9]
mov cl, byte [ebp - 0xc9]
mov dl, al
mov eax, dword [sym.imp.KERNEL32.dll_FreeConsole]
mov byte [ebp - 0x13d], cl
mov byte [ebp - 0x13e], dl
call eax
mov byte [ebp - 0xc9], 0x25
mov esi, dword [ebp - 0xfc]
mov dword [esp], esi
mov dword [ebp - 0x144], eax
call fcn.00405510
mov eax, 0
mov esi, dword [ebp - 0x80]
mov cl, byte [ebp - 0x13e]
mov dl, byte [ebp - 0x13d]
sub cl, dl
mov edi, dword [ebp - 0xf0]
mov dword [ebp - 0x78], edi
mov byte [ebp - 0xc9], cl
sub eax, esi
mov dword [ebp - 0x80], eax
jmp 0x405cb4
lea eax, [ebp - 0x80]
mov cl, 0
lea edx, [ebp - 0xc8]
mov byte [ebp - 0xd1], 0x67
sub cl, byte [ebp - 0xc9]
mov si, word [ebp - 0x1a]
mov di, ax
and si, di
mov word [ebp - 0x1a], si
mov eax, esp
mov ebx, dword [ebp - 0x120]
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x124]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x128]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x12c]
mov dword [eax], edx
mov dword [eax + 0x14], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetCalendarInfoW]
mov byte [ebp - 0x145], cl
call eax
sub esp, 0x18
mov cl, byte [ebp - 0x145]
mov byte [ebp - 0xc9], cl
mov dword [ebp - 0x68], eax
mov eax, esp
mov ecx, dword [ebp - 0x110]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x114]
mov dword [eax + 0xc], edx
mov esi, dword [ebp - 0x118]
mov dword [eax + 4], esi
mov edi, dword [ebp - 0x11c]
mov dword [eax], edi
mov dword [eax + 0x10], str.srBSLAGoFp
mov dword [eax + 8], str.02E5YYKm
mov eax, dword [sym.imp.KERNEL32.dll_CompareStringA]
call eax
sub esp, 0x18
lea ecx, [ebp - 0x1a]
mov bx, word [ebp - 0x1a]
sub cx, bx
mov word [ebp - 0x1a], cx
mov dword [ebp - 0x64], eax
mov al, 0
lea ecx, [ebp - 0x80]
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x80]
or esi, ecx
mov dword [ebp - 0x80], esi
mov ecx, dword [ebp - 0xec]
add edx, ecx
sub al, byte [ebp - 0x91]
mov dword [ebp - 0x10], edx
mov ah, byte [ebp - 0xd1]
xor ah, 0xb
mov byte [ebp - 0x91], ah
mov byte [ebp - 0x91], al
jmp 0x405a4a
mov eax, esp
mov ecx, dword [ebp - 0x108]
mov dword [eax + 8], ecx
mov dword [eax + 4], str.E:_ftML81PHbsvcivCPPaBqffIpppDFpkje56Rm2YSGO
mov dword [eax], str.E:_aMLw4lcdp0UUCr79wSjSqUNlmD7q9ZRoJlU7zQWNfE
mov eax, dword [sym.imp.KERNEL32.dll_CopyFileW]
call eax
sub esp, 0xc
mov dl, 0
mov ecx, dword [ebp - 0x80]
add ecx, 0
mov dword [ebp - 0xe4], eax
mov dh, byte [ebp - 0xc9]
mov dword [ebp - 0x80], ecx
sub dl, dh
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x80]
xor ecx, 0
mov dword [ebp - 0x80], ecx
mov byte [ebp - 0xc9], dl
mov eax, dword [ebp - 0x78]
mov byte [ebp - 0x91], 0xd2
add esp, 0x154
pop esi
pop edi
pop ebx
pop ebp
ret