Function at 0x4229d0
Capabilities:
Check if file exists
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cfdf6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x8cc4
call fcn.004ab4d0
mov eax, dword [0x51c080]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8ccc], eax
mov esi, ecx
mov dword [ebp - 0x8c8c], esi
xor ebx, ebx
mov byte [ebp - 0x8c6d], bl
mov dword [ebp - 0x8c84], ebx
mov dword [ebp - 0x8c78], ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x422a99
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x422a35
sub eax, edx
sar eax, 1
je 0x422a99
push 0x800
push ebx
lea eax, [ebp - 0x3a1c]
push eax
call fcn.004ab450
add esp, 0xc
push 0x800
push ebx
lea ecx, [ebp - 0x4a1c]
push ecx
call fcn.004ab450
add esp, 0xc
push 0x400
lea edx, [ebp - 0x3a1c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x422aa0
push 0x4e3ae8
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
xor al, al
jmp 0x423c64
push 0x3ff
lea eax, [ebp - 0x3a1c]
push eax
push 0x400
lea ecx, [ebp - 0x4a1c]
push ecx
call fcn.004a9be0
push 0x5c
lea edx, [ebp - 0x4a1c]
push edx
call fcn.004a9ce4
add esp, 0x18
mov edi, eax
cmp edi, ebx
je 0x423b68
mov word [edi], bx
add edi, 2
push 0x800
push ebx
lea eax, [ebp - 0x621c]
push eax
call fcn.004ab450
add esp, 0xc
push 0x3ff
push edi
push 0x400
lea ecx, [ebp - 0x621c]
push ecx
call fcn.004a9be0
add esp, 0x10
cmp esi, ebx
je 0x422b32
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x422b32
push 5
push 1
push 0x7ea
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp - 0x1a1c]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x422b69
push str.Compress_Fail______Get_Temp_Directory_Fail_
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov edx, 0x527b30
call fcn.00448ec0
add esp, 4
xor al, al
jmp 0x423c64
push 0x200
push ebx
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004ab450
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x4e3c08
lea edx, [ebp - 0x21c]
call fcn.0040bfd0
push 0x3ff
lea edx, [ebp - 0x21c]
push edx
push 0x400
lea eax, [ebp - 0x1a1c]
push eax
call fcn.004a9dea
push ebx
push 1
lea ecx, [ebp - 0x1a1c]
call fcn.0045d900
add esp, 0x20
cmp esi, ebx
je 0x422be8
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x422be8
push 7
push 1
push 0x7ea
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x800
push ebx
lea edx, [ebp - 0x2a1c]
push edx
call fcn.004ab450
add esp, 0xc
lea eax, [ebp - 0x621c]
push eax
lea ecx, [ebp - 0x1a1c]
push ecx
push 0x4dd780
lea edx, [ebp - 0x2a1c]
call fcn.00411a00
add esp, 0xc
push ebx
push 1
xor ebx, ebx
lea edi, [ebp - 0x2a1c]
lea eax, [ebp - 0x3a1c]
call fcn.0045cfb0
add esp, 8
test eax, eax
je 0x422c45
push str.Compress_Fail______Copy_Installer_file_fail___
jmp 0x422b53
lea edx, [ebp - 0x2a1c]
push edx
push str.Copy_Installer_file_success:__s
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
test esi, esi
je 0x422c83
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x422c83
push 0xa
push 1
push 0x7ea
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x800
push 0
lea ecx, [ebp - 0x421c]
push ecx
call fcn.004ab450
add esp, 0xc
push str.Target.exe
lea edx, [ebp - 0x1a1c]
push edx
push 0x4dd780
lea edx, [ebp - 0x421c]
call fcn.00411a00
add esp, 0xc
push 0
push 1
xor ebx, ebx
lea edi, [ebp - 0x421c]
lea eax, [ebp - 0x3a1c]
call fcn.0045cfb0
add esp, 8
test eax, eax
je 0x422ce0
push str.Compress_Fail______Copy_Target_file_fail___
jmp 0x422b53
test esi, esi
je 0x422d05
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x422d05
push 0xf
push 1
push 0x7ea
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
lea ecx, [ebp - 0x421c]
push ecx
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov dword [ebp - 0x8c84], eax
test eax, eax
jne 0x422d28
push str.Load_Installer_file_fail__
jmp 0x422b4d
test esi, esi
je 0x422d4d
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x422d4d
push 0x14
push 1
push 0x7ea
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov dword [ebp - 0x8cc4], eax
mov dword [ebp - 0x8cc0], eax
mov dword [ebp - 0x8cbc], eax
mov byte [ebp - 4], 1
push 0x800
push eax
lea eax, [ebp - 0x521c]
push eax
call fcn.004ab450
add esp, 0xc
lea ecx, [ebp - 0x4a1c]
push ecx
push str._s
lea edx, [ebp - 0x521c]
call fcn.00411a00
add esp, 8
lea edx, [ebp - 0x8c6c]
push edx
lea eax, [ebp - 0x521c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp edi, 0xffffffff
je 0x422e72
lea eax, [ebp - 0x8c40]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422dc2
sub eax, edx
sar eax, 1
cmp eax, 2
jne 0x422ded
mov eax, 0x2e
cmp word [ebp - 0x8c40], ax
jne 0x422ded
cmp word [ebp - 0x8c3e], ax
je 0x422e59
lea eax, [ebp - 0x8c40]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422df6
sub eax, edx
sar eax, 1
cmp eax, 1
jne 0x422e14
cmp word [ebp - 0x8c40], 0x2e
je 0x422e59
test byte [ebp - 0x8c6c], 0x10
je 0x422e59
lea edx, [ebp - 0x8c40]
lea eax, [ebp - 0x8cb0]
call fcn.00411be0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8cb0]
push ecx
lea esi, [ebp - 0x8cc8]
call fcn.0041dab0
mov byte [ebp - 4], 1
lea esi, [ebp - 0x8cb0]
call fcn.00411bb0
mov esi, dword [ebp - 0x8c8c]
lea edx, [ebp - 0x8c6c]
push edx
push edi
call ebx
test eax, eax
jne 0x422db0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x8cc8]
call fcn.0040dbf0
test eax, eax
jne 0x422e96
mov byte [ebp - 4], al
lea esi, [ebp - 0x8cc8]
call fcn.0040dc20
xor al, al
jmp 0x423c64
test esi, esi
je 0x422ebb
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x422ebb
push 0x19
push 1
push 0x7ea
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x8cc8]
call fcn.0040dbf0
mov ecx, eax
add ecx, ecx
mov eax, 0x3c
cdq
idiv ecx
mov dword [ebp - 0x8c74], eax
mov ebx, 0x19
mov dword [ebp - 0x8c94], ebx
lea esi, [ebp - 0x8c80]
lea edi, [ebp - 0x8cc8]
call fcn.0047ba60
lea esi, [ebp - 0x8cb8]
lea edi, [ebp - 0x8cc8]
call fcn.0047bb20
mov esi, eax
lea edi, [ebp - 0x8c80]
call fcn.00414fe0
push 0x800
push 0
test al, al
je 0x4230ff
lea edx, [ebp - 0x321c]
push edx
call fcn.004ab450
add esp, 0xc
push 0x800
push 0
lea eax, [ebp - 0x121c]
push eax
call fcn.004ab450
add esp, 0xc
mov esi, edi
call fcn.0040b200
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x422f5c
mov eax, dword [eax + 4]
jmp 0x422f5f
add eax, 4
push eax
lea ecx, [ebp - 0x4a1c]
push ecx
push 0x4dd780
lea edx, [ebp - 0x321c]
call fcn.00411a00
add esp, 0xc
lea esi, [ebp - 0x8c80]
call fcn.0040b200
cmp dword [eax + 0x18], edi
jb 0x422f8f
mov eax, dword [eax + 4]
jmp 0x422f92
add eax, 4
push eax
lea edx, [ebp - 0x1a1c]
push edx
push str._s_s.zip
lea edx, [ebp - 0x121c]
call fcn.00411a00
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x121c]
call fcn.0045d900
add esp, 8
lea edi, [ebp - 0x121c]
lea esi, [ebp - 0x321c]
call fcn.00481470
test al, al
je 0x4230c7
mov esi, dword [ebp - 0x8c8c]
test esi, esi
je 0x42300b
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42300b
add ebx, dword [ebp - 0x8c74]
mov dword [ebp - 0x8c94], ebx
push ebx
push 1
push 0x7ea
mov ecx, esi
call fcn.0040e470
lea eax, [ebp - 0x121c]
push eax
lea ecx, [ebp - 0x321c]
push ecx
push str.Compress_success__s____s_
mov ecx, 0x527b30
call fcn.00449000
add esp, 0xc
push 1
mov edi, dword [ebp - 0x8c78]
push edi
mov edx, dword [ebp - 0x8c84]
push edx
lea ecx, [ebp - 0x121c]
call fcn.00424040
add edi, 1
mov dword [ebp - 0x8c78], edi
test eax, eax
jne 0x4230af
test esi, esi
je 0x423080
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x423080
add ebx, dword [ebp - 0x8c74]
mov dword [ebp - 0x8c94], ebx
push ebx
push 1
push 0x7ea
mov ecx, esi
call fcn.0040e470
lea eax, [ebp - 0x121c]
push eax
push str.Add_file_to_installer_success___s_
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
lea edi, [ebp - 0x8cd4]
lea esi, [ebp - 0x8c80]
call fcn.0040ad70
jmp 0x422ef4
mov byte [ebp - 0x8c85], 0
push 0x5043f0
lea ecx, [ebp - 0x8c85]
push ecx
call fcn.004abd6e
lea edx, [ebp - 0x121c]
push edx
lea eax, [ebp - 0x321c]
push eax
push str.Compreass_Fail____s____s_
mov ecx, 0x527b30
call fcn.00449000
add esp, 0xc
mov byte [ebp - 0x8c86], 0
push 0x5043f0
lea ecx, [ebp - 0x8c86]
push ecx
call fcn.004abd6e
mov byte [ebp - 0x8c6e], 0
mov byte [ebp - 0x8c6f], 0
lea edx, [ebp - 0x6a1c]
push edx
call fcn.004ab450
add esp, 0xc
push 0x800
push 0
lea eax, [ebp - 0x5a1c]
push eax
call fcn.004ab450
add esp, 0xc
push 0x521974
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
je 0x4231ac
push 0
mov esi, dword [ebp - 0x8c78]
push esi
mov ecx, dword [ebp - 0x8c84]
push ecx
mov ecx, 0x521974
call fcn.00424040
add esi, 1
mov dword [ebp - 0x8c78], esi
test eax, eax
jne 0x423361
push 0x521974
push str.Add_file_to_installer_success___s_
mov ecx, 0x527b30
call fcn.00449000
push 0x3ff
push 0x521974
push 0x400
lea edx, [ebp - 0x5a1c]
push edx
call fcn.004a9be0
add esp, 0x18
mov byte [ebp - 0x8c6e], 1
jmp 0x423361
sub esp, 0x1c
mov dword [ebp - 0x8c74], esp
mov edx, 0x4dcfbc
mov eax, esp
call fcn.00411be0
mov byte [ebp - 4], 3
push 0x52c1fc
mov byte [ebp - 4], 1
lea esi, [ebp - 0x8cb0]
call fcn.004116f0
mov byte [ebp - 4], 4
mov ebx, 8
cmp dword [eax + 0x18], ebx
jb 0x4231ec
mov eax, dword [eax + 4]
jmp 0x4231ef
add eax, 4
push eax
call edi
mov edi, eax
mov byte [ebp - 4], 1
lea esi, [ebp - 0x8cb0]
call fcn.00411bb0
test edi, edi
je 0x42335b
push 0
mov eax, dword [ebp - 0x8c78]
push eax
sub esp, 0x1c
mov dword [ebp - 0x8c74], esp
mov edx, 0x4dcfbc
mov eax, esp
call fcn.00411be0
mov byte [ebp - 4], 5
push 0x52c1fc
mov byte [ebp - 4], 1
lea esi, [ebp - 0x8cb0]
call fcn.004116f0
mov byte [ebp - 4], 6
cmp dword [eax + 0x18], ebx
jb 0x42324f
mov eax, dword [eax + 4]
jmp 0x423252
add eax, 4
mov ecx, dword [ebp - 0x8c84]
push ecx
mov ecx, eax
call fcn.00424040
add dword [ebp - 0x8c78], 1
test eax, eax
jne 0x42326f
mov bl, 1
jmp 0x423271
xor bl, bl
mov byte [ebp - 4], 1
lea esi, [ebp - 0x8cb0]
call fcn.00411bb0
test bl, bl
je 0x42335b
sub esp, 0x1c
mov dword [ebp - 0x8c74], esp
mov edx, 0x4dcfbc
mov eax, esp
call fcn.00411be0
mov byte [ebp - 4], 7
push 0x52c1fc
mov byte [ebp - 4], 1
lea esi, [ebp - 0x8cb0]
call fcn.004116f0
mov byte [ebp - 4], 8
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x4232c8
mov eax, dword [eax + 4]
jmp 0x4232cb
add eax, 4
push eax
push str.Add_file_to_installer_success___s_
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov byte [ebp - 4], 1
lea esi, [ebp - 0x8cb0]
call fcn.00411bb0
sub esp, 0x1c
mov dword [ebp - 0x8c74], esp
mov edx, 0x4dcfbc
mov eax, esp
call fcn.00411be0
mov byte [ebp - 4], 9
push 0x52c1fc
mov byte [ebp - 4], 1
lea esi, [ebp - 0x8cb0]
call fcn.004116f0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x18], edi
jb 0x423328
mov eax, dword [eax + 4]
jmp 0x42332b
add eax, 4
push 0x3ff
push eax
push 0x400
lea edx, [ebp - 0x5a1c]
push edx
call fcn.004a9be0
add esp, 0x10
mov byte [ebp - 4], 1
lea esi, [ebp - 0x8cb0]
call fcn.00411bb0
mov byte [ebp - 0x8c6e], 1
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0x522174
call edi
test eax, eax
je 0x4233ce
push 0
mov esi, dword [ebp - 0x8c78]
push esi
mov eax, dword [ebp - 0x8c84]
push eax
mov ecx, 0x522174
call fcn.00424040
add esi, 1
mov dword [ebp - 0x8c78], esi
test eax, eax
jne 0x42357d
push 0x522174
push str.Add_file_to_installer_success___s_
mov ecx, 0x527b30
call fcn.00449000
push 0x3ff
push 0x522174
push 0x400
lea ecx, [ebp - 0x6a1c]
push ecx
call fcn.004a9be0
add esp, 0x18
jmp 0x423576
sub esp, 0x1c
mov dword [ebp - 0x8c74], esp
mov edx, 0x4dcfc4
mov eax, esp
call fcn.00411be0
mov byte [ebp - 4], 0xb
push 0x52c1fc
mov byte [ebp - 4], 1
lea esi, [ebp - 0x8cb0]
call fcn.004116f0
mov byte [ebp - 4], 0xc
mov ebx, 8
cmp dword [eax + 0x18], ebx
jb 0x42340e
mov eax, dword [eax + 4]
jmp 0x423411
add eax, 4
push eax
call edi
mov edi, eax
mov byte [ebp - 4], 1
lea esi, [ebp - 0x8cb0]
call fcn.00411bb0
test edi, edi
je 0x42357d
push 0
mov edx, dword [ebp - 0x8c78]
push edx
sub esp, 0x1c
mov dword [ebp - 0x8c74], esp
mov edx, 0x4dcfc4
mov eax, esp
call fcn.00411be0
mov byte [ebp - 4], 0xd
push 0x52c1fc
mov byte [ebp - 4], 1
lea esi, [ebp - 0x8cb0]
call fcn.004116f0
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x18], ebx
jb 0x423471
mov eax, dword [eax + 4]
jmp 0x423474
add eax, 4
mov ecx, dword [ebp - 0x8c84]
push ecx
mov ecx, eax
call fcn.00424040
add dword [ebp - 0x8c78], 1
test eax, eax
jne 0x423491
mov bl, 1
jmp 0x423493
xor bl, bl
mov byte [ebp - 4], 1
lea esi, [ebp - 0x8cb0]
call fcn.00411bb0
test bl, bl
je 0x42357d
sub esp, 0x1c
mov dword [ebp - 0x8c74], esp
mov edx, 0x4dcfc4
mov eax, esp
call fcn.00411be0
mov byte [ebp - 4], 0xf
push 0x52c1fc
mov byte [ebp - 4], 1
lea esi, [ebp - 0x8cb0]
call fcn.004116f0
mov byte [ebp - 4], 0x10
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x4234ea
mov eax, dword [eax + 4]
jmp 0x4234ed
add eax, 4
push eax
push str.Add_file_to_installer_success___s_
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov byte [ebp - 4], 1
lea esi, [ebp - 0x8cb0]
call fcn.00411bb0
sub esp, 0x1c
mov dword [ebp - 0x8c74], esp
mov edx, 0x4dcfc4
mov eax, esp
call fcn.00411be0
mov byte [ebp - 4], 0x11
push 0x52c1fc
mov byte [ebp - 4], 1
lea esi, [ebp - 0x8cb0]
call fcn.004116f0
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x18], edi
jb 0x42354a
mov eax, dword [eax + 4]
jmp 0x42354d
add eax, 4
push 0x3ff
push eax
push 0x400
lea edx, [ebp - 0x6a1c]
push edx
call fcn.004a9be0
add esp, 0x10
mov byte [ebp - 4], 1
lea esi, [ebp - 0x8cb0]
call fcn.00411bb0
mov byte [ebp - 0x8c6f], 1
mov esi, dword [ebp - 0x8c8c]
test esi, esi
je 0x4235a8
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4235a8
push 0x5a
push 1
push 0x7ea
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x2000
push 0
lea ecx, [ebp - 0x8a1c]
push ecx
call fcn.004ab450
add esp, 0xc
mov edx, dword [0x52c21c]
mov eax, dword [edx]
mov dword [ebp - 0x8c80], 0
mov dword [ebp - 0x8c7c], eax
mov dword [ebp - 0x8c80], 0x52c218
mov ebx, 8
jmp 0x4235f0
mov dword [ebp - 0x8cb8], 0
mov eax, dword [0x52c21c]
mov dword [ebp - 0x8cb4], eax
mov dword [ebp - 0x8cb8], 0x52c218
lea esi, [ebp - 0x8cb8]
lea edi, [ebp - 0x8c80]
call fcn.00414fe0
test al, al
je 0x4238db
mov esi, edi
call fcn.0040e430
cmp dword [eax + 0x18], ebx
jb 0x423639
mov eax, dword [eax + 4]
jmp 0x42363c
add eax, 4
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423640
sub eax, edx
sar eax, 1
je 0x4238cb
lea esi, [ebp - 0x8c80]
call fcn.0040e430
add eax, 0x1c
cmp dword [eax + 0x18], ebx
jb 0x42366d
mov eax, dword [eax + 4]
jmp 0x423670
add eax, 4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423673
sub eax, edx
sar eax, 1
je 0x4238cb
lea esi, [ebp - 0x8c80]
call fcn.0040e430
cmp dword [eax + 0x18], ebx
jb 0x42369d
mov eax, dword [eax + 4]
jmp 0x4236a0
add eax, 4
push 0x4dcfcc
push eax
call fcn.004a9af1
add esp, 8
test eax, eax
je 0x4238cb
lea esi, [ebp - 0x8c80]
call fcn.0040e430
cmp dword [eax + 0x18], ebx
jb 0x4236cb
mov eax, dword [eax + 4]
jmp 0x4236ce
add eax, 4
push str.ENABLE
push eax
call fcn.004a9af1
add esp, 8
test eax, eax
je 0x4238cb
lea esi, [ebp - 0x8c80]
call fcn.0040e430
cmp dword [eax + 0x18], ebx
jb 0x4236f9
mov eax, dword [eax + 4]
jmp 0x4236fc
add eax, 4
push str.DISABLE
push eax
call fcn.004a9af1
add esp, 8
test eax, eax
je 0x4238cb
lea esi, [ebp - 0x8c80]
call fcn.0040e430
cmp dword [eax + 0x18], ebx
jb 0x423727
mov eax, dword [eax + 4]
jmp 0x42372a
add eax, 4
push str.MKCONF
push eax
call fcn.004a9af1
add esp, 8
test eax, eax
je 0x4238cb
lea esi, [ebp - 0x8c80]
call fcn.0040e430
cmp dword [eax + 0x18], ebx
jb 0x423755
mov eax, dword [eax + 4]
jmp 0x423758
add eax, 4
push 0x4dcfbc
push eax
call fcn.004a9af1
add esp, 8
test eax, eax
je 0x4238cb
lea esi, [ebp - 0x8c80]
call fcn.0040e430
cmp dword [eax + 0x18], ebx
jb 0x423783
mov eax, dword [eax + 4]
jmp 0x423786
add eax, 4
push 0x4dcfc4
push eax
call fcn.004a9af1
add esp, 8
test eax, eax
je 0x4238cb
lea esi, [ebp - 0x8c80]
call fcn.0040e430
cmp dword [eax + 0x18], ebx
jb 0x4237b1
mov eax, dword [eax + 4]
jmp 0x4237b4
add eax, 4
push str.COMPRESS
push eax
call fcn.004a9af1
add esp, 8
test eax, eax
je 0x4238cb
lea esi, [ebp - 0x8c80]
call fcn.0040e430
cmp dword [eax + 0x18], ebx
jb 0x4237df
mov eax, dword [eax + 4]
jmp 0x4237e2
add eax, 4
push str.EXTRACT
push eax
call fcn.004a9af1
add esp, 8
test eax, eax
je 0x4238cb
push 0x800
push 0
lea ecx, [ebp - 0xa1c]
push ecx
call fcn.004ab450
add esp, 0xc
lea esi, [ebp - 0x8c80]
call fcn.0040e430
add eax, 0x1c
cmp dword [eax + 0x18], ebx
jb 0x423826
mov eax, dword [eax + 4]
jmp 0x423829
add eax, 4
push str.TRUE
push eax
call fcn.004a9af1
add esp, 8
lea esi, [ebp - 0x8c80]
test eax, eax
jne 0x423869
call fcn.0040e430
cmp dword [eax + 0x18], ebx
jb 0x423850
mov eax, dword [eax + 4]
jmp 0x423853
add eax, 4
push eax
push 0x4e3e48
lea edx, [ebp - 0xa1c]
call fcn.00411a00
add esp, 8
jmp 0x4238ab
call fcn.0040e430
add eax, 0x1c
cmp dword [eax + 0x18], ebx
jb 0x42387b
mov edi, dword [eax + 4]
jmp 0x42387e
lea edi, [eax + 4]
lea esi, [ebp - 0x8c80]
call fcn.0040e430
cmp dword [eax + 0x18], ebx
jb 0x423893
mov eax, dword [eax + 4]
jmp 0x423896
add eax, 4
push edi
push eax
push str.__s___s_
lea edx, [ebp - 0xa1c]
call fcn.00411a00
add esp, 0xc
push 0xfff
lea edx, [ebp - 0xa1c]
push edx
push 0x1000
lea eax, [ebp - 0x8a1c]
push eax
call fcn.004a9dea
add esp, 0x10
lea esi, [ebp - 0x8c80]
call fcn.00410cc0
jmp 0x4235f0
cmp byte [ebp - 0x8c6e], 0
je 0x42398a
push 0x800
push 0
lea ecx, [ebp - 0x221c]
push ecx
call fcn.004ab450
add esp, 0xc
push 0x800
push 0
lea edx, [ebp - 0xa1c]
push edx
call fcn.004ab450
add esp, 0xc
push 0x3ff
lea eax, [ebp - 0x5a1c]
push eax
push 0x400
lea ecx, [ebp - 0x221c]
push ecx
call fcn.004a9be0
push 0x5c
lea edx, [ebp - 0x221c]
push edx
call fcn.004a9ce4
add esp, 0x18
test eax, eax
je 0x42394b
add eax, 2
jmp 0x423951
lea eax, [ebp - 0x221c]
push eax
push 0x4dcfbc
push str.__s___s_
lea edx, [ebp - 0xa1c]
call fcn.00411a00
add esp, 0xc
push 0xfff
lea eax, [ebp - 0xa1c]
push eax
push 0x1000
lea ecx, [ebp - 0x8a1c]
push ecx
call fcn.004a9dea
add esp, 0x10
cmp byte [ebp - 0x8c6f], 0
je 0x423a39
push 0x800
push 0
lea edx, [ebp - 0x221c]
push edx
call fcn.004ab450
add esp, 0xc
push 0x800
push 0
lea eax, [ebp - 0xa1c]
push eax
call fcn.004ab450
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x6a1c]
push ecx
push 0x400
lea edx, [ebp - 0x221c]
push edx
call fcn.004a9be0
push 0x5c
lea eax, [ebp - 0x221c]
push eax
call fcn.004a9ce4
add esp, 0x18
test eax, eax
je 0x4239fa
add eax, 2
jmp 0x423a00
lea eax, [ebp - 0x221c]
push eax
push 0x4dcfc4
push str.__s___s_
lea edx, [ebp - 0xa1c]
call fcn.00411a00
add esp, 0xc
push 0xfff
lea ecx, [ebp - 0xa1c]
push ecx
push 0x1000
lea edx, [ebp - 0x8a1c]
push edx
call fcn.004a9dea
add esp, 0x10
lea eax, [ebp - 0x8a1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423a42
sub eax, edx
mov edi, dword [ebp - 0x8c84]
sar eax, 1
je 0x423a6a
push edi
lea ecx, [ebp - 0x8a1c]
mov edx, str.COMMAND
call fcn.00424670
push edi
mov ecx, str.TRUE
mov edx, str.COMPRESSED
call fcn.00424670
mov ebx, dword [ebp - 0x8c8c]
test ebx, ebx
je 0x423aa5
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x423aa5
push 0x5f
push 1
push 0x7ea
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
mov esi, dword [ebp - 0x8c78]
push esi
push edi
lea ecx, [ebp - 0x2a1c]
call fcn.00424040
add esi, 1
mov dword [ebp - 0x8c78], esi
test eax, eax
jne 0x423afa
lea ecx, [ebp - 0x2a1c]
push ecx
push str.Add_file_to_installer_success___s_
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov byte [ebp - 0x8c6d], 1
push edi
lea ecx, [ebp - 0x621c]
mov edx, str.INSTALLERFILE
call fcn.00424670
jmp 0x423b01
mov byte [ebp - 0x8c6d], 0
test ebx, ebx
je 0x423b26
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x423b26
push 0x62
push 1
push 0x7ea
mov edx, dword [ebx + 0x20]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebp - 4], 0
lea esi, [ebp - 0x8cc8]
call fcn.0040dc20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x8c84]
test eax, eax
je 0x423bd5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
test eax, eax
je 0x423bbb
push str.Update_Resource
mov ecx, 0x527b30
call fcn.00449000
jmp 0x423bd2
push str.Compress_Fail______Get_Installer_file_name_Fail_
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
xor al, al
jmp 0x423c64
push str.Update_Resource_fail___
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov edx, 0x527b30
call fcn.00448ec0
add esp, 4
cmp byte [ebp - 0x8c6d], 0
je 0x423c21
push 0
push 1
mov edi, dword [ebp - 0x8ccc]
mov ecx, edi
call fcn.0045d900
push 0
push 1
xor ebx, ebx
lea eax, [ebp - 0x421c]
call fcn.0045cfb0
add esp, 0x10
test eax, eax
je 0x423c21
push str.Compress_Fail______Copy_Installer_file_fail___
mov ecx, eax
mov edx, 0x527b30
call fcn.00448ec0
add esp, 4
mov byte [ebp - 0x8c6d], bl
push 0
push 1
lea ecx, [ebp - 0x1a1c]
call fcn.0045d900
add esp, 8
mov esi, dword [ebp - 0x8c8c]
test esi, esi
je 0x423c5e
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x423c5e
push 0x64
push 1
push 0x7ea
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov al, byte [ebp - 0x8c6d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004a998e
mov esp, ebp
pop ebp
ret 4