Function at 0x45e5d0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eaca4
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x53f1e4]
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 + 0x5c]
xor ebx, ebx
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xac], ecx
cmp eax, ebx
je 0x45e634
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 [0x5430b8], ebx
jne 0x45e98c
mov edx, dword [esi + 0xc0]
fild dword [esi + 0xc0]
test edx, edx
jns 0x45e656
fadd dword [0x510ef0]
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 + 0xbc]
mov edi, dword [eax]
mov dword [ebp - 0xa0], edi
cmp edi, eax
je 0x45e93f
mov dword [ebp - 0xa8], 0x64
jmp 0x45e6aa
mov edi, dword [ebp - 0xa0]
xor ebx, ebx
cmp dword [0x5430b8], ebx
jne 0x45e9ac
lea eax, [esi + 0x24]
push 0x5062dc
push eax
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x9c]
push eax
call fcn.00403a10
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.00403b00
mov edi, eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00404350
mov esi, 8
cmp dword [ebp - 0x6c], esi
jb 0x45e70c
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004b1c22
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 0x45e73b
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004b1c22
add esp, 4
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x45e746
lea eax, [ebp - 0x64]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov ecx, dword [ebp - 0xb8]
push 0x5062dc
push ecx
lea edx, [ebp - 0x9c]
push edx
call fcn.00403a10
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.00403b00
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00404350
mov edi, 8
cmp dword [ebp - 0x6c], edi
jb 0x45e7a8
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004b1c22
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 0x45e7d8
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004b1c22
add esp, 4
mov ebx, dword [ebp - 0xa0]
mov edx, dword [ebx + 8]
cmp dword [edx + 0x14], edi
jb 0x45e7e8
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 0x45e800
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.00404960
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x45e828
lea ecx, [ebp - 0x2c]
mov eax, dword [ebx + 8]
cmp dword [eax + 0x14], edi
jb 0x45e832
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x45e9dd
push edi
push str.Asset.7z
lea edx, [ebp - 0x2c]
push edx
xor eax, eax
call fcn.0040d750
cmp eax, 0xffffffff
je 0x45e8c0
mov eax, dword [ebp - 0xb8]
push str.Asset
push eax
lea ecx, [ebp - 0x9c]
push ecx
call fcn.00403a10
add esp, 0xc
mov esi, dword [ebp - 0xb0]
push 0x5430b8
push esi
mov edx, eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.00405a20
add esp, 8
test al, al
sete bl
mov byte [ebp - 4], 6
cmp dword [ebp - 0x88], edi
jb 0x45e8b2
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004b1c22
add esp, 4
test bl, bl
jne 0x45eab6
mov ebx, dword [ebp - 0xa0]
mov eax, dword [ebx + 8]
mov ebx, dword [ebp - 0xa4]
mov byte [eax + 0x70], 1
mov esi, dword [ebx + 0x5c]
test esi, esi
je 0x45e8f4
fild dword [ebp - 0xa8]
fdiv dword [ebp - 0xb4]
call fcn.004bab70
push eax
push 0
push 0x4cb
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [0x5430b8], 0
jne 0x45eb74
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], edi
jb 0x45e916
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b1c22
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 + 0xbc]
jne 0x45e6a2
xor ebx, ebx
mov esi, dword [esi + 0x5c]
cmp esi, ebx
je 0x45e955
push 0x64
push ebx
push 0x4cb
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x45e96b
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b1c22
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 0x45e98c
mov eax, dword [ebp - 0x64]
push eax
call fcn.004b1c22
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.004b1c2d
mov esp, ebp
pop ebp
ret 4
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x45e9c2
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b1c22
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 0x45e98c
mov edx, dword [ebp - 0x64]
push edx
jmp 0x45e984
lea eax, [ebp - 0x9c]
push 0x510494
push eax
lea ebx, [ebp - 0x2c]
call fcn.0040add0
add esp, 8
mov esi, dword [ebp - 0xb0]
mov ebx, 7
mov edi, eax
mov byte [ebp - 4], bl
call fcn.00404350
mov esi, 8
mov byte [ebp - 4], 6
cmp dword [ebp - 0x88], esi
jb 0x45ea29
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004b1c22
add esp, 4
mov ecx, dword [ebp - 0xac]
push 3
push 0x5104b0
call fcn.00404960
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x5c]
xor edi, edi
cmp eax, edi
je 0x45ea64
push edi
push 1
push 0x4cb
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp - 0x34], esi
jb 0x45ea75
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b1c22
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 0x45ea92
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b1c22
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 0x45eaaf
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b1c22
add esp, 4
xor al, al
jmp 0x45e98e
mov ebx, dword [ebp - 0xac]
push 3
push 0x50d750
mov ecx, ebx
call fcn.00404960
cmp dword [ebx + 0x14], edi
jb 0x45ead1
mov ebx, dword [ebx]
cmp dword [esi + 0x14], edi
jb 0x45ead8
mov esi, dword [esi]
push ebx
push esi
push 0x50d758
push 0x510110
mov edx, 0x2cf
mov esi, 2
mov eax, 0x5430d8
call fcn.0042b3c0
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x5c]
xor ebx, ebx
add esp, 0x10
cmp eax, ebx
je 0x45eb19
push ebx
push 1
push 0x4cb
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp - 0x34], edi
jb 0x45eb2a
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b1c22
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 0x45eb4c
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b1c22
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 0x45eaaf
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b1c22
add esp, 4
xor al, al
jmp 0x45e98e
cmp dword [ebp - 0x34], edi
jb 0x45eb85
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b1c22
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 0x45ebab
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b1c22
add esp, 4
xor edx, edx
cmp dword [ebp - 0x50], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
jmp 0x45e97a