Function at 0x408fde
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.0040891c
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
call fcn.0040a4bf
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.0040891c
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.00408deb
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.004088f5
mov eax, dword [0x4157bb]
cmp eax, dword [esi + 0xf8]
je 0x409115
push dword [0x41d230]
lea eax, [ebp - 0xf4]
push dword [0x41d1cc]
push eax
call fcn.00406754
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 0x41a0d8
push eax
mov dword [ebp - 0x20c], esi
call sub.MSVCRT.dll__CxxThrowException
cmp dword [esi + 0xc0], ebx
je 0x40920e
push esi
lea ecx, [ebp - 0x29c]
call fcn.0040a39f
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.00404c3a
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 0x40925d
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 0x4091ff
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x41d248]
lea eax, [ebp - 0xf4]
push dword [0x41d1cc]
push eax
call fcn.00406754
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 0x41a0d8
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 0x40940b
mov eax, dword [ebp - 0x48]
mov edi, 0x4155b4
cmp eax, ebx
jne 0x409226
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 0x409275
mov eax, dword [ebp - 0x48]
cmp eax, ebx
jne 0x409243
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 0x409301
lea ecx, [ebp - 0x29c]
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 3
call fcn.0040220b
jmp 0x40a198
cmp dword [ebp - 0x48], ebx
je 0x40927d
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.00405fb2
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 0x409405
cmp byte [esi + 0xa1], 0
jne 0x40934a
lea eax, [esi + 0x140]
lea ecx, [ebp - 0x120]
push eax
call fcn.00411fd4
test al, al
je 0x409405
lea ecx, [ebp - 0x298]
call fcn.0040a33a
mov eax, dword [esi + 0x54]
mov byte [ebp - 4], 0xe
test eax, eax
jne 0x409365
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 0x40938f
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.00404c3a
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 0x4093f6
lea ecx, [ebp - 0x298]
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 0xd
call fcn.004019c3
jmp 0x40a198
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 0x41f140
push 0x407df7
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.0040a740
cmp eax, ebx
mov dword [edi + 0xc], eax
jge 0x40945b
push ebx
push eax
call fcn.00411993
cmp byte [esi + 0xa3], 1
jne 0x409586
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00406e40
mov eax, dword [eax]
cmp eax, ebx
je 0x40947d
mov eax, dword [eax]
jmp 0x40947f
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 0x409499
call fcn.00403636
test bl, bl
je 0x409586
cmp dword [ebp - 0x38], 0
je 0x4094b9
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.00406754
add esp, 0xc
push eax
lea eax, [ebp - 0x124]
push eax
mov byte [ebp - 4], 0xf
call fcn.00405fb2
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 0x4094f7
mov edi, eax
push dword [0x41d244]
lea eax, [ebp - 0xf4]
push dword [0x41d1cc]
push eax
call fcn.00406754
add esp, 0xc
push eax
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 0x11
call fcn.00405fb2
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x409531
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 0x40a198
mov eax, dword [edi]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x18], ebx
call dword [eax + 0x14]
cmp eax, ebx
je 0x4095f3
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
call fcn.00406f03
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.004039ee
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00406e40
mov eax, dword [eax]
cmp eax, ebx
je 0x4095d7
mov eax, dword [eax]
jmp 0x4095d9
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 0x4095f3
call fcn.00403636
push ebx
mov ecx, edi
call fcn.00406d66
mov ecx, esi
call fcn.00408b2d
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.00406097
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.00405c29
mov ecx, edi
call fcn.00406eb2
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0xa
push 0x80020004
call fcn.00404e81
lea eax, [ebp - 0x104]
mov ecx, edi
push eax
mov byte [ebp - 4], 0x14
call fcn.00406c70
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 0x16
push ecx
mov ecx, eax
call fcn.004073f0
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x18
call fcn.004039ee
mov eax, dword [ebp - 0x144]
lea ecx, [ebp - 0x144]
call dword [eax + 0x14]
cmp eax, ebx
je 0x4097a1
sub esp, 0x10
mov byte [ebp - 4], 0x19
mov ecx, esp
mov dword [ebp - 0x20], esp
push 3
push 1
call fcn.00404e81
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.004039ee
push 0xffffefd7
lea ecx, [ebp - 0x6c]
call fcn.00407c5c
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x19
call fcn.004039ee
jmp 0x409716
cmp byte [esi + 0x14c], 0
mov dword [ebp - 4], 0x18
je 0x40973a
mov ecx, esi
call fcn.00408c67
push 0
lea ecx, [esi + 0x110]
call fcn.00406d66
sub esp, 0x10
mov ebx, esp
mov dword [ebp - 0x20], esp
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edi, 0x41f130
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x409760
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.0040a788
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0
call fcn.0040a7dc
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.00406e79
mov eax, dword [eax]
mov byte [ebp - 4], 0x21
test eax, eax
je 0x4097c0
mov edi, dword [eax]
jmp 0x4097c2
xor edi, edi
push dword [0x41d268]
lea eax, [ebp - 0xa8]
push dword [0x41d1cc]
push eax
call fcn.00406754
add esp, 0xc
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0x22
call fcn.00405fb2
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x4097f9
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 0x409836
call fcn.00403636
push dword [esi + 0x130]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a1c7
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 0x409866
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 0x4098df
push dword [0x41d22c]
lea eax, [ebp - 0x5c]
push dword [0x41d1cc]
push eax
call fcn.00406754
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 0x41a0d8
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.00406754
add esp, 0xc
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0x29
call fcn.00405fb2
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.00405c29
mov ecx, ebx
call fcn.00406eb2
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 0x4099ad
mov ecx, dword [esi + 0x14]
test ecx, ecx
jne 0x40998d
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.00408d85
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.0040891c
test al, al
je 0x409a01
mov eax, dword [ebp - 0x2c]
mov ebx, 0x4155b4
test eax, eax
jne 0x4099cf
mov eax, ebx
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.00408d85
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.004045f4
jmp 0x409a06
mov ebx, 0x4155b4
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push 0x415
call fcn.0040891c
test al, al
je 0x409a53
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x409a23
mov eax, ebx
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.00408d85
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.004045f4
mov eax, dword [esi + 0x38]
test eax, eax
je 0x409a87
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x409a67
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.00408d85
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 0x409abb
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x409a9b
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.00408d85
add esp, 0xc
push dword [esi + 0x48]
push eax
push 0x48e
push dword [esi + 0x130]
call edi
cmp dword [ebp - 0x84], 0
je 0x409b09
mov eax, dword [ebp - 0x88]
test eax, eax
jne 0x409ad0
mov eax, ebx
push dword [ebp - 0x84]
push eax
push dword [ebp - 0x1c]
call fcn.00408d85
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.004045f4
cmp dword [ebp - 0x74], 0
je 0x409b48
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x409b18
mov eax, ebx
push dword [ebp - 0x74]
push eax
push dword [ebp - 0x1c]
call fcn.00408d85
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.004045f4
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x409b85
mov ecx, dword [esi + 0xdc]
test ecx, ecx
jne 0x409b62
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.00408d85
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 0x409bc2
mov ecx, dword [esi + 0xec]
test ecx, ecx
jne 0x409b9f
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.00408d85
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 0x409c33
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x4b0
push eax
call fcn.0040891c
test al, al
je 0x409c26
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x409bf5
mov eax, 0x4155b4
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.00408d85
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.004045f4
inc dword [ebp - 0x18]
jmp 0x409bcb
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.004045f4
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push 0x453
call fcn.0040891c
test al, al
je 0x409c93
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x409c64
mov eax, 0x4155b4
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.00408d85
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.004045f4
cmp dword [ebp - 0x44], ebx
je 0x409cd3
mov eax, dword [ebp - 0x48]
cmp eax, ebx
jne 0x409ca4
mov eax, 0x4155b4
push dword [ebp - 0x44]
push eax
push dword [ebp - 0x1c]
call fcn.00408d85
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.004045f4
lea ebx, [esi + 0x110]
push 1
mov ecx, ebx
call fcn.00406d8d
cmp byte [esi + 0xa2], 0
jne 0x409cf4
push 1
mov ecx, ebx
call fcn.00406d66
lea ecx, [ebp - 0x164]
call fcn.00405cc2
mov dword [ebp - 0x164], 0x4156b8
cmp byte [esi + 0xa3], 0
mov byte [ebp - 4], 0x2d
je 0x409f45
cmp dword [esi + 0x158], 0xc
jge 0x409dbb
mov eax, dword [esi + 0x150]
cmp eax, 0x34
je 0x409d3b
cmp eax, 0x32
jne 0x409dbb
push dword [0x41d25c]
lea eax, [ebp - 0xa8]
push dword [0x41d1cc]
push eax
call fcn.00406754
add esp, 0xc
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0x2e
call fcn.00405fb2
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x409d72
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 0x41a220
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, 0x41f130
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x409de4
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.0040a788
sub esp, 0x10
mov byte [ebp - 4], 0x30
mov ecx, esp
mov dword [ebp - 0x18], esp
push ebx
call fcn.0040a788
sub esp, 0x10
mov byte [ebp - 4], 0x31
mov ecx, esp
mov dword [ebp - 0xd0], esp
push ebx
call fcn.0040a788
sub esp, 0x10
mov byte [ebp - 4], 0x32
mov ecx, esp
mov dword [ebp - 0xbc], esp
push ebx
call fcn.0040a788
sub esp, 0x10
mov byte [ebp - 4], 0x33
mov ecx, esp
mov dword [ebp - 0xe4], esp
push ebx
call fcn.0040a788
sub esp, 0x10
mov byte [ebp - 4], 0x34
mov ecx, esp
mov dword [ebp - 0xdc], esp
push ebx
call fcn.0040a788
sub esp, 0x10
mov byte [ebp - 4], 0x35
mov ecx, esp
mov dword [ebp - 0xc8], esp
push ebx
call fcn.0040a788
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.0040a7ad
sub esp, 0x10
mov byte [ebp - 4], 0x37
mov ecx, esp
mov dword [ebp - 0xc4], esp
push ebx
call fcn.0040a788
sub esp, 0x10
mov byte [ebp - 4], 0x38
mov ecx, esp
mov dword [ebp - 0xd8], esp
push ebx
call fcn.0040a788
sub esp, 0x10
mov byte [ebp - 4], 0x39
mov ecx, esp
mov dword [ebp - 0xcc], esp
push 3
push 3
call fcn.00404e81
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.00405c29
lea eax, [ebp - 0xb8]
lea ecx, [esi + 0x110]
push eax
mov byte [ebp - 4], 0x3b
call fcn.00406c70
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x3d
push ecx
mov ecx, eax
call fcn.00407576
push eax
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x3e
call fcn.00404fe6
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x3d
call fcn.004039ee
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0xb8]
call fcn.004039ee
jmp 0x40a0d1
sub esp, 0x10
mov dword [ebp - 0x90], esp
mov dword [ebp - 0x18], esp
push esp
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ebx, 0x41f130
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x409f71
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.0040a788
sub esp, 0x10
mov byte [ebp - 4], 0x40
mov ecx, esp
mov dword [ebp - 0xd8], esp
push ebx
call fcn.0040a788
sub esp, 0x10
mov byte [ebp - 4], 0x41
mov ecx, esp
mov dword [ebp - 0xc4], esp
push ebx
call fcn.0040a788
sub esp, 0x10
mov byte [ebp - 4], 0x42
mov ecx, esp
mov dword [ebp - 0xe0], esp
push ebx
call fcn.0040a788
sub esp, 0x10
mov byte [ebp - 4], 0x43
mov ecx, esp
mov dword [ebp - 0xc8], esp
push ebx
call fcn.0040a788
sub esp, 0x10
mov byte [ebp - 4], 0x44
mov ecx, esp
mov dword [ebp - 0xdc], esp
push ebx
call fcn.0040a788
sub esp, 0x10
mov byte [ebp - 4], 0x45
mov ecx, esp
mov dword [ebp - 0xe4], esp
push ebx
call fcn.0040a788
sub esp, 0x10
mov byte [ebp - 4], 0x46
mov ecx, esp
mov dword [ebp - 0xbc], esp
push ebx
call fcn.0040a788
sub esp, 0x10
mov byte [ebp - 4], 0x47
mov ecx, esp
mov dword [ebp - 0xd0], esp
push ebx
call fcn.0040a788
sub esp, 0x10
mov byte [ebp - 4], 0x48
mov ecx, esp
mov dword [ebp - 0x3c], esp
push ebx
call fcn.0040a788
sub esp, 0x10
mov byte [ebp - 4], 0x49
mov ecx, esp
mov dword [ebp - 0x20], esp
push 3
push 3
call fcn.00404e81
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.00405c29
lea eax, [ebp - 0xb8]
lea ecx, [esi + 0x110]
push eax
mov byte [ebp - 4], 0x4b
call fcn.00406c70
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x4d
push ecx
mov ecx, eax
call fcn.00407576
push eax
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x4e
call fcn.00404fe6
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x4d
call fcn.004039ee
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0xb8]
jmp 0x409f3b
cmp byte [ebp - 0x11], 0
mov dword [ebp - 4], 0x2c
je 0x40a0f6
and dword [ebp - 0xc0], 0
lea eax, [ebp - 0xc0]
push 0x41a220
push eax
call sub.MSVCRT.dll__CxxThrowException
xor ebx, ebx
cmp dword [ebp - 0x38], ebx
je 0x40a10d
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 0x40a14a
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x90], esp
push 3
push 1
call fcn.00404e81
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.004039ee
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.004039ee
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 0x40a2cd
push dword [0x41d230]
lea eax, [ebp - 0x5c]
push dword [0x41d1cc]
push eax
call fcn.00406754
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 0x41a0d8
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 0x41a0d8
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 0x41a210
push eax
mov dword [ebp - 0x19c], 0x415558
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 0x11], 1
call fcn.004070b0
mov eax, 0x40a2ca
ret
mov al, byte [ebp - 0x11]
mov ecx, esi
mov dword [ebp - 4], 0x53
mov byte [esi + 0x154], al
call fcn.00408271
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 0x40a323
test eax, eax
jle 0x40a323
mov ecx, 0x1388
cmp eax, ecx
jae 0x40a323
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