Function at 0x465d80
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4fc4
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x54c1b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, edx
mov dword [ebp - 0xb0], eax
mov eax, dword [esi + 0x9c]
xor ebx, ebx
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xac], ecx
cmp eax, ebx
je 0x465de7
push ebx
push ebx
push 0x4cb
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x54fec0], ebx
jne 0x466164
mov edx, dword [esi + 0x100]
fild dword [esi + 0x100]
test edx, edx
jns 0x465e09
fadd dword [0x51d128]
mov eax, 7
fstp dword [ebp - 0xb4]
xor ecx, ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
mov dword [ebp - 4], ebx
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
mov byte [ebp - 4], 1
mov eax, dword [esi + 0xfc]
mov edi, dword [eax]
mov dword [ebp - 0xa0], edi
cmp edi, eax
je 0x466114
mov dword [ebp - 0xa8], 0x64
jmp 0x465e68
mov edi, dword [ebp - 0xa0]
xor ebx, ebx
cmp dword [0x54fec0], ebx
jne 0x466184
lea eax, [esi + 0x24]
push 0x5118c0
push eax
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x9c]
push eax
call fcn.00407ab0
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 2
mov eax, dword [edi + 8]
add eax, 0x54
lea ebx, [ebp - 0x80]
call fcn.004143f0
mov edi, eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00407a10
mov esi, 8
cmp dword [ebp - 0x6c], esi
jb 0x465eca
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004bb4d8
add esp, 4
xor edx, edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x88], esi
jb 0x465ef9
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004bb4d8
add esp, 4
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x465f04
lea eax, [ebp - 0x64]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov ecx, dword [ebp - 0xb8]
push 0x5118c0
push ecx
lea edx, [ebp - 0x9c]
push edx
call fcn.00407ab0
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 8]
add eax, 0x1c
lea ebx, [ebp - 0x80]
call fcn.004143f0
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00407a10
mov edi, 8
cmp dword [ebp - 0x6c], edi
jb 0x465f66
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004bb4d8
add esp, 4
xor edx, edx
mov esi, 7
mov byte [ebp - 4], 1
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x88], edi
jb 0x465f96
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004bb4d8
add esp, 4
mov ebx, dword [ebp - 0xa0]
mov edx, dword [ebx + 8]
cmp dword [edx + 0x14], edi
jb 0x465fa6
mov edx, dword [edx]
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
lea esi, [eax + 2]
jmp 0x465fc0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x465fc0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.00408810
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x465fe8
lea ecx, [ebp - 0x2c]
mov eax, dword [ebx + 8]
cmp dword [eax + 0x14], edi
jb 0x465ff2
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4661b5
push edi
push str.Asset.7z
lea edx, [ebp - 0x2c]
push edx
xor eax, eax
call fcn.00407570
cmp eax, 0xffffffff
je 0x466092
mov eax, dword [ebp - 0xb8]
push str.Asset
push eax
lea ecx, [ebp - 0x9c]
push ecx
call fcn.00407ab0
add esp, 0xc
mov esi, dword [ebp - 0xb0]
push 0x54fec0
push esi
mov edx, eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.00402b60
add esp, 8
test al, al
sete bl
mov byte [ebp - 4], 6
cmp dword [ebp - 0x88], edi
jb 0x466072
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004bb4d8
add esp, 4
test bl, bl
jne 0x466291
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x466085
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [ebp - 0xa0]
mov eax, dword [ebx + 8]
mov ebx, dword [ebp - 0xa4]
mov byte [eax + 0x70], 1
mov esi, dword [ebx + 0x9c]
test esi, esi
je 0x4660c9
fild dword [ebp - 0xa8]
fdiv dword [ebp - 0xb4]
call fcn.004c4540
push eax
push 0
push 0x4cb
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [0x54fec0], 0
jne 0x466352
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], edi
jb 0x4660eb
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004bb4d8
add esp, 4
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx]
add dword [ebp - 0xa8], 0x64
mov esi, dword [ebp - 0xa4]
mov dword [ebp - 0xa0], eax
cmp eax, dword [ebx + 0xfc]
jne 0x465e60
xor ebx, ebx
mov esi, dword [esi + 0x9c]
cmp esi, ebx
je 0x46612d
push 0x64
push ebx
push 0x4cb
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x466143
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004bb4d8
add esp, 4
xor edx, edx
cmp dword [ebp - 0x50], esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
jb 0x466164
mov eax, dword [ebp - 0x64]
push eax
call fcn.004bb4d8
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bb4e3
mov esp, ebp
pop ebp
ret 4
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x46619a
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004bb4d8
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x50], esi
jb 0x466164
mov edx, dword [ebp - 0x64]
push edx
jmp 0x46615c
lea eax, [ebp - 0x9c]
push 0x51c4d4
push eax
lea ebx, [ebp - 0x2c]
call fcn.0040ac00
add esp, 8
mov esi, dword [ebp - 0xb0]
mov ebx, 7
mov edi, eax
mov byte [ebp - 4], bl
call fcn.00407a10
mov esi, 8
mov byte [ebp - 4], 6
cmp dword [ebp - 0x88], esi
jb 0x466201
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004bb4d8
add esp, 4
mov ecx, dword [ebp - 0xac]
push 3
push 0x51c4f0
call fcn.00408810
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x9c]
xor edi, edi
cmp eax, edi
je 0x46623f
push edi
push 1
push 0x4cb
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp - 0x34], esi
jb 0x466250
mov eax, dword [ebp - 0x48]
push eax
call fcn.004bb4d8
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], esi
jb 0x46626d
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004bb4d8
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x50], esi
jb 0x46628a
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004bb4d8
add esp, 4
xor al, al
jmp 0x466166
mov ebx, dword [ebp - 0xac]
push 3
push 0x518cac
mov ecx, ebx
call fcn.00408810
cmp dword [ebx + 0x14], edi
jb 0x4662ac
mov ebx, dword [ebx]
cmp dword [esi + 0x14], edi
jb 0x4662b3
mov esi, dword [esi]
push ebx
push esi
push 0x518cb8
push 0x51be7c
mov edx, 0x3cd
mov esi, 2
mov eax, 0x54fee0
call fcn.0042c610
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x9c]
xor ebx, ebx
add esp, 0x10
cmp eax, ebx
je 0x4662f7
push ebx
push 1
push 0x4cb
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp - 0x34], edi
jb 0x466308
mov eax, dword [ebp - 0x48]
push eax
call fcn.004bb4d8
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], edi
jb 0x46632a
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004bb4d8
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x50], edi
jb 0x46628a
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004bb4d8
add esp, 4
xor al, al
jmp 0x466166
cmp dword [ebp - 0x34], edi
jb 0x466363
mov edx, dword [ebp - 0x48]
push edx
call fcn.004bb4d8
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x18], edi
jb 0x466389
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004bb4d8
add esp, 4
xor edx, edx
cmp dword [ebp - 0x50], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
jmp 0x466152