Function at 0x406d89
Capabilities:
Check mutex on windows
Contain obfuscated stackstrings
Identify system language via api
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x556cc5
mov eax, dword fs:[0]
push eax
sub esp, 0xb90
mov eax, dword [0x5aff20]
xor eax, esp
mov dword [esp + 0xb88], eax
push ebx
push esi
push edi
mov eax, dword [0x5aff20]
xor eax, esp
push eax
lea eax, [esp + 0xba0]
mov dword fs:[0], eax
xor edi, edi
push edi
mov dword [esp + 0x20], ecx
call dword [sym.imp.ole32.dll_CoInitialize]
push 2
pop esi
push esi
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov eax, dword [0x5b9698]
cmp eax, edi
jne 0x406e19
push 0x48
call fcn.00423341
pop ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0xba8], edi
cmp eax, edi
je 0x406e0a
mov ebx, eax
call fcn.00404153
jmp 0x406e0c
xor eax, eax
or dword [esp + 0xba8], 0xffffffff
mov dword [0x5b9698], eax
push eax
call fcn.00403e05
push edi
call fcn.004033d6
pop ecx
call fcn.00403405
test eax, eax
je 0x406f39
push str.magicplus_setup_detect_other_magicplus_setup_has_been_running
push edi
call fcn.004024ac
pop ecx
mov ecx, eax
call fcn.0040252f
mov eax, dword [0x5b968c]
cmp eax, edi
jne 0x406e84
push 0x90
call fcn.00423341
pop ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0xba8], 1
cmp eax, edi
je 0x406e75
push eax
call fcn.004032d4
jmp 0x406e77
xor eax, eax
or dword [esp + 0xba8], 0xffffffff
mov dword [0x5b968c], eax
cmp dword [eax + 0x88], edi
jne 0x406f39
call fcn.0042d36a
push eax
lea ecx, [esp + 0x18]
call fcn.004015bc
mov dword [esp + 0xba8], esi
call fcn.0042d36a
push eax
lea ecx, [esp + 0x24]
call fcn.004015bc
mov esi, 0x95
push esi
mov byte [esp + 0xbac], 3
call fcn.0042fba0
cmp eax, edi
je 0x406ed7
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0040bfae
mov esi, 0xb3
push esi
call fcn.0042fba0
cmp eax, edi
je 0x406ef1
push esi
push eax
lea ecx, [esp + 0x28]
call fcn.0040bfae
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
push 0x1004
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esi - 0x10]
cmp eax, 7
jne 0x406f24
call fcn.00401621
lea ecx, [ebx - 0x10]
call fcn.00401621
xor eax, eax
inc eax
jmp 0x4080b6
call fcn.00401621
or dword [esp + 0xba8], 0xffffffff
lea ecx, [ebx - 0x10]
call fcn.00401621
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x38], 8
mov dword [esp + 0x3c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [esp + 0x1c]
call fcn.0042f878
push edi
call fcn.00430440
pop ecx
push 0xc
call fcn.00423341
pop ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0xba8], 4
cmp eax, edi
je 0x406f8c
mov ecx, eax
call fcn.00430bef
mov dword [esp + 0x14], eax
jmp 0x406f90
mov dword [esp + 0x14], edi
or dword [esp + 0xba8], 0xffffffff
mov ecx, dword [esp + 0x1c]
push 0x585808
call fcn.00430d7e
mov eax, dword [0x5b968c]
cmp eax, edi
jne 0x406fe4
push 0x90
call fcn.00423341
pop ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0xba8], 5
cmp eax, edi
je 0x406fd5
push eax
call fcn.004032d4
jmp 0x406fd7
xor eax, eax
or dword [esp + 0xba8], 0xffffffff
mov dword [0x5b968c], eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push 0x804
mov word [esi + 0xc], ax
call dword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
push edi
call fcn.00401edb
pop ecx
call fcn.00401f0a
mov esi, 0x114
push esi
lea eax, [esp + 0x2b8]
push edi
push eax
call fcn.00527ca0
add esp, 0xc
lea eax, [esp + 0x2b4]
push eax
mov dword [esp + 0x2b8], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 6
pop ebx
cmp dword [esp + 0x2b8], ebx
jne 0x407056
cmp dword [esp + 0x2bc], 2
jb 0x407056
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.IMM32.dll_ImmDisableIME]
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x44], esp
push str.zh_cn
call fcn.0040829d
sub esp, 0x1c
mov dword [esp + 0xbe0], ebx
mov esi, esp
mov dword [esp + 0x5c], esp
push str.LANG
call fcn.0040829d
sub esp, 0x1c
mov byte [esp + 0xbfc], 7
mov esi, esp
mov dword [esp + 0x6c], esp
push str.SoftwareMagicPlus
call fcn.0040829d
push edi
mov byte [esp + 0xc00], 8
call fcn.00402ced
or dword [esp + 0xc00], 0xffffffff
pop ecx
mov ecx, SysReAllocString
call fcn.00402d1c
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
push str.BootStrap_Uninstall
push edi
push edi
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x20], eax
call ebx
push dword [esp + 0x20]
cmp eax, 0xb7
jne 0x4071dd
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.magicplus_uninsttall_has_been_running
push edi
call fcn.004024ac
pop ecx
mov ecx, eax
call fcn.0040252f
mov eax, dword [0x5b968c]
cmp eax, edi
jne 0x407140
push 0x90
call fcn.00423341
pop ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0xba8], 9
cmp eax, edi
je 0x407131
push eax
call fcn.004032d4
jmp 0x407133
xor eax, eax
or dword [esp + 0xba8], 0xffffffff
mov dword [0x5b968c], eax
cmp dword [eax + 0x88], edi
jne 0x4080b4
mov esi, 0x585d54
push esi
lea ecx, [esp + 0x20]
call fcn.0040bee2
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0xbac], 0xa
call fcn.0040bee2
mov esi, 0x95
push esi
mov byte [esp + 0xbac], 0xb
call fcn.0042fba0
cmp eax, edi
je 0x407192
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.0040bfae
mov esi, 0x98
push esi
call fcn.0042fba0
cmp eax, edi
je 0x4071ac
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0040bfae
push 0x1030
push dword [esp + 0x20]
push dword [esp + 0x1c]
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00401621
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00401621
jmp 0x4080b4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.BootStrap_MagicPlus
push edi
push edi
call esi
mov esi, eax
call ebx
cmp eax, 0xb7
jne 0x4072e8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.magicplus_setup_has_been_running
push edi
call fcn.004024ac
pop ecx
mov ecx, eax
call fcn.0040252f
mov eax, dword [0x5b968c]
cmp eax, edi
jne 0x407253
push 0x90
call fcn.00423341
pop ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0xba8], 0xc
cmp eax, edi
je 0x407244
push eax
call fcn.004032d4
jmp 0x407246
xor eax, eax
or dword [esp + 0xba8], 0xffffffff
mov dword [0x5b968c], eax
cmp dword [eax + 0x88], edi
jne 0x4080b4
mov esi, 0x585d54
push esi
lea ecx, [esp + 0x18]
call fcn.0040bee2
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0xbac], 0xd
call fcn.0040bee2
mov esi, 0x95
push esi
mov byte [esp + 0xbac], 0xe
call fcn.0042fba0
cmp eax, edi
je 0x4072a5
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0040bfae
mov esi, 0x96
push esi
call fcn.0042fba0
cmp eax, edi
je 0x4072bf
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.0040bfae
push 0x1030
push dword [esp + 0x18]
push dword [esp + 0x24]
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00401621
mov ecx, dword [esp + 0x14]
jmp 0x4071d0
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x34], esp
mov ebx, 0x585d54
push ebx
call fcn.0040829d
push edi
mov dword [esp + 0xbc8], 0xf
call fcn.00401edb
or dword [esp + 0xbc8], 0xffffffff
pop ecx
call fcn.00402356
cmp eax, edi
jne 0x4073cb
push str.no_system_space_to_install_magicplus
push edi
call fcn.004024ac
pop ecx
mov ecx, eax
call fcn.0040252f
mov eax, dword [0x5b968c]
cmp eax, edi
jne 0x407374
push 0x90
call fcn.00423341
pop ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0xba8], 0x10
cmp eax, edi
je 0x407365
push eax
call fcn.004032d4
jmp 0x407367
xor eax, eax
or dword [esp + 0xba8], 0xffffffff
mov dword [0x5b968c], eax
cmp dword [eax + 0x88], edi
jne 0x4080b4
push ebx
lea ecx, [esp + 0x18]
call fcn.0040bee2
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0xbac], 0x11
call fcn.0040bee2
mov esi, 0x95
push esi
mov byte [esp + 0xbac], 0x12
call fcn.0042fba0
cmp eax, edi
je 0x4073c1
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0040bfae
mov esi, 0xc0
jmp 0x4072aa
push edi
call fcn.00401edb
pop ecx
lea ecx, [esp + 0x54]
call fcn.00401fd9
lea eax, [esp + 0x70]
push str.contents.cab
push eax
lea ebx, [esp + 0x5c]
mov dword [esp + 0xbb0], 0x13
call fcn.0040ae0a
lea eax, [esp + 0xb0]
push str.ini.cab
push eax
mov byte [esp + 0xbb8], 0x14
call fcn.0040ae0a
lea eax, [esp + 0x128]
push str.ChannelCfg.ini
push eax
mov byte [esp + 0xbc0], 0x15
call fcn.0040ae0a
lea eax, [esp + 0x168]
push str.ThirdPart.ini
push eax
mov byte [esp + 0xbc8], 0x16
call fcn.0040ae0a
lea eax, [esp + 0x11c]
push 0x58597c
push eax
mov byte [esp + 0xbd0], 0x17
call fcn.0040ae0a
lea eax, [esp + 0xb4]
push str._reaper.cfg
push eax
mov byte [esp + 0xbd8], 0x18
call fcn.0040ae0a
lea eax, [esp + 0x1bc]
push str.crashreport.dll
push eax
mov byte [esp + 0xbe0], 0x19
call fcn.0040ae0a
add esp, 0x1c
mov byte [esp + 0xbc4], 0x1a
lea eax, [esp + 0x8c]
mov esi, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00408277
push edi
mov byte [esp + 0xbc8], 0x1b
call fcn.00402c67
pop ecx
mov byte [esp + 0xbc4], 0x1a
call fcn.00402c96
sub esp, 0x1c
lea eax, [esp + 0xc4]
mov esi, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00408277
push edi
mov byte [esp + 0xbc8], 0x1c
call fcn.00402c67
pop ecx
mov byte [esp + 0xbc4], 0x1a
call fcn.00402c96
sub esp, 0x1c
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00408277
push edi
mov byte [esp + 0xbc8], 0x1d
call fcn.00402c67
pop ecx
mov byte [esp + 0xbc4], 0x1a
call fcn.00402c96
sub esp, 0x1c
lea eax, [esp + 0x16c]
mov esi, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00408277
push edi
mov byte [esp + 0xbc8], 0x1e
call fcn.00402c67
pop ecx
mov byte [esp + 0xbc4], 0x1a
call fcn.00402c96
sub esp, 0x1c
lea eax, [esp + 0x118]
mov esi, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00408277
push edi
mov byte [esp + 0xbc8], 0x1f
call fcn.00402c67
pop ecx
mov byte [esp + 0xbc4], 0x1a
call fcn.00402c96
sub esp, 0x1c
lea eax, [esp + 0xa8]
mov esi, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00408277
push edi
mov byte [esp + 0xbc8], 0x20
call fcn.00402c67
pop ecx
mov byte [esp + 0xbc4], 0x1a
call fcn.00402c96
sub esp, 0x1c
lea eax, [esp + 0x1a8]
mov esi, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00408277
push edi
mov byte [esp + 0xbc8], 0x21
call fcn.00402c67
pop ecx
mov byte [esp + 0xbc4], 0x1a
call fcn.00402c96
sub esp, 0x1c
lea eax, [esp + 0x8c]
mov esi, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00408277
sub esp, 0x1c
mov byte [esp + 0xbe0], 0x22
mov esi, esp
mov dword [esp + 0x5c], esp
mov ebx, 0x5859d8
push ebx
call fcn.0040829d
sub esp, 0x1c
mov byte [esp + 0xbfc], 0x23
mov esi, esp
mov dword [esp + 0x7c], esp
push str.151
call fcn.0040829d
mov byte [esp + 0xbfc], 0x24
call fcn.0042ead1
mov esi, dword [eax + 8]
push edi
call fcn.00402a06
pop ecx
mov ecx, esi
mov byte [esp + 0xbfc], 0x1a
call fcn.00402b7a
sub esp, 0x1c
lea eax, [esp + 0xc4]
mov esi, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00408277
sub esp, 0x1c
mov byte [esp + 0xbe0], 0x25
mov esi, esp
mov dword [esp + 0x5c], esp
push ebx
call fcn.0040829d
sub esp, 0x1c
mov byte [esp + 0xbfc], 0x26
mov esi, esp
mov dword [esp + 0x7c], esp
push str.209
call fcn.0040829d
mov byte [esp + 0xbfc], 0x27
call fcn.0042ead1
mov esi, dword [eax + 8]
push edi
call fcn.00402a06
pop ecx
mov ecx, esi
mov byte [esp + 0xbfc], 0x1a
call fcn.00402b7a
sub esp, 0x1c
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00408277
sub esp, 0x1c
mov byte [esp + 0xbe0], 0x28
mov esi, esp
mov dword [esp + 0x5c], esp
push ebx
call fcn.0040829d
sub esp, 0x1c
mov byte [esp + 0xbfc], 0x29
mov esi, esp
mov dword [esp + 0x7c], esp
push str.162
call fcn.0040829d
mov byte [esp + 0xbfc], 0x2a
call fcn.0042ead1
mov esi, dword [eax + 8]
push edi
call fcn.00402a06
pop ecx
mov ecx, esi
mov byte [esp + 0xbfc], 0x1a
call fcn.00402b7a
sub esp, 0x1c
lea eax, [esp + 0x16c]
mov esi, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00408277
sub esp, 0x1c
mov byte [esp + 0xbe0], 0x2b
mov esi, esp
mov dword [esp + 0x5c], esp
push ebx
call fcn.0040829d
sub esp, 0x1c
mov byte [esp + 0xbfc], 0x2c
mov esi, esp
mov dword [esp + 0x7c], esp
push str.197
call fcn.0040829d
mov byte [esp + 0xbfc], 0x2d
call fcn.0042ead1
mov esi, dword [eax + 8]
push edi
call fcn.00402a06
pop ecx
mov ecx, esi
mov byte [esp + 0xbfc], 0x1a
call fcn.00402b7a
mov eax, dword [esp + 0x70]
push 8
pop ebx
cmp dword [esp + 0x84], ebx
jae 0x4077cc
lea eax, [esp + 0x70]
push edi
push eax
call fcn.00522f0f
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x4078d5
push 6
push edi
call fcn.004024ac
pop ecx
push eax
call fcn.00402696
mov eax, dword [0x5b968c]
cmp eax, edi
jne 0x407828
push 0x90
call fcn.00423341
pop ecx
mov dword [esp + 0x18], eax
mov byte [esp + 0xba8], 0x2e
cmp eax, edi
je 0x407819
push eax
call fcn.004032d4
jmp 0x40781b
xor eax, eax
mov byte [esp + 0xba8], 0x1a
mov dword [0x5b968c], eax
cmp dword [eax], edi
je 0x4078b5
mov esi, 0x585d54
push esi
lea ecx, [esp + 0x18]
call fcn.0040bee2
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0xbac], 0x2f
call fcn.0040bee2
mov esi, 0x95
push esi
mov byte [esp + 0xbac], 0x30
call fcn.0042fba0
cmp eax, edi
je 0x407873
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0040bfae
mov esi, 0x9a
push esi
call fcn.0042fba0
cmp eax, edi
je 0x40788d
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.0040bfae
push edi
push dword [esp + 0x18]
push dword [esp + 0x24]
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00401621
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00401621
push 1
xor edi, edi
lea esi, [esp + 0x190]
mov byte [esp + 0xbac], 0x19
call fcn.00409659
xor ebx, ebx
inc ebx
jmp 0x408025
push 0x585d54
lea esi, [esp + 0xe4]
call fcn.0040829d
push edi
mov byte [esp + 0xbac], 0x31
call fcn.004033d6
pop ecx
lea eax, [esp + 0xc4]
push eax
call fcn.004034b7
mov byte [esp + 0xba8], 0x32
cmp dword [esp + 0xd4], edi
jbe 0x4079df
lea eax, [esp + 0xc4]
push eax
lea esi, [esp + 0x170]
call fcn.00408277
mov byte [esp + 0xba8], 0x33
mov eax, dword [0x5b968c]
cmp eax, edi
jne 0x407966
push 0x90
call fcn.00423341
pop ecx
mov dword [esp + 0x18], eax
mov byte [esp + 0xba8], 0x34
cmp eax, edi
je 0x40795f
push eax
call fcn.004032d4
jmp 0x407961
xor eax, eax
mov dword [0x5b968c], eax
push 0xffffffffffffffff
lea ecx, [eax + 0x10]
push edi
lea eax, [esp + 0x174]
mov byte [esp + 0xbb0], 0x35
call fcn.0040946e
push 1
xor edi, edi
lea esi, [esp + 0x170]
mov byte [esp + 0xbac], 0x32
call fcn.00409659
mov eax, dword [0x5b968c]
test eax, eax
jne 0x4079d3
push 0x90
call fcn.00423341
pop ecx
mov dword [esp + 0x18], eax
mov byte [esp + 0xba8], 0x36
test eax, eax
je 0x4079c4
push eax
call fcn.004032d4
jmp 0x4079c6
xor eax, eax
mov byte [esp + 0xba8], 0x32
mov dword [0x5b968c], eax
mov dword [eax + 0x80], 1
xor edi, edi
push edi
call fcn.00402a06
pop ecx
push 0xb4
lea eax, [esp + 0x138]
push eax
call fcn.00402a35
mov byte [esp + 0xba8], 0x37
mov edx, dword [esp + 0xa8]
cmp dword [esp + 0xbc], ebx
jae 0x407a17
lea edx, [esp + 0xa8]
mov ecx, dword [esp + 0x70]
cmp dword [esp + 0x84], ebx
jae 0x407a28
lea ecx, [esp + 0x70]
mov eax, dword [esp + 0x134]
cmp dword [esp + 0x148], ebx
jae 0x407a3f
lea eax, [esp + 0x134]
push edx
push ecx
push eax
mov edx, str.D:mytempkkkk
lea ecx, [esp + 0x1d0]
call fcn.0040568b
lea eax, [esp + 0x1c4]
push eax
mov byte [esp + 0xbac], 0x38
call fcn.00405a9a
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], ebx
jae 0x407a76
lea eax, [esp + 0x54]
push eax
push str.lib_reaper.dll
lea ecx, [esp + 0x1cc]
call fcn.004064aa
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], ebx
jae 0x407a96
lea eax, [esp + 0x54]
push eax
push str.reaper_ins.cfg
lea ecx, [esp + 0x1cc]
call fcn.004064aa
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], ebx
jae 0x407ab6
lea eax, [esp + 0x54]
push eax
push 0x585224
lea ecx, [esp + 0x1cc]
call fcn.004064aa
lea eax, [esp + 0x16c]
push str._reaper_ins.cfg
push eax
lea ebx, [esp + 0x5c]
call fcn.0040ae0a
cmp dword [esp + 0xa8], 8
pop ecx
pop ecx
mov ecx, dword [esp + 0x8c]
jae 0x407af8
lea ecx, [esp + 0x8c]
cmp dword [eax + 0x14], 8
jb 0x407b00
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 1
xor edi, edi
lea esi, [esp + 0x170]
call fcn.00409659
cmp dword [esp + 0x110], 8
mov eax, dword [esp + 0xfc]
jae 0x407b30
lea eax, [esp + 0xfc]
xor ebx, ebx
push ebx
push eax
call fcn.00522f0f
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x407b6f
push str.not_find_lib_reaper.dll
push ebx
call fcn.004024ac
pop ecx
mov ecx, eax
call fcn.0040252f
lea ecx, [esp + 0x1c4]
mov byte [esp + 0xba8], 0x37
call fcn.00405959
xor ebx, ebx
inc ebx
jmp 0x407fcf
cmp dword [esp + 0xa0], 8
mov eax, dword [esp + 0x8c]
jae 0x407b87
lea eax, [esp + 0x8c]
push ebx
push eax
call fcn.00522f0f
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x407b9c
push str.not_find_reaper.cfg
jmp 0x407b45
lea edx, [esp + 0x1a8]
lea ecx, [esp + 0x1c4]
call fcn.004059ff
mov byte [esp + 0xba8], 0x39
cmp dword [esp + 0x1b8], ebx
jbe 0x407dfb
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1b0]
lea ecx, [esp + 0xe8]
call fcn.0040946e
lea eax, [esp + 0xe0]
push eax
lea esi, [esp + 0x170]
call fcn.00408277
mov byte [esp + 0xba8], 0x3a
mov eax, dword [0x5b968c]
cmp eax, ebx
jne 0x407c29
push 0x90
call fcn.00423341
pop ecx
mov dword [esp + 0x18], eax
mov byte [esp + 0xba8], 0x3b
cmp eax, ebx
je 0x407c22
push eax
call fcn.004032d4
jmp 0x407c24
xor eax, eax
mov dword [0x5b968c], eax
push 0xffffffffffffffff
lea ecx, [eax + 0x48]
push ebx
lea eax, [esp + 0x174]
mov byte [esp + 0xbb0], 0x3c
call fcn.0040946e
push 1
xor edi, edi
lea esi, [esp + 0x170]
mov byte [esp + 0xbac], 0x39
call fcn.00409659
cmp dword [esp + 0xd4], ebx
jbe 0x407dfb
cmp dword [esp + 0xd8], 8
mov edi, dword [esp + 0xc4]
jae 0x407c80
lea edi, [esp + 0xc4]
cmp dword [esp + 0xf4], 8
mov esi, dword [esp + 0xe0]
jae 0x407c98
lea esi, [esp + 0xe0]
push ebx
call fcn.004033d6
pop ecx
push edi
push esi
call fcn.00403a72
mov edi, eax
cmp edi, ebx
jg 0x407dfb
mov eax, dword [0x5b968c]
jne 0x407cf9
cmp eax, ebx
jne 0x407ced
push 0x90
call fcn.00423341
pop ecx
mov dword [esp + 0x18], eax
mov byte [esp + 0xba8], 0x3d
cmp eax, ebx
je 0x407cde
push eax
call fcn.004032d4
jmp 0x407ce0
xor eax, eax
mov byte [esp + 0xba8], 0x39
mov dword [0x5b968c], eax
mov ecx, eax
mov dword [ecx + 0x84], 1
cmp eax, ebx
jne 0x407d2f
push 0x90
call fcn.00423341
pop ecx
mov dword [esp + 0x18], eax
mov byte [esp + 0xba8], 0x3e
cmp eax, ebx
je 0x407d20
push eax
call fcn.004032d4
jmp 0x407d22
xor eax, eax
mov byte [esp + 0xba8], 0x39
mov dword [0x5b968c], eax
cmp dword [eax], ebx
je 0x407dcc
cmp edi, ebx
jge 0x407dfb
mov esi, 0x585d54
push esi
lea ecx, [esp + 0x24]
call fcn.0040bee2
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0xbac], 0x3f
call fcn.0040bee2
mov esi, 0x95
push esi
mov byte [esp + 0xbac], 0x40
call fcn.0042fba0
cmp eax, ebx
je 0x407d82
push esi
push eax
lea ecx, [esp + 0x28]
call fcn.0040bfae
mov esi, 0x99
push esi
call fcn.0042fba0
cmp eax, ebx
je 0x407d9c
push esi
push eax
lea ecx, [esp + 0x34]
call fcn.0040bfae
push ebx
push dword [esp + 0x24]
push dword [esp + 0x34]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.00401621
mov byte [esp + 0xba8], 0x39
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.00401621
cmp edi, ebx
jge 0x407dfb
push ebx
push ebx
call fcn.004024ac
pop ecx
push eax
call fcn.00402696
push 1
xor edi, edi
lea esi, [esp + 0x1ac]
mov byte [esp + 0xbac], 0x38
call fcn.00409659
jmp 0x407b53
push ebx
call fcn.004033d6
pop ecx
call fcn.00403b46
push ebx
call fcn.004033d6
pop ecx
call fcn.004035f8
push ebx
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
call fcn.0042ead1
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x44]
call fcn.00421ca2
push ebx
call fcn.00525dc3
mov dword [esp + 0x40], eax
pop ecx
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x44], edx
call fcn.00525e14
pop ecx
push eax
push ebx
call fcn.004024ac
pop ecx
mov ecx, eax
call fcn.0040252f
lea eax, [esp + 0x3cc]
push eax
call fcn.00417e44
mov byte [esp + 0xba8], 0x41
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x3cc]
mov dword [ecx + 0x20], eax
mov ecx, eax
call fcn.00431c70
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x407eaa
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push dword [esp + 0x30]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov eax, dword [0x5b9674]
cmp eax, ebx
je 0x407eca
push eax
call fcn.00423370
pop ecx
mov dword [0x5b9674], ebx
push 1
call fcn.004024ac
mov eax, dword [0x5b967c]
pop ecx
cmp eax, ebx
je 0x407ee8
push eax
call fcn.00423370
pop ecx
mov dword [0x5b967c], ebx
mov eax, dword [0x5b9680]
cmp eax, ebx
je 0x407efe
push eax
call fcn.00423370
pop ecx
mov dword [0x5b9680], ebx
mov eax, dword [0x5b9684]
cmp eax, ebx
je 0x407f14
push eax
call fcn.00423370
pop ecx
mov dword [0x5b9684], ebx
mov eax, dword [0x5b9688]
cmp eax, ebx
je 0x407f2a
push eax
call fcn.00423370
pop ecx
mov dword [0x5b9688], ebx
mov eax, dword [0x5b968c]
cmp eax, ebx
je 0x407f3f
push eax
call fcn.0040334a
mov dword [0x5b968c], ebx
mov eax, dword [0x5b9690]
cmp eax, ebx
je 0x407f55
push eax
call fcn.00423370
pop ecx
mov dword [0x5b9690], ebx
mov eax, dword [0x5b9694]
cmp eax, ebx
je 0x407f6b
push eax
call fcn.00423370
pop ecx
mov dword [0x5b9694], ebx
mov eax, dword [0x5b9698]
cmp eax, ebx
je 0x407f80
push eax
call fcn.004045ad
mov dword [0x5b9698], ebx
push dword [0x5b9530]
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [esp + 0x3cc]
push eax
mov byte [esp + 0xbac], 0x39
call fcn.004080da
xor ebx, ebx
inc ebx
push ebx
xor edi, edi
lea esi, [esp + 0x1ac]
mov byte [esp + 0xbac], 0x38
call fcn.00409659
lea ecx, [esp + 0x1c4]
mov byte [esp + 0xba8], 0x37
call fcn.00405959
push ebx
xor edi, edi
lea esi, [esp + 0x138]
mov byte [esp + 0xbac], 0x32
call fcn.00409659
push ebx
lea esi, [esp + 0xc8]
mov byte [esp + 0xbac], 0x31
call fcn.00409659
push ebx
lea esi, [esp + 0xe4]
mov byte [esp + 0xbac], 0x1a
call fcn.00409659
push ebx
lea esi, [esp + 0x190]
mov byte [esp + 0xbac], 0x19
call fcn.00409659
push ebx
xor edi, edi
lea esi, [esp + 0x90]
mov byte [esp + 0xbac], 0x18
call fcn.00409659
push ebx
lea esi, [esp + 0x100]
mov byte [esp + 0xbac], 0x17
call fcn.00409659
push ebx
lea esi, [esp + 0x154]
mov byte [esp + 0xbac], 0x16
call fcn.00409659
push ebx
lea esi, [esp + 0x11c]
mov byte [esp + 0xbac], 0x15
call fcn.00409659
push ebx
lea esi, [esp + 0xac]
mov byte [esp + 0xbac], 0x14
call fcn.00409659
push ebx
lea esi, [esp + 0x74]
mov byte [esp + 0xbac], 0x13
call fcn.00409659
or dword [esp + 0xba8], 0xffffffff
push ebx
lea esi, [esp + 0x58]
call fcn.00409659
xor eax, eax
mov ecx, dword [esp + 0xba0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb88]
xor ecx, esp
call fcn.005220b2
mov esp, ebp
pop ebp
ret