Function at 0x401970
Capabilities:
Check mutex on windows
Check os version
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436044
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x447780]
xor eax, esp
mov dword [esp + 0x498], eax
push ebx
push esi
push edi
mov eax, dword [0x447780]
xor eax, esp
push eax
lea eax, [esp + 0x4b0]
mov dword fs:[0], eax
lea eax, [esp + 0xd0]
mov edi, ecx
xor esi, esi
mov dword [esp + 0x10], esi
push eax
mov dword [esp + 0x58], edi
mov dword [esp + 0xd4], 8
mov dword [esp + 0xd8], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, edi
call fcn.00404959
push esi
call fcn.00408411
add esp, 4
lea ecx, [esp + 0x13c]
push ecx
mov dword [esp + 0x140], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x140]
cmp eax, 4
jbe 0x402f3a
cmp eax, 5
jne 0x401a2c
cmp dword [esp + 0x144], 1
jb 0x402f3a
lea ecx, [esp + 0x114]
call fcn.00405131
mov dword [esp + method.CCommandLineInfo.virtual_0], vtable.CMyCommandLineInfo.0
mov dword [esp + 0x138], esi
lea edx, [esp + 0xb0]
push edx
mov dword [esp + 0x4bc], esi
call fcn.004014c0
add esp, 4
lea ecx, [esp + 0xa8]
push 0x43dd34
push ecx
mov ecx, eax
mov byte [esp + 0x4c0], 1
call fcn.004035e0
push 0x43dd30
push eax
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0x4cc], 2
call fcn.00403500
add esp, 0x14
push 0x43dd1c
push eax
lea eax, [esp + 0xc0]
push eax
mov byte [esp + 0x4c4], 3
call fcn.00403500
add esp, 0xc
push 0x43dd18
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x4c4], 4
call fcn.00403500
add esp, 0xc
mov byte [esp + 0x4b8], 6
mov eax, dword [esp + 0xb8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401aff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4b8], 7
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401b27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4b8], 8
mov eax, dword [esp + 0xa8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401b52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4b8], 9
mov eax, dword [esp + 0xb0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401b7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x43dd40
lea ecx, [esp + 0x28]
call fcn.00403850
push 0x43e124
lea ecx, [esp + 0x18]
call fcn.00403e00
mov byte [esp + 0x4b8], 0xa
push str.SOFTWAREEPSONEPSON_Manual_Launcher
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], esi
call fcn.00403e00
push 0x43e124
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4bc], 0xb
mov byte [esp + 0x2b], 0
call fcn.00403e00
push 0x43e124
lea ecx, [esp + 0x30]
mov byte [esp + 0x4bc], 0xc
call fcn.00403e00
push str.GlobalEPSON_Manual_Launcher_SetUp
lea ecx, [esp + 0x48]
mov byte [esp + 0x4bc], 0xd
call fcn.00403e00
mov byte [esp + 0x4b8], 0xe
mov ecx, dword [esp + 0x44]
push ecx
push 1
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp eax, esi
mov dword [esp + 0x38], eax
jne 0x402e1b
mov edx, dword [esp + 0x44]
push edx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x402e14
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x114]
push eax
call fcn.004043d4
xor edi, edi
cmp dword [esp + 0x138], edi
je 0x401c6e
push str._qn
lea ecx, [esp + 0x24]
call fcn.00403380
lea ecx, [esp + 0x34]
call fcn.00401640
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x4bc], 0xf
call fcn.00403af0
mov byte [esp + 0x4b8], 0xe
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401cb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
cmp dword [ecx - 0xc], edi
jne 0x401cbe
xor esi, esi
jmp 0x401ce2
push str.Epson_SoftwareEpson_ManualLauncherEPSMLAN.EXE
lea ecx, [esp + 0x30]
call fcn.00403380
mov edx, dword [esp + 0x2c]
push edx
call fcn.00401450
add esp, 4
test eax, eax
je 0x401ce2
mov esi, 1
call fcn.00401600
test eax, eax
je 0x401cfd
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x40]
push eax
push 0x20119
push edi
push ecx
jmp 0x401d0d
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x40]
push edx
push 0x20019
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401d2e
cmp esi, edi
je 0x401d2e
push str.REINSTALLALL_REINSTALLMODEVOMUS
lea ecx, [esp + 0x24]
call fcn.00403380
mov eax, dword [esp + 0x40]
cmp eax, edi
je 0x401d3d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
xor edx, edx
movzx esi, al
mov dword [esp + 0x50], edi
mov dword [esp + 0x34], edi
mov ecx, 0x448ac8
lea ebx, [edx + 1]
cmp dword [ecx], eax
je 0x401d82
add ecx, 0xc
add edx, ebx
cmp ecx, sym.imp.OLEACC.dll_LresultFromObject
jl 0x401d58
xor ecx, ecx
mov eax, 0x448acc
cmp dword [eax], esi
je 0x401d9c
add eax, 0xc
add ecx, ebx
cmp eax, sym.imp.OLEACC.dll_CreateStdAccessibleObject
jl 0x401d70
jmp 0x401db4
lea ecx, [edx + edx*2]
lea edx, [ecx*4 + 0x448ad0]
push edx
lea ecx, [esp + 0x18]
call fcn.00403af0
mov dword [esp + 0x50], ebx
jmp 0x401db4
lea eax, [ecx + ecx*2]
lea ecx, [eax*4 + 0x448ad0]
push ecx
lea ecx, [esp + 0x18]
call fcn.00403af0
mov dword [esp + 0x34], ebx
lea edx, [esp + 0x3c]
push edx
call fcn.004014c0
add esp, 4
push 0x43dd30
push eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x4c4], 0x10
call fcn.00403500
add esp, 0xc
mov byte [esp + 0x4b8], 0x11
mov ecx, dword [eax]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x401e3a
cmp dword [esi + 0xc], edi
lea ebx, [esi + 0xc]
jl 0x401e2c
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x401e2c
push eax
call fcn.00403c80
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x401e23
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [esp + 0x18], edi
jmp 0x401e3a
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00403b70
mov byte [esp + 0x4b8], 0x10
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401e62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4b8], 0xe
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401e8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.opeg_
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00403500
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x38]
mov byte [esp + 0x4c0], 0x12
push edx
mov dword [esp + 0x1c], 1
call fcn.00403440
add esp, 0xc
push str.MANUINFO.XML
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x4c0], 0x13
push eax
mov dword [esp + 0x1c], 3
call fcn.00403500
add esp, 0xc
mov dword [esp + 0x4b8], 0x14
mov eax, dword [eax]
test eax, eax
mov ebx, 7
mov dword [esp + 0x10], ebx
lea edi, [ebx + 0x25]
lea esi, [ebx + 0x26]
je 0x401f2a
lea ecx, [esp + 0x254]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x401f2a
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x402420
push str.useg_
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xa8]
push eax
call fcn.00403500
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0xa0]
mov dword [esp + 0x4c0], 0x15
push edx
mov dword [esp + 0x1c], 0xf
call fcn.00403440
add esp, 0xc
push str.MANUINFO.XML
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x4c0], 0x16
push eax
mov dword [esp + 0x1c], 0x1f
call fcn.00403500
add esp, 0xc
mov dword [esp + 0x4b8], 0x17
mov eax, dword [eax]
mov ebx, 0x3f
push eax
mov dword [esp + 0x14], ebx
call fcn.00401450
add esp, 4
test eax, eax
jne 0x402420
push str.netg_
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x90]
push edx
call fcn.00403500
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x88]
mov dword [esp + 0x4c0], 0x18
push edx
mov dword [esp + 0x1c], 0x7f
call fcn.00403440
add esp, 0xc
push str.MANUINFO.XML
push eax
lea eax, [esp + 0x80]
mov dword [esp + 0x4c0], 0x19
push eax
mov dword [esp + 0x1c], 0xff
call fcn.00403500
add esp, 0xc
mov dword [esp + 0x4b8], 0x1a
mov eax, dword [eax]
mov ebx, 0x1ff
push eax
mov dword [esp + 0x14], ebx
call fcn.00401450
add esp, 4
test eax, eax
jne 0x402420
push str.admg_
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.00403500
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x70]
mov dword [esp + 0x4c0], 0x1b
push edx
mov dword [esp + 0x1c], 0x3ff
call fcn.00403440
add esp, 0xc
push str.MANUINFO.XML
push eax
lea eax, [esp + 0x68]
mov dword [esp + 0x4c0], 0x1c
push eax
mov dword [esp + 0x1c], 0x7ff
call fcn.00403500
add esp, 0xc
mov dword [esp + 0x4b8], 0x1d
mov eax, dword [eax]
mov ebx, 0xfff
push eax
mov dword [esp + 0x14], ebx
call fcn.00401450
add esp, 4
test eax, eax
jne 0x402420
push str.navg_
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.00403500
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0xa4]
mov dword [esp + 0x4c0], 0x1e
push edx
mov dword [esp + 0x1c], 0x1fff
call fcn.00403440
add esp, 0xc
push str.MANUINFO.XML
push eax
lea eax, [esp + 0xc4]
mov dword [esp + 0x4c0], 0x1f
push eax
mov dword [esp + 0x1c], 0x3fff
call fcn.00403500
add esp, 0xc
mov dword [esp + 0x4b8], 0x20
mov eax, dword [eax]
mov ebx, 0x7fff
push eax
mov dword [esp + 0x14], ebx
call fcn.00401450
add esp, 4
test eax, eax
jne 0x402420
push str.cp_online_
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x9c]
push edx
call fcn.00403500
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0xcc]
mov dword [esp + 0x4c0], 0x21
push edx
mov dword [esp + 0x1c], 0xffff
call fcn.00403440
add esp, 0xc
push str.MANUINFO.XML
push eax
lea eax, [esp + 0x94]
mov dword [esp + 0x4c0], 0x22
push eax
mov dword [esp + 0x1c], 0x1ffff
call fcn.00403500
add esp, 0xc
mov dword [esp + 0x4b8], 0x23
mov eax, dword [eax]
mov ebx, 0x3ffff
push eax
mov dword [esp + 0x14], ebx
call fcn.00401450
add esp, 4
test eax, eax
jne 0x402420
push str.cp_opeg_
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0xbc]
push edx
call fcn.00403500
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x8c]
mov dword [esp + 0x4c0], 0x24
push edx
mov dword [esp + 0x1c], 0x7ffff
call fcn.00403440
add esp, 0xc
push str.MANUINFO.XML
push eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x4c0], 0x25
push eax
mov dword [esp + 0x1c], 0xfffff
call fcn.00403500
add esp, 0xc
mov dword [esp + 0x4b8], 0x26
mov eax, dword [eax]
mov ebx, 0x1fffff
push eax
mov dword [esp + 0x14], ebx
call fcn.00401450
add esp, 4
test eax, eax
jne 0x402420
push str.cp_ginfo_
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x60]
push edx
call fcn.00403500
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0xb4]
mov dword [esp + 0x4c0], 0x27
push edx
mov dword [esp + 0x1c], 0x3fffff
call fcn.00403440
add esp, 0xc
push str.MANUINFO.XML
push eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x4c0], 0x28
push eax
mov dword [esp + 0x1c], 0x7fffff
call fcn.00403500
add esp, 0xc
mov dword [esp + 0x4b8], 0x29
mov eax, dword [eax]
mov ebx, 0xffffff
push eax
mov dword [esp + 0x14], ebx
call fcn.00401450
add esp, 4
test eax, eax
jne 0x402420
push str.cp_useg_
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0xd0]
push edx
call fcn.00403500
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x74]
mov dword [esp + 0x4c0], 0x2a
push edx
mov dword [esp + 0x1c], 0x1ffffff
call fcn.00403440
add esp, 0xc
push str.MANUINFO.XML
push eax
lea eax, [esp + 0xac]
mov dword [esp + 0x4c0], 0x2b
push eax
mov dword [esp + 0x1c], 0x3ffffff
call fcn.00403500
add esp, 0xc
mov dword [esp + 0x4b8], edi
mov eax, dword [eax]
mov ebx, 0x7ffffff
push eax
mov dword [esp + 0x14], ebx
call fcn.00401450
add esp, 4
test eax, eax
jne 0x402420
push str.cp_netg_
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x6c]
push edx
call fcn.00403500
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0xd4]
mov dword [esp + 0x4c0], esi
push edx
mov dword [esp + 0x1c], 0xfffffff
call fcn.00403440
add esp, 0xc
push str.MANUINFO.XML
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x4c0], 0x2e
push eax
mov dword [esp + 0x1c], 0x1fffffff
call fcn.00403500
mov eax, dword [eax]
add esp, 0xc
push eax
mov ebx, 0x3fffffff
call fcn.00401450
add esp, 4
test eax, eax
mov byte [esp + 0x1f], 0
je 0x402425
mov byte [esp + 0x1f], 1
test ebx, 0x20000000
je 0x402457
mov eax, dword [esp + 0x3c]
and ebx, 0xdfffffff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402457
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x10000000
mov dword [esp + 0x4b8], esi
je 0x402493
mov eax, dword [esp + 0xcc]
and ebx, 0xefffffff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402493
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x8000000
mov dword [esp + 0x4b8], edi
je 0x4024cc
mov eax, dword [esp + 0x64]
and ebx, 0xf7ffffff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4024cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x4000000
mov dword [esp + 0x4b8], 0x2b
je 0x40250c
mov eax, dword [esp + 0xa4]
and ebx, 0xfbffffff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40250c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x2000000
mov dword [esp + 0x4b8], 0x2a
je 0x402549
mov eax, dword [esp + 0x6c]
and ebx, 0xfdffffff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402549
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x1000000
mov dword [esp + 0x4b8], 0x29
je 0x402589
mov eax, dword [esp + 0xc8]
and ebx, 0xfeffffff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402589
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x800000
mov dword [esp + 0x4b8], 0x28
je 0x4025c6
mov eax, dword [esp + 0x74]
and ebx, 0xff7fffff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4025c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x400000
mov dword [esp + 0x4b8], 0x27
je 0x402606
mov eax, dword [esp + 0xac]
and ebx, 0xffbfffff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402606
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x200000
mov dword [esp + 0x4b8], 0x26
je 0x402643
mov eax, dword [esp + 0x58]
and ebx, 0xffdfffff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402643
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x100000
mov dword [esp + 0x4b8], 0x25
je 0x402683
mov eax, dword [esp + 0xc0]
and ebx, 0xffefffff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402683
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x80000
mov dword [esp + 0x4b8], 0x24
je 0x4026c3
mov eax, dword [esp + 0x84]
and ebx, 0xfff7ffff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4026c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x40000
mov dword [esp + 0x4b8], 0x23
je 0x402703
mov eax, dword [esp + 0xb4]
and ebx, 0xfffbffff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402703
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x20000
mov dword [esp + 0x4b8], 0x22
je 0x402743
mov eax, dword [esp + 0x8c]
and ebx, 0xfffdffff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402743
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x10000
mov dword [esp + 0x4b8], 0x21
je 0x402783
mov eax, dword [esp + 0xc4]
and ebx, 0xfffeffff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402783
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x8000
mov dword [esp + 0x4b8], 0x20
je 0x4027c3
mov eax, dword [esp + 0x94]
and ebx, 0xffff7fff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4027c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x4000
mov dword [esp + 0x4b8], 0x1f
je 0x402803
mov eax, dword [esp + 0xbc]
and ebx, 0xffffbfff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402803
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x2000
mov dword [esp + 0x4b8], 0x1e
je 0x402843
mov eax, dword [esp + 0x9c]
and ebx, 0xffffdfff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402843
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x1000
mov dword [esp + 0x4b8], 0x1d
je 0x402880
mov eax, dword [esp + 0x5c]
and ebx, 0xffffefff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402880
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x800
mov dword [esp + 0x4b8], 0x1c
je 0x4028bd
mov eax, dword [esp + 0x60]
and ebx, 0xfffff7ff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4028bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x400
mov dword [esp + 0x4b8], 0x1b
je 0x4028fa
mov eax, dword [esp + 0x68]
and ebx, 0xfffffbff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4028fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x200
mov dword [esp + 0x4b8], 0x1a
je 0x402937
mov eax, dword [esp + 0x70]
and ebx, 0xfffffdff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402937
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, 0x100
mov dword [esp + 0x4b8], 0x19
je 0x402974
mov eax, dword [esp + 0x78]
and ebx, 0xfffffeff
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402974
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
mov dword [esp + 0x4b8], 0x18
jns 0x4029b0
mov eax, dword [esp + 0x80]
and ebx, 0xffffff7f
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4029b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 0x40
mov dword [esp + 0x4b8], 0x17
je 0x4029ea
mov eax, dword [esp + 0x88]
and ebx, 0xffffffbf
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4029ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 0x20
mov dword [esp + 0x4b8], 0x16
je 0x402a24
mov eax, dword [esp + 0x90]
and ebx, 0xffffffdf
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402a24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 0x10
mov dword [esp + 0x4b8], 0x15
je 0x402a5e
mov eax, dword [esp + 0x98]
and ebx, 0xffffffef
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402a5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 8
mov dword [esp + 0x4b8], 0x14
je 0x402a98
mov eax, dword [esp + 0xa0]
and ebx, 0xfffffff7
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402a98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 4
mov dword [esp + 0x4b8], 0x13
je 0x402acf
mov eax, dword [esp + 0x4c]
and ebx, 0xfffffffb
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402acf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 2
mov dword [esp + 0x4b8], 0x12
je 0x402b06
mov eax, dword [esp + 0x30]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402b06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 1
mov dword [esp + 0x4b8], 0xe
je 0x402b36
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402b36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1f], 0
mov al, 1
jne 0x402b43
mov al, byte [esp + 0x27]
cmp dword [esp + 0x50], 0
jne 0x402b51
cmp dword [esp + 0x34], 0
je 0x402b59
test al, al
jne 0x402bf5
mov edi, dword [esp + 0x54]
push edi
call fcn.00402f80
lea esi, [esp + 0x28]
mov eax, edi
call fcn.00401100
mov byte [esp + 0x4b8], 0x2f
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x402bcd
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x402bbf
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x402bbf
push eax
call fcn.00403c80
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x402bb6
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x402bcd
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403b70
mov byte [esp + 0x4b8], 0xe
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402bf5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
push str.LANGUAGE_
push ecx
lea ecx, [esp + 0x1c]
call fcn.004035e0
push 0x43df60
push eax
lea edx, [esp + 0x38]
mov bl, 0x30
push edx
mov byte [esp + 0x4cc], bl
call fcn.00403500
add esp, 0x14
mov byte [esp + 0x4b8], 0x31
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00403850
mov byte [esp + 0x4b8], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402c63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4b8], 0xe
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402c8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.004014c0
add esp, 4
lea edx, [esp + 0x30]
push str.OWNDIRPATH_
push edx
mov ecx, eax
mov byte [esp + 0x4c0], 0x32
call fcn.004035e0
push 0x43df60
push eax
lea eax, [esp + 0x38]
mov bl, 0x33
push eax
mov byte [esp + 0x4cc], bl
call fcn.00403500
add esp, 0x14
mov byte [esp + 0x4b8], 0x34
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00403850
mov byte [esp + 0x4b8], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402d0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4b8], 0x32
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402d34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4b8], 0xe
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402d5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xc
push str.BOOTSTRAPY
lea ecx, [esp + 0x28]
call fcn.00403850
push 0x3c
lea ecx, [esp + 0xdc]
push 0
push ecx
call fcn.00420e10
add esp, 0xc
cmp dword [esp + 0x138], 0
mov dword [esp + 0xd8], 0x3c
je 0x402dad
mov dword [esp + 0xdc], 0x4440
mov dword [esp + 0xf4], 0
jmp 0x402dc3
mov dword [esp + 0xdc], 0x4040
mov dword [esp + 0xf4], 1
mov edx, dword [esp + 0x20]
lea eax, [esp + 0xd8]
push eax
mov dword [esp + 0xe8], str.open
mov dword [esp + 0xec], str.msiexec
mov dword [esp + 0xf0], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x402e14
mov ecx, dword [esp + 0x110]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x38], 0
je 0x402e26
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x4b8], 0xd
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402e4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4b8], 0xc
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402e76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4b8], 0xb
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402e9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4b8], 0xa
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402ec6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4b8], 9
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402eee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4b8], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402f16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4b8], 0xffffffff
lea ecx, [esp + 0x114]
mov dword [esp + method.CCommandLineInfo.virtual_0], vtable.CMyCommandLineInfo.0
call fcn.00405170
jmp 0x402f4d
push 0x30
push 0x43dc80
push str.This_program_does_not_support_the_current_operating_system.
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [esp + 0x4b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x498]
xor ecx, esp
call fcn.0041fabf
mov esp, ebp
pop ebp
ret