Function at 0x407f61
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
mov eax, 0x4139dc
call fcn.004123c0
sub esp, 0x2a4
mov al, byte [ebp - 0x15]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x8c], al
call fcn.00403580
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
push 0x44c
mov byte [ebp - 4], 1
call fcn.0040789f
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
call fcn.0040928a
mov al, byte [ebp - 0x15]
push ebx
lea ecx, [ebp - 0x7c]
mov byte [ebp - 0x7c], al
call fcn.00403580
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
push 0x438
mov byte [ebp - 4], 2
call fcn.0040789f
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.00407d6e
mov al, byte [ebp - 0x15]
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x48], al
call fcn.00403580
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
push 0x451
mov byte [ebp - 4], 3
call fcn.00407878
mov eax, dword [0x4156eb]
cmp eax, dword [esi + 0xf8]
je 0x40808f
push dword [0x41d230]
lea eax, [ebp - 0xa8]
push dword [0x41d1cc]
push eax
call fcn.00410411
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 - 0xa8]
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 - 0x1bc]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x1bc]
push 0x419d90
push eax
mov dword [ebp - 0x1bc], esi
call sub.MSVCRT.dll__CxxThrowException
cmp dword [esi + 0xc0], ebx
je 0x408188
push esi
lea ecx, [ebp - 0x268]
call fcn.0040916a
mov byte [ebp - 4], 7
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x260]
push eax
push 0x41ecd8
call fcn.00404c1e
mov eax, dword [0x41ece0]
push ebx
push 0x4095bb
push edi
push 0x71
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push 1
pop edi
cmp eax, edi
jne 0x4081d7
lea eax, [esi + 0xb8]
push eax
lea eax, [ebp - 0x1ec]
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 0x408179
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x41d248]
lea eax, [ebp - 0xa8]
push dword [0x41d1cc]
push eax
call fcn.00410411
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 - 0xa8]
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 - 0x184]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x184]
push 0x419d90
push eax
mov dword [ebp - 0x184], esi
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 3
call fcn.004021e8
cmp dword [ebp - 0x40], 2
jbe 0x408373
mov eax, dword [ebp - 0x44]
mov edi, 0x4155b4
cmp eax, ebx
jne 0x4081a0
mov eax, edi
push ebx
push dword [ebp - 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_IsTextUnicode]
test eax, eax
setne al
test al, al
je 0x4081eb
mov eax, dword [ebp - 0x44]
cmp eax, ebx
jne 0x4081bd
mov eax, edi
mov ecx, dword [ebp - 0x40]
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 0x408277
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 3
call fcn.004021e8
jmp 0x408f88
cmp dword [ebp - 0x44], ebx
je 0x4081f3
mov edi, dword [ebp - 0x44]
mov al, byte [ebp - 0x15]
push ebx
lea ecx, [ebp - 0xa8]
mov byte [ebp - 0xa8], 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 - 0xa8]
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 - 0xa8]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.0040fc26
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 - 0xb8]
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 - 0xa8]
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 - 0x10c]
call fcn.004107a1
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0xd
call fcn.004107b5
cmp dword [esi + 0x88], ebx
je 0x40836d
cmp byte [esi + 0xa1], 0
jne 0x4082c0
lea eax, [esi + 0x140]
lea ecx, [ebp - 0x10c]
push eax
call fcn.004107d5
test al, al
je 0x40836d
lea ecx, [ebp - 0x264]
call fcn.00409105
mov eax, dword [esi + 0x54]
mov byte [ebp - 4], 0xe
test eax, eax
jne 0x4082db
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 - 0x14], eax
call ebx
pop ecx
push eax
lea ecx, [ebp - 0x1fc]
push dword [ebp - 0x14]
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 0x408305
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 - 0x1ec]
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 - 0x264]
push eax
lea eax, [ebp - 0x25c]
push eax
push 0x41ecd8
call fcn.00404c1e
mov eax, dword [0x41ece0]
push 0
push 0x4095bb
push edi
push 0x71
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push 1
mov byte [ebp - 4], 0xd
pop edi
lea ecx, [ebp - 0x264]
cmp eax, edi
je 0x408368
call fcn.004019a0
jmp 0x408f88
call fcn.004019a0
mov byte [ebp - 4], 3
xor ebx, ebx
call dword [sym.imp.MSVCRT.dll_clock]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x34]
push eax
push ebx
push 0x41f030
push 0x406d80
push ebx
push ebx
mov dword [ebp - 0x34], 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.0040950b
cmp eax, ebx
mov dword [edi + 0xc], eax
jge 0x4083c3
push ebx
push eax
call fcn.004121e2
cmp byte [esi + 0xa3], 1
jne 0x4084ea
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00406a8e
mov eax, dword [eax]
cmp eax, ebx
je 0x4083e5
mov eax, dword [eax]
jmp 0x4083e7
xor eax, eax
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
cmp eax, 9
mov ecx, dword [ebp - 0x14]
setle bl
test ecx, ecx
je 0x408401
call fcn.004035e6
test bl, bl
je 0x4084ea
cmp dword [ebp - 0x34], 0
je 0x408421
push 0
push 0
push 0x502
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push dword [0x41d1e0]
lea eax, [ebp - 0x5c]
push dword [0x41d1cc]
push eax
call fcn.00410411
add esp, 0xc
push eax
lea eax, [ebp - 0x110]
push eax
mov byte [ebp - 4], 0xf
call fcn.0040fc26
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 0x40845f
mov edi, eax
push dword [0x41d244]
lea eax, [ebp - 0xa8]
push dword [0x41d1cc]
push eax
call fcn.00410411
add esp, 0xc
push eax
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0x11
call fcn.0040fc26
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x408499
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 - 0xb8]
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 - 0xa8]
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 - 0x110]
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_]
jmp 0x408f88
mov eax, dword [edi]
and dword [ebp - 0x14], 0
mov ecx, edi
call dword [eax + 0x14]
test eax, eax
je 0x408525
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
call fcn.00406b51
push 2
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00409d16
and eax, 0xff
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
call fcn.0040399f
mov ecx, esi
call fcn.00407ab0
mov al, byte [ebp - 0x15]
push 0
lea ecx, [ebp - 0x100]
mov byte [ebp - 0x100], 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 - 0x100]
mov byte [ebp - 4], 0x13
push eax
push 0xf
call fcn.0040fd0b
pop ecx
pop ecx
lea ecx, [ebp - 0x100]
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.00405b7b
mov ecx, edi
call fcn.00406b00
cmp byte [esi + 0x14c], 0
je 0x408638
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0xa
push 0x80020004
call fcn.00404e41
lea eax, [ebp - 0xc8]
mov ecx, edi
push eax
mov byte [ebp - 4], 0x14
call fcn.004068ce
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x16
push ecx
mov ecx, eax
call fcn.004060c5
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x18
call fcn.0040399f
mov ecx, esi
call fcn.00407bea
sub esp, 0x10
mov ebx, esp
mov dword [ebp - 0x20], esp
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edi, 0x41f020
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x4085f4
push eax
call fcn.00411c3f
sub esp, 0x10
mov byte [ebp - 4], 0x19
mov ecx, esp
mov dword [ebp - 0x38], esp
push edi
call fcn.00409551
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0
call fcn.004095a5
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x18
call fcn.00409b11
mov eax, dword [ebp - 0x6c]
push 0
lea ecx, [ebp - 0x6c]
call dword [eax + 0xc]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x13
call fcn.0040399f
lea eax, [ebp - 0x20]
lea ebx, [esi + 0x110]
push eax
mov ecx, ebx
call fcn.00406ac7
mov eax, dword [eax]
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x408657
mov edi, dword [eax]
jmp 0x408659
xor edi, edi
push dword [0x41d264]
lea eax, [ebp - 0xb8]
push dword [0x41d1cc]
push eax
call fcn.00410411
add esp, 0xc
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0x1b
call fcn.0040fc26
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x408690
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 - 0xb8]
pop edi
mov byte [ebp - 4], 0x1a
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], 0x13
test ecx, ecx
je 0x4086cd
call fcn.004035e6
push dword [esi + 0x130]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408fb7
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 0x4086fd
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.00411415
test eax, eax
jne 0x408776
push dword [0x41d22c]
lea eax, [ebp - 0x5c]
push dword [0x41d1cc]
push eax
call fcn.00410411
add esp, 0xc
push eax
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x1c
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 - 0xc4], esi
push edi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x1e
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 - 0xc4]
lea ecx, [ebp - 0x1a0]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x1a0]
push 0x419d90
push eax
mov dword [ebp - 0x1a0], esi
call sub.MSVCRT.dll__CxxThrowException
push dword [0x41d234]
lea eax, [ebp - 0xb8]
push dword [0x41d1cc]
push eax
call fcn.00410411
add esp, 0xc
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0x22
call fcn.0040fc26
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 0x23
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 - 0x38], esp
push eax
call fcn.00405b7b
mov ecx, ebx
call fcn.00406b00
push edi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x22
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 - 0xb8]
mov byte [ebp - 4], 0x13
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 - 0x14]
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 - 0x15]
push 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], al
call fcn.00403580
mov eax, dword [esi + 0x18]
mov byte [ebp - 4], 0x24
test eax, eax
je 0x408844
mov ecx, dword [esi + 0x14]
test ecx, ecx
jne 0x408824
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.00407d08
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.0040789f
test al, al
je 0x408898
mov eax, dword [ebp - 0x2c]
mov ebx, 0x4155b4
test eax, eax
jne 0x408866
mov eax, ebx
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.00407d08
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.004045b4
jmp 0x40889d
mov ebx, 0x4155b4
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push 0x415
call fcn.0040789f
test al, al
je 0x4088ea
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4088ba
mov eax, ebx
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.00407d08
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.004045b4
mov eax, dword [esi + 0x38]
test eax, eax
je 0x40891e
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x4088fe
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.00407d08
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 0x408952
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x408932
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.00407d08
add esp, 0xc
push dword [esi + 0x48]
push eax
push 0x48e
push dword [esi + 0x130]
call edi
cmp dword [ebp - 0x84], 0
je 0x4089a0
mov eax, dword [ebp - 0x88]
test eax, eax
jne 0x408967
mov eax, ebx
push dword [ebp - 0x84]
push eax
push dword [ebp - 0x1c]
call fcn.00407d08
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.004045b4
cmp dword [ebp - 0x74], 0
je 0x4089df
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x4089af
mov eax, ebx
push dword [ebp - 0x74]
push eax
push dword [ebp - 0x1c]
call fcn.00407d08
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.004045b4
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x408a1c
mov ecx, dword [esi + 0xdc]
test ecx, ecx
jne 0x4089f9
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.00407d08
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 0x408a59
mov ecx, dword [esi + 0xec]
test ecx, ecx
jne 0x408a36
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.00407d08
add esp, 0xc
push dword [esi + 0xf0]
push eax
push 0x48a
push dword [esi + 0x130]
call edi
and dword [ebp - 0x14], 0
mov ebx, 0x485
cmp dword [ebp - 0x14], 0x64
jge 0x408aca
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x14]
add eax, 0x4b0
push eax
call fcn.0040789f
test al, al
je 0x408abd
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x408a8c
mov eax, 0x4155b4
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.00407d08
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.004045b4
inc dword [ebp - 0x14]
jmp 0x408a62
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.004045b4
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push 0x453
call fcn.0040789f
test al, al
je 0x408b2a
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x408afb
mov eax, 0x4155b4
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.00407d08
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.004045b4
cmp dword [ebp - 0x40], ebx
je 0x408b6a
mov eax, dword [ebp - 0x44]
cmp eax, ebx
jne 0x408b3b
mov eax, 0x4155b4
push dword [ebp - 0x40]
push eax
push dword [ebp - 0x1c]
call fcn.00407d08
add esp, 0xc
push dword [ebp - 0x40]
push eax
push 0x48b
push dword [esi + 0x130]
call edi
push dword [0x4155b0]
lea ecx, [ebp - 0x30]
push ebx
call fcn.004045b4
lea ebx, [esi + 0x110]
push 1
mov ecx, ebx
call fcn.004069db
cmp byte [esi + 0xa2], 0
jne 0x408b8b
push 1
mov ecx, ebx
call fcn.004069b4
lea ecx, [ebp - 0x130]
call fcn.00405c14
mov dword [ebp - 0x130], 0x415630
cmp byte [esi + 0xa3], 0
mov byte [ebp - 4], 0x26
je 0x408d3b
sub esp, 0x10
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x14], esp
push esp
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ebx, 0x41f020
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x408bda
push eax
call fcn.00411c3f
sub esp, 0x10
mov byte [ebp - 4], 0x27
mov ecx, esp
mov dword [ebp - 0x20], esp
push ebx
call fcn.00409551
sub esp, 0x10
mov byte [ebp - 4], 0x28
mov ecx, esp
mov dword [ebp - 0x14], esp
push ebx
call fcn.00409551
sub esp, 0x10
mov byte [ebp - 4], 0x29
mov ecx, esp
mov dword [ebp - 0xd0], esp
push ebx
call fcn.00409551
sub esp, 0x10
mov byte [ebp - 4], 0x2a
mov ecx, esp
mov dword [ebp - 0xd8], esp
push ebx
call fcn.00409551
sub esp, 0x10
mov byte [ebp - 4], 0x2b
mov ecx, esp
mov dword [ebp - 0xe4], esp
push ebx
call fcn.00409551
sub esp, 0x10
mov byte [ebp - 4], 0x2c
mov ecx, esp
mov dword [ebp - 0xe8], esp
push ebx
call fcn.00409551
sub esp, 0x10
mov byte [ebp - 4], 0x2d
mov ecx, esp
mov dword [ebp - 0xdc], esp
push ebx
call fcn.00409551
lea ecx, [esi + 0xc8]
mov byte [ebp - 4], 0x2e
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 - 0xec], esp
push eax
call fcn.00409576
sub esp, 0x10
mov byte [ebp - 4], 0x2f
mov ecx, esp
mov dword [ebp - 0xe0], esp
push ebx
call fcn.00409551
sub esp, 0x10
mov byte [ebp - 4], 0x30
mov ecx, esp
mov dword [ebp - 0xf0], esp
push ebx
call fcn.00409551
sub esp, 0x10
mov byte [ebp - 4], 0x31
mov ecx, esp
mov dword [ebp - 0xd4], esp
push 3
push 3
call fcn.00404e41
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 0x32
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.00405b7b
lea eax, [ebp - 0xc8]
lea ecx, [esi + 0x110]
push eax
mov byte [ebp - 4], 0x33
call fcn.004068ce
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x35
push ecx
mov ecx, eax
call fcn.0040624b
push eax
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x36
call fcn.00404fa6
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x35
call fcn.0040399f
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0xc8]
call fcn.0040399f
jmp 0x408ecd
sub esp, 0x10
mov dword [ebp - 0x90], esp
mov dword [ebp - 0x14], esp
push esp
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ebx, 0x41f020
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x408d67
push eax
call fcn.00411c3f
sub esp, 0x10
mov byte [ebp - 4], 0x37
mov ecx, esp
mov dword [ebp - 0xd4], esp
push ebx
call fcn.00409551
sub esp, 0x10
mov byte [ebp - 4], 0x38
mov ecx, esp
mov dword [ebp - 0xf0], esp
push ebx
call fcn.00409551
sub esp, 0x10
mov byte [ebp - 4], 0x39
mov ecx, esp
mov dword [ebp - 0xe0], esp
push ebx
call fcn.00409551
sub esp, 0x10
mov byte [ebp - 4], 0x3a
mov ecx, esp
mov dword [ebp - 0xec], esp
push ebx
call fcn.00409551
sub esp, 0x10
mov byte [ebp - 4], 0x3b
mov ecx, esp
mov dword [ebp - 0xdc], esp
push ebx
call fcn.00409551
sub esp, 0x10
mov byte [ebp - 4], 0x3c
mov ecx, esp
mov dword [ebp - 0xe8], esp
push ebx
call fcn.00409551
sub esp, 0x10
mov byte [ebp - 4], 0x3d
mov ecx, esp
mov dword [ebp - 0xe4], esp
push ebx
call fcn.00409551
sub esp, 0x10
mov byte [ebp - 4], 0x3e
mov ecx, esp
mov dword [ebp - 0xd8], esp
push ebx
call fcn.00409551
sub esp, 0x10
mov byte [ebp - 4], 0x3f
mov ecx, esp
mov dword [ebp - 0xd0], esp
push ebx
call fcn.00409551
sub esp, 0x10
mov byte [ebp - 4], 0x40
mov ecx, esp
mov dword [ebp - 0x38], esp
push ebx
call fcn.00409551
sub esp, 0x10
mov byte [ebp - 4], 0x41
mov ecx, esp
mov dword [ebp - 0x20], esp
push 3
push 3
call fcn.00404e41
mov byte [ebp - 4], 0x42
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 - 0x14], esp
push eax
call fcn.00405b7b
lea eax, [ebp - 0xc8]
lea ecx, [esi + 0x110]
push eax
mov byte [ebp - 4], 0x43
call fcn.004068ce
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x45
push ecx
mov ecx, eax
call fcn.0040624b
push eax
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x46
call fcn.00404fa6
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x45
call fcn.0040399f
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0xc8]
jmp 0x408d31
cmp byte [esi + 0x154], 0
mov dword [ebp - 4], 0x25
je 0x408ef5
and dword [ebp - 0xcc], 0
lea eax, [ebp - 0xcc]
push 0x419ed8
push eax
call sub.MSVCRT.dll__CxxThrowException
xor ebx, ebx
cmp dword [ebp - 0x34], ebx
je 0x408f0c
push ebx
push ebx
push 0x501
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x130]
call dword [eax + 0x14]
cmp eax, ebx
je 0x408f49
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x90], esp
push 3
push 1
call fcn.00404e41
lea ecx, [ebp - 0x130]
call fcn.00409c7d
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push ebx
push 0x48f
push dword [esi + 0x130]
call edi
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x24
call fcn.0040399f
push 1
lea ecx, [ebp - 0x30]
pop edi
mov byte [ebp - 4], 0x13
push edi
call fcn.00403580
push edi
lea ecx, [ebp - 0x100]
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 - 0x48]
mov byte [ebp - 4], 2
call fcn.00403580
push edi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.00403580
and byte [ebp - 4], 0
push edi
lea ecx, [ebp - 0x8c]
call fcn.00403580
jmp 0x4090a1
push dword [0x41d230]
lea eax, [ebp - 0x5c]
push dword [0x41d1cc]
push eax
call fcn.00410411
add esp, 0xc
push eax
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x1f
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 - 0xc4], esi
push edi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x21
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 - 0xc4]
lea ecx, [ebp - 0x14c]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x14c]
push 0x419d90
push eax
mov dword [ebp - 0x14c], esi
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x294]
lea ecx, [ebp - 0x1d8]
push eax
mov byte [ebp - 4], 0x49
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x1d8]
push 0x419d90
push eax
mov dword [ebp - 0x1d8], 0x415584
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x2b0]
lea ecx, [ebp - 0x168]
push eax
mov byte [ebp - 4], 0x4a
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x168]
push 0x419ec8
push eax
mov dword [ebp - 0x168], 0x415558
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x278]
call fcn.00406c98
mov eax, 0x40909e
ret
mov ecx, esi
mov dword [ebp - 4], 0x4b
call fcn.004071f4
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
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 - 0x14], 0x103
jne 0x4090ee
test eax, eax
jle 0x4090ee
mov ecx, 0x1388
cmp eax, ecx
jae 0x4090ee
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