Function at 0x4059c0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x144
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0xc8]
lea esi, [entry0]
mov dword [ebp - 0x94], 1
mov edi, dword [ebp - 0x94]
mov dword [ebp - 0x40], 0x10
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa4], 0x100000
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], 0x100000
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x50], 0
mov word [ebp - 0x3a], 0x2f9e
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x20], 0xa
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x58], 8
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x58]
mov byte [ebp - 0x3b], 0xc6
mov dword [ebp - 0xcc], 2
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x54], 0x400
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x98], accept
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xdc], 0xffffffff
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x48], 0x800
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x90]
mov word [ebp - 0x62], 0x1d3b
mov word [ebp - 0xd6], 0x5e17
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x28], eax
mov dword [0x41027c], esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [ebp - 0x12c], edi
call fcn.00401750
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x62]
mov ecx, dword [ebp - 0x14]
mov dx, word [ebp - 0x3a]
add dx, 0x423d
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
and edi, eax
mov dword [ebp - 0x18], edi
mov word [ebp - 0x3a], dx
mov eax, dword [ebp - 0x104]
add eax, esi
cmp ecx, eax
jge 0x405d56
mov eax, esp
mov ecx, dword [ebp - 0x128]
mov dword [eax + 4], ecx
mov dword [eax], str.D7yHaaOgny2TMS
mov eax, dword [sym.imp.USER32.dll_CharLowerBuffA]
call eax
sub esp, 8
mov ecx, 0
lea edx, [ebp - 0x3a]
mov esi, dword [ebp - 0x14]
mov di, word [ebp - 0x62]
mov bx, dx
or di, bx
mov word [ebp - 0x3a], di
sub ecx, dword [ebp - 0x44]
mov dword [ebp - 0xd4], ecx
mov ecx, dword [ebp - 0x18]
xor ecx, 0
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0xfc]
cmp esi, ecx
mov dword [ebp - 0x134], eax
jne 0x405cd2
mov word [ebp - 0xd6], 0x232c
mov eax, dword [ebp - 0xf8]
cmp dword [ebp - 0x28], eax
jne 0x405c76
mov eax, dword [sym.imp.KERNEL32.dll_FreeConsole]
call eax
lea ecx, [ebp - 0xd6]
mov edx, dword [ebp - 0x18]
sub ecx, edx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x100]
mov dword [esp], ecx
mov dword [ebp - 0x138], eax
call fcn.00405630
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xa8], eax
mov si, word [ebp - 0xd6]
mov word [ebp - 0x3a], 0x5acd
and si, 0x3450
mov word [ebp - 0x62], si
jmp 0x405db5
lea eax, [ebp - 0x62]
mov ecx, 0
lea edx, [ebp - 0x8a]
sub ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0xd4]
xor esi, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xd4], esi
mov eax, esp
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x11c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x120]
mov dword [eax + 4], edx
mov esi, dword [ebp - 0x124]
mov dword [eax], esi
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 4
mov eax, dword [sym.imp.KERNEL32.dll_GetCalendarInfoW]
call eax
sub esp, 0x18
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0xd6]
mov cl, byte [ebp - 0x3b]
mov dl, al
or cl, dl
mov byte [ebp - 0x3b], cl
mov eax, esp
mov esi, dword [ebp - 0x10c]
mov dword [eax + 0x14], esi
mov edi, dword [ebp - 0x110]
mov dword [eax + 0xc], edi
mov ebx, dword [ebp - 0x114]
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0x118]
mov dword [eax], ecx
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
mov dword [ebp - 0xe0], eax
mov eax, 0
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, eax
sub esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0xf0]
add edx, edi
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x18]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], esi
sub ecx, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x44], eax
jmp 0x405b87
lea eax, [ebp - 0xd4]
mov ecx, dword [ebp - 0xd4]
mov dl, byte [ebp - 0x3b]
or dl, 0xfd
mov byte [ebp - 0x3b], dl
and ecx, eax
mov dword [ebp - 0xd4], ecx
mov eax, esp
mov ecx, dword [ebp - 0x12c]
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
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xa8], eax
mov esi, dword [ebp - 0x44]
sub ecx, esi
mov dword [ebp - 0x44], ecx
mov eax, 0
mov word [ebp - 0x3a], 0x7d49
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x18], eax
mov eax, ecx
add esp, 0x144
pop esi
pop edi
pop ebx
pop ebp
ret