Function at 0x45e030
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea6c4
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 0x45e094
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 0x45e3ec
mov edx, dword [esi + 0xc0]
fild dword [esi + 0xc0]
test edx, edx
jns 0x45e0b6
fadd dword [0x510db8]
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 0x45e39f
mov dword [ebp - 0xa8], 0x64
jmp 0x45e10a
mov edi, dword [ebp - 0xa0]
xor ebx, ebx
cmp dword [0x5430b8], ebx
jne 0x45e40c
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 0x45e16c
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004b1676
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 0x45e19b
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004b1676
add esp, 4
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x45e1a6
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 0x45e208
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004b1676
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 0x45e238
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004b1676
add esp, 4
mov ebx, dword [ebp - 0xa0]
mov edx, dword [ebx + 8]
cmp dword [edx + 0x14], edi
jb 0x45e248
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 0x45e260
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 0x45e288
lea ecx, [ebp - 0x2c]
mov eax, dword [ebx + 8]
cmp dword [eax + 0x14], edi
jb 0x45e292
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x45e43d
push edi
push str.Asset.7z
lea edx, [ebp - 0x2c]
push edx
xor eax, eax
call fcn.0040d750
cmp eax, 0xffffffff
je 0x45e320
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 0x45e312
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004b1676
add esp, 4
test bl, bl
jne 0x45e516
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 0x45e354
fild dword [ebp - 0xa8]
fdiv dword [ebp - 0xb4]
call fcn.004ba5c0
push eax
push 0
push 0x4cb
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [0x5430b8], 0
jne 0x45e5d4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], edi
jb 0x45e376
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b1676
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 0x45e102
xor ebx, ebx
mov esi, dword [esi + 0x5c]
cmp esi, ebx
je 0x45e3b5
push 0x64
push ebx
push 0x4cb
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x45e3cb
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b1676
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 0x45e3ec
mov eax, dword [ebp - 0x64]
push eax
call fcn.004b1676
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.004b1681
mov esp, ebp
pop ebp
ret 4
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x45e422
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b1676
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 0x45e3ec
mov edx, dword [ebp - 0x64]
push edx
jmp 0x45e3e4
lea eax, [ebp - 0x9c]
push 0x51035c
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 0x45e489
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004b1676
add esp, 4
mov ecx, dword [ebp - 0xac]
push 3
push 0x510378
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 0x45e4c4
push edi
push 1
push 0x4cb
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp - 0x34], esi
jb 0x45e4d5
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b1676
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 0x45e4f2
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b1676
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 0x45e50f
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b1676
add esp, 4
xor al, al
jmp 0x45e3ee
mov ebx, dword [ebp - 0xac]
push 3
push 0x50d6b8
mov ecx, ebx
call fcn.00404960
cmp dword [ebx + 0x14], edi
jb 0x45e531
mov ebx, dword [ebx]
cmp dword [esi + 0x14], edi
jb 0x45e538
mov esi, dword [esi]
push ebx
push esi
push 0x50d6c0
push 0x50ffd8
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 0x45e579
push ebx
push 1
push 0x4cb
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp - 0x34], edi
jb 0x45e58a
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b1676
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 0x45e5ac
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b1676
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 0x45e50f
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b1676
add esp, 4
xor al, al
jmp 0x45e3ee
cmp dword [ebp - 0x34], edi
jb 0x45e5e5
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b1676
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 0x45e60b
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b1676
add esp, 4
xor edx, edx
cmp dword [ebp - 0x50], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
jmp 0x45e3da