Function at 0x43e520
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 0x4e4f12
mov eax, dword fs:[0]
push eax
mov eax, 0x1054
call fcn.00474480
mov eax, dword [0x51f620]
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 [0x52afa0]
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43fc61
mov ecx, dword [0x529d70]
cmp ecx, ebx
je 0x43fc61
call fcn.00449e50
lea esi, [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor eax, dword [esi]
cmp eax, 0x1b7d6a4
jne 0x43fc61
mov byte [0x529b4c], 1
cmp dword [0x529b48], ebx
jne 0x43e604
push 0xa00000
call fcn.00450241
add esp, 4
mov dword [0x529b48], eax
cmp eax, ebx
jne 0x43e604
push str.Cant_Optimize_Resource_File.
push str._s_Error:0x00000006
mov edx, 0x529928
mov byte [0x529b4c], bl
call fcn.0040bf60
mov ecx, dword [0x529908]
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, 0x512a00
call fcn.00438400
add esp, 4
jmp 0x43fc61
lea edx, [ebp - 0x1020]
push edx
call fcn.0044a900
push eax
mov edx, 0x52afa8
mov dword [ebp - 4], ebx
call fcn.00440860
lea esi, [ebp - 0x1020]
mov dword [ebp - 4], 0xffffffff
call fcn.0040cc10
push ebx
call fcn.004406d0
push str.Packing_resource_files._Please_wait.
mov edx, 0x529928
mov dword [ebp - 0xfb4], ebx
call fcn.0040bf60
mov eax, dword [0x529908]
add esp, 4
push ebx
push ebx
push 0x4c8
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [0x52990c]
call fcn.00449e50
lea ecx, [ebp - 0xfe8]
push ecx
mov esi, eax
mov dword [ebp - 0xfb8], ebx
mov dword [ebp - 0xfd0], ebx
mov dword [ebp - 0xfcc], ebx
mov dword [ebp - 0xff8], ebx
call fcn.0044a900
mov dword [ebp - 4], 1
push 0x206
lea eax, [ebp - 0xd86]
xor edx, edx
push ebx
push eax
mov dword [ebp - 0xf9c], ebx
mov dword [ebp - 0xfa8], ebx
mov dword [ebp - 0xfa0], ebx
mov dword [ebp - 0xfc8], ebx
mov word [ebp - 0xd88], dx
call fcn.004737c0
add esp, 0xc
push 0x206
lea edx, [ebp - 0x666]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x668], cx
call fcn.004737c0
add esp, 0xc
push 0x206
lea ecx, [ebp - 0x86e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x870], ax
call fcn.004737c0
add esp, 0xc
push 0x206
lea eax, [ebp - 0x256]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x258], dx
call fcn.004737c0
add esp, 0xc
push 0x206
lea edx, [ebp - 0x45e]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x460], cx
call fcn.004737c0
add esp, 0xc
xor eax, eax
push 0x206
lea ecx, [ebp - 0xa76]
push ebx
push ecx
mov word [ebp - 0xa78], ax
call fcn.004737c0
add esp, 0xc
push 0x103
lea edx, [ebp - 0xb7f]
push ebx
push edx
mov byte [ebp - 0xb80], bl
call fcn.004737c0
add esp, 0xc
lea eax, [ebp - 0xd88]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x529740
push 0x51183c
push 0x511844
lea edx, [ebp - 0xa78]
call fcn.0040bf60
add esp, 0xc
lea eax, [esi + 0xc22]
push eax
push 0x51183c
push 0x511844
lea edx, [ebp - 0x258]
mov dword [ebp - 0xfec], eax
call fcn.0040bf60
add esp, 0xc
push str..dat
push 0x529740
push 0x51183c
push str._s_s_s
lea edx, [ebp - 0x460]
call fcn.0040bf60
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
add esp, 0x10
push 7
lea ecx, [ebp - 0x258]
push ecx
call edi
push 7
lea edx, [ebp - 0x460]
push edx
call edi
push 0x511efc
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0xf9c]
push ecx
call fcn.0046eb9c
mov eax, dword [ebp - 0xf9c]
add esp, 0xc
cmp eax, ebx
je 0x43e9ea
push eax
push 1
lea edx, [ebp - 0xfd0]
push 8
push edx
call fcn.00470e2d
add esp, 0x10
cmp eax, ebx
jg 0x43e85b
mov dword [ebp - 0xfb8], ebx
jmp 0x43e89c
mov eax, dword [ebp - 0xf9c]
push eax
push 1
lea ecx, [ebp - 0xfb8]
push 4
push ecx
call fcn.00470e2d
add esp, 0x10
cmp eax, ebx
jg 0x43e881
mov dword [ebp - 0xfb8], ebx
jmp 0x43e89c
mov eax, dword [ebp - 0xfb8]
mov ecx, eax
shl ecx, 0xd
shr eax, 0x13
or eax, ecx
xor eax, 0x9b540b19
mov dword [ebp - 0xfb8], eax
push 0x30
lea edx, [ebp - 0x1060]
push ebx
push edx
call fcn.004737c0
add esp, 0xc
lea eax, [ebp - 0x1060]
push eax
lea ecx, [ebp - 0x258]
push ecx
call fcn.004716a4
mov eax, dword [ebp - 0xfb8]
add esp, 8
cmp eax, ebx
jbe 0x43e954
mov edx, dword [ebp - 0x104c]
lea ecx, [eax*8]
sub ecx, eax
add ecx, ecx
add edx, 0xfffffff4
add ecx, ecx
cmp ecx, edx
je 0x43e954
mov ecx, dword [ebp - 0xf9c]
lea edx, [ebp - 0x460]
push edx
push ebx
lea eax, [ebp - 0x258]
push eax
push ecx
mov byte [0x529b4c], bl
call fcn.0043e440
push str.Cant_Pack_Resource_File.
push str._s_Error:0x00000008
mov edx, 0x529928
call fcn.0040bf60
mov edx, dword [0x529908]
add esp, 0x18
push ebx
push ebx
push 0x4c8
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 8
mov esi, eax
mov edi, str.Cant_Pack_Resource_File.
call fcn.00438400
add esp, 4
jmp 0x43fc56
push eax
call fcn.004406d0
mov ecx, 0x52afa8
call fcn.00440660
test eax, eax
jbe 0x43e9d5
mov eax, dword [ebp - 0xf9c]
mov ecx, dword [ebp - 0xfb8]
push eax
push ecx
push 0x1c
xor esi, esi
call fcn.00440710
push eax
call fcn.00470e2d
mov ecx, dword [0x529d70]
add esp, 0x10
call fcn.00449e50
mov ecx, dword [0x529910]
push eax
lea edx, [ebp - 0xfd0]
push edx
call fcn.00449e50
mov dword [ebp - 0xfb0], eax
mov eax, dword [ebp - 0xfb8]
lea ecx, [eax*8]
sub ecx, eax
add ecx, ecx
add ecx, ecx
push ecx
call fcn.00440710
mov ecx, dword [ebp - 0xfb0]
mov edx, eax
call fcn.00449af0
add esp, 0xc
mov edx, dword [ebp - 0xf9c]
push edx
call fcn.0046f030
add esp, 4
mov dword [ebp - 0xf9c], ebx
lea eax, [ebp - 0xb80]
push eax
lea esi, [ebp - 0xa78]
call fcn.0044a7c0
lea ecx, [ebp - 0xfe8]
add esp, 4
push ecx
lea ecx, [ebp - 0xfb4]
lea edx, [ebp - 0xb80]
call fcn.0043e1d0
mov ecx, dword [ebp - 0xfd8]
sub ecx, dword [ebp - 0xfdc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 4
cmp eax, ebx
mov dword [ebp - 0xfb0], eax
jle 0x43fc50
mov ecx, dword [0x52afb8]
sub ecx, dword [0x52afb4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
mov dword [ebp - 0xff0], esi
cmp dword [ebp - 0xfb4], ebx
jne 0x43ec42
push 6
lea edx, [ebp - 0x460]
push edx
call edi
push 0x512adc
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp - 0xfa0]
push ecx
call fcn.0046eb9c
mov eax, dword [ebp - 0xfa0]
add esp, 0xc
cmp eax, ebx
je 0x43eb53
push 2
push ebx
push eax
call fcn.004708fd
mov edx, dword [ebp - 0xfa0]
add esp, 0xc
push edx
call fcn.00470b1f
add esp, 4
push ebx
mov edi, eax
mov eax, dword [ebp - 0xfa0]
push ebx
push eax
call fcn.004708fd
add esp, 0xc
cmp esi, ebx
jle 0x43ec42
cmp edi, 1
jg 0x43ec42
mov edx, dword [ebp - 0xfa0]
lea ecx, [ebp - 0x460]
push ecx
push edx
lea eax, [ebp - 0x258]
push eax
push ebx
mov byte [0x529b4c], bl
call fcn.0043e440
push str.Cant_Pack_Resource_File.
push str._s_Error:0x00000001
mov edx, 0x529928
call fcn.0040bf60
mov ecx, dword [0x529908]
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.00438400
add esp, 4
jmp 0x43fc56
push 0x512b0c
lea edx, [ebp - 0x460]
push edx
lea eax, [ebp - 0xfa0]
push eax
call fcn.0046eb9c
mov eax, dword [ebp - 0xfa0]
add esp, 0xc
cmp eax, ebx
je 0x43ebe1
cmp esi, ebx
jle 0x43ec42
lea ecx, [ebp - 0x460]
push ecx
push eax
lea edx, [ebp - 0x258]
push edx
push ebx
mov byte [0x529b4c], bl
call fcn.0043e440
push str.Cant_Pack_Resource_File.
push str._s_Error:0x00000002
mov edx, 0x529928
call fcn.0040bf60
mov eax, dword [0x529908]
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.00438400
add esp, 4
jmp 0x43fc56
lea ecx, [ebp - 0x460]
push ecx
push ebx
lea edx, [ebp - 0x258]
push edx
push ebx
mov byte [0x529b4c], bl
call fcn.0043e440
push str.Cant_Pack_Resource_File.
push str._s_Error:0x00000007
mov edx, 0x529928
call fcn.0040bf60
mov eax, dword [0x529908]
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.00438400
add esp, 4
jmp 0x43fc56
mov ecx, dword [0x529908]
push ebx
push ebx
push 0x4c9
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [ebp - 0xfb0]
lea esi, [ebp - 0xfc0]
lea edi, [ebp - 0xfe8]
mov dword [ebp - 0xfa4], edx
call fcn.00440690
mov ecx, dword [eax]
mov dword [ebp - 0xf98], ecx
mov edi, dword [eax + 4]
mov dword [ebp - 0xf94], edi
mov eax, dword [ebp - 0xfd8]
mov dword [ebp - 0xfac], eax
cmp dword [ebp - 0xfdc], eax
jbe 0x43ec9d
call fcn.0046de02
mov esi, dword [ebp - 0xf98]
cmp esi, ebx
je 0x43ecaf
cmp esi, dword [ebp - 0xfe8]
je 0x43ecb4
call fcn.0046de02
cmp edi, dword [ebp - 0xfac]
je 0x43f1ef
mov edx, dword [0x52afa0]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43fc56
cmp esi, ebx
jne 0x43edf3
call fcn.0046de02
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x43ecef
call fcn.0046de02
lea eax, [ebp - 0xff8]
push eax
lea ecx, [ebp - 0xfbc]
push ecx
lea edx, [edi + 4]
push edx
mov edx, dword [ebp - 0xff0]
call fcn.0043e0f0
add esp, 0xc
mov dword [ebp - 0xfac], eax
mov dword [ebp - 0xfb0], ebx
cmp eax, ebx
je 0x43ef19
lea esi, [ebp - 0xf98]
call fcn.004410c0
cmp dword [ebp - 0xfb4], ebx
jne 0x43eeed
mov ecx, dword [ebp - 0xfac]
mov edx, dword [ecx]
mov dword [eax], edx
call fcn.004410c0
add eax, 4
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43ed50
sub eax, esi
push ebx
push ebx
inc eax
push eax
lea esi, [ebp - 0xf98]
call fcn.004410c0
add eax, 4
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
lea eax, [ebp - 0x50]
push eax
push 0xffffffffffffffff
call fcn.004410c0
add eax, 4
push eax
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.0040bf60
add esp, 0xc
push 0x511efc
lea eax, [ebp - 0x870]
push eax
lea ecx, [ebp - 0xfa8]
push ecx
call fcn.0046eb9c
mov eax, dword [ebp - 0xfa8]
add esp, 0xc
cmp eax, ebx
jne 0x43edfa
mov edx, dword [ebp - 0xf98]
dec dword [ebp - 0xfa4]
push edi
lea edi, [ebp - 0x1030]
push edx
lea esi, [ebp - 0xfe8]
call fcn.00440800
jmp 0x43ec73
mov eax, dword [esi]
jmp 0x43ece5
push eax
push 1
lea edx, [ebp - 0xfb0]
push 4
push edx
call fcn.00470e2d
mov eax, dword [ebp - 0xfa8]
add esp, 0x10
push eax
push 1
lea esi, [ebp - 0xf98]
call fcn.004410c0
mov ecx, dword [eax + 0x18]
mov edx, dword [0x529b48]
push ecx
push edx
call fcn.00470e2d
mov eax, dword [ebp - 0xfa8]
push eax
call fcn.0046f030
add esp, 0x14
mov dword [ebp - 0xfa8], ebx
call fcn.004410c0
mov edx, dword [eax + 0x18]
mov esi, dword [0x529b48]
call fcn.00449f60
cmp dword [ebp - 0xfb0], eax
je 0x43ee8e
mov ecx, dword [ebp - 0xf98]
dec dword [ebp - 0xfa4]
push edi
push ecx
lea edi, [ebp - 0x1028]
lea esi, [ebp - 0xfe8]
call fcn.00440800
mov edx, dword [eax]
mov dword [ebp - 0xf98], edx
jmp 0x43ec7b
lea eax, [ebp - 0x870]
push eax
call fcn.00471b16
add esp, 4
lea esi, [ebp - 0xf98]
call fcn.004410c0
mov ecx, dword [eax]
mov edx, dword [ebp - 0xfa0]
push ebx
push ecx
push edx
call fcn.004708fd
mov eax, dword [ebp - 0xfa0]
add esp, 0xc
push eax
push 1
call fcn.004410c0
mov ecx, dword [eax + 0x18]
mov edx, dword [0x529b48]
push ecx
push edx
call fcn.0046ed51
mov eax, dword [ebp - 0xfa0]
push 2
push ebx
push eax
call fcn.004708fd
add esp, 0x1c
jmp 0x43eef3
mov dword [eax], 0xffffffff
lea esi, [ebp - 0xf98]
call fcn.004410c0
mov ecx, dword [ebp - 0xfac]
push ecx
mov ecx, 0x1c
mov edx, eax
call fcn.00446a20
add esp, 4
jmp 0x43f105
cmp dword [ebp - 0xfb4], ebx
jne 0x43f0de
mov edx, dword [ebp - 0xfa0]
push 2
push ebx
push edx
call fcn.004708fd
mov eax, dword [ebp - 0xfa0]
add esp, 0xc
push eax
call fcn.00470b1f
add esp, 4
lea esi, [ebp - 0xf98]
mov dword [ebp - 0xfac], eax
call fcn.004410c0
mov ecx, dword [ebp - 0xfac]
mov dword [eax], ecx
call fcn.004410c0
add eax, 4
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43ef70
sub eax, esi
push ebx
push ebx
inc eax
push eax
lea esi, [ebp - 0xf98]
call fcn.004410c0
add eax, 4
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
lea edx, [ebp - 0x50]
push edx
push 0xffffffffffffffff
call fcn.004410c0
add eax, 4
push eax
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.0040bf60
add esp, 0xc
push 0x511efc
lea edx, [ebp - 0x870]
push edx
lea eax, [ebp - 0xfa8]
push eax
call fcn.0046eb9c
mov eax, dword [ebp - 0xfa8]
add esp, 0xc
cmp eax, ebx
jne 0x43f01b
mov ecx, dword [ebp - 0xf98]
dec dword [ebp - 0xfa4]
push edi
push ecx
lea edi, [ebp - 0x1008]
lea esi, [ebp - 0xfe8]
call fcn.00440800
mov edx, dword [eax]
mov dword [ebp - 0xf98], edx
jmp 0x43ec7b
push eax
push 1
lea eax, [ebp - 0xfb0]
push 4
push eax
call fcn.00470e2d
mov ecx, dword [ebp - 0xfa8]
add esp, 0x10
push ecx
push 1
lea esi, [ebp - 0xf98]
call fcn.004410c0
mov edx, dword [eax + 0x18]
mov eax, dword [0x529b48]
push edx
push eax
call fcn.00470e2d
mov ecx, dword [ebp - 0xfa8]
push ecx
call fcn.0046f030
add esp, 0x14
mov dword [ebp - 0xfa8], ebx
call fcn.004410c0
mov edx, dword [eax + 0x18]
mov esi, dword [0x529b48]
call fcn.00449f60
cmp dword [ebp - 0xfb0], eax
je 0x43f0a6
mov edx, dword [ebp - 0xf98]
dec dword [ebp - 0xfa4]
push edi
lea edi, [ebp - 0x1000]
push edx
lea esi, [ebp - 0xfe8]
call fcn.00440800
jmp 0x43ec73
lea edx, [ebp - 0x870]
push edx
call fcn.00471b16
mov eax, dword [ebp - 0xfa0]
add esp, 4
push eax
push 1
lea esi, [ebp - 0xf98]
call fcn.004410c0
mov ecx, dword [eax + 0x18]
mov edx, dword [0x529b48]
push ecx
push edx
call fcn.0046ed51
add esp, 0x10
jmp 0x43f0ef
lea esi, [ebp - 0xf98]
call fcn.004410c0
mov dword [eax], 0xffffffff
lea esi, [ebp - 0xf98]
call fcn.004410c0
push eax
push 0x52afa8
call fcn.00440750
mov esi, dword [ebp - 0xfdc]
cmp esi, dword [ebp - 0xfd8]
jbe 0x43f118
call fcn.0046de02
mov eax, dword [ebp - 0xf98]
cmp eax, ebx
je 0x43f12a
cmp eax, dword [ebp - 0xfe8]
je 0x43f12f
call fcn.0046de02
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp dword [ebp - 0xf98], ebx
jne 0x43f1e2
call fcn.0046de02
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x43f163
call fcn.0046de02
inc esi
mov dword [ebp - 0xfac], esi
fild dword [ebp - 0xfac]
mov edx, dword [0x529908]
push ebx
add edi, 0x1c
fidiv dword [ebp - 0xfa4]
mov dword [ebp - 0xf94], edi
fstp dword [ebp - 0xfac]
fld dword [ebp - 0xfac]
fimul dword [0x529914]
fnstcw word [ebp - 0xfaa]
movzx eax, word [ebp - 0xfaa]
or eax, 0xc00
mov dword [ebp - 0xfbc], eax
fldcw word [ebp - 0xfbc]
fistp qword [ebp - 0xfc0]
mov ecx, dword [ebp - 0xfc0]
push ecx
push 0x4c9
push edx
fldcw word [ebp - 0xfaa]
call dword [sym.imp.USER32.dll_PostMessageW]
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43ec84
mov eax, dword [ebp - 0xf98]
mov eax, dword [eax]
jmp 0x43f159
lea esi, [ebp - 0x1000]
mov edi, 0x52afa8
call fcn.004406b0
lea esi, [ebp - 0x1008]
mov dword [ebp - 0xfbc], eax
call fcn.00440690
mov ecx, dword [ebp - 0xfbc]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
call fcn.00444160
mov eax, dword [ebp - 0xfa0]
add esp, 0x10
cmp eax, ebx
je 0x43f258
push eax
call fcn.0046f030
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
add esp, 4
push 7
lea ecx, [ebp - 0x460]
push ecx
mov dword [ebp - 0xfa0], ebx
call edi
jmp 0x43f25e
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0xfb4], ebx
jne 0x43f4da
push ecx
lea edx, [ebp - 0xa78]
mov ecx, esp
mov dword [ebp - 0xfbc], esp
push edx
call fcn.00446560
call fcn.00407fd0
add esp, 4
push 7
lea eax, [ebp - 0x258]
push eax
call edi
mov ecx, dword [ebp - 0xfec]
push ecx
lea edx, [ebp - 0xd88]
push edx
push 0x511844
lea edx, [ebp - 0x668]
call fcn.0040bf60
add esp, 0xc
push 0x80
lea eax, [ebp - 0x668]
push eax
call edi
lea ecx, [ebp - 0x668]
push ecx
call fcn.00471b16
add esp, 4
push 0xb
lea edx, [ebp - 0x668]
push edx
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0x80
lea ecx, [ebp - 0x668]
push ecx
call edi
push 0x50f4a0
lea edx, [ebp - 0x668]
push edx
lea eax, [ebp - 0xf9c]
push eax
call fcn.0046eb9c
mov ecx, dword [ebp - 0xf9c]
add esp, 0xc
push ecx
push 1
lea edx, [ebp - 0xfd0]
push 8
push edx
call fcn.0046ed51
mov ecx, dword [0x52afb8]
sub ecx, dword [0x52afb4]
mov eax, 0x92492493
imul ecx
add edx, ecx
mov ecx, dword [ebp - 0xf9c]
sar edx, 4
mov eax, edx
push ecx
shr eax, 0x1f
add eax, edx
push 1
lea edx, [ebp - 0xfa4]
push 4
push edx
mov dword [ebp - 0xfa4], eax
call fcn.0046ed51
mov esi, dword [ebp - 0xfa4]
add esp, 0x20
cmp esi, ebx
jle 0x43f3ca
mov ecx, dword [0x529d70]
call fcn.00449e50
mov ecx, dword [0x529910]
push eax
call fcn.00449e50
push eax
lea eax, [esi*8]
sub eax, esi
add eax, eax
add eax, eax
push eax
xor esi, esi
call fcn.00440710
lea ecx, [ebp - 0xfd0]
mov edx, eax
call fcn.00449780
mov ecx, dword [ebp - 0xf9c]
mov edx, dword [ebp - 0xfa4]
add esp, 0xc
push ecx
push edx
push 0x1c
call fcn.00440710
push eax
call fcn.0046ed51
add esp, 0x10
mov eax, dword [ebp - 0xf9c]
push ebx
push ebx
push eax
call fcn.004708fd
mov ecx, dword [ebp - 0xf9c]
add esp, 0xc
push ecx
push 1
lea edx, [ebp - 0xfd0]
push 8
push edx
call fcn.0046ed51
mov eax, dword [ebp - 0xfa4]
xor eax, 0x9b540b19
mov ecx, eax
shl eax, 0x13
shr ecx, 0xd
or eax, ecx
push ebx
mov dword [ebp - 0xfa4], eax
mov eax, dword [ebp - 0xf9c]
push 8
push eax
call fcn.004708fd
mov ecx, dword [ebp - 0xf9c]
add esp, 0x1c
push ecx
push 1
lea edx, [ebp - 0xfa4]
push 4
push edx
call fcn.0046ed51
mov eax, dword [ebp - 0xf9c]
push eax
call fcn.0046f030
add esp, 0x14
push 0x80
lea ecx, [ebp - 0x258]
push ecx
mov dword [ebp - 0xf9c], ebx
call edi
lea edx, [ebp - 0x258]
push edx
call fcn.00471b16
add esp, 4
push 0xb
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x668]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 7
lea edx, [ebp - 0x258]
push edx
call edi
lea eax, [ebp - 0x1020]
push eax
call fcn.0044a900
push eax
lea edx, [ebp - 0xfe8]
mov byte [ebp - 4], 2
call fcn.00440860
lea esi, [ebp - 0x1020]
mov byte [ebp - 4], 1
call fcn.0040cc10
lea ecx, [ebp - 0x1020]
push ecx
call fcn.0044a900
push eax
mov edx, 0x52afa8
mov byte [ebp - 4], 3
call fcn.00440860
lea esi, [ebp - 0x1020]
jmp 0x43fc4b
push str.Optimizing_resource_files._Please_wait.
mov edx, 0x529928
call fcn.0040bf60
mov edx, dword [0x529908]
add esp, 4
push ebx
push ebx
push 0x4c8
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x511efc
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp - 0xfa0]
push ecx
call fcn.0046eb9c
add esp, 0xc
cmp dword [ebp - 0xfa0], ebx
jne 0x43f585
lea edx, [ebp - 0x460]
push edx
push ebx
lea eax, [ebp - 0x258]
push eax
push ebx
mov byte [0x529b4c], bl
call fcn.0043e440
push str.Cant_Optimize_Resource_File.
push str._s_Error:0x00000003
mov edx, 0x529928
call fcn.0040bf60
mov ecx, dword [0x529908]
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 3
mov esi, eax
mov edi, str.Cant_Optimize_Resource_File.
call fcn.00438400
add esp, 4
jmp 0x43fc56
push str..___
push 0x529740
push 0x51183c
push str._s_s_s
lea edx, [ebp - 0xf90]
call fcn.0040bf60
add esp, 0x10
push 0x80
lea edx, [ebp - 0xf90]
push edx
call edi
lea eax, [ebp - 0xf90]
push eax
call fcn.00471b16
add esp, 4
push 0x50f4a0
lea ecx, [ebp - 0xf90]
push ecx
lea edx, [ebp - 0xfc8]
push edx
call fcn.0046eb9c
add esp, 0xc
cmp dword [ebp - 0xfc8], ebx
jne 0x43f633
push str.Cant_Optimize_Resource_File.
push str._s_Error:0x00000004
mov edx, 0x529928
mov byte [0x529b4c], bl
call fcn.0040bf60
mov eax, dword [0x529908]
add esp, 8
push ebx
push ebx
push 0x4c8
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 4
mov esi, eax
mov edi, str.Cant_Optimize_Resource_File.
call fcn.00438400
add esp, 4
jmp 0x43fc56
mov ecx, dword [0x529908]
push ebx
push ebx
push 0x4c9
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [0x52afb8]
sub ecx, dword [0x52afb4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea esi, [ebp - 0x1000]
mov edi, 0x52afa8
mov dword [ebp - 0xfb4], eax
call fcn.00440690
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea esi, [ebp - 0xff4]
mov dword [ebp - 0xf98], edx
mov dword [ebp - 0xf94], eax
call fcn.004406b0
mov esi, eax
lea edi, [ebp - 0xf98]
call fcn.00440f00
test al, al
je 0x43f933
lea ecx, [ecx]
call fcn.00438d40
test eax, eax
jne 0x43fc56
lea esi, [ebp - 0xf98]
call fcn.004410c0
cmp dword [eax], 0xffffffff
jne 0x43f821
call fcn.004410c0
add eax, 4
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43f6e0
push ebx
sub eax, edx
push ebx
inc eax
push eax
lea esi, [ebp - 0xf98]
call fcn.004410c0
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add eax, 4
push eax
push ebx
push ebx
call edi
push eax
lea ecx, [ebp - 0x50]
push ecx
push 0xffffffffffffffff
call fcn.004410c0
add eax, 4
push eax
push ebx
push ebx
call edi
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0xa78]
push eax
push str._s_s
lea edx, [ebp - 0x870]
call fcn.0040bf60
add esp, 0xc
push 0x511efc
lea ecx, [ebp - 0x870]
push ecx
lea edx, [ebp - 0xfa8]
push edx
call fcn.0046eb9c
mov eax, dword [ebp - 0xfa8]
add esp, 0xc
cmp eax, ebx
jne 0x43f797
lea edi, [ebp - 0x1000]
mov eax, dword [ebp - 0xf94]
mov ecx, dword [ebp - 0xf98]
push eax
push ecx
mov esi, 0x52afa8
call fcn.00440800
mov edx, dword [eax]
mov eax, dword [eax + 4]
dec dword [ebp - 0xfb4]
mov dword [ebp - 0xf98], edx
mov dword [ebp - 0xf94], eax
jmp 0x43f90e
push eax
push 1
lea ecx, [ebp - 0xfb0]
push 4
push ecx
mov dword [ebp - 0xfb0], ebx
call fcn.00470e2d
mov edx, dword [ebp - 0xfa8]
add esp, 0x10
push edx
push 1
lea esi, [ebp - 0xf98]
call fcn.004410c0
mov eax, dword [eax + 0x18]
mov ecx, dword [0x529b48]
push eax
push ecx
call fcn.00470e2d
mov edx, dword [ebp - 0xfa8]
push edx
call fcn.0046f030
add esp, 0x14
mov dword [ebp - 0xfa8], ebx
call fcn.004410c0
mov edx, dword [eax + 0x18]
mov esi, dword [0x529b48]
call fcn.00449f60
cmp dword [ebp - 0xfb0], eax
je 0x43f810
lea edi, [ebp - 0x1008]
jmp 0x43f763
lea ecx, [ebp - 0x870]
push ecx
call fcn.00471b16
add esp, 4
jmp 0x43f85f
call fcn.004410c0
mov edx, dword [eax]
mov eax, dword [ebp - 0xfa0]
push ebx
push edx
push eax
call fcn.004708fd
mov ecx, dword [ebp - 0xfa0]
add esp, 0xc
push ecx
push 1
lea esi, [ebp - 0xf98]
call fcn.004410c0
mov edx, dword [eax + 0x18]
mov eax, dword [0x529b48]
push edx
push eax
call fcn.00470e2d
add esp, 0x10
mov ecx, dword [ebp - 0xfc8]
push ecx
call fcn.00470b1f
add esp, 4
lea esi, [ebp - 0xf98]
mov edi, eax
call fcn.004410c0
mov dword [eax], edi
mov edx, dword [ebp - 0xfc8]
push edx
push 1
call fcn.004410c0
mov eax, dword [eax + 0x18]
mov ecx, dword [0x529b48]
push eax
push ecx
call fcn.0046ed51
add esp, 0x10
lea esi, [ebp - 0x1028]
mov edi, 0x52afa8
call fcn.00440690
mov esi, eax
lea edi, [ebp - 0xf98]
call fcn.00441120
lea esi, [ebp - 0xf98]
mov edi, eax
call fcn.004410f0
inc edi
mov dword [ebp - 0xfbc], edi
fild dword [ebp - 0xfbc]
fidiv dword [ebp - 0xfb4]
fstp dword [ebp - 0xfbc]
fild dword [0x529914]
fmul dword [ebp - 0xfbc]
call fcn.00473910
mov edx, dword [0x529908]
push ebx
push eax
push 0x4c9
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
lea esi, [ebp - 0xff4]
mov edi, 0x52afa8
call fcn.004406b0
mov esi, eax
lea edi, [ebp - 0xf98]
call fcn.00440f00
test al, al
jne 0x43f6b0
mov eax, dword [ebp - 0xfc8]
push eax
call fcn.0046f030
mov ecx, dword [ebp - 0xfa0]
add esp, 4
push ecx
call fcn.0046f030
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
add esp, 4
push 6
lea edx, [ebp - 0x460]
push edx
call edi
lea eax, [ebp - 0x460]
push eax
call fcn.00471b16
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 4
push 0xb
lea ecx, [ebp - 0x460]
push ecx
lea edx, [ebp - 0xf90]
push edx
call esi
cmp eax, ebx
jne 0x43f9d9
push str.Cant_Optimize_Resource_File.
push str._s_Error:0x00000005
mov edx, 0x529928
mov byte [0x529b4c], bl
call fcn.0040bf60
mov eax, dword [0x529908]
add esp, 8
push ebx
push ebx
push 0x4c8
push eax
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.00438400
add esp, 4
jmp 0x43fc56
push 7
lea ecx, [ebp - 0x460]
push ecx
call edi
push ecx
lea edx, [ebp - 0xa78]
mov ecx, esp
mov dword [ebp - 0xfbc], esp
push edx
call fcn.00446560
call fcn.00407fd0
add esp, 4
push 7
lea eax, [ebp - 0x258]
push eax
call edi
mov ecx, dword [ebp - 0xfec]
push ecx
lea edx, [ebp - 0xd88]
push edx
push 0x511844
lea edx, [ebp - 0x668]
call fcn.0040bf60
add esp, 0xc
push 0x80
lea eax, [ebp - 0x668]
push eax
call edi
lea ecx, [ebp - 0x668]
push ecx
call fcn.00471b16
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 0x50f4a0
lea edx, [ebp - 0x668]
push edx
lea eax, [ebp - 0xf9c]
push eax
call fcn.0046eb9c
mov ecx, dword [ebp - 0xf9c]
add esp, 0xc
push ecx
push 1
lea edx, [ebp - 0xfd0]
push 8
push edx
call fcn.0046ed51
mov ecx, dword [0x52afb8]
sub ecx, dword [0x52afb4]
mov eax, 0x92492493
imul ecx
add edx, ecx
mov ecx, dword [ebp - 0xf9c]
sar edx, 4
mov eax, edx
push ecx
shr eax, 0x1f
add eax, edx
push 1
lea edx, [ebp - 0xfc4]
push 4
push edx
mov dword [ebp - 0xfc4], eax
call fcn.0046ed51
mov esi, dword [ebp - 0xfc4]
add esp, 0x20
cmp esi, ebx
jle 0x43fb40
mov ecx, dword [0x529d70]
call fcn.00449e50
mov ecx, dword [0x529910]
push eax
call fcn.00449e50
push eax
lea eax, [esi*8]
sub eax, esi
add eax, eax
add eax, eax
push eax
xor esi, esi
call fcn.00440710
lea ecx, [ebp - 0xfd0]
mov edx, eax
call fcn.00449780
mov ecx, dword [ebp - 0xf9c]
mov edx, dword [ebp - 0xfc4]
add esp, 0xc
push ecx
push edx
push 0x1c
call fcn.00440710
push eax
call fcn.0046ed51
add esp, 0x10
mov eax, dword [ebp - 0xf9c]
push ebx
push ebx
push eax
call fcn.004708fd
mov ecx, dword [ebp - 0xf9c]
add esp, 0xc
push ecx
push 1
lea edx, [ebp - 0xfd0]
push 8
push edx
call fcn.0046ed51
mov eax, dword [ebp - 0xfc4]
xor eax, 0x9b540b19
mov ecx, eax
shl eax, 0x13
shr ecx, 0xd
or eax, ecx
push ebx
mov dword [ebp - 0xfc4], eax
mov eax, dword [ebp - 0xf9c]
push 8
push eax
call fcn.004708fd
mov ecx, dword [ebp - 0xf9c]
add esp, 0x1c
push ecx
push 1
lea edx, [ebp - 0xfc4]
push 4
push edx
call fcn.0046ed51
mov eax, dword [ebp - 0xf9c]
push eax
call fcn.0046f030
add esp, 0x14
push 0x80
lea ecx, [ebp - 0x258]
push ecx
mov dword [ebp - 0xf9c], ebx
call edi
lea edx, [ebp - 0x258]
push edx
call fcn.00471b16
add esp, 4
push 0xb
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x668]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 7
lea edx, [ebp - 0x258]
push edx
call edi
lea eax, [ebp - 0x1020]
push eax
call fcn.0044a900
push eax
lea edx, [ebp - 0xfe8]
mov byte [ebp - 4], 4
call fcn.00440860
lea esi, [ebp - 0x1020]
mov byte [ebp - 4], 1
call fcn.0040cc10
lea ecx, [ebp - 0x1048]
push ecx
call fcn.0044a900
push eax
mov edx, 0x52afa8
mov byte [ebp - 4], 5
call fcn.00440860
lea esi, [ebp - 0x1048]
call fcn.0040cc10
mov byte [0x529b4c], bl
lea esi, [ebp - 0xfe8]
call fcn.0040cc10
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.0046d9d8
mov esp, ebp
pop ebp
ret