Function at 0x489e40
Capabilities:
Delete file
Get common file path
Move file
Read file on windows
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e2d12
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.005c8e60
mov eax, dword [0x66f040]
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
push 0
push dword [0x680da4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x48b391
mov ecx, dword [0x680464]
test ecx, ecx
je 0x48b391
call fcn.004940f0
lea esi, [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor eax, dword [esi]
cmp eax, 0x1b7d6a4
jne 0x48b391
cmp dword [0x6803b0], 0
mov byte [0x6803ae], 1
jne 0x489f26
push 0xa00000
call fcn.0049a32d
add esp, 4
mov dword [0x6803b0], eax
test eax, eax
jne 0x489f26
push str.Cant_Optimize_Resource_File.
push str._s_Error:0x00000006
push 0x6809e8
mov byte [0x6803ae], al
call fcn.00463930
add esp, 0xc
push 0
push 0
push 0x4c8
push dword [0x680c00]
call dword [sym.imp.USER32.dll_PostMessageW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, 6
mov ecx, 0x64cd90
call fcn.00485fd0
add esp, 4
jmp 0x48b391
mov dword [ebp - 0xfe0], 0
mov dword [ebp - 0xfdc], 0
mov dword [ebp - 0xfd8], 0
push 0x680dac
lea ecx, [ebp - 0xfe0]
mov dword [ebp - 4], 0
call fcn.0048bf30
lea ecx, [ebp - 0xfe0]
mov dword [ebp - 4], 0xffffffff
call fcn.00463520
push 0
call fcn.0048bd80
push str.Packing_resource_files._Please_wait.
push 0x6809e8
mov dword [ebp - 0xfd0], 0
call fcn.00463930
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
add esp, 8
push 0
push 0
push 0x4c8
push dword [0x680c00]
call ebx
mov ecx, dword [0x6803c0]
call fcn.004940f0
xorps xmm0, xmm0
mov dword [ebp - 0xfd4], 0
mov esi, eax
movlpd qword [ebp - 0x1008], xmm0
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0xfe0], 0
mov dword [ebp - 0xfdc], 0
mov dword [ebp - 0xfd8], 0
mov dword [ebp - 4], 1
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xd88], ax
lea eax, [ebp - 0xd86]
push eax
mov dword [ebp - 0xfc4], 0
mov dword [ebp - 0xfcc], 0
mov dword [ebp - 0xfc8], 0
mov dword [ebp - 0xff8], 0
call fcn.005c7c50
add esp, 0xc
xor eax, eax
mov word [ebp - 0x668], ax
push 0x206
push eax
lea eax, [ebp - 0x666]
push eax
call fcn.005c7c50
add esp, 0xc
xor eax, eax
mov word [ebp - 0x870], ax
push 0x206
push eax
lea eax, [ebp - 0x86e]
push eax
call fcn.005c7c50
add esp, 0xc
xor eax, eax
mov word [ebp - 0x258], ax
push 0x206
push eax
lea eax, [ebp - 0x256]
push eax
call fcn.005c7c50
add esp, 0xc
xor eax, eax
mov word [ebp - 0x460], ax
push 0x206
push eax
lea eax, [ebp - 0x45e]
push eax
call fcn.005c7c50
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xa78], ax
lea eax, [ebp - 0xa76]
push eax
call fcn.005c7c50
add esp, 0xc
mov byte [ebp - 0xb80], 0
lea eax, [ebp - 0xb7f]
push 0x103
push 0
push eax
call fcn.005c7c50
add esp, 0xc
lea eax, [ebp - 0xd88]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x6808e8
push 0x64bbd4
lea eax, [ebp - 0xa78]
push 0x64bbdc
push eax
call fcn.00463930
lea eax, [esi + 0xc22]
push eax
push 0x64bbd4
mov dword [ebp - 0x1010], eax
lea eax, [ebp - 0x258]
push 0x64bbdc
push eax
call fcn.00463930
push str..dat
push 0x6808e8
push 0x64bbd4
lea eax, [ebp - 0x460]
push str._s_s_s
push eax
call fcn.00463930
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x258]
add esp, 0x34
push 7
push eax
call esi
push 7
lea eax, [ebp - 0x460]
push eax
call esi
push 0x64c294
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0xfc4]
push eax
call fcn.005c1930
mov eax, dword [ebp - 0xfc4]
add esp, 0xc
test eax, eax
je 0x48a360
push eax
push 1
lea eax, [ebp - 0x1008]
push 8
push eax
call fcn.005c469b
add esp, 0x10
test eax, eax
jg 0x48a1cd
mov dword [ebp - 0xfd4], 0
jmp 0x48a212
push dword [ebp - 0xfc4]
lea eax, [ebp - 0xfd4]
push 1
push 4
push eax
call fcn.005c469b
add esp, 0x10
test eax, eax
jg 0x48a1f6
mov dword [ebp - 0xfd4], 0
jmp 0x48a212
mov ecx, dword [ebp - 0xfd4]
mov eax, ecx
shl eax, 0xd
shr ecx, 0x13
or ecx, eax
xor ecx, 0x9b540b19
mov dword [ebp - 0xfd4], ecx
push 0x30
lea eax, [ebp - 0xfc0]
push 0
push eax
call fcn.005c7c50
add esp, 0xc
lea eax, [ebp - 0xfc0]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.005c4d35
mov edx, dword [ebp - 0xfd4]
add esp, 8
test edx, edx
je 0x48a2c9
mov ecx, dword [ebp - 0xfac]
lea eax, [edx*8]
sub eax, edx
add ecx, 0xfffffff4
shl eax, 2
cmp eax, ecx
je 0x48a2c9
mov ecx, dword [ebp - 0xfc4]
lea eax, [ebp - 0x460]
push eax
push 0
lea edx, [ebp - 0x258]
mov byte [0x6803ae], 0
call fcn.00489d60
push str.Cant_Pack_Resource_File.
push str._s_Error:0x00000008
push 0x6809e8
call fcn.00463930
add esp, 0x14
push 0
push 0
push 0x4c8
push dword [0x680c00]
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, 8
mov ecx, str.Cant_Pack_Resource_File.
call fcn.00485fd0
add esp, 4
jmp 0x48b386
push edx
call fcn.0048bd80
mov ecx, dword [0x680db4]
mov eax, 0x92492493
mov esi, dword [0x680dac]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x48a348
push dword [ebp - 0xfc4]
push dword [ebp - 0xfd4]
push 0x1c
push esi
call fcn.005c469b
mov ecx, dword [0x680464]
add esp, 0xc
call fcn.004940f0
mov ecx, dword [0x6803bc]
push eax
lea eax, [ebp - 0x1008]
push eax
call fcn.004940f0
mov ecx, dword [0x680dac]
push eax
mov eax, dword [ebp - 0xfd4]
lea edx, [eax*8]
sub edx, eax
shl edx, 2
call fcn.00493e40
add esp, 0x10
push dword [ebp - 0xfc4]
call fcn.005c1e76
add esp, 4
mov dword [ebp - 0xfc4], 0
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0xa78]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call esi
push 0
push 0
push eax
lea eax, [ebp - 0xb80]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xa78]
push eax
push 0
push 0
call esi
lea eax, [ebp - 0xfd0]
push eax
lea edx, [ebp - 0xfe0]
lea ecx, [ebp - 0xb80]
call fcn.00489b10
mov ecx, dword [ebp - 0xfdc]
mov eax, 0x92492493
sub ecx, dword [ebp - 0xfe0]
add esp, 4
imul ecx
add edx, ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
test edi, edi
jle 0x48b37f
mov ecx, dword [0x680db0]
mov eax, 0x92492493
sub ecx, dword [0x680dac]
mov ebx, dword [ebp - 0xfd0]
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
mov dword [ebp - 0xff4], esi
test ebx, ebx
jne 0x48a5e9
push 6
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x64ce6c
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0xfc8]
push eax
call fcn.005c1930
mov eax, dword [ebp - 0xfc8]
add esp, 0xc
test eax, eax
je 0x48a4ed
push 2
push ebx
push eax
call fcn.005c4057
add esp, 0xc
push dword [ebp - 0xfc8]
call fcn.005c446a
add esp, 4
mov esi, eax
push ebx
push ebx
push dword [ebp - 0xfc8]
call fcn.005c4057
add esp, 0xc
cmp dword [ebp - 0xff4], ebx
jle 0x48a5e9
cmp esi, 1
jg 0x48a5e9
lea eax, [ebp - 0x460]
mov byte [0x6803ae], bl
push eax
push dword [ebp - 0xfc8]
lea edx, [ebp - 0x258]
xor ecx, ecx
call fcn.00489d60
push str.Cant_Pack_Resource_File.
push str._s_Error:0x00000001
push 0x6809e8
call fcn.00463930
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
add esp, 0x14
push ebx
push ebx
push 0x4c8
push dword [0x680c00]
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebx + 1]
mov ecx, str.Cant_Pack_Resource_File.
call fcn.00485fd0
add esp, 4
jmp 0x48b386
push 0x64ce9c
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0xfc8]
push eax
call fcn.005c1930
mov eax, dword [ebp - 0xfc8]
add esp, 0xc
test eax, eax
je 0x48a581
test esi, esi
jle 0x48a5e9
lea ecx, [ebp - 0x460]
mov byte [0x6803ae], 0
push ecx
push eax
lea edx, [ebp - 0x258]
xor ecx, ecx
call fcn.00489d60
push str.Cant_Pack_Resource_File.
push str._s_Error:0x00000002
push 0x6809e8
call fcn.00463930
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
add esp, 0x14
push 0
push 0
push 0x4c8
push dword [0x680c00]
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, 2
mov ecx, str.Cant_Pack_Resource_File.
call fcn.00485fd0
add esp, 4
jmp 0x48b386
lea eax, [ebp - 0x460]
mov byte [0x6803ae], 0
push eax
push 0
lea edx, [ebp - 0x258]
xor ecx, ecx
call fcn.00489d60
push str.Cant_Pack_Resource_File.
push str._s_Error:0x00000007
push 0x6809e8
call fcn.00463930
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
add esp, 0x14
push 0
push 0
push 0x4c8
push dword [0x680c00]
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, 7
mov ecx, str.Cant_Pack_Resource_File.
call fcn.00485fd0
add esp, 4
jmp 0x48b386
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x4c9
push dword [0x680c00]
call eax
mov esi, dword [ebp - 0xfe0]
cmp esi, dword [ebp - 0xfdc]
je 0x48a9c7
push 0
push dword [0x680da4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x48b386
lea eax, [ebp - 0x101c]
push eax
lea eax, [ebp - 0x1014]
push eax
push dword [ebp - 0xff4]
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.00489a70
add esp, 0xc
mov dword [ebp - 0x1014], eax
mov dword [ebp - 0xffc], 0
test eax, eax
je 0x48a7eb
cmp dword [ebp - 0xfd0], 0
jne 0x48a7d2
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48a676
push 0
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
lea eax, [ebp - 0x50]
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0xa78]
push eax
lea eax, [ebp - 0x870]
push str._s_s
push eax
call fcn.00463930
push 0x64c294
lea eax, [ebp - 0x870]
push eax
lea eax, [ebp - 0xfcc]
push eax
call fcn.005c1930
mov eax, dword [ebp - 0xfcc]
add esp, 0x1c
test eax, eax
jne 0x48a700
push esi
lea eax, [ebp - 0x1020]
dec edi
push eax
lea ecx, [ebp - 0xfe0]
call fcn.0048bee0
mov esi, dword [eax]
jmp 0x48a9b5
push eax
push 1
lea eax, [ebp - 0xffc]
push 4
push eax
call fcn.005c469b
push dword [ebp - 0xfcc]
push 1
push dword [esi + 0x18]
push dword [0x6803b0]
call fcn.005c469b
push dword [ebp - 0xfcc]
call fcn.005c1e76
mov ecx, dword [0x6803b0]
add esp, 0x24
mov dword [ebp - 0xfcc], 0
mov edx, dword [esi + 0x18]
call fcn.00494210
cmp dword [ebp - 0xffc], eax
je 0x48a770
push esi
lea eax, [ebp - 0x1024]
dec edi
push eax
lea ecx, [ebp - 0xfe0]
call fcn.0048bee0
mov esi, dword [eax]
jmp 0x48a9b5
lea eax, [ebp - 0x870]
push eax
call fcn.005c5224
add esp, 4
push 0
push dword [esi]
push dword [ebp - 0xfc8]
call fcn.005c4057
add esp, 0xc
push dword [ebp - 0xfc8]
push 1
push dword [esi + 0x18]
push dword [0x6803b0]
call fcn.005c1b98
push 2
push 0
push dword [ebp - 0xfc8]
call fcn.005c4057
mov eax, dword [ebp - 0x1014]
add esp, 0x1c
mov edx, esi
mov ecx, eax
push 0x1c
call fcn.0048ffc0
add esp, 4
jmp 0x48a955
push 0x1c
mov edx, esi
mov dword [esi], 0xffffffff
mov ecx, eax
call fcn.0048ffc0
add esp, 4
jmp 0x48a955
cmp dword [ebp - 0xfd0], 0
jne 0x48a944
push 2
push 0
push dword [ebp - 0xfc8]
call fcn.005c4057
add esp, 0xc
push dword [ebp - 0xfc8]
call fcn.005c446a
mov ecx, ebx
mov dword [esi], eax
add esp, 4
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48a820
push 0
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
lea eax, [ebp - 0x50]
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0xa78]
push eax
lea eax, [ebp - 0x870]
push str._s_s
push eax
call fcn.00463930
push 0x64c294
lea eax, [ebp - 0x870]
push eax
lea eax, [ebp - 0xfcc]
push eax
call fcn.005c1930
mov eax, dword [ebp - 0xfcc]
add esp, 0x1c
test eax, eax
jne 0x48a8aa
push esi
lea eax, [ebp - 0x1018]
dec edi
push eax
lea ecx, [ebp - 0xfe0]
call fcn.0048bee0
mov esi, dword [eax]
jmp 0x48a9b5
push eax
push 1
lea eax, [ebp - 0xffc]
push 4
push eax
call fcn.005c469b
push dword [ebp - 0xfcc]
push 1
push dword [esi + 0x18]
push dword [0x6803b0]
call fcn.005c469b
push dword [ebp - 0xfcc]
call fcn.005c1e76
mov ecx, dword [0x6803b0]
add esp, 0x24
mov dword [ebp - 0xfcc], 0
mov edx, dword [esi + 0x18]
call fcn.00494210
cmp dword [ebp - 0xffc], eax
je 0x48a91a
push esi
lea eax, [ebp - 0x100c]
dec edi
push eax
lea ecx, [ebp - 0xfe0]
call fcn.0048bee0
mov esi, dword [eax]
jmp 0x48a9b5
lea eax, [ebp - 0x870]
push eax
call fcn.005c5224
add esp, 4
push dword [ebp - 0xfc8]
push 1
push dword [esi + 0x18]
push dword [0x6803b0]
call fcn.005c1b98
add esp, 0x10
jmp 0x48a94a
mov dword [esi], 0xffffffff
push esi
mov ecx, 0x680dac
call fcn.0048be30
mov ecx, esi
movd xmm0, edi
sub ecx, dword [ebp - 0xfe0]
mov eax, 0x92492493
imul ecx
cvtdq2ps xmm0, xmm0
push 0
add edx, ecx
add esi, 0x1c
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc eax
add eax, edx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm0
movd xmm0, dword [0x680bfc]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
push eax
push 0x4c9
push dword [0x680c00]
call dword [sym.imp.USER32.dll_PostMessageW]
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, dword [ebp - 0xfdc]
jne 0x48a611
mov ebx, dword [ebp - 0xfd0]
mov edi, dword [0x680db0]
mov eax, 0x92492493
mov ecx, dword [0x680dac]
sub edi, ecx
imul edi
push 0x489a00
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x680db0]
push eax
call fcn.0048d330
mov eax, dword [ebp - 0xfc8]
add esp, 8
test eax, eax
je 0x48aa2c
push eax
call fcn.005c1e76
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x460]
add esp, 4
mov dword [ebp - 0xfc8], 0
push 7
push eax
call esi
jmp 0x48aa32
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test ebx, ebx
jne 0x48acb6
push ecx
lea eax, [ebp - 0xa78]
mov ecx, esp
push eax
call fcn.0048fb40
call fcn.0045f650
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x258]
add esp, 4
push 7
push eax
call ebx
push dword [ebp - 0x1010]
lea eax, [ebp - 0xd88]
push eax
lea eax, [ebp - 0x668]
push 0x64bbdc
push eax
call fcn.00463930
add esp, 0x10
lea eax, [ebp - 0x668]
push 0x80
push eax
call ebx
lea eax, [ebp - 0x668]
push eax
call fcn.005c5224
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x668]
add esp, 4
push 0xb
push eax
lea eax, [ebp - 0x258]
push eax
call edi
push 0x80
lea eax, [ebp - 0x668]
push eax
call ebx
push 0x64b910
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0xfc4]
push eax
call fcn.005c1930
add esp, 0xc
lea ecx, [ebp - 0x1008]
push dword [ebp - 0xfc4]
push 1
push 8
push ecx
call fcn.005c1b98
mov ecx, dword [0x680db0]
mov eax, 0x92492493
sub ecx, dword [0x680dac]
push dword [ebp - 0xfc4]
imul ecx
push 1
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xfd0], eax
lea eax, [ebp - 0xfd0]
push 4
push eax
call fcn.005c1b98
mov esi, dword [ebp - 0xfd0]
add esp, 0x20
test esi, esi
jle 0x48ab92
push ecx
mov ecx, dword [0x680464]
call fcn.004940f0
mov ecx, dword [0x6803bc]
push eax
lea eax, [ebp - 0x1008]
push eax
call fcn.004940f0
mov ecx, dword [0x680dac]
lea edx, [esi*8]
sub edx, esi
push eax
shl edx, 2
call fcn.00493b60
push dword [ebp - 0xfc4]
push dword [ebp - 0xfd0]
push 0x1c
push dword [0x680dac]
call fcn.005c1b98
add esp, 0x20
push 0
push 0
push dword [ebp - 0xfc4]
call fcn.005c4057
add esp, 0xc
lea eax, [ebp - 0x1008]
push dword [ebp - 0xfc4]
push 1
push 8
push eax
call fcn.005c1b98
mov ecx, dword [ebp - 0xfd0]
xor ecx, 0x9b540b19
mov eax, ecx
shl ecx, 0x13
push 0
shr eax, 0xd
push 8
push dword [ebp - 0xfc4]
or ecx, eax
mov dword [ebp - 0xfd0], ecx
call fcn.005c4057
add esp, 0x1c
lea eax, [ebp - 0xfd0]
push dword [ebp - 0xfc4]
push 1
push 4
push eax
call fcn.005c1b98
push dword [ebp - 0xfc4]
call fcn.005c1e76
add esp, 0x14
mov dword [ebp - 0xfc4], 0
lea eax, [ebp - 0x258]
push 0x80
push eax
call ebx
lea eax, [ebp - 0x258]
push eax
call fcn.005c5224
add esp, 4
lea eax, [ebp - 0x258]
push 0xb
push eax
lea eax, [ebp - 0x668]
push eax
call edi
push 7
lea eax, [ebp - 0x258]
push eax
call ebx
mov dword [ebp - 0xff0], 0
mov dword [ebp - 0xfec], 0
mov dword [ebp - 0xfe8], 0
lea eax, [ebp - 0xfe0]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xff0]
call fcn.0048bf30
lea ecx, [ebp - 0xff0]
call fcn.00463520
mov dword [ebp - 0xff0], 0
mov dword [ebp - 0xfec], 0
mov dword [ebp - 0xfe8], 0
mov byte [ebp - 4], 3
jmp 0x48b364
push str.Optimizing_resource_files._Please_wait.
push 0x6809e8
call fcn.00463930
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
add esp, 8
push 0
push 0
push 0x4c8
push dword [0x680c00]
call ebx
push 0x64c294
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0xfc8]
push eax
call fcn.005c1930
add esp, 0xc
cmp dword [ebp - 0xfc8], 0
jne 0x48ad66
lea eax, [ebp - 0x460]
mov byte [0x6803ae], 0
push eax
push 0
lea edx, [ebp - 0x258]
xor ecx, ecx
call fcn.00489d60
push str.Cant_Optimize_Resource_File.
push str._s_Error:0x00000003
push 0x6809e8
call fcn.00463930
add esp, 0x14
push 0
push 0
push 0x4c8
push dword [0x680c00]
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, 3
mov ecx, str.Cant_Optimize_Resource_File.
call fcn.00485fd0
add esp, 4
jmp 0x48b386
push str..___
push 0x6808e8
push 0x64bbd4
lea eax, [ebp - 0xf90]
push str._s_s_s
push eax
call fcn.00463930
add esp, 0x14
lea eax, [ebp - 0xf90]
push 0x80
push eax
call esi
lea eax, [ebp - 0xf90]
push eax
call fcn.005c5224
add esp, 4
lea eax, [ebp - 0xf90]
push 0x64b910
push eax
lea eax, [ebp - 0xff8]
push eax
call fcn.005c1930
add esp, 0xc
cmp dword [ebp - 0xff8], 0
jne 0x48ae17
push str.Cant_Optimize_Resource_File.
push str._s_Error:0x00000004
push 0x6809e8
mov byte [0x6803ae], 0
call fcn.00463930
add esp, 0xc
push 0
push 0
push 0x4c8
push dword [0x680c00]
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, 4
mov ecx, str.Cant_Optimize_Resource_File.
call fcn.00485fd0
add esp, 4
jmp 0x48b386
push 0
push 0
push 0x4c9
push dword [0x680c00]
call ebx
mov ecx, dword [0x680db0]
mov eax, 0x92492493
mov esi, dword [0x680dac]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp esi, dword [0x680db0]
je 0x48b047
call fcn.00486980
test eax, eax
jne 0x48b386
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x48af88
lea edi, [esi + 4]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48ae75
push 0
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
lea eax, [ebp - 0x50]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0xa78]
push eax
lea eax, [ebp - 0x870]
push str._s_s
push eax
call fcn.00463930
push 0x64c294
lea eax, [ebp - 0x870]
push eax
lea eax, [ebp - 0xfcc]
push eax
call fcn.005c1930
mov eax, dword [ebp - 0xfcc]
add esp, 0x1c
test eax, eax
jne 0x48aefe
push esi
lea eax, [ebp - 0x100c]
mov ecx, 0x680dac
push eax
call fcn.0048bee0
dec ebx
mov esi, dword [eax]
jmp 0x48b03b
push eax
push 1
lea eax, [ebp - 0xff4]
mov dword [ebp - 0xff4], 0
push 4
push eax
call fcn.005c469b
push dword [ebp - 0xfcc]
push 1
push dword [esi + 0x18]
push dword [0x6803b0]
call fcn.005c469b
push dword [ebp - 0xfcc]
call fcn.005c1e76
mov ecx, dword [0x6803b0]
add esp, 0x24
mov dword [ebp - 0xfcc], 0
mov edx, dword [esi + 0x18]
call fcn.00494210
cmp dword [ebp - 0xff4], eax
je 0x48af77
push esi
lea eax, [ebp - 0x1018]
mov ecx, 0x680dac
push eax
call fcn.0048bee0
dec ebx
mov esi, dword [eax]
jmp 0x48b03b
lea eax, [ebp - 0x870]
push eax
call fcn.005c5224
add esp, 4
jmp 0x48afb2
push 0
push eax
push dword [ebp - 0xfc8]
call fcn.005c4057
add esp, 0xc
push dword [ebp - 0xfc8]
push 1
push dword [esi + 0x18]
push dword [0x6803b0]
call fcn.005c469b
add esp, 0x10
push dword [ebp - 0xff8]
call fcn.005c446a
add esp, 4
mov dword [esi], eax
push dword [ebp - 0xff8]
push 1
push dword [esi + 0x18]
push dword [0x6803b0]
call fcn.005c1b98
mov ecx, esi
movd xmm0, ebx
sub ecx, dword [0x680dac]
mov eax, 0x92492493
imul ecx
cvtdq2ps xmm0, xmm0
add esp, 0x10
add esi, 0x1c
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc eax
add eax, edx
push 0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm0
movd xmm0, dword [0x680bfc]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
push eax
push 0x4c9
push dword [0x680c00]
call dword [sym.imp.USER32.dll_PostMessageW]
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, dword [0x680db0]
jne 0x48ae55
push dword [ebp - 0xff8]
call fcn.005c1e76
add esp, 4
push dword [ebp - 0xfc8]
call fcn.005c1e76
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x460]
add esp, 4
push 6
push eax
call ebx
lea eax, [ebp - 0x460]
push eax
call fcn.005c5224
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x460]
add esp, 4
push 0xb
push eax
lea eax, [ebp - 0xf90]
push eax
call esi
test eax, eax
jne 0x48b0ee
push str.Cant_Optimize_Resource_File.
push str._s_Error:0x00000005
push 0x6809e8
mov byte [0x6803ae], al
call fcn.00463930
add esp, 0xc
push 0
push 0
push 0x4c8
push dword [0x680c00]
call dword [sym.imp.USER32.dll_PostMessageW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, 5
mov ecx, str.Cant_Optimize_Resource_File.
call fcn.00485fd0
add esp, 4
jmp 0x48b386
push 7
lea eax, [ebp - 0x460]
push eax
call ebx
push ecx
lea eax, [ebp - 0xa78]
mov ecx, esp
push eax
call fcn.0048fb40
call fcn.0045f650
add esp, 4
lea eax, [ebp - 0x258]
push 7
push eax
call ebx
push dword [ebp - 0x1010]
lea eax, [ebp - 0xd88]
push eax
lea eax, [ebp - 0x668]
push 0x64bbdc
push eax
call fcn.00463930
add esp, 0x10
lea eax, [ebp - 0x668]
push 0x80
push eax
call ebx
lea eax, [ebp - 0x668]
push eax
call fcn.005c5224
add esp, 4
lea eax, [ebp - 0x668]
push 0xb
push eax
lea eax, [ebp - 0x258]
push eax
call esi
push 0x80
lea eax, [ebp - 0x668]
push eax
call ebx
push 0x64b910
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0xfc4]
push eax
call fcn.005c1930
add esp, 0xc
lea eax, [ebp - 0x1008]
push dword [ebp - 0xfc4]
push 1
push 8
push eax
call fcn.005c1b98
mov ecx, dword [0x680db0]
mov eax, 0x92492493
sub ecx, dword [0x680dac]
push dword [ebp - 0xfc4]
imul ecx
push 1
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xfe4], eax
lea eax, [ebp - 0xfe4]
push 4
push eax
call fcn.005c1b98
mov edi, dword [ebp - 0xfe4]
add esp, 0x20
test edi, edi
jle 0x48b245
push ecx
mov ecx, dword [0x680464]
call fcn.004940f0
mov ecx, dword [0x6803bc]
push eax
lea eax, [ebp - 0x1008]
push eax
call fcn.004940f0
mov ecx, dword [0x680dac]
lea edx, [edi*8]
sub edx, edi
push eax
shl edx, 2
call fcn.00493b60
push dword [ebp - 0xfc4]
push dword [ebp - 0xfe4]
push 0x1c
push dword [0x680dac]
call fcn.005c1b98
add esp, 0x20
push 0
push 0
push dword [ebp - 0xfc4]
call fcn.005c4057
add esp, 0xc
lea eax, [ebp - 0x1008]
push dword [ebp - 0xfc4]
push 1
push 8
push eax
call fcn.005c1b98
mov ecx, dword [ebp - 0xfe4]
xor ecx, 0x9b540b19
mov eax, ecx
shl ecx, 0x13
push 0
shr eax, 0xd
push 8
push dword [ebp - 0xfc4]
or ecx, eax
mov dword [ebp - 0xfe4], ecx
call fcn.005c4057
add esp, 0x1c
lea eax, [ebp - 0xfe4]
push dword [ebp - 0xfc4]
push 1
push 4
push eax
call fcn.005c1b98
push dword [ebp - 0xfc4]
call fcn.005c1e76
add esp, 0x14
mov dword [ebp - 0xfc4], 0
lea eax, [ebp - 0x258]
push 0x80
push eax
call ebx
lea eax, [ebp - 0x258]
push eax
call fcn.005c5224
add esp, 4
lea eax, [ebp - 0x258]
push 0xb
push eax
lea eax, [ebp - 0x668]
push eax
call esi
push 7
lea eax, [ebp - 0x258]
push eax
call ebx
mov dword [ebp - 0xff0], 0
mov dword [ebp - 0xfec], 0
mov dword [ebp - 0xfe8], 0
lea eax, [ebp - 0xfe0]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xff0]
call fcn.0048bf30
lea ecx, [ebp - 0xff0]
call fcn.00463520
mov dword [ebp - 0xff0], 0
mov dword [ebp - 0xfec], 0
mov dword [ebp - 0xfe8], 0
mov byte [ebp - 4], 5
push 0x680dac
lea ecx, [ebp - 0xff0]
call fcn.0048bf30
lea ecx, [ebp - 0xff0]
call fcn.00463520
mov byte [0x6803ae], 0
lea ecx, [ebp - 0xfe0]
call fcn.00463520
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.005c02df
mov esp, ebp
pop ebp
ret