Function at 0x416e60
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x60]
sub esp, 0x60
push 0xffffffffffffffff
push 0x48eb26
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4b82d8]
xor eax, ebp
mov dword [ebp + 0x5c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov edi, ecx
mov ecx, dword [ebp + 0x68]
mov dword [ebp + 0x1c], ebx
xor eax, eax
mov word [ebp + 0x28], ax
mov eax, ecx
mov dword [ebp + 0x20], edi
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [ebp + 0x3c], 7
mov dword [ebp + 0x38], ebx
lea esi, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x416ec0
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [ebp + 0x24]
call fcn.00405210
mov dword [ebp - 4], ebx
call fcn.00414160
test al, al
je 0x416ef1
mov dword [edi + 4], 0xfffffff0
jmp 0x41717a
push str._frost.sys
lea ecx, [ebp + 0x24]
push ecx
lea edx, [ebp]
push edx
call fcn.00413c10
mov esi, 8
add esp, 0xc
cmp dword [eax + 0x18], esi
jb 0x416f15
mov eax, dword [eax + 4]
jmp 0x416f18
add eax, 4
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp + 0x18], esi
jb 0x416f35
mov eax, dword [ebp + 4]
push eax
call fcn.00419bc5
add esp, 4
push str._frost.sys
lea ecx, [ebp + 0x24]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.00413c10
mov esi, eax
push str._frost_32.sys
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp]
push ecx
mov byte [ebp - 4], 1
call fcn.00413c10
mov ecx, 8
add esp, 0x18
cmp dword [esi + 0x18], ecx
jb 0x416f71
mov esi, dword [esi + 4]
jmp 0x416f74
add esi, 4
cmp dword [eax + 0x18], ecx
jb 0x416f7e
mov eax, dword [eax + 4]
jmp 0x416f81
add eax, 4
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, 8
cmp dword [ebp + 0x18], esi
jb 0x416fa0
mov edx, dword [ebp + 4]
push edx
call fcn.00419bc5
add esp, 4
xor eax, eax
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], ax
mov byte [ebp - 4], al
cmp dword [ebp - 0x14], esi
jb 0x416fc4
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00419bc5
add esp, 4
push 0xa
push str._frost.sys
lea ecx, [ebp + 0x24]
call fcn.00411f20
mov edx, 0x1627
mov word [ebp + 0x40], dx
mov eax, 0x7b7c
mov word [ebp + 0x42], ax
mov ecx, 0x206f
mov word [ebp + 0x44], cx
mov edx, 0x7b4d
mov word [ebp + 0x46], dx
mov eax, 0x2050
mov ecx, 0x4109
mov edx, 0x114f
mov word [ebp + 0x48], ax
mov word [ebp + 0x4a], cx
mov word [ebp + 0x4c], dx
mov eax, 0x1608
mov ecx, 0x7b54
mov edx, 0x2005
mov word [ebp + 0x4e], ax
mov word [ebp + 0x50], cx
mov word [ebp + 0x52], dx
mov eax, 0x7b5d
mov ecx, 0x205a
xor edx, edx
push 0x3c
mov byte [ebp - 4], 2
mov word [ebp + 0x54], ax
mov word [ebp + 0x56], cx
mov word [ebp + 0x58], dx
call fcn.00419b96
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov ebx, 3
mov byte [ebp - 4], bl
test esi, esi
je 0x4170d6
lea ecx, [ebp + 0x40]
lea edi, [ebp - 0x4c]
call fcn.004142f0
mov edi, 8
mov byte [ebp - 4], 4
mov dword [ebp + 0x1c], 1
cmp dword [eax + 0x18], edi
jb 0x417089
mov eax, dword [eax + 4]
jmp 0x41708c
add eax, 4
push eax
lea ecx, [ebp]
call fcn.0040a7e0
mov eax, dword [ebp + 0x28]
mov dword [ebp - 4], 5
mov dword [ebp + 0x1c], ebx
cmp dword [ebp + 0x3c], edi
jae 0x4170aa
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a7e0
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ebx, 7
mov ecx, esi
mov dword [ebp - 4], 6
mov dword [ebp + 0x1c], ebx
call fcn.00416ac0
mov edi, dword [ebp + 0x20]
jmp 0x4170db
mov ebx, dword [ebp + 0x1c]
xor eax, eax
mov dword [edi], eax
test bl, 4
je 0x41710b
and ebx, 0xfffffffb
cmp dword [ebp - 0x14], 8
jb 0x4170f7
mov edx, dword [ebp - 0x28]
push edx
call fcn.00419bc5
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
test bl, 2
je 0x417139
and ebx, 0xfffffffd
cmp dword [ebp + 0x18], 8
jb 0x417125
mov ecx, dword [ebp + 4]
push ecx
call fcn.00419bc5
add esp, 4
xor edx, edx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], 0
mov word [ebp + 4], dx
test bl, 1
je 0x41717a
cmp dword [ebp - 0x34], 8
jb 0x41717a
mov eax, dword [ebp - 0x48]
push eax
call fcn.00419bc5
add esp, 4
jmp 0x41717a
cmp dword [ebp + 0x3c], 8
jb 0x41718c
mov ecx, dword [ebp + 0x28]
push ecx
call fcn.00419bc5
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x5c]
xor ecx, ebp
call fcn.0045cd9b
add ebp, 0x60
mov esp, ebp
pop ebp
ret 4