Function at 0x43e15a
Capabilities:
Accept command line arguments
Contain obfuscated stackstrings
Copy file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xf2c]
sub esp, 0xf2c
push 0xffffffffffffffff
push 0x4a6f2c
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x4d6080]
xor eax, ebp
mov dword [ebp + 0xf28], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xf34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xf3c]
xor ebx, ebx
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x48], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 4], ebx
call fcn.00444b64
cmp eax, 6
jb 0x43e1c6
call fcn.0043c6df
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp]
mov dword [0x4db6d8], eax
call fcn.0043da32
xor edi, edi
inc edi
mov byte [ebp - 4], 1
push edi
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x40c]
call fcn.00401f90
mov byte [ebp - 4], 2
mov esi, 0x104
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 0x40c]
call fcn.0040b2f1
mov byte [ebp - 4], 3
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00407803
mov eax, dword [eax]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0040b14b
sub esp, 0x34
mov ecx, esp
mov dword [ebp - 0x18], esp
push edi
lea eax, [ebp - 0xd]
push eax
push 0x4bdf40
call fcn.004096ba
mov byte [ebp - 4], 4
sub esp, 0x34
mov ecx, esp
mov dword [ebp - 0x30], esp
push edi
lea eax, [ebp + 0x40c]
push eax
call fcn.004091ca
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
lea ecx, [ebp]
call fcn.0043d5e2
push 0x800
lea eax, [ebp]
push ebx
push 0x4daed0
mov dword [0x4db6d4], eax
call fcn.00465a70
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
mov dword [0x4db6d0], ebx
mov dword [ebp - 0x44], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x2c], eax
call fcn.0040e950
mov byte [ebp - 4], 6
push edi
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x4e0]
call fcn.00401870
mov byte [ebp - 4], 7
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 0x4e0]
call fcn.0042f9a1
mov byte [ebp - 4], 8
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00402290
push ebx
push ebx
push eax
push str.debuglog
lea ecx, [ebp - 0x5c]
call fcn.0040f3f1
mov byte [ebp - 0xe], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.0042f978
cmp byte [ebp - 0xe], bl
je 0x43e382
call fcn.0049af30
push ebx
call fcn.0049af20
lea eax, [ebp + 0x5e4]
push eax
cmp dword [ebp + 0x4f8], ebx
je 0x43e35e
lea ecx, [ebp + 0x4e0]
call fcn.0043d353
lea ecx, [ebp + 0x5e4]
call fcn.00401670
sub esp, 0x34
mov ecx, esp
mov dword [ebp - 0x18], esp
push edi
lea eax, [ebp + 0x4e0]
push eax
call fcn.00402580
mov byte [ebp - 4], 9
mov byte [ebp - 4], 7
call fcn.0049afc0
jmp 0x43e382
call fcn.0049b2f0
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp + 0x4e0]
call fcn.00401750
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x5e4]
call fcn.00401670
push edi
lea eax, [ebp - 0xd]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp + 0x5e4]
call fcn.004018b0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x1c], 8
jb 0x43e3a4
mov eax, dword [eax + 8]
jmp 0x43e3a7
add eax, 8
push eax
lea eax, [ebp - 0x1c]
push str.InstallShield_setup.exe__Unicode__started__cmdline:__s
push eax
mov dword [ebp - 0x1c], str.E:CodeBases_Majesty_Hotfixesisdev_srcRuntimeMSISharedSetupSetup.cpp
mov dword [ebp - 0x18], 0xa0
call fcn.004115dc
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x5e4]
call fcn.00401670
push edi
push edi
push ebx
push 0x4acbc4
lea ecx, [ebp - 0x5c]
call fcn.0040f3f1
push ebx
push ebx
push ebx
push str.reboot
lea ecx, [ebp - 0x5c]
mov byte [ebp - 0x24], al
call fcn.0040f3f1
cmp al, bl
je 0x43e55e
cmp byte [0x4d745e], bl
jne 0x43e411
cmp byte [0x4dc5e4], bl
je 0x43e479
push edi
lea eax, [ebp - 0xd]
push eax
push str.E:CodeBases_Majesty_Hotfixesisdev_srcRuntimeMSISharedSetupSetup.cpp
lea ecx, [ebp + 0x4ac]
call fcn.004018b0
mov byte [ebp - 4], 0xc
push edi
lea eax, [ebp - 0xd]
push eax
push 0x4b2574
lea ecx, [ebp + 0x5e4]
call fcn.004018b0
mov byte [ebp - 4], 0xd
push 0xac
lea eax, [ebp + 0x4ac]
push eax
lea eax, [ebp + 0x5e4]
push eax
call fcn.0049b7a0
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0x5e4]
call fcn.00401670
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x4ac]
call fcn.00401670
lea eax, [ebp + 0x5e4]
push eax
call fcn.0041abb9
pop ecx
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp + 0x474]
call fcn.0041a3dc
mov byte [ebp - 4], 0x10
lea ecx, [ebp + 0x5e4]
call fcn.004016d0
lea ecx, [ebp + 0x474]
call fcn.00418d5f
test eax, eax
jne 0x43e52f
mov esi, dword [0x4db6d0]
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x474]
call fcn.00419522
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x4e0]
call fcn.00401670
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.0040e2d9
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x40c]
call fcn.004016d0
mov byte [ebp - 4], bl
lea ecx, [ebp]
call fcn.0043dc84
or dword [ebp - 4], 0xffffffff
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xf28]
xor ecx, ebp
call fcn.004646d1
add ebp, 0xf2c
leave
ret 0x10
sub esp, 0x34
mov ecx, esp
mov dword [ebp - 0x18], esp
push edi
lea eax, [ebp - 0xd]
push eax
push dword [ebp - 0x14]
call fcn.004018b0
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0x10
lea ecx, [ebp + 0x474]
call fcn.0041bf3a
mov esi, eax
jmp 0x43e4ba
cmp byte [ebp - 0x24], bl
je 0x43e57b
push ebx
push ebx
push ebx
push 0x4b2570
lea ecx, [ebp - 0x5c]
call fcn.0040f3f1
test al, al
je 0x43e69a
push edi
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x4ac]
call fcn.00401870
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 0x4ac]
call fcn.0042f9a1
mov byte [ebp - 4], 0x13
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00402290
push edi
push ebx
push eax
push str.removeasmajorupgrade
lea ecx, [ebp - 0x5c]
call fcn.0040f3f1
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x40]
call fcn.0042f978
cmp byte [ebp - 0xd], bl
je 0x43e68b
cmp byte [0x4d745e], bl
jne 0x43e5e5
cmp byte [0x4dc5e4], bl
je 0x43e64d
push edi
lea eax, [ebp - 0xd]
push eax
push str.E:CodeBases_Majesty_Hotfixesisdev_srcRuntimeMSISharedSetupSetup.cpp
lea ecx, [ebp + 0x548]
call fcn.004018b0
mov byte [ebp - 4], 0x14
push edi
lea eax, [ebp - 0xd]
push eax
push str.Running_as_remove_major_upgrade
lea ecx, [ebp + 0x5e4]
call fcn.004018b0
mov byte [ebp - 4], 0x15
push 0xbb
lea eax, [ebp + 0x548]
push eax
lea eax, [ebp + 0x5e4]
push eax
call fcn.0049b7a0
mov byte [ebp - 4], 0x14
lea ecx, [ebp + 0x5e4]
call fcn.00401670
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0x548]
call fcn.00401670
push dword [ebp - 0x24]
lea eax, [ebp + 0x4ac]
sub esp, 0x34
mov ecx, esp
mov dword [ebp - 0x18], esp
push edi
push eax
call fcn.00402580
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0x12
call fcn.0043ddec
add esp, 0x38
mov esi, eax
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x4ac]
call fcn.00401670
jmp 0x43e4c9
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x4ac]
call fcn.00401670
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x44], edi
jbe 0x43e899
movzx ecx, word [eax]
cmp cx, 0x2d
je 0x43e6b9
cmp cx, 0x2f
jne 0x43e739
cmp word [eax + 2], 0x25
jne 0x43e739
add eax, 4
mov cx, word [eax]
inc eax
inc eax
cmp cx, 0x2f
jne 0x43e6c3
xor ecx, ecx
mov word [eax - 4], cx
cmp dword [0x4dae4c], 8
mov ecx, dword [0x4dae38]
jae 0x43e6e8
mov ecx, 0x4dae38
add eax, 0xfffffffe
push eax
push ecx
lea eax, [ebp + 0x6b4]
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push edi
lea eax, [ebp + 0x6b4]
push eax
call fcn.00442e8d
lea ecx, [ebp - 0x20]
call fcn.00405e89
mov byte [ebp - 4], 0x17
push dword [ebp - 0x28]
lea ecx, [ebp - 0x20]
call fcn.0040cc2c
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
call fcn.00405e9a
xor esi, esi
jmp 0x43e4c9
cmp cx, 0x2d
je 0x43e745
cmp cx, 0x2f
jne 0x43e7a0
movzx edx, word [eax + 2]
cmp dx, 0x6b
je 0x43e755
cmp dx, 0x4b
jne 0x43e7a0
add dword [ebp - 0x14], 4
xor eax, eax
push 0x206
mov word [ebp + 0x8bc], ax
lea eax, [ebp + 0x8be]
push ebx
push eax
call fcn.00465a70
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
push dword [eax]
lea eax, [ebp + 0x8bc]
push 0x4ad344
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
push edi
lea eax, [ebp + 0x8bc]
push eax
call fcn.00443042
jmp 0x43e732
cmp cx, 0x2d
je 0x43e7b0
cmp cx, 0x2f
jne 0x43e899
movzx ecx, word [eax + 2]
cmp cx, 0x67
je 0x43e7c4
cmp cx, 0x47
jne 0x43e899
lea esi, [eax + 4]
mov ax, word [esi]
inc esi
inc esi
cmp ax, 0x2f
jne 0x43e7c7
xor eax, eax
push 0x206
mov word [ebp + 0xccc], ax
lea eax, [ebp + 0xcce]
push ebx
push eax
call fcn.00465a70
add esp, 0xc
lea eax, [esi + 4]
push eax
lea eax, [ebp + 0xccc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp + 0xccc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp + eax*2 + 0xcc8]
movzx edx, word [ecx]
mov dword [ebp - 0x28], ebx
cmp dx, 0x2d
je 0x43e827
cmp dx, 0x2f
jne 0x43e843
movzx eax, word [ebp + eax*2 + 0xcca]
cmp ax, 0x73
je 0x43e83b
cmp ax, 0x53
jne 0x43e843
xor eax, eax
mov dword [ebp - 0x28], edi
mov word [ecx], ax
xor eax, eax
push 0x206
mov word [esi - 4], ax
mov word [ebp + 0xac4], ax
lea eax, [ebp + 0xac6]
push ebx
push eax
call fcn.00465a70
mov eax, dword [ebp - 0x14]
add esp, 0xc
add eax, 6
push eax
lea eax, [ebp + 0xac4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x28]
lea eax, [ebp + 0xccc]
push eax
lea eax, [ebp + 0xac4]
push eax
call fcn.00441b3f
add esp, 0xc
mov esi, eax
jmp 0x43e4c9
mov dword [ebp - 0x30], ebx
cmp dword [ebp - 0x44], edi
jbe 0x43e8cc
movzx ecx, word [eax]
cmp cx, 0x2d
je 0x43e8b0
cmp cx, 0x2f
jne 0x43e8cc
movzx eax, word [eax + 2]
cmp ax, 0x71
je 0x43e8c0
cmp ax, 0x51
jne 0x43e8cc
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
add eax, 4
mov dword [ebp - 0x30], eax
push edi
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x5b0]
call fcn.00401f90
mov byte [ebp - 4], 0x18
push edi
lea ecx, [ebp - 0x88]
call fcn.0043c372
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x88]
call fcn.0043c459
mov eax, dword [eax]
push ebx
push ebx
add eax, 0x10
push eax
push str.tempdisk1folder
lea ecx, [ebp - 0x5c]
call fcn.0040f3f1
cmp al, bl
je 0x43e931
lea ecx, [ebp - 0x88]
call fcn.0043c9f9
push dword [ebp - 0x78]
lea ecx, [ebp + 0x5b0]
call fcn.00401fd0
cmp dword [ebp + 0x5c8], ebx
jne 0x43e9f7
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 0x5b0]
call fcn.0040b2f1
mov byte [ebp - 4], 0x1a
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00407803
push dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x40]
call fcn.0040b14b
sub esp, 0x34
mov ecx, esp
mov dword [ebp - 0x18], esp
push edi
lea eax, [ebp - 0xd]
push eax
push 0x4bdf40
call fcn.004096ba
mov byte [ebp - 4], 0x1b
sub esp, 0x34
mov ecx, esp
mov dword [ebp - 0x34], esp
push edi
lea eax, [ebp - 0xd]
push eax
push 0x4bdf40
call fcn.004096ba
mov byte [ebp - 4], 0x1c
push ebx
lea eax, [ebp + 0x5e4]
push eax
mov byte [ebp - 4], 0x19
call fcn.0044e976
add esp, 0x70
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp + 0x5b0]
call fcn.004091a5
mov byte [ebp - 4], 0x19
lea ecx, [ebp + 0x5e4]
call fcn.004016d0
lea eax, [ebp + 0x5e4]
push eax
lea ecx, [ebp + 0x5b0]
call fcn.004098e8
lea ecx, [ebp + 0x5e4]
call fcn.004016d0
lea eax, [ebp + 0x5e4]
push eax
lea ecx, [ebp + 0x5b0]
call fcn.0040f6f7
lea ecx, [ebp + 0x5e4]
call fcn.004016d0
cmp dword [ebp + 0x5cc], 8
mov eax, dword [ebp + 0x5b8]
jae 0x43ea29
lea eax, [ebp + 0x5b8]
push eax
push 0x4daed0
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
sub esp, 0x34
mov ecx, esp
mov dword [ebp - 0x18], esp
push edi
lea eax, [ebp + 0x5b0]
push eax
call fcn.004091ca
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 0x19
mov ecx, dword [0x4db6d4]
call fcn.0043d06c
cmp dword [ebp - 0x30], ebx
je 0x43ea73
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x43f4e5
cmp byte [ebp - 0x24], bl
jne 0x43ea9b
mov eax, dword [ebp - 0x2c]
push dword [eax]
call fcn.00441744
test eax, eax
je 0x43f4e5
push dword [ebp - 0x14]
call fcn.0043d0a1
pop ecx
test al, al
je 0x43f4e5
push edi
lea eax, [ebp - 0xd]
push eax
mov eax, dword [ebp - 0x2c]
push dword [eax]
lea ecx, [ebp + 0x64c]
call fcn.004096ba
mov byte [ebp - 4], 0x1f
push ebx
lea ecx, [ebp + 0x548]
push ecx
mov ecx, eax
call fcn.0040ad44
mov byte [ebp - 4], 0x21
lea ecx, [ebp + 0x64c]
call fcn.004016d0
push ebx
lea eax, [ebp + 0x5e4]
push eax
lea ecx, [ebp + 0x548]
call fcn.0040ad44
mov byte [ebp - 4], 0x22
push edi
lea eax, [ebp - 0xd]
push eax
mov eax, dword [ebp - 0x2c]
push dword [eax]
lea ecx, [ebp + 0x64c]
call fcn.004096ba
mov byte [ebp - 4], 0x23
push ebx
push ebx
lea ecx, [ebp + 0x57c]
push ecx
mov ecx, eax
call fcn.0040a7c0
mov byte [ebp - 4], 0x25
lea ecx, [ebp + 0x64c]
call fcn.004016d0
cmp dword [ebp + 0x594], ebx
jne 0x43ebb9
push edi
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x64c]
call fcn.00401f90
mov byte [ebp - 4], 0x26
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0x64c]
call fcn.0040b2f1
mov byte [ebp - 4], 0x27
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00407803
mov eax, dword [eax]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x20]
call fcn.0040b14b
push ebx
push ebx
lea eax, [ebp + 0xef4]
push eax
lea ecx, [ebp + 0x64c]
call fcn.0040a7c0
mov byte [ebp - 4], 0x28
push eax
lea ecx, [ebp + 0x57c]
call fcn.004091a5
mov byte [ebp - 4], 0x26
lea ecx, [ebp + 0xef4]
call fcn.004016d0
mov byte [ebp - 4], 0x25
lea ecx, [ebp + 0x64c]
call fcn.004016d0
lea ecx, [ebp - 0x40]
call fcn.00405e89
mov byte [ebp - 4], 0x29
lea eax, [ebp + 0x548]
push eax
lea eax, [ebp + 0x618]
push eax
lea ecx, [ebp + 0x57c]
call fcn.00415ec8
mov byte [ebp - 4], 0x2a
lea eax, [ebp + 0x5e4]
push eax
lea eax, [ebp + 0x680]
push eax
lea ecx, [ebp + 0x5b0]
call fcn.00415ec8
mov byte [ebp - 4], 0x2b
cmp dword [ebp + 0x69c], 8
mov ecx, dword [ebp + 0x688]
jae 0x43ec14
lea ecx, [ebp + 0x688]
cmp dword [ebp + 0x634], 8
mov eax, dword [ebp + 0x620]
jae 0x43ec29
lea eax, [ebp + 0x620]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
push ecx
push eax
call edi
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0x680]
call fcn.0040b2f1
mov byte [ebp - 4], 0x2c
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00407803
push dword [eax]
lea ecx, [ebp - 0x40]
call fcn.0040c991
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x20]
call fcn.0040b14b
push 1
lea eax, [ebp - 0xd]
push eax
push dword [0x4d5848]
lea ecx, [ebp + 0x64c]
call fcn.004096ba
mov byte [ebp - 4], 0x2d
lea eax, [ebp + 0x64c]
push eax
lea eax, [ebp + 0xef4]
push eax
lea ecx, [ebp + 0x57c]
call fcn.00415ec8
mov byte [ebp - 4], 0x2e
push eax
lea ecx, [ebp + 0x618]
call fcn.004091a5
mov byte [ebp - 4], 0x2d
lea ecx, [ebp + 0xef4]
call fcn.004016d0
mov byte [ebp - 4], 0x2b
lea ecx, [ebp + 0x64c]
call fcn.004016d0
push 1
lea eax, [ebp - 0xd]
push eax
push dword [0x4d5848]
lea ecx, [ebp + 0x64c]
call fcn.004096ba
mov byte [ebp - 4], 0x2f
lea eax, [ebp + 0x64c]
push eax
lea eax, [ebp + 0xef4]
push eax
lea ecx, [ebp + 0x5b0]
call fcn.00415ec8
mov byte [ebp - 4], 0x30
push eax
lea ecx, [ebp + 0x680]
call fcn.004091a5
mov byte [ebp - 4], 0x2f
lea ecx, [ebp + 0xef4]
call fcn.004016d0
mov byte [ebp - 4], 0x2b
lea ecx, [ebp + 0x64c]
call fcn.004016d0
cmp dword [ebp + 0x69c], 8
mov ecx, dword [ebp + 0x688]
jae 0x43ed42
lea ecx, [ebp + 0x688]
cmp dword [ebp + 0x634], 8
mov eax, dword [ebp + 0x620]
jae 0x43ed57
lea eax, [ebp + 0x620]
push ebx
push ecx
push eax
call edi
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0x680]
call fcn.0040b2f1
mov byte [ebp - 4], 0x31
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00407803
push dword [eax]
lea ecx, [ebp - 0x40]
call fcn.0040c991
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x20]
call fcn.0040b14b
push 1
lea eax, [ebp - 0xd]
push eax
push str.ISSetup.dll
lea ecx, [ebp + 0x64c]
call fcn.0040ae09
mov byte [ebp - 4], 0x32
lea eax, [ebp + 0x64c]
push eax
lea eax, [ebp + 0xef4]
push eax
lea ecx, [ebp + 0x57c]
call fcn.00415ec8
mov byte [ebp - 4], 0x33
push eax
lea ecx, [ebp + 0x618]
call fcn.004091a5
mov byte [ebp - 4], 0x32
lea ecx, [ebp + 0xef4]
call fcn.004016d0
mov byte [ebp - 4], 0x2b
lea ecx, [ebp + 0x64c]
call fcn.004016d0
push 1
lea eax, [ebp - 0xd]
push eax
push 0x4ada2c
lea ecx, [ebp + 0x64c]
call fcn.004096ba
mov byte [ebp - 4], 0x34
lea eax, [ebp + 0x64c]
push eax
lea eax, [ebp + 0xef4]
push eax
lea ecx, [ebp + 0x5b0]
call fcn.00415ec8
mov byte [ebp - 4], 0x35
push eax
lea ecx, [ebp + 0x680]
call fcn.004091a5
mov byte [ebp - 4], 0x34
lea ecx, [ebp + 0xef4]
call fcn.004016d0
mov byte [ebp - 4], 0x2b
lea ecx, [ebp + 0x64c]
call fcn.004016d0
cmp dword [ebp + 0x69c], 8
mov ecx, dword [ebp + 0x688]
jae 0x43ee68
lea ecx, [ebp + 0x688]
cmp dword [ebp + 0x634], 8
mov eax, dword [ebp + 0x620]
jae 0x43ee7d
lea eax, [ebp + 0x620]
push ebx
push ecx
push eax
call edi
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0x680]
call fcn.0040b2f1
mov byte [ebp - 4], 0x36
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00407803
push dword [eax]
lea ecx, [ebp - 0x40]
call fcn.0040c991
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x20]
call fcn.0040b14b
push 1
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x514]
call fcn.00401f90
mov byte [ebp - 4], 0x37
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0x514]
call fcn.0040b2f1
mov byte [ebp - 4], 0x38
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00407803
mov eax, dword [eax]
push esi
push eax
push str.Skin
push str.Startup
call fcn.004434f4
add esp, 0x10
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x20]
call fcn.0040b14b
cmp dword [ebp + 0x52c], ebx
jne 0x43ef25
push str.setup.isn
lea ecx, [ebp + 0x514]
call fcn.00401fd0
lea eax, [ebp + 0x514]
push eax
lea eax, [ebp + 0x64c]
push eax
lea ecx, [ebp + 0x57c]
call fcn.00415ec8
mov byte [ebp - 4], 0x39
push eax
lea ecx, [ebp + 0x618]
call fcn.004091a5
mov byte [ebp - 4], 0x37
lea ecx, [ebp + 0x64c]
call fcn.004016d0
lea eax, [ebp + 0x514]
push eax
lea eax, [ebp + 0x64c]
push eax
lea ecx, [ebp + 0x5b0]
call fcn.00415ec8
mov byte [ebp - 4], 0x3a
push eax
lea ecx, [ebp + 0x680]
call fcn.004091a5
mov byte [ebp - 4], 0x37
lea ecx, [ebp + 0x64c]
call fcn.004016d0
cmp dword [ebp + 0x69c], 8
mov ecx, dword [ebp + 0x688]
jae 0x43efaa
lea ecx, [ebp + 0x688]
cmp dword [ebp + 0x634], 8
mov eax, dword [ebp + 0x620]
jae 0x43efbf
lea eax, [ebp + 0x620]
push ebx
push ecx
push eax
call edi
test eax, eax
je 0x43effd
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0x680]
call fcn.0040b2f1
mov byte [ebp - 4], 0x3b
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00407803
push dword [eax]
lea ecx, [ebp - 0x40]
call fcn.0040c991
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x20]
call fcn.0040b14b
push 0x10
lea eax, [ebp + 0xed4]
push eax
push str.count
push str.Languages
call fcn.004434f4
push 0xa
lea eax, [ebp + 0xed4]
push ebx
push eax
call fcn.004661b6
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], ebx
cmp eax, ebx
jbe 0x43f21f
push dword [ebp - 0x24]
lea eax, [ebp + 0xf08]
push str.key_d
push eax
call fcn.0043c317
push 0x10
lea eax, [ebp + 0x660]
push eax
lea eax, [ebp + 0xf08]
push eax
push str.Languages
call fcn.004434f4
push 0x10
lea eax, [ebp + 0x660]
push ebx
push eax
call fcn.004661b6
add esp, 0x28
mov dword [ebp - 0x34], eax
cmp eax, ebx
je 0x43f210
cmp dword [ebp + 0x598], 8
mov eax, dword [ebp + 0x584]
jae 0x43f095
lea eax, [ebp + 0x584]
push dword [ebp - 0x34]
push eax
lea eax, [ebp + 0x618]
push str._s0x_04x.ini
push eax
call fcn.0041602c
mov eax, dword [ebp + 0x5b8]
add esp, 0x10
cmp dword [ebp + 0x5cc], 8
jae 0x43f0c2
lea eax, [ebp + 0x5b8]
push dword [ebp - 0x34]
push eax
lea eax, [ebp + 0x680]
push str._s0x_04x.ini
push eax
call fcn.0041602c
mov ecx, dword [ebp + 0x688]
add esp, 0x10
cmp dword [ebp + 0x69c], 8
jae 0x43f0ef
lea ecx, [ebp + 0x688]
cmp dword [ebp + 0x634], 8
mov eax, dword [ebp + 0x620]
jae 0x43f104
lea eax, [ebp + 0x620]
push ebx
push ecx
push eax
call edi
test eax, eax
je 0x43f148
push esi
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp + 0x680]
call fcn.0040b2f1
mov byte [ebp - 4], 0x3c
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00407803
push dword [eax]
lea ecx, [ebp - 0x40]
call fcn.0040c991
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0xa0]
call fcn.0040b14b
cmp dword [ebp + 0x598], 8
mov eax, dword [ebp + 0x584]
jae 0x43f15d
lea eax, [ebp + 0x584]
push dword [ebp - 0x34]
push eax
lea eax, [ebp + 0x618]
push str._s_04x.mst
push eax
call fcn.0041602c
mov eax, dword [ebp + 0x5b8]
add esp, 0x10
cmp dword [ebp + 0x5cc], 8
jae 0x43f18a
lea eax, [ebp + 0x5b8]
push dword [ebp - 0x34]
push eax
lea eax, [ebp + 0x680]
push str._s_04x.mst
push eax
call fcn.0041602c
mov ecx, dword [ebp + 0x688]
add esp, 0x10
cmp dword [ebp + 0x69c], 8
jae 0x43f1b7
lea ecx, [ebp + 0x688]
cmp dword [ebp + 0x634], 8
mov eax, dword [ebp + 0x620]
jae 0x43f1cc
lea eax, [ebp + 0x620]
push ebx
push ecx
push eax
call edi
test eax, eax
je 0x43f210
push esi
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp + 0x680]
call fcn.0040b2f1
mov byte [ebp - 4], 0x3d
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00407803
push dword [eax]
lea ecx, [ebp - 0x40]
call fcn.0040c991
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x94]
call fcn.0040b14b
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x18]
jb 0x43f035
push 1
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp + 0x440]
call fcn.00401f90
mov byte [ebp - 4], 0x3e
push 1
lea eax, [ebp - 0xd]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp + 0x478]
call fcn.004096ba
mov esi, eax
mov byte [ebp - 4], 0x3f
push 1
lea eax, [ebp - 0xd]
push eax
push 0x4daed0
lea ecx, [ebp - 0xd4]
call fcn.004096ba
mov edi, eax
mov byte [ebp - 4], 0x40
lea eax, [ebp + 0x548]
push eax
lea eax, [ebp + 0xef4]
push eax
lea ecx, [ebp + 0x57c]
call fcn.00415ec8
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x41
lea eax, [ebp + 0x5e4]
push eax
lea eax, [ebp + 0x64c]
push eax
lea ecx, [ebp + 0x5b0]
call fcn.00415ec8
mov byte [ebp - 4], 0x42
cmp dword [esi + 0x1c], 8
jb 0x43f2b2
mov esi, dword [esi + 8]
jmp 0x43f2b5
add esi, 8
cmp dword [edi + 0x1c], 8
jb 0x43f2c0
mov edi, dword [edi + 8]
jmp 0x43f2c3
add edi, 8
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x1c], 8
jb 0x43f2d1
mov ecx, dword [ecx + 8]
jmp 0x43f2d4
add ecx, 8
cmp dword [eax + 0x1c], 8
jb 0x43f2df
mov eax, dword [eax + 8]
jmp 0x43f2e2
add eax, 8
push esi
push edi
push ecx
push eax
lea eax, [ebp + 0x440]
push str._s__q__s___tempdisk1folder__s___s
push eax
call fcn.0041602c
add esp, 0x18
mov byte [ebp - 4], 0x41
lea ecx, [ebp + 0x64c]
call fcn.004016d0
mov byte [ebp - 4], 0x40
lea ecx, [ebp + 0xef4]
call fcn.004016d0
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0xd4]
call fcn.004016d0
mov byte [ebp - 4], 0x3e
lea ecx, [ebp + 0x478]
call fcn.004016d0
cmp byte [0x4d745e], bl
jne 0x43f346
cmp byte [0x4dc5e4], bl
je 0x43f3b0
push 1
lea eax, [ebp - 0xd]
push eax
push str.E:CodeBases_Majesty_Hotfixesisdev_srcRuntimeMSISharedSetupSetup.cpp
lea ecx, [ebp + 0xef4]
call fcn.004018b0
mov byte [ebp - 4], 0x43
push 1
lea eax, [ebp - 0xd]
push eax
push str.Relaunching_setup_from_temp
lea ecx, [ebp + 0x64c]
call fcn.004018b0
mov byte [ebp - 4], 0x44
push 0x192
lea eax, [ebp + 0xef4]
push eax
lea eax, [ebp + 0x64c]
push eax
call fcn.0049b7a0
mov byte [ebp - 4], 0x43
lea ecx, [ebp + 0x64c]
call fcn.00401670
mov byte [ebp - 4], 0x3e
lea ecx, [ebp + 0xef4]
call fcn.00401670
cmp dword [ebp + 0x45c], 8
mov eax, dword [ebp + 0x448]
jae 0x43f3c5
lea eax, [ebp + 0x448]
push 1
push eax
call fcn.00443042
test eax, eax
je 0x43f46d
mov byte [ebp - 4], 0x37
lea ecx, [ebp + 0x440]
call fcn.004016d0
mov byte [ebp - 4], 0x2b
lea ecx, [ebp + 0x514]
call fcn.004016d0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp + 0x680]
call fcn.004016d0
mov byte [ebp - 4], 0x29
lea ecx, [ebp + 0x618]
call fcn.004016d0
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x40]
call fcn.00405e9a
mov byte [ebp - 4], 0x22
lea ecx, [ebp + 0x57c]
call fcn.004016d0
mov byte [ebp - 4], 0x21
lea ecx, [ebp + 0x5e4]
call fcn.004016d0
mov byte [ebp - 4], 0x19
lea ecx, [ebp + 0x548]
call fcn.004016d0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x88]
call fcn.00413a6b
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x5b0]
call fcn.004016d0
jmp 0x43e732
mov byte [ebp - 4], 0x37
lea ecx, [ebp + 0x440]
call fcn.004016d0
mov byte [ebp - 4], 0x2b
lea ecx, [ebp + 0x514]
call fcn.004016d0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp + 0x680]
call fcn.004016d0
mov byte [ebp - 4], 0x29
lea ecx, [ebp + 0x618]
call fcn.004016d0
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x40]
call fcn.00405e9a
mov byte [ebp - 4], 0x22
lea ecx, [ebp + 0x57c]
call fcn.004016d0
mov byte [ebp - 4], 0x21
lea ecx, [ebp + 0x5e4]
call fcn.004016d0
mov byte [ebp - 4], 0x19
lea ecx, [ebp + 0x548]
call fcn.004016d0
xor edi, edi
inc edi
call fcn.004414de
lea ecx, [ebp - 0x6c]
call fcn.0041c223
mov byte [ebp - 4], 0x45
cmp byte [ebp - 0xe], bl
je 0x43f503
lea eax, [ebp + 0x4e0]
jmp 0x43f51f
push edi
lea eax, [ebp - 0xd]
push eax
push 0x4bdf40
lea ecx, [ebp + 0x478]
call fcn.004018b0
mov byte [ebp - 4], 0x46
mov dword [ebp - 0x48], edi
lea ecx, [ebp]
push ecx
sub esp, 0x34
mov ecx, esp
mov dword [ebp - 0x18], esp
push edi
push eax
call fcn.00402580
mov dword [ebp - 4], 0x47
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push dword [ebp - 0x44]
push dword [ebp - 0x28]
mov byte [ebp - 4], 0x46
lea ecx, [ebp - 0x6c]
call fcn.0041e3e4
mov esi, eax
mov dword [ebp - 4], 0x45
test byte [ebp - 0x48], 1
je 0x43f56f
and dword [ebp - 0x48], 0xfffffffe
lea ecx, [ebp + 0x478]
call fcn.00401670
cmp esi, ebx
je 0x43f57b
lea ecx, [ebp - 0x6c]
call fcn.0041c24c
push dword [0x4db6d0]
lea eax, [ebp - 0x1c]
push str.Setup_returning__d
push eax
mov dword [ebp - 0x1c], str.E:CodeBases_Majesty_Hotfixesisdev_srcRuntimeMSISharedSetupSetup.cpp
mov dword [ebp - 0x18], 0x1b4
call fcn.004115dc
mov esi, dword [0x4db6d0]
add esp, 0xc
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x6c]
call fcn.0041c237
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x88]
call fcn.00413a6b
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x5b0]
call fcn.004016d0
jmp 0x43e4c9