Function at 0x460e10
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef074
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x5441b4]
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 + 0x7c]
xor ebx, ebx
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xac], ecx
cmp eax, ebx
je 0x460e74
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 [0x547e34], ebx
jne 0x4611cc
mov edx, dword [esi + 0xe0]
fild dword [esi + 0xe0]
test edx, edx
jns 0x460e96
fadd dword [0x516210]
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 + 0xdc]
mov edi, dword [eax]
mov dword [ebp - 0xa0], edi
cmp edi, eax
je 0x46117f
mov dword [ebp - 0xa8], 0x64
jmp 0x460eea
mov edi, dword [ebp - 0xa0]
xor ebx, ebx
cmp dword [0x547e34], ebx
jne 0x4611ec
lea eax, [esi + 0x24]
push 0x50b670
push eax
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x9c]
push eax
call fcn.00404300
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.004125f0
mov edi, eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00406400
mov esi, 8
cmp dword [ebp - 0x6c], esi
jb 0x460f4c
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004b6106
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 0x460f7b
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004b6106
add esp, 4
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x460f86
lea eax, [ebp - 0x64]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov ecx, dword [ebp - 0xb8]
push 0x50b670
push ecx
lea edx, [ebp - 0x9c]
push edx
call fcn.00404300
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.004125f0
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00406400
mov edi, 8
cmp dword [ebp - 0x6c], edi
jb 0x460fe8
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004b6106
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 0x461018
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004b6106
add esp, 4
mov ebx, dword [ebp - 0xa0]
mov edx, dword [ebx + 8]
cmp dword [edx + 0x14], edi
jb 0x461028
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]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x461040
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.004073c0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x461068
lea ecx, [ebp - 0x2c]
mov eax, dword [ebx + 8]
cmp dword [eax + 0x14], edi
jb 0x461072
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x46121d
push edi
push str.Asset.7z
lea edx, [ebp - 0x2c]
push edx
xor eax, eax
call fcn.0040c250
cmp eax, 0xffffffff
je 0x461100
mov eax, dword [ebp - 0xb8]
push str.Asset
push eax
lea ecx, [ebp - 0x9c]
push ecx
call fcn.00404300
add esp, 0xc
mov esi, dword [ebp - 0xb0]
push 0x547e34
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 0x4610f2
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004b6106
add esp, 4
test bl, bl
jne 0x4612f6
mov ebx, dword [ebp - 0xa0]
mov eax, dword [ebx + 8]
mov ebx, dword [ebp - 0xa4]
mov byte [eax + 0x70], 1
mov esi, dword [ebx + 0x7c]
test esi, esi
je 0x461134
fild dword [ebp - 0xa8]
fdiv dword [ebp - 0xb4]
call fcn.004bf050
push eax
push 0
push 0x4cb
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [0x547e34], 0
jne 0x4613b4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], edi
jb 0x461156
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b6106
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 + 0xdc]
jne 0x460ee2
xor ebx, ebx
mov esi, dword [esi + 0x7c]
cmp esi, ebx
je 0x461195
push 0x64
push ebx
push 0x4cb
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x4611ab
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b6106
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 0x4611cc
mov eax, dword [ebp - 0x64]
push eax
call fcn.004b6106
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.004b6111
mov esp, ebp
pop ebp
ret 4
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x461202
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b6106
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 0x4611cc
mov edx, dword [ebp - 0x64]
push edx
jmp 0x4611c4
lea eax, [ebp - 0x9c]
push 0x5155b8
push eax
lea ebx, [ebp - 0x2c]
call fcn.004095e0
add esp, 8
mov esi, dword [ebp - 0xb0]
mov ebx, 7
mov edi, eax
mov byte [ebp - 4], bl
call fcn.00406400
mov esi, 8
mov byte [ebp - 4], 6
cmp dword [ebp - 0x88], esi
jb 0x461269
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004b6106
add esp, 4
mov ecx, dword [ebp - 0xac]
push 3
push 0x5155d4
call fcn.004073c0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x7c]
xor edi, edi
cmp eax, edi
je 0x4612a4
push edi
push 1
push 0x4cb
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp - 0x34], esi
jb 0x4612b5
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b6106
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 0x4612d2
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b6106
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 0x4612ef
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b6106
add esp, 4
xor al, al
jmp 0x4611ce
mov ebx, dword [ebp - 0xac]
push 3
push 0x51228c
mov ecx, ebx
call fcn.004073c0
cmp dword [ebx + 0x14], edi
jb 0x461311
mov ebx, dword [ebx]
cmp dword [esi + 0x14], edi
jb 0x461318
mov esi, dword [esi]
push ebx
push esi
push 0x512298
push 0x515234
mov edx, 0x385
mov esi, 2
mov eax, 0x547e58
call fcn.0042a050
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x7c]
xor ebx, ebx
add esp, 0x10
cmp eax, ebx
je 0x461359
push ebx
push 1
push 0x4cb
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp - 0x34], edi
jb 0x46136a
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b6106
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 0x46138c
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b6106
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 0x4612ef
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b6106
add esp, 4
xor al, al
jmp 0x4611ce
cmp dword [ebp - 0x34], edi
jb 0x4613c5
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b6106
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 0x4613eb
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b6106
add esp, 4
xor edx, edx
cmp dword [ebp - 0x50], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
jmp 0x4611ba