Function at 0x434c10
Capabilities:
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 0x5ca042
mov eax, dword fs:[0]
push eax
mov eax, 0x1024
call fcn.0054c4b0
mov eax, dword [0x63fbf0]
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 [0x64efec]
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4360da
mov ecx, dword [0x64ddd8]
cmp ecx, ebx
je 0x4360da
call fcn.0043efa0
lea esi, [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor eax, dword [esi]
cmp eax, 0x1b7d6a4
jne 0x4360da
mov byte [0x64dbb4], 1
cmp dword [0x64dbb0], ebx
jne 0x434cf4
push 0xa00000
call fcn.0044517c
add esp, 4
mov dword [0x64dbb0], eax
cmp eax, ebx
jne 0x434cf4
push str.Cant_Optimize_Resource_File.
push str._s_Error:0x00000006
mov edx, 0x64d990
mov byte [0x64dbb4], bl
call fcn.004098c0
mov ecx, dword [0x64d970]
add esp, 8
push ebx
push ebx
push 0x4c8
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 6
mov esi, eax
mov edi, 0x61d1b8
call fcn.00430d50
add esp, 4
jmp 0x4360da
mov dword [ebp - 0xff0], ebx
mov dword [ebp - 0xfec], ebx
mov dword [ebp - 0xfe8], ebx
push 0x64eff4
lea ecx, [ebp - 0xff0]
mov dword [ebp - 4], ebx
call fcn.00436c40
lea esi, [ebp - 0xff0]
mov dword [ebp - 4], 0xffffffff
call fcn.004096a0
xor eax, eax
call fcn.00436a70
push str.Packing_resource_files._Please_wait.
mov edx, 0x64d990
mov dword [ebp - 0xfd8], ebx
call fcn.004098c0
mov edx, dword [0x64d970]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
add esp, 4
push ebx
push ebx
push 0x4c8
push edx
call esi
mov ecx, dword [0x64d974]
call fcn.0043efa0
mov edi, eax
mov dword [ebp - 0xfe0], ebx
mov dword [ebp - 0x1018], ebx
mov dword [ebp - 0x1014], ebx
mov dword [ebp - 0x1028], ebx
mov dword [ebp - 0xff0], ebx
mov dword [ebp - 0xfec], ebx
mov dword [ebp - 0xfe8], ebx
mov dword [ebp - 4], 1
push 0x206
lea ecx, [ebp - 0xd86]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0xfc4], ebx
mov dword [ebp - 0xfd0], ebx
mov dword [ebp - 0xfc8], ebx
mov dword [ebp - 0x1000], ebx
mov word [ebp - 0xd88], ax
call fcn.0054b8b0
add esp, 0xc
push 0x206
lea eax, [ebp - 0x666]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x668], dx
call fcn.0054b8b0
add esp, 0xc
push 0x206
lea edx, [ebp - 0x86e]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x870], cx
call fcn.0054b8b0
add esp, 0xc
push 0x206
lea ecx, [ebp - 0x256]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x258], ax
call fcn.0054b8b0
add esp, 0xc
push 0x206
lea eax, [ebp - 0x45e]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x460], dx
call fcn.0054b8b0
add esp, 0xc
push 0x206
lea edx, [ebp - 0xa76]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0xa78], cx
call fcn.0054b8b0
add esp, 0xc
push 0x103
lea eax, [ebp - 0xb7f]
push ebx
push eax
mov byte [ebp - 0xb80], bl
call fcn.0054b8b0
add esp, 0xc
lea ecx, [ebp - 0xd88]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x64d7a8
push 0x61bff4
push 0x61bffc
lea edx, [ebp - 0xa78]
call fcn.004098c0
add esp, 0xc
lea eax, [edi + 0xc22]
push eax
push 0x61bff4
push 0x61bffc
lea edx, [ebp - 0x258]
mov dword [ebp - 0x1020], eax
call fcn.004098c0
add esp, 0xc
push str..dat
push 0x64d7a8
push 0x61bff4
push str._s_s_s
lea edx, [ebp - 0x460]
call fcn.004098c0
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
add esp, 0x10
push 7
lea edx, [ebp - 0x258]
push edx
call edi
push 7
lea eax, [ebp - 0x460]
push eax
call edi
push 0x61c6b4
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0xfc4]
push edx
call fcn.00545992
mov eax, dword [ebp - 0xfc4]
add esp, 0xc
cmp eax, ebx
je 0x4350e6
push eax
push 1
lea eax, [ebp - 0x1018]
push 8
push eax
call fcn.00547b0e
add esp, 0x10
cmp eax, ebx
jg 0x434f60
mov dword [ebp - 0xfe0], ebx
jmp 0x434fa1
mov ecx, dword [ebp - 0xfc4]
push ecx
push 1
lea edx, [ebp - 0xfe0]
push 4
push edx
call fcn.00547b0e
add esp, 0x10
cmp eax, ebx
jg 0x434f86
mov dword [ebp - 0xfe0], ebx
jmp 0x434fa1
mov eax, dword [ebp - 0xfe0]
mov ecx, eax
shl ecx, 0xd
shr eax, 0x13
or eax, ecx
xor eax, 0x9b540b19
mov dword [ebp - 0xfe0], eax
push 0x30
lea eax, [ebp - 0xfc0]
push ebx
push eax
call fcn.0054b8b0
add esp, 0xc
lea ecx, [ebp - 0xfc0]
push ecx
lea edx, [ebp - 0x258]
push edx
call fcn.005482fb
mov eax, dword [ebp - 0xfe0]
add esp, 8
cmp eax, ebx
jbe 0x435050
mov ecx, dword [ebp - 0xfac]
lea edx, [eax*8]
sub edx, eax
add edx, edx
add ecx, 0xfffffff4
add edx, edx
cmp edx, ecx
je 0x435050
mov edx, dword [ebp - 0xfc4]
lea eax, [ebp - 0x460]
push eax
push ebx
lea ecx, [ebp - 0x258]
push ecx
push edx
mov byte [0x64dbb4], bl
call fcn.00434b30
push str.Cant_Pack_Resource_File.
push str._s_Error:0x00000008
mov edx, 0x64d990
call fcn.004098c0
mov eax, dword [0x64d970]
add esp, 0x18
push ebx
push ebx
push 0x4c8
push eax
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 8
mov esi, eax
mov edi, str.Cant_Pack_Resource_File.
call fcn.00430d50
add esp, 4
jmp 0x4360cf
call fcn.00436a70
mov ecx, dword [0x64effc]
mov esi, dword [0x64eff4]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x4350d1
mov edx, dword [ebp - 0xfc4]
mov eax, dword [ebp - 0xfe0]
push edx
push eax
push 0x1c
push esi
call fcn.00547b0e
mov ecx, dword [0x64ddd8]
add esp, 0x10
call fcn.0043efa0
mov ecx, dword [0x64d978]
push eax
call fcn.0043efa0
push eax
mov eax, dword [ebp - 0xfe0]
lea ecx, [eax*8]
sub ecx, eax
add ecx, ecx
add ecx, ecx
push ecx
mov ecx, dword [0x64eff4]
lea edx, [ebp - 0x1018]
call fcn.0043ec40
add esp, 0xc
mov edx, dword [ebp - 0xfc4]
push edx
call fcn.00545dfd
add esp, 4
mov dword [ebp - 0xfc4], ebx
lea eax, [ebp - 0xb80]
push eax
lea esi, [ebp - 0xa78]
call fcn.0043f980
lea ecx, [ebp - 0xff0]
add esp, 4
push ecx
lea ecx, [ebp - 0xfd8]
lea edx, [ebp - 0xb80]
call fcn.004348d0
mov ecx, dword [ebp - 0xfec]
sub ecx, dword [ebp - 0xff0]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
add esp, 4
cmp esi, ebx
jle 0x4360c9
mov ecx, dword [0x64eff8]
sub ecx, dword [0x64eff4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xff8], eax
cmp dword [ebp - 0xfd8], ebx
jne 0x435348
push 6
lea edx, [ebp - 0x460]
push edx
call edi
push 0x61d294
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp - 0xfc8]
push ecx
call fcn.00545992
mov eax, dword [ebp - 0xfc8]
add esp, 0xc
cmp eax, ebx
je 0x435255
push 2
push ebx
push eax
call fcn.0054764f
mov edx, dword [ebp - 0xfc8]
add esp, 0xc
push edx
call fcn.0054785f
add esp, 4
push ebx
mov dword [ebp - 0xffc], eax
mov eax, dword [ebp - 0xfc8]
push ebx
push eax
call fcn.0054764f
add esp, 0xc
cmp dword [ebp - 0xff8], ebx
jle 0x435348
cmp dword [ebp - 0xffc], 1
jg 0x435348
mov edx, dword [ebp - 0xfc8]
lea ecx, [ebp - 0x460]
push ecx
push edx
lea eax, [ebp - 0x258]
push eax
push ebx
mov byte [0x64dbb4], bl
call fcn.00434b30
push str.Cant_Pack_Resource_File.
push str._s_Error:0x00000001
mov edx, 0x64d990
call fcn.004098c0
mov ecx, dword [0x64d970]
add esp, 0x18
push ebx
push ebx
push 0x4c8
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
mov esi, eax
mov edi, str.Cant_Pack_Resource_File.
call fcn.00430d50
add esp, 4
jmp 0x4360cf
push 0x61d2c4
lea edx, [ebp - 0x460]
push edx
lea eax, [ebp - 0xfc8]
push eax
call fcn.00545992
mov eax, dword [ebp - 0xfc8]
add esp, 0xc
cmp eax, ebx
je 0x4352e7
cmp dword [ebp - 0xff8], ebx
jle 0x435348
lea ecx, [ebp - 0x460]
push ecx
push eax
lea edx, [ebp - 0x258]
push edx
push ebx
mov byte [0x64dbb4], bl
call fcn.00434b30
push str.Cant_Pack_Resource_File.
push str._s_Error:0x00000002
mov edx, 0x64d990
call fcn.004098c0
mov eax, dword [0x64d970]
add esp, 0x18
push ebx
push ebx
push 0x4c8
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
mov esi, eax
mov edi, str.Cant_Pack_Resource_File.
call fcn.00430d50
add esp, 4
jmp 0x4360cf
lea ecx, [ebp - 0x460]
push ecx
push ebx
lea edx, [ebp - 0x258]
push edx
push ebx
mov byte [0x64dbb4], bl
call fcn.00434b30
push str.Cant_Pack_Resource_File.
push str._s_Error:0x00000007
mov edx, 0x64d990
call fcn.004098c0
mov eax, dword [0x64d970]
add esp, 0x18
push ebx
push ebx
push 0x4c8
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 7
mov esi, eax
mov edi, str.Cant_Pack_Resource_File.
call fcn.00430d50
add esp, 4
jmp 0x4360cf
mov ecx, dword [0x64d970]
push ebx
push ebx
push 0x4c9
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0xfcc], esi
mov esi, dword [ebp - 0xff0]
mov dword [ebp - 0xfd4], esi
cmp esi, dword [ebp - 0xfec]
je 0x43574e
mov edx, dword [0x64efec]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4360cf
mov edx, dword [ebp - 0xff8]
lea eax, [ebp - 0x1028]
push eax
lea ecx, [ebp - 0xfdc]
push ecx
lea edi, [esi + 4]
push edi
call fcn.00434840
add esp, 0xc
mov dword [ebp - 0xfdc], eax
mov dword [ebp - 0xffc], ebx
cmp eax, ebx
je 0x43555e
cmp dword [ebp - 0xfd8], ebx
jne 0x435545
mov edx, dword [eax]
mov eax, edi
mov dword [esi], edx
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4353e0
push ebx
push ebx
sub eax, ecx
inc eax
push eax
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
lea eax, [ebp - 0x50]
push eax
push 0xffffffffffffffff
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0xa78]
push edx
push str._s_s
lea edx, [ebp - 0x870]
call fcn.004098c0
add esp, 0xc
push 0x61c6b4
lea eax, [ebp - 0x870]
push eax
lea ecx, [ebp - 0xfd0]
push ecx
call fcn.00545992
mov eax, dword [ebp - 0xfd0]
add esp, 0xc
cmp eax, ebx
jne 0x435472
push esi
lea edx, [ebp - 0x1030]
dec dword [ebp - 0xfcc]
push edx
lea eax, [ebp - 0xff0]
push eax
call fcn.00436bf0
mov ecx, dword [eax]
mov dword [ebp - 0xfd4], ecx
mov esi, ecx
jmp 0x43573c
push eax
push 1
lea edx, [ebp - 0xffc]
push 4
push edx
call fcn.00547b0e
mov eax, dword [ebp - 0xfd0]
mov ecx, dword [esi + 0x18]
mov edx, dword [0x64dbb0]
push eax
push 1
push ecx
push edx
call fcn.00547b0e
mov eax, dword [ebp - 0xfd0]
push eax
call fcn.00545dfd
mov dword [ebp - 0xfd0], ebx
mov edx, dword [esi + 0x18]
mov esi, dword [0x64dbb0]
add esp, 0x24
call fcn.0043f0b0
cmp dword [ebp - 0xffc], eax
je 0x4354d9
mov ecx, dword [ebp - 0xfd4]
push ecx
lea edx, [ebp - 0x102c]
jmp 0x435450
lea edx, [ebp - 0x870]
push edx
call fcn.005487ef
mov esi, dword [ebp - 0xfd4]
mov eax, dword [esi]
mov ecx, dword [ebp - 0xfc8]
add esp, 4
push ebx
push eax
push ecx
call fcn.0054764f
mov edx, dword [ebp - 0xfc8]
mov eax, dword [esi + 0x18]
mov ecx, dword [0x64dbb0]
add esp, 0xc
push edx
push 1
push eax
push ecx
call fcn.00545b30
mov edx, dword [ebp - 0xfc8]
push 2
push ebx
push edx
call fcn.0054764f
mov eax, dword [ebp - 0xfdc]
add esp, 0x1c
mov ecx, 0x1c
mov edx, esi
mov edi, eax
call fcn.0043afb0
jmp 0x4356d3
mov ecx, 0x1c
mov edx, esi
mov edi, eax
mov dword [esi], 0xffffffff
call fcn.0043afb0
jmp 0x4356d3
cmp dword [ebp - 0xfd8], ebx
jne 0x4356c1
mov eax, dword [ebp - 0xfc8]
push 2
push ebx
push eax
call fcn.0054764f
mov ecx, dword [ebp - 0xfc8]
add esp, 0xc
push ecx
call fcn.0054785f
mov dword [esi], eax
mov eax, edi
add esp, 4
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x435592
push ebx
push ebx
sub eax, ecx
inc eax
push eax
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
lea edx, [ebp - 0x50]
push edx
push 0xffffffffffffffff
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xa78]
push ecx
push str._s_s
lea edx, [ebp - 0x870]
call fcn.004098c0
add esp, 0xc
push 0x61c6b4
lea edx, [ebp - 0x870]
push edx
lea eax, [ebp - 0xfd0]
push eax
call fcn.00545992
mov eax, dword [ebp - 0xfd0]
add esp, 0xc
cmp eax, ebx
jne 0x435604
push esi
lea ecx, [ebp - 0x1024]
jmp 0x435666
push eax
push 1
lea ecx, [ebp - 0xffc]
push 4
push ecx
call fcn.00547b0e
mov edx, dword [ebp - 0xfd0]
mov eax, dword [esi + 0x18]
mov ecx, dword [0x64dbb0]
push edx
push 1
push eax
push ecx
call fcn.00547b0e
mov edx, dword [ebp - 0xfd0]
push edx
call fcn.00545dfd
mov dword [ebp - 0xfd0], ebx
mov edx, dword [esi + 0x18]
mov esi, dword [0x64dbb0]
add esp, 0x24
call fcn.0043f0b0
cmp dword [ebp - 0xffc], eax
je 0x435688
mov eax, dword [ebp - 0xfd4]
push eax
lea ecx, [ebp - 0x101c]
dec dword [ebp - 0xfcc]
push ecx
lea edx, [ebp - 0xff0]
push edx
call fcn.00436bf0
mov eax, dword [eax]
mov dword [ebp - 0xfd4], eax
mov esi, eax
jmp 0x43573c
lea ecx, [ebp - 0x870]
push ecx
call fcn.005487ef
mov edx, dword [ebp - 0xfc8]
mov eax, dword [ebp - 0xfd4]
mov ecx, dword [eax + 0x18]
add esp, 4
push edx
mov edx, dword [0x64dbb0]
push 1
push ecx
push edx
call fcn.00545b30
mov esi, dword [ebp - 0xfd4]
add esp, 0x10
jmp 0x4356c7
mov dword [esi], 0xffffffff
push 0x64eff4
mov eax, esi
call fcn.00436b70
mov ecx, esi
sub ecx, dword [ebp - 0xff0]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
inc eax
mov dword [ebp - 0xfdc], eax
add esi, 0x1c
fild dword [ebp - 0xfdc]
mov dword [ebp - 0xfd4], esi
fidiv dword [ebp - 0xfcc]
fstp dword [ebp - 0xfdc]
fild dword [0x64d97c]
fmul dword [ebp - 0xfdc]
call fcn.0054ba00
push ebx
push eax
mov eax, dword [0x64d970]
push 0x4c9
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, dword [ebp - 0xfec]
jne 0x43537a
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, dword [0x64eff8]
mov ecx, esi
sub ecx, dword [0x64eff4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
push 0x4347e0
add ecx, edx
mov edx, dword [0x64eff4]
push ecx
push esi
push edx
call fcn.00439090
mov eax, dword [ebp - 0xfc8]
add esp, 0x10
cmp eax, ebx
je 0x4357a9
push eax
call fcn.00545dfd
add esp, 4
push 7
lea eax, [ebp - 0x460]
push eax
mov dword [ebp - 0xfc8], ebx
call edi
cmp dword [ebp - 0xfd8], ebx
jne 0x435a22
push ecx
lea edx, [ebp - 0xa78]
mov ecx, esp
mov dword [ebp - 0x101c], esp
push edx
call fcn.0043ab40
call fcn.004056a0
add esp, 4
push 7
lea eax, [ebp - 0x258]
push eax
call edi
mov ecx, dword [ebp - 0x1020]
push ecx
lea edx, [ebp - 0xd88]
push edx
push 0x61bffc
lea edx, [ebp - 0x668]
call fcn.004098c0
add esp, 0xc
push 0x80
lea eax, [ebp - 0x668]
push eax
call edi
lea ecx, [ebp - 0x668]
push ecx
call fcn.005487ef
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 4
push 0xb
lea edx, [ebp - 0x668]
push edx
lea eax, [ebp - 0x258]
push eax
call esi
push 0x80
lea ecx, [ebp - 0x668]
push ecx
call edi
push 0x619c14
lea edx, [ebp - 0x668]
push edx
lea eax, [ebp - 0xfc4]
push eax
call fcn.00545992
mov ecx, dword [ebp - 0xfc4]
add esp, 0xc
push ecx
push 1
lea edx, [ebp - 0x1018]
push 8
push edx
call fcn.00545b30
mov ecx, dword [0x64eff8]
sub ecx, dword [0x64eff4]
mov eax, 0x92492493
imul ecx
add edx, ecx
mov ecx, dword [ebp - 0xfc4]
sar edx, 4
mov eax, edx
push ecx
shr eax, 0x1f
add eax, edx
push 1
lea edx, [ebp - 0xfcc]
push 4
push edx
mov dword [ebp - 0xfcc], eax
call fcn.00545b30
add esp, 0x20
cmp dword [ebp - 0xfcc], ebx
jle 0x435919
mov ecx, dword [0x64ddd8]
call fcn.0043efa0
mov ecx, dword [0x64d978]
push eax
call fcn.0043efa0
mov edx, dword [0x64eff4]
push eax
mov eax, dword [ebp - 0xfcc]
lea ecx, [eax*8]
sub ecx, eax
add ecx, ecx
add ecx, ecx
push ecx
lea ecx, [ebp - 0x1018]
call fcn.0043e8d0
mov edx, dword [ebp - 0xfc4]
mov eax, dword [ebp - 0xfcc]
mov ecx, dword [0x64eff4]
add esp, 0xc
push edx
push eax
push 0x1c
push ecx
call fcn.00545b30
add esp, 0x10
mov edx, dword [ebp - 0xfc4]
push ebx
push ebx
push edx
call fcn.0054764f
mov eax, dword [ebp - 0xfc4]
add esp, 0xc
push eax
push 1
lea ecx, [ebp - 0x1018]
push 8
push ecx
call fcn.00545b30
mov eax, dword [ebp - 0xfcc]
mov edx, dword [ebp - 0xfc4]
xor eax, 0x9b540b19
mov ecx, eax
push ebx
shr ecx, 0xd
shl eax, 0x13
or eax, ecx
push 8
push edx
mov dword [ebp - 0xfcc], eax
call fcn.0054764f
mov eax, dword [ebp - 0xfc4]
add esp, 0x1c
push eax
push 1
lea ecx, [ebp - 0xfcc]
push 4
push ecx
call fcn.00545b30
mov edx, dword [ebp - 0xfc4]
push edx
call fcn.00545dfd
add esp, 0x14
push 0x80
lea eax, [ebp - 0x258]
push eax
mov dword [ebp - 0xfc4], ebx
call edi
lea ecx, [ebp - 0x258]
push ecx
call fcn.005487ef
add esp, 4
push 0xb
lea edx, [ebp - 0x258]
push edx
lea eax, [ebp - 0x668]
push eax
call esi
push 7
lea ecx, [ebp - 0x258]
push ecx
call edi
mov dword [ebp - 0x1010], ebx
mov dword [ebp - 0x100c], ebx
mov dword [ebp - 0x1008], ebx
lea edx, [ebp - 0xff0]
push edx
lea ecx, [ebp - 0x1010]
mov byte [ebp - 4], 2
call fcn.00436c40
lea esi, [ebp - 0x1010]
call fcn.004096a0
mov dword [ebp - 0x1010], ebx
mov dword [ebp - 0x100c], ebx
mov dword [ebp - 0x1008], ebx
mov byte [ebp - 4], 3
jmp 0x4360ae
push str.Optimizing_resource_files._Please_wait.
mov edx, 0x64d990
call fcn.004098c0
mov eax, dword [0x64d970]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
add esp, 4
push ebx
push ebx
push 0x4c8
push eax
call esi
push 0x61c6b4
lea ecx, [ebp - 0x460]
push ecx
lea edx, [ebp - 0xfc8]
push edx
call fcn.00545992
add esp, 0xc
cmp dword [ebp - 0xfc8], ebx
jne 0x435aca
lea eax, [ebp - 0x460]
push eax
push ebx
lea ecx, [ebp - 0x258]
push ecx
push ebx
mov byte [0x64dbb4], bl
call fcn.00434b30
push str.Cant_Optimize_Resource_File.
push str._s_Error:0x00000003
mov edx, 0x64d990
call fcn.004098c0
mov edx, dword [0x64d970]
add esp, 0x18
push ebx
push ebx
push 0x4c8
push edx
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 3
mov esi, eax
mov edi, str.Cant_Optimize_Resource_File.
call fcn.00430d50
add esp, 4
jmp 0x4360cf
push str..___
push 0x64d7a8
push 0x61bff4
push str._s_s_s
lea edx, [ebp - 0xf90]
call fcn.004098c0
add esp, 0x10
push 0x80
lea eax, [ebp - 0xf90]
push eax
call edi
lea ecx, [ebp - 0xf90]
push ecx
call fcn.005487ef
add esp, 4
push 0x619c14
lea edx, [ebp - 0xf90]
push edx
lea eax, [ebp - 0x1000]
push eax
call fcn.00545992
add esp, 0xc
cmp dword [ebp - 0x1000], ebx
jne 0x435b75
push str.Cant_Optimize_Resource_File.
push str._s_Error:0x00000004
mov edx, 0x64d990
mov byte [0x64dbb4], bl
call fcn.004098c0
mov ecx, dword [0x64d970]
add esp, 8
push ebx
push ebx
push 0x4c8
push ecx
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 4
mov esi, eax
mov edi, str.Cant_Optimize_Resource_File.
call fcn.00430d50
add esp, 4
jmp 0x4360cf
mov edx, dword [0x64d970]
push ebx
push ebx
push 0x4c9
push edx
call esi
mov esi, dword [0x64eff8]
mov edi, dword [0x64eff4]
mov ecx, esi
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xfd8], eax
cmp edi, esi
je 0x435d9a
call fcn.00431720
test eax, eax
jne 0x4360cf
mov eax, dword [edi]
cmp eax, 0xffffffff
jne 0x435cd1
lea esi, [edi + 4]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x435bd6
push ebx
push ebx
sub eax, edx
inc eax
push eax
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
lea eax, [ebp - 0x50]
push eax
push 0xffffffffffffffff
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0xa78]
push edx
push str._s_s
lea edx, [ebp - 0x870]
call fcn.004098c0
add esp, 0xc
push 0x61c6b4
lea eax, [ebp - 0x870]
push eax
lea ecx, [ebp - 0xfd0]
push ecx
call fcn.00545992
mov eax, dword [ebp - 0xfd0]
add esp, 0xc
cmp eax, ebx
jne 0x435c5e
lea edx, [ebp - 0x101c]
push edi
push edx
push 0x64eff4
call fcn.00436bf0
mov edi, dword [eax]
dec dword [ebp - 0xfd8]
jmp 0x435d8e
push eax
push 1
lea eax, [ebp - 0xff8]
push 4
push eax
mov dword [ebp - 0xff8], ebx
call fcn.00547b0e
mov ecx, dword [ebp - 0xfd0]
mov edx, dword [edi + 0x18]
mov eax, dword [0x64dbb0]
push ecx
push 1
push edx
push eax
call fcn.00547b0e
mov ecx, dword [ebp - 0xfd0]
push ecx
call fcn.00545dfd
mov esi, dword [0x64dbb0]
mov dword [ebp - 0xfd0], ebx
mov edx, dword [edi + 0x18]
add esp, 0x24
call fcn.0043f0b0
cmp dword [ebp - 0xff8], eax
je 0x435cc0
lea edx, [ebp - 0x1024]
jmp 0x435c45
lea eax, [ebp - 0x870]
push eax
call fcn.005487ef
add esp, 4
jmp 0x435cfe
mov ecx, dword [ebp - 0xfc8]
push ebx
push eax
push ecx
call fcn.0054764f
mov edx, dword [ebp - 0xfc8]
mov eax, dword [edi + 0x18]
mov ecx, dword [0x64dbb0]
add esp, 0xc
push edx
push 1
push eax
push ecx
call fcn.00547b0e
add esp, 0x10
mov edx, dword [ebp - 0x1000]
push edx
call fcn.0054785f
mov ecx, dword [edi + 0x18]
mov edx, dword [0x64dbb0]
add esp, 4
mov dword [edi], eax
mov eax, dword [ebp - 0x1000]
push eax
push 1
push ecx
push edx
call fcn.00545b30
mov ecx, edi
sub ecx, dword [0x64eff4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
inc eax
mov dword [ebp - 0xfdc], eax
add esp, 0x10
fild dword [ebp - 0xfdc]
add edi, 0x1c
fidiv dword [ebp - 0xfd8]
fstp dword [ebp - 0xfdc]
fild dword [0x64d97c]
fmul dword [ebp - 0xfdc]
call fcn.0054ba00
push ebx
push eax
mov eax, dword [0x64d970]
push 0x4c9
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, dword [0x64eff8]
jne 0x435bb6
mov ecx, dword [ebp - 0x1000]
push ecx
call fcn.00545dfd
mov edx, dword [ebp - 0xfc8]
add esp, 4
push edx
call fcn.00545dfd
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
add esp, 4
push 6
lea eax, [ebp - 0x460]
push eax
call esi
lea ecx, [ebp - 0x460]
push ecx
call fcn.005487ef
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 4
push 0xb
lea edx, [ebp - 0x460]
push edx
lea eax, [ebp - 0xf90]
push eax
call edi
cmp eax, ebx
jne 0x435e41
push str.Cant_Optimize_Resource_File.
push str._s_Error:0x00000005
mov edx, 0x64d990
mov byte [0x64dbb4], bl
call fcn.004098c0
mov ecx, dword [0x64d970]
add esp, 8
push ebx
push ebx
push 0x4c8
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
mov esi, eax
mov edi, str.Cant_Optimize_Resource_File.
call fcn.00430d50
add esp, 4
jmp 0x4360cf
push 7
lea edx, [ebp - 0x460]
push edx
call esi
push ecx
lea eax, [ebp - 0xa78]
mov ecx, esp
mov dword [ebp - 0x101c], esp
push eax
call fcn.0043ab40
call fcn.004056a0
add esp, 4
push 7
lea ecx, [ebp - 0x258]
push ecx
call esi
mov edx, dword [ebp - 0x1020]
push edx
lea eax, [ebp - 0xd88]
push eax
push 0x61bffc
lea edx, [ebp - 0x668]
call fcn.004098c0
add esp, 0xc
push 0x80
lea ecx, [ebp - 0x668]
push ecx
call esi
lea edx, [ebp - 0x668]
push edx
call fcn.005487ef
add esp, 4
push 0xb
lea eax, [ebp - 0x668]
push eax
lea ecx, [ebp - 0x258]
push ecx
call edi
push 0x80
lea edx, [ebp - 0x668]
push edx
call esi
push 0x619c14
lea eax, [ebp - 0x668]
push eax
lea ecx, [ebp - 0xfc4]
push ecx
call fcn.00545992
mov edx, dword [ebp - 0xfc4]
add esp, 0xc
push edx
push 1
lea eax, [ebp - 0x1018]
push 8
push eax
call fcn.00545b30
mov ecx, dword [0x64eff8]
sub ecx, dword [0x64eff4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 0xfc4]
push edx
push 1
lea eax, [ebp - 0xff4]
push 4
push eax
mov dword [ebp - 0xff4], ecx
call fcn.00545b30
add esp, 0x20
cmp dword [ebp - 0xff4], ebx
jle 0x435faa
mov ecx, dword [0x64ddd8]
call fcn.0043efa0
mov ecx, dword [0x64d978]
push eax
call fcn.0043efa0
mov edx, dword [0x64eff4]
push eax
mov eax, dword [ebp - 0xff4]
lea ecx, [eax*8]
sub ecx, eax
add ecx, ecx
add ecx, ecx
push ecx
lea ecx, [ebp - 0x1018]
call fcn.0043e8d0
mov edx, dword [ebp - 0xfc4]
mov eax, dword [ebp - 0xff4]
mov ecx, dword [0x64eff4]
add esp, 0xc
push edx
push eax
push 0x1c
push ecx
call fcn.00545b30
add esp, 0x10
mov edx, dword [ebp - 0xfc4]
push ebx
push ebx
push edx
call fcn.0054764f
mov eax, dword [ebp - 0xfc4]
add esp, 0xc
push eax
push 1
lea ecx, [ebp - 0x1018]
push 8
push ecx
call fcn.00545b30
mov eax, dword [ebp - 0xff4]
mov edx, dword [ebp - 0xfc4]
xor eax, 0x9b540b19
mov ecx, eax
push ebx
shr ecx, 0xd
shl eax, 0x13
or eax, ecx
push 8
push edx
mov dword [ebp - 0xff4], eax
call fcn.0054764f
mov eax, dword [ebp - 0xfc4]
add esp, 0x1c
push eax
push 1
lea ecx, [ebp - 0xff4]
push 4
push ecx
call fcn.00545b30
mov edx, dword [ebp - 0xfc4]
push edx
call fcn.00545dfd
add esp, 0x14
push 0x80
lea eax, [ebp - 0x258]
push eax
mov dword [ebp - 0xfc4], ebx
call esi
lea ecx, [ebp - 0x258]
push ecx
call fcn.005487ef
add esp, 4
push 0xb
lea edx, [ebp - 0x258]
push edx
lea eax, [ebp - 0x668]
push eax
call edi
push 7
lea ecx, [ebp - 0x258]
push ecx
call esi
mov dword [ebp - 0x1010], ebx
mov dword [ebp - 0x100c], ebx
mov dword [ebp - 0x1008], ebx
lea edx, [ebp - 0xff0]
push edx
lea ecx, [ebp - 0x1010]
mov byte [ebp - 4], 4
call fcn.00436c40
lea esi, [ebp - 0x1010]
call fcn.004096a0
mov dword [ebp - 0x1010], ebx
mov dword [ebp - 0x100c], ebx
mov dword [ebp - 0x1008], ebx
mov byte [ebp - 4], 5
push 0x64eff4
lea ecx, [ebp - 0x1010]
call fcn.00436c40
lea esi, [ebp - 0x1010]
call fcn.004096a0
mov byte [0x64dbb4], bl
lea esi, [ebp - 0xff0]
call fcn.004096a0
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.00544a28
mov esp, ebp
pop ebp
ret