Function at 0x10012490
Capabilities:
Check if file exists
Create process on windows
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x1003238f
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x1004304c]
xor eax, esp
mov dword [esp + 0x1b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004304c]
xor eax, esp
push eax
lea eax, [esp + 0x1d0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1e4]
mov ebp, dword [esp + 0x1e0]
xor ebx, ebx
mov esi, edx
cmp eax, ebx
jne 0x100128c5
cmp ecx, ebx
jne 0x10012e19
sub esp, 0x1c
lea edi, [esi + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
sub esp, 0x1c
mov dword [esp + 0x210], ebx
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x100353e0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
sub esp, 0x1c
mov byte [esp + 0x22c], 1
mov ecx, esp
mov dword [esp + 0x74], esp
push str.currentversion
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
sub esp, 0x1c
mov byte [esp + 0x248], 2
mov ecx, esp
mov dword [esp + 0x88], esp
push str.version
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea esi, [esp + 0x16c]
mov dword [esp + 0x248], 0xffffffff
call fcn.100151a0
add esp, 0x54
mov ebx, 3
mov dword [esp + 0x1f4], ebx
mov ecx, esp
mov dword [esp + 0x34], esp
push edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
sub esp, 0x1c
mov byte [esp + 0x210], 4
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x100353e0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
sub esp, 0x1c
mov byte [esp + 0x22c], 5
mov ecx, esp
mov dword [esp + 0x70], esp
push str.upgraderange
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
sub esp, 0x1c
mov byte [esp + 0x248], 6
mov ecx, esp
mov dword [esp + 0x84], esp
push str.version
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea esi, [esp + 0x190]
mov byte [esp + 0x248], bl
call fcn.100151a0
add esp, 0x54
mov bl, 7
mov byte [esp + 0x1f4], bl
mov ecx, esp
mov dword [esp + 0x34], esp
call fcn.10015010
sub esp, 0x1c
mov byte [esp + 0x210], 8
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x100353e0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
sub esp, 0x1c
mov byte [esp + 0x22c], 9
mov ecx, esp
mov dword [esp + 0x70], esp
push str.lastUpgradeVer
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
sub esp, 0x1c
mov byte [esp + 0x248], 0xa
mov ecx, esp
mov dword [esp + 0x84], esp
push str.version
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea esi, [esp + 0x150]
mov byte [esp + 0x248], bl
call fcn.100151a0
add esp, 0x70
lea eax, [esp + 0xfc]
lea ecx, [ebp + 0x1f40]
push eax
mov byte [esp + 0x1dc], 0xb
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x6c]
push ecx
mov ebx, 0x1003647c
lea edi, [esp + 0x100]
call fcn.10014a70
add esp, 4
push eax
mov ecx, edi
mov byte [esp + 0x1dc], 0xc
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1d8], 0xb
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [esp + 0x114], 8
mov eax, dword [esp + 0x100]
jae 0x100126e7
lea eax, [esp + 0x100]
push eax
call fcn.10015550
mov esi, eax
add esp, 4
test esi, esi
je 0x1001287e
lea edx, [esp + 0x88]
push edx
mov ebx, 0x1003647c
lea edi, [esp + 0xe4]
call fcn.10014a70
add esp, 4
push eax
mov ecx, edi
mov byte [esp + 0x1dc], 0xd
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x88]
mov byte [esp + 0x1d8], 0xb
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0xe4]
mov edi, 8
cmp dword [esp + 0xf8], edi
jae 0x10012758
lea eax, [esp + 0xe4]
push eax
call fcn.10015550
add esp, 4
cmp esi, 0xbb8
jle 0x1001287e
cmp eax, esi
jge 0x1001287e
sub esp, 0x1c
lea eax, [esp + 0x13c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
call fcn.10012e50
test al, al
je 0x1001287e
lea esi, [esp + 0x14]
call fcn.10007ba0
mov bl, 0xe
mov byte [esp + 0x1d8], bl
cmp dword [ebp + 0x1f58], edi
jb 0x100127bb
mov eax, dword [ebp + 0x1f44]
jmp 0x100127c1
lea eax, [ebp + 0x1f44]
push eax
push 0x10036480
lea edi, [esp + 0x1c]
call fcn.100083b0
mov ecx, dword [esp + 0x1c]
add esp, 8
push ecx
lea ecx, [esp + 0xc8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [esp + 0x1d8], 0xf
cmp dword [esp + 0xdc], 8
mov eax, dword [esp + 0xc8]
jae 0x10012805
lea eax, [esp + 0xc8]
mov edx, dword [ebp + 0x494]
push 0
lea esi, [ebp + 0x494]
push 0x100364a4
push eax
mov eax, dword [edx + 0x8c]
mov ecx, esi
call eax
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
push 0
mov ecx, esi
call eax
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
mov edx, dword [ebp + 0x19c]
mov eax, dword [edx + 0x8c]
lea ecx, [ebp + 0x19c]
push 0
call eax
push eax
call esi
mov esi, ebp
call fcn.10012180
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1d8], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x14]
call fcn.10007c70
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1d8], 7
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x120]
mov byte [esp + 0x1d8], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xfc]
mov dword [esp + 0x1d8], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x10012e19
mov edi, 1
cmp eax, edi
jne 0x10012b96
cmp ecx, ebx
jne 0x10012e19
call fcn.10015eb0
cmp eax, ebx
je 0x10012a46
push 0x40
xor eax, eax
lea ecx, [esp + 0x2c]
push ebx
push ecx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x7e
lea ecx, [esp + 0x142]
xor edx, edx
xor eax, eax
push ebx
push ecx
mov dword [esp + 0x30], 0x44
mov word [esp + 0x60], dx
mov dword [esp + 0x5c], edi
mov word [esp + 0x148], ax
call sub.MSVCR90.dll_memset
add esp, 0xc
push str.__S__SQUPGRADE
lea ecx, [esp + 0xc8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [esp + 0x1d8], 0x10
mov eax, dword [esp + 0xc8]
mov edi, 8
cmp dword [esp + 0xdc], edi
jae 0x1001297e
lea eax, [esp + 0xc8]
push eax
lea edx, [esp + 0x140]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
cmp dword [esi + 0x34], edi
jb 0x10012997
mov esi, dword [esi + 0x20]
jmp 0x1001299a
add esi, 0x20
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
push ebx
push 0x220
push ebx
push ebx
push ebx
lea edx, [esp + 0x15c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10012b79
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
call fcn.10015010
sub esp, 0x1c
mov byte [esp + 0x210], 0x11
lea eax, [ebp + 0x1f40]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
sub esp, 0x1c
mov byte [esp + 0x22c], 0x12
mov ecx, esp
mov dword [esp + 0x70], esp
push str.lastUpgradeVer
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
sub esp, 0x1c
mov byte [esp + 0x248], 0x13
mov ecx, esp
mov dword [esp + 0x84], esp
push str.version
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [esp + 0x248], 0x10
call fcn.10015350
add esp, 0x70
push ebx
push ebx
jmp 0x10012b59
push str._S__SQUPGRADE
lea ecx, [esp + 0xc8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 0x38
lea ecx, [esp + 0x2c]
mov ebx, 0x14
push 0
mov dword [esp + 0x1e0], ebx
push ecx
mov dword [esp + 0x30], 0x3c
call sub.MSVCR90.dll_memset
mov eax, 8
add esp, 0xc
mov dword [esp + 0x30], str.runas
cmp dword [esi + 0x34], eax
jb 0x10012a98
mov edx, dword [esi + 0x20]
mov dword [esp + 0x34], edx
jmp 0x10012a9f
add esi, 0x20
mov dword [esp + 0x34], esi
cmp dword [esp + 0xdc], eax
jb 0x10012ab5
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x38], eax
jmp 0x10012ac0
lea ecx, [esp + 0xc8]
mov dword [esp + 0x38], ecx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x30], 0
mov dword [esp + 0x44], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x10012b79
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
call fcn.10015010
sub esp, 0x1c
mov byte [esp + 0x210], 0x15
lea eax, [ebp + 0x1f40]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
sub esp, 0x1c
mov byte [esp + 0x22c], 0x16
mov ecx, esp
mov dword [esp + 0x70], esp
push str.lastUpgradeVer
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
sub esp, 0x1c
mov byte [esp + 0x248], 0x17
mov ecx, esp
mov dword [esp + 0x84], esp
push str.version
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [esp + 0x248], bl
call fcn.10015350
add esp, 0x70
push 0
push 0
mov edx, dword [ebp + 0x494]
mov eax, dword [edx + 0x8c]
lea ecx, [ebp + 0x494]
push 0x4c9
call eax
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [esp + 0xc4]
mov dword [esp + 0x1d8], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x10012e19
cmp eax, 2
jne 0x10012de9
cmp ecx, ebx
jne 0x10012dc8
mov ebx, 8
cmp dword [esi + 0x34], ebx
jb 0x10012bb6
mov eax, dword [esi + 0x20]
jmp 0x10012bb9
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10012dc8
cmp dword [esi + 0x34], ebx
jb 0x10012bd2
mov esi, dword [esi + 0x20]
jmp 0x10012bd5
add esi, 0x20
push edi
push 0x40
push edi
push esi
lea ecx, [esp + 0x14c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::constructor_wchar_t_const___int__int_]
mov dword [esp + 0x1d8], 0x18
mov ecx, dword [esp + 0x13c]
mov edx, dword [ecx + 4]
mov eax, dword [esp + edx + 0x144]
test al, 6
jne 0x10012dae
lea ecx, [esp + 0xe0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x140]
mov byte [esp + 0x1dc], 0x19
mov ebx, dword [sym.imp.MSVCP90.dll_class_std::basic_istream_char__struct_std::char_traits_char______cdecl_std::getline_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_istream_char__struct_std::char_traits_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
push ecx
call ebx
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
mov eax, dword [ecx + 8]
and al, 6
movsx edx, al
add esp, 8
neg edx
sbb edx, edx
not edx
test ecx, edx
je 0x10012d99
jmp 0x10012c60
push 0
push 0x100364f8
lea ecx, [esp + 0xe8]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
push 0
push 0x100364fc
lea ecx, [esp + 0xe8]
mov ebp, eax
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
mov edi, eax
mov eax, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov esi, dword [eax]
push 0
push 0x10036500
lea ecx, [esp + 0xe8]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
cmp eax, esi
je 0x10012cb3
cmp ebp, esi
je 0x10012cb3
cmp edi, esi
jne 0x10012cec
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0x140]
push edx
call ebx
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 8]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 8
neg eax
sbb eax, eax
not eax
test ecx, eax
jne 0x10012c60
jmp 0x10012d99
sub edi, ebp
dec edi
push edi
inc ebp
push ebp
lea ecx, [esp + 0xcc]
push ecx
lea ecx, [esp + 0xec]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
mov bl, 0x1a
lea ecx, [esp + 0x120]
mov byte [esp + 0x1d8], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0x1d8], 0x1b
cmp dword [esp + 0xdc], 0x10
mov eax, dword [esp + 0xc8]
jae 0x10012d3d
lea eax, [esp + 0xc8]
lea edx, [esp + 0x120]
push edx
push eax
call fcn.10015a80
add esp, 8
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x100]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0xfc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x120]
mov byte [esp + 0x1d8], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1d8], 0x19
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1d8], 0x18
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x13c]
mov dword [esp + 0x1d8], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
jmp 0x10012e19
push str.error
lea ecx, [esp + 0xa8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x10012e19
cmp eax, 3
jne 0x10012df2
cmp ecx, ebx
jmp 0x10012df5
cmp eax, 4
jne 0x10012e19
mov edx, dword [ebp + 0x494]
mov eax, dword [edx + 0x8c]
push ebx
lea ecx, [ebp + 0x494]
push ebx
push 0x4c9
call eax
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x1d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b8]
xor ecx, esp
call fcn.1002dfc6
add esp, 0x1c8
ret 8