Function at 0x408feb
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
mov eax, 0x41414a
call fcn.00411b70
sub esp, 0x2d8
push ebx
push esi
xor ebx, ebx
push edi
and byte [ebp - 0x11], bl
mov al, byte [ebp - 0x11]
mov esi, ecx
mov dword [ebp - 0x10], esp
push ebx
lea ecx, [ebp - 0x8c]
and byte [esi + 0x154], bl
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x8c], al
call fcn.004035bd
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
push 0x44c
mov byte [ebp - 4], 1
call fcn.00408929
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
call fcn.0040a4cc
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0x7c]
mov byte [ebp - 0x7c], al
call fcn.004035bd
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
push 0x438
mov byte [ebp - 4], 2
call fcn.00408929
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.00408df8
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x4c], al
call fcn.004035bd
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
push 0x451
mov byte [ebp - 4], 3
call fcn.00408902
mov eax, dword [0x4157ab]
cmp eax, dword [esi + 0xf8]
je 0x409122
push dword [0x41d230]
lea eax, [ebp - 0xf4]
push dword [0x41d1cc]
push eax
call fcn.0040674d
add esp, 0xc
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov esi, 0x415584
mov dword [ebp - 0x68], esi
push 1
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x20c]
push 0x41a0c8
push eax
mov dword [ebp - 0x20c], esi
call sub.MSVCRT.dll__CxxThrowException
cmp dword [esi + 0xc0], ebx
je 0x40921b
push esi
lea ecx, [ebp - 0x29c]
call fcn.0040a3ac
mov byte [ebp - 4], 7
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x294]
push eax
push 0x41ed78
call fcn.00404c8f
mov eax, dword [0x41ed80]
push ebx
push 0x40a7fd
push edi
push 0x71
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push 1
pop edi
cmp eax, edi
jne 0x40926a
lea eax, [esi + 0xb8]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
pop ecx
test al, al
pop ecx
je 0x40920c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x41d248]
lea eax, [ebp - 0xf4]
push dword [0x41d1cc]
push eax
call fcn.0040674d
add esp, 0xc
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 8
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov esi, 0x415584
mov dword [ebp - 0x68], esi
push edi
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x1f0]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x1f0]
push 0x41a0c8
push eax
mov dword [ebp - 0x1f0], esi
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 3
call fcn.0040220b
cmp dword [ebp - 0x44], 2
jbe 0x409418
mov eax, dword [ebp - 0x48]
mov edi, 0x4155b4
cmp eax, ebx
jne 0x409233
mov eax, edi
push ebx
push dword [ebp - 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_IsTextUnicode]
test eax, eax
setne al
test al, al
je 0x409282
mov eax, dword [ebp - 0x48]
cmp eax, ebx
jne 0x409250
mov eax, edi
mov ecx, dword [ebp - 0x44]
lea edi, [esi + 0x80]
shr ecx, 1
push ecx
push eax
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
jmp 0x40930e
lea ecx, [ebp - 0x29c]
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 3
call fcn.0040220b
jmp 0x40a1a5
cmp dword [ebp - 0x48], ebx
je 0x40928a
mov edi, dword [ebp - 0x48]
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0xf4]
mov byte [ebp - 0xf4], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push edi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
lea ecx, [ebp - 0xf4]
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00405fab
pop ecx
pop ecx
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea edi, [esi + 0x80]
mov byte [ebp - 4], 0xc
push dword [ecx]
mov ecx, edi
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xb
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [ebp - 0x120]
call fcn.00411fa0
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0xd
call fcn.00411fb4
cmp dword [esi + 0x88], ebx
je 0x409412
cmp byte [esi + 0xa1], 0
jne 0x409357
lea eax, [esi + 0x140]
lea ecx, [ebp - 0x120]
push eax
call fcn.00411fd4
test al, al
je 0x409412
lea ecx, [ebp - 0x298]
call fcn.0040a347
mov eax, dword [esi + 0x54]
mov byte [ebp - 4], 0xe
test eax, eax
jne 0x409372
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
push eax
mov dword [ebp - 0x18], eax
call ebx
pop ecx
push eax
lea ecx, [ebp - 0x230]
push dword [ebp - 0x18]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov edi, dword [edi + 4]
test edi, edi
jne 0x40939c
mov edi, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push edi
call ebx
pop ecx
push eax
push edi
lea ecx, [ebp - 0x220]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x290]
push eax
push 0x41ed78
call fcn.00404c8f
mov eax, dword [0x41ed80]
push 0
push 0x40a7fd
push edi
push 0x71
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push 1
pop edi
cmp eax, edi
je 0x409403
lea ecx, [ebp - 0x298]
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 0xd
call fcn.004019c3
jmp 0x40a1a5
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 0xd
call fcn.004019c3
mov byte [ebp - 4], 3
xor ebx, ebx
call dword [sym.imp.MSVCRT.dll_clock]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x38]
push eax
push ebx
push 0x41f138
push 0x407e04
push ebx
push ebx
mov dword [ebp - 0x38], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea edi, [esi + 0x110]
push 4
push ebx
push str.Excel.Application
lea ecx, [edi + 8]
mov dword [ebp - 0x94], eax
call fcn.0040a74d
cmp eax, ebx
mov dword [edi + 0xc], eax
jge 0x409468
push ebx
push eax
call fcn.00411993
cmp byte [esi + 0xa3], 1
jne 0x409593
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00406e1e
mov eax, dword [eax]
cmp eax, ebx
je 0x40948a
mov eax, dword [eax]
jmp 0x40948c
xor eax, eax
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
cmp eax, 9
mov ecx, dword [ebp - 0x18]
setle bl
test ecx, ecx
je 0x4094a6
call fcn.00403623
test bl, bl
je 0x409593
cmp dword [ebp - 0x38], 0
je 0x4094c6
push 0
push 0
push 0x502
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push dword [0x41d1e0]
lea eax, [ebp - 0x5c]
push dword [0x41d1cc]
push eax
call fcn.0040674d
add esp, 0xc
push eax
lea eax, [ebp - 0x124]
push eax
mov byte [ebp - 4], 0xf
call fcn.00405fab
pop ecx
pop ecx
mov eax, dword [eax + 4]
mov edi, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
test eax, eax
mov byte [ebp - 4], 0x10
je 0x409504
mov edi, eax
push dword [0x41d244]
lea eax, [ebp - 0xf4]
push dword [0x41d1cc]
push eax
call fcn.0040674d
add esp, 0xc
push eax
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 0x11
call fcn.00405fab
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x40953e
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push 0x30
push edi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
lea ecx, [ebp - 0xa8]
pop edi
push edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push edi
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x10
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push edi
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0xf
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push edi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov byte [ebp - 0x11], 1
jmp 0x40a1a5
mov eax, dword [edi]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x18], ebx
call dword [eax + 0x14]
cmp eax, ebx
je 0x409600
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
call fcn.00406ee1
push 2
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00411372
and eax, 0xff
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
call fcn.004039dc
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00406e1e
mov eax, dword [eax]
cmp eax, ebx
je 0x4095e4
mov eax, dword [eax]
jmp 0x4095e6
xor eax, eax
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
pop ecx
mov dword [esi + 0x158], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x409600
call fcn.00403623
push ebx
mov ecx, edi
call fcn.00406d44
mov ecx, esi
call fcn.00408b3a
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0x114]
mov byte [ebp - 0x114], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 0x13
push eax
push 0xf
call fcn.00406090
pop ecx
pop ecx
lea ecx, [ebp - 0x114]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00405c16
mov ecx, edi
call fcn.00406e90
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0xa
push 0x80020004
call fcn.00404e6e
lea eax, [ebp - 0x104]
mov ecx, edi
push eax
mov byte [ebp - 4], 0x14
call fcn.00406c49
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 0x16
push ecx
mov ecx, eax
call fcn.004073fd
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x18
call fcn.004039dc
mov eax, dword [ebp - 0x144]
lea ecx, [ebp - 0x144]
call dword [eax + 0x14]
cmp eax, ebx
je 0x4097ae
sub esp, 0x10
mov byte [ebp - 4], 0x19
mov ecx, esp
mov dword [ebp - 0x20], esp
push 3
push 1
call fcn.00404e6e
lea eax, [ebp - 0xb8]
lea ecx, [ebp - 0x144]
push eax
mov byte [ebp - 4], 0x1a
call fcn.004112a5
mov edx, dword [eax]
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1c
call dword [edx + 0x24]
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x1e
call fcn.004039dc
push 0xffffefd7
lea ecx, [ebp - 0x6c]
call fcn.00407c69
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x19
call fcn.004039dc
jmp 0x409723
cmp byte [esi + 0x14c], 0
mov dword [ebp - 4], 0x18
je 0x409747
mov ecx, esi
call fcn.00408c74
push 0
lea ecx, [esi + 0x110]
call fcn.00406d44
sub esp, 0x10
mov ebx, esp
mov dword [ebp - 0x20], esp
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edi, 0x41f128
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x40976d
push eax
call fcn.004113f0
sub esp, 0x10
mov byte [ebp - 4], 0x20
mov ecx, esp
mov dword [ebp - 0x3c], esp
push edi
call fcn.0040a793
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0
call fcn.0040a7e7
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 0x18
call fcn.00411090
mov eax, dword [ebp - 0x144]
push 0
lea ecx, [ebp - 0x144]
call dword [eax + 0xc]
lea ebx, [esi + 0x110]
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.00406e57
mov eax, dword [eax]
mov byte [ebp - 4], 0x21
test eax, eax
je 0x4097cd
mov edi, dword [eax]
jmp 0x4097cf
xor edi, edi
push dword [0x41d268]
lea eax, [ebp - 0xa8]
push dword [0x41d1cc]
push eax
call fcn.0040674d
add esp, 0xc
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0x22
call fcn.00405fab
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x409806
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push edi
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
push 1
lea ecx, [ebp - 0x5c]
mov dword [esi + 0x130], eax
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [ebp - 0xa8]
pop edi
mov byte [ebp - 4], 0x21
push edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 0x18
test ecx, ecx
je 0x409843
call fcn.00403623
push dword [esi + 0x130]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a1d4
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x130]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x409873
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push dword [ebp - 0x1c]
call fcn.00412c14
test eax, eax
jne 0x4098ec
push dword [0x41d22c]
lea eax, [ebp - 0x5c]
push dword [0x41d1cc]
push eax
call fcn.0040674d
add esp, 0xc
push eax
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x23
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov esi, 0x415584
mov dword [ebp - 0xb4], esi
push edi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x25
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0xb4]
lea ecx, [ebp - 0x1d4]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x1d4]
push 0x41a0c8
push eax
mov dword [ebp - 0x1d4], esi
call sub.MSVCRT.dll__CxxThrowException
push dword [0x41d234]
lea eax, [ebp - 0xa8]
push dword [0x41d1cc]
push eax
call fcn.0040674d
add esp, 0xc
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0x29
call fcn.00405fab
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 0x2a
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.00405c16
mov ecx, ebx
call fcn.00406e90
push edi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x29
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push edi
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x18
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push eax
push 0x487
push dword [esi + 0x130]
call edi
mov al, byte [ebp - 0x11]
push 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], al
call fcn.004035bd
mov eax, dword [esi + 0x18]
mov byte [ebp - 4], 0x2b
test eax, eax
je 0x4099ba
mov ecx, dword [esi + 0x14]
test ecx, ecx
jne 0x40999a
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
add eax, eax
push eax
push ecx
push dword [ebp - 0x1c]
call fcn.00408d92
add esp, 0xc
push dword [esi + 0x18]
push eax
push 0x488
push dword [esi + 0x130]
call edi
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push 0x413
call fcn.00408929
test al, al
je 0x409a0e
mov eax, dword [ebp - 0x2c]
mov ebx, 0x4155b4
test eax, eax
jne 0x4099dc
mov eax, ebx
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.00408d92
add esp, 0xc
push dword [ebp - 0x28]
push eax
push 0x484
push dword [esi + 0x130]
call edi
push dword [0x4155b0]
lea ecx, [ebp - 0x30]
push 0
call fcn.004045e1
jmp 0x409a13
mov ebx, 0x4155b4
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push 0x415
call fcn.00408929
test al, al
je 0x409a60
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x409a30
mov eax, ebx
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.00408d92
add esp, 0xc
push dword [ebp - 0x28]
push eax
push 0x486
push dword [esi + 0x130]
call edi
push dword [0x4155b0]
lea ecx, [ebp - 0x30]
push 0
call fcn.004045e1
mov eax, dword [esi + 0x38]
test eax, eax
je 0x409a94
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x409a74
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
add eax, eax
push eax
push ecx
push dword [ebp - 0x1c]
call fcn.00408d92
add esp, 0xc
push dword [esi + 0x38]
push eax
push 0x48d
push dword [esi + 0x130]
call edi
mov eax, dword [esi + 0x48]
test eax, eax
je 0x409ac8
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x409aa8
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
add eax, eax
push eax
push ecx
push dword [ebp - 0x1c]
call fcn.00408d92
add esp, 0xc
push dword [esi + 0x48]
push eax
push 0x48e
push dword [esi + 0x130]
call edi
cmp dword [ebp - 0x84], 0
je 0x409b16
mov eax, dword [ebp - 0x88]
test eax, eax
jne 0x409add
mov eax, ebx
push dword [ebp - 0x84]
push eax
push dword [ebp - 0x1c]
call fcn.00408d92
add esp, 0xc
push dword [ebp - 0x84]
push eax
push 0x483
push dword [esi + 0x130]
call edi
push dword [0x4155b0]
lea ecx, [ebp - 0x8c]
push 0
call fcn.004045e1
cmp dword [ebp - 0x74], 0
je 0x409b55
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x409b25
mov eax, ebx
push dword [ebp - 0x74]
push eax
push dword [ebp - 0x1c]
call fcn.00408d92
add esp, 0xc
push dword [ebp - 0x74]
push eax
push 0x482
push dword [esi + 0x130]
call edi
push dword [0x4155b0]
lea ecx, [ebp - 0x7c]
push 0
call fcn.004045e1
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x409b92
mov ecx, dword [esi + 0xdc]
test ecx, ecx
jne 0x409b6f
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
add eax, eax
push eax
push ecx
push dword [ebp - 0x1c]
call fcn.00408d92
add esp, 0xc
push dword [esi + 0xe0]
push eax
push 0x489
push dword [esi + 0x130]
call edi
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x409bcf
mov ecx, dword [esi + 0xec]
test ecx, ecx
jne 0x409bac
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
add eax, eax
push eax
push ecx
push dword [ebp - 0x1c]
call fcn.00408d92
add esp, 0xc
push dword [esi + 0xf0]
push eax
push 0x48a
push dword [esi + 0x130]
call edi
and dword [ebp - 0x18], 0
mov ebx, 0x485
cmp dword [ebp - 0x18], 0x64
jge 0x409c40
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x4b0
push eax
call fcn.00408929
test al, al
je 0x409c33
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x409c02
mov eax, 0x4155b4
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.00408d92
add esp, 0xc
push dword [ebp - 0x28]
push eax
push ebx
push dword [esi + 0x130]
call edi
push dword [0x4155b0]
lea ecx, [ebp - 0x30]
push 0
call fcn.004045e1
inc dword [ebp - 0x18]
jmp 0x409bd8
push 0
push 0
push ebx
push dword [esi + 0x130]
call edi
push dword [0x4155b0]
xor ebx, ebx
lea ecx, [ebp - 0x30]
push ebx
call fcn.004045e1
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push 0x453
call fcn.00408929
test al, al
je 0x409ca0
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x409c71
mov eax, 0x4155b4
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.00408d92
add esp, 0xc
push dword [ebp - 0x28]
push eax
push 0x48c
push dword [esi + 0x130]
call edi
push dword [0x4155b0]
lea ecx, [ebp - 0x30]
push ebx
call fcn.004045e1
cmp dword [ebp - 0x44], ebx
je 0x409ce0
mov eax, dword [ebp - 0x48]
cmp eax, ebx
jne 0x409cb1
mov eax, 0x4155b4
push dword [ebp - 0x44]
push eax
push dword [ebp - 0x1c]
call fcn.00408d92
add esp, 0xc
push dword [ebp - 0x44]
push eax
push 0x48b
push dword [esi + 0x130]
call edi
push dword [0x4155b0]
lea ecx, [ebp - 0x30]
push ebx
call fcn.004045e1
lea ebx, [esi + 0x110]
push 1
mov ecx, ebx
call fcn.00406d6b
cmp byte [esi + 0xa2], 0
jne 0x409d01
push 1
mov ecx, ebx
call fcn.00406d44
lea ecx, [ebp - 0x164]
call fcn.00405caf
mov dword [ebp - 0x164], 0x4156a8
cmp byte [esi + 0xa3], 0
mov byte [ebp - 4], 0x2d
je 0x409f52
cmp dword [esi + 0x158], 0xc
jge 0x409dc8
mov eax, dword [esi + 0x150]
cmp eax, 0x34
je 0x409d48
cmp eax, 0x32
jne 0x409dc8
push dword [0x41d25c]
lea eax, [ebp - 0xa8]
push dword [0x41d1cc]
push eax
call fcn.0040674d
add esp, 0xc
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0x2e
call fcn.00405fab
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x409d7f
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push 0x10
push str.Error
push eax
push dword [esi + 0x130]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x2d
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
and dword [ebp - 0xd4], 0
lea eax, [ebp - 0xd4]
push 0x41a210
push eax
call sub.MSVCRT.dll__CxxThrowException
sub esp, 0x10
mov dword [ebp - 0x3c], esp
mov dword [ebp - 0x18], esp
push esp
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ebx, 0x41f128
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x409df1
push eax
call fcn.004113f0
sub esp, 0x10
mov byte [ebp - 4], 0x2f
mov ecx, esp
mov dword [ebp - 0x20], esp
push ebx
call fcn.0040a793
sub esp, 0x10
mov byte [ebp - 4], 0x30
mov ecx, esp
mov dword [ebp - 0x18], esp
push ebx
call fcn.0040a793
sub esp, 0x10
mov byte [ebp - 4], 0x31
mov ecx, esp
mov dword [ebp - 0xd0], esp
push ebx
call fcn.0040a793
sub esp, 0x10
mov byte [ebp - 4], 0x32
mov ecx, esp
mov dword [ebp - 0xbc], esp
push ebx
call fcn.0040a793
sub esp, 0x10
mov byte [ebp - 4], 0x33
mov ecx, esp
mov dword [ebp - 0xe4], esp
push ebx
call fcn.0040a793
sub esp, 0x10
mov byte [ebp - 4], 0x34
mov ecx, esp
mov dword [ebp - 0xdc], esp
push ebx
call fcn.0040a793
sub esp, 0x10
mov byte [ebp - 4], 0x35
mov ecx, esp
mov dword [ebp - 0xc8], esp
push ebx
call fcn.0040a793
lea ecx, [esi + 0xc8]
mov byte [ebp - 4], 0x36
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0xe0], esp
push eax
call fcn.0040a7b8
sub esp, 0x10
mov byte [ebp - 4], 0x37
mov ecx, esp
mov dword [ebp - 0xc4], esp
push ebx
call fcn.0040a793
sub esp, 0x10
mov byte [ebp - 4], 0x38
mov ecx, esp
mov dword [ebp - 0xd8], esp
push ebx
call fcn.0040a793
sub esp, 0x10
mov byte [ebp - 4], 0x39
mov ecx, esp
mov dword [ebp - 0xcc], esp
push 3
push 3
call fcn.00404e6e
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 0x3a
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
push eax
call fcn.00405c16
lea eax, [ebp - 0xb8]
lea ecx, [esi + 0x110]
push eax
mov byte [ebp - 4], 0x3b
call fcn.00406c49
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x3d
push ecx
mov ecx, eax
call fcn.00407583
push eax
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x3e
call fcn.00404fd3
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x3d
call fcn.004039dc
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0xb8]
call fcn.004039dc
jmp 0x40a0de
sub esp, 0x10
mov dword [ebp - 0x90], esp
mov dword [ebp - 0x18], esp
push esp
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ebx, 0x41f128
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x409f7e
push eax
call fcn.004113f0
sub esp, 0x10
mov byte [ebp - 4], 0x3f
mov ecx, esp
mov dword [ebp - 0xcc], esp
push ebx
call fcn.0040a793
sub esp, 0x10
mov byte [ebp - 4], 0x40
mov ecx, esp
mov dword [ebp - 0xd8], esp
push ebx
call fcn.0040a793
sub esp, 0x10
mov byte [ebp - 4], 0x41
mov ecx, esp
mov dword [ebp - 0xc4], esp
push ebx
call fcn.0040a793
sub esp, 0x10
mov byte [ebp - 4], 0x42
mov ecx, esp
mov dword [ebp - 0xe0], esp
push ebx
call fcn.0040a793
sub esp, 0x10
mov byte [ebp - 4], 0x43
mov ecx, esp
mov dword [ebp - 0xc8], esp
push ebx
call fcn.0040a793
sub esp, 0x10
mov byte [ebp - 4], 0x44
mov ecx, esp
mov dword [ebp - 0xdc], esp
push ebx
call fcn.0040a793
sub esp, 0x10
mov byte [ebp - 4], 0x45
mov ecx, esp
mov dword [ebp - 0xe4], esp
push ebx
call fcn.0040a793
sub esp, 0x10
mov byte [ebp - 4], 0x46
mov ecx, esp
mov dword [ebp - 0xbc], esp
push ebx
call fcn.0040a793
sub esp, 0x10
mov byte [ebp - 4], 0x47
mov ecx, esp
mov dword [ebp - 0xd0], esp
push ebx
call fcn.0040a793
sub esp, 0x10
mov byte [ebp - 4], 0x48
mov ecx, esp
mov dword [ebp - 0x3c], esp
push ebx
call fcn.0040a793
sub esp, 0x10
mov byte [ebp - 4], 0x49
mov ecx, esp
mov dword [ebp - 0x20], esp
push 3
push 3
call fcn.00404e6e
mov byte [ebp - 4], 0x4a
lea ecx, [esi + 0x30]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00405c16
lea eax, [ebp - 0xb8]
lea ecx, [esi + 0x110]
push eax
mov byte [ebp - 4], 0x4b
call fcn.00406c49
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x4d
push ecx
mov ecx, eax
call fcn.00407583
push eax
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x4e
call fcn.00404fd3
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x4d
call fcn.004039dc
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0xb8]
jmp 0x409f48
cmp byte [ebp - 0x11], 0
mov dword [ebp - 4], 0x2c
je 0x40a103
and dword [ebp - 0xc0], 0
lea eax, [ebp - 0xc0]
push 0x41a210
push eax
call sub.MSVCRT.dll__CxxThrowException
xor ebx, ebx
cmp dword [ebp - 0x38], ebx
je 0x40a11a
push ebx
push ebx
push 0x501
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x164]
call dword [eax + 0x14]
cmp eax, ebx
je 0x40a157
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x90], esp
push 3
push 1
call fcn.00404e6e
lea ecx, [ebp - 0x164]
call fcn.0041124a
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push ebx
push 0x48f
push dword [esi + 0x130]
call edi
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x2b
call fcn.004039dc
push 1
lea ecx, [ebp - 0x30]
pop edi
mov byte [ebp - 4], 0x18
push edi
call fcn.004035bd
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 0x13
call fcn.004039dc
push edi
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push edi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.004035bd
push edi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.004035bd
and byte [ebp - 4], 0
push edi
lea ecx, [ebp - 0x8c]
call fcn.004035bd
jmp 0x40a2da
push dword [0x41d230]
lea eax, [ebp - 0x5c]
push dword [0x41d1cc]
push eax
call fcn.0040674d
add esp, 0xc
push eax
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x26
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov esi, 0x415584
mov dword [ebp - 0xb4], esi
push edi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x28
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0xb4]
lea ecx, [ebp - 0x1b8]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x1b8]
push 0x41a0c8
push eax
mov dword [ebp - 0x1b8], esi
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0x51
mov byte [eax + 0x154], 1
lea eax, [ebp - 0x2c8]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x180]
push 0x41a0c8
push eax
mov dword [ebp - 0x180], 0x415584
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0x52
mov byte [eax + 0x154], 1
lea eax, [ebp - 0x2e4]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x19c]
push 0x41a200
push eax
mov dword [ebp - 0x19c], 0x415558
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 0x11], 1
call fcn.004070bd
mov eax, 0x40a2d7
ret
mov al, byte [ebp - 0x11]
mov ecx, esi
mov dword [ebp - 4], 0x53
mov byte [esi + 0x154], al
call fcn.0040827e
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x94]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
call dword [sym.imp.MSVCRT.dll_clock]
sub eax, dword [ebp - 0x98]
cmp dword [ebp - 0x18], 0x103
jne 0x40a330
test eax, eax
jle 0x40a330
mov ecx, 0x1388
cmp eax, ecx
jae 0x40a330
sub ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
leave
ret