Function at 0x4085a3
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
mov eax, 0x431298
call fcn.0041aad0
sub esp, 0x244
mov al, byte [ebp - 0x11]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
lea ecx, [ebp - 0x84]
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x84], al
call fcn.00404c5b
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
push 0x44c
mov byte [ebp - 4], 1
call fcn.00407d27
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
call fcn.00409632
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0xa4], al
call fcn.00404c5b
lea eax, [ebp - 0xa4]
mov ecx, esi
push eax
push 0x438
mov byte [ebp - 4], 2
call fcn.00407d27
lea eax, [ebp - 0xa4]
mov ecx, esi
push eax
call fcn.004081f6
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x48], al
call fcn.00404c5b
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
push 0x451
mov byte [ebp - 4], 3
call fcn.00407d00
mov eax, dword [0x4366e7]
cmp eax, dword [esi + 0xd8]
je 0x4086e3
push dword [0x447260]
lea eax, [ebp - 0x58]
push dword [0x4471fc]
push eax
call fcn.0040cbf4
add esp, 0xc
push eax
lea ecx, [ebp - 0x114]
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, 0x436644
mov dword [ebp - 0x114], esi
push 1
lea ecx, [ebp - 0x58]
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 - 0x114]
lea ecx, [ebp - 0x198]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x198]
push 0x43d200
push eax
mov dword [ebp - 0x198], esi
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp - 0x40], 2
jbe 0x40889f
mov eax, dword [ebp - 0x44]
mov edi, 0x436674
cmp eax, ebx
jne 0x4086fb
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 0x40872f
mov eax, dword [ebp - 0x44]
cmp eax, ebx
jne 0x408718
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 0x4087ac
cmp dword [ebp - 0x44], ebx
je 0x408737
mov edi, dword [ebp - 0x44]
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x58], 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 - 0x58]
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 - 0x58]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.0040c092
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], 8
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 - 0xd8]
mov byte [ebp - 4], 7
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 - 0x58]
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 - 0x70]
call fcn.0040e1c1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.0040e1d5
cmp dword [esi + 0x88], ebx
je 0x408899
cmp byte [esi + 0xa1], 0
jne 0x4087ec
lea eax, [esi + 0x130]
lea ecx, [ebp - 0x70]
push eax
call fcn.0040e1f5
test al, al
je 0x408899
lea ecx, [ebp - 0x234]
call fcn.004095cd
mov eax, dword [esi + 0x54]
mov byte [ebp - 4], 0xa
cmp eax, ebx
jne 0x408807
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 - 0x1cc]
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 0x408831
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 - 0x1bc]
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 - 0x234]
push eax
lea eax, [ebp - 0x22c]
push eax
push 0x449ef0
call fcn.00404af3
mov eax, dword [0x449ef8]
push 0
push 0x404f10
push edi
push 0x71
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push 1
mov byte [ebp - 4], 9
pop edi
lea ecx, [ebp - 0x234]
cmp eax, edi
je 0x408894
call fcn.00402e8d
jmp 0x409466
call fcn.00402e8d
mov byte [ebp - 4], 3
xor ebx, ebx
call dword [sym.imp.MSVCRT.dll_clock]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x34]
push eax
push ebx
push 0x449fc8
push 0x4072e6
push ebx
push ebx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea edi, [esi + 0xf0]
push 4
push ebx
push str.Excel.Application
lea ecx, [edi + 8]
mov dword [ebp - 0x8c], eax
call fcn.00409d53
cmp eax, ebx
mov dword [edi + 0xc], eax
jge 0x4088ef
push ebx
push eax
call fcn.0041a998
cmp byte [esi + 0xa3], 1
jne 0x408a10
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0040b19e
mov eax, dword [eax]
cmp eax, ebx
je 0x408911
mov eax, dword [eax]
jmp 0x408913
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 0x40892d
call fcn.00404b3e
test bl, bl
je 0x408a10
cmp dword [ebp - 0x34], 0
je 0x40894d
push 0
push 0
push 0x502
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push dword [0x447210]
lea eax, [ebp - 0x108]
push dword [0x4471fc]
push eax
call fcn.0040cbf4
add esp, 0xc
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040c092
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], 0xc
je 0x40898b
mov edi, eax
push dword [0x447274]
lea eax, [ebp - 0x58]
push dword [0x4471fc]
push eax
call fcn.0040cbf4
add esp, 0xc
push eax
lea eax, [ebp - 0xd8]
push eax
mov byte [ebp - 4], 0xd
call fcn.0040c092
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x4089c2
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 - 0xd8]
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 - 0x58]
mov byte [ebp - 4], 0xc
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 - 0x74]
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 edi
lea ecx, [ebp - 0x108]
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 0x409466
mov eax, dword [edi]
and dword [ebp - 0x18], 0
mov ecx, edi
call dword [eax + 0x14]
test eax, eax
je 0x408a51
lea eax, [ebp - 0x128]
mov ecx, edi
push eax
call fcn.0040b261
push 2
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.0040b5ef
and eax, 0xff
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
call fcn.00405024
mov ecx, esi
call fcn.00407f38
mov al, byte [ebp - 0x11]
push 0
lea ecx, [ebp - 0xf8]
mov byte [ebp - 0xf8], 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 - 0xf8]
mov byte [ebp - 4], 0xf
push eax
push 0xf
call fcn.0040c177
pop ecx
pop ecx
lea ecx, [ebp - 0xf8]
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.004070d7
mov ecx, edi
call fcn.0040b210
cmp byte [esi + 0x13c], 0
je 0x408b5d
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0xa
push 0x80020004
call fcn.0040639e
lea eax, [ebp - 0x54]
mov ecx, edi
push eax
mov byte [ebp - 4], 0x10
call fcn.0040b064
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x12
push ecx
mov ecx, eax
call fcn.0040a89f
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x14
call fcn.004071bc
mov ecx, esi
call fcn.00408072
sub esp, 0x10
mov ebx, esp
mov dword [ebp - 0x20], esp
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edi, 0x449fb8
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x408b1a
push eax
call fcn.0041a342
sub esp, 0x10
mov byte [ebp - 4], 0x15
mov ecx, esp
mov dword [ebp - 0x38], esp
push edi
call fcn.00409d88
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0
call fcn.00409ddc
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x14
call fcn.0040b3ea
push 0
lea ecx, [ebp - 0x70]
call fcn.0040a185
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xf
call fcn.0040a144
lea eax, [ebp - 0x20]
lea ebx, [esi + 0xf0]
push eax
mov ecx, ebx
call fcn.0040b1d7
mov eax, dword [eax]
mov byte [ebp - 4], 0x16
test eax, eax
je 0x408b7c
mov edi, dword [eax]
jmp 0x408b7e
xor edi, edi
push dword [0x4472cc]
lea eax, [ebp - 0xd8]
push dword [0x4471fc]
push eax
call fcn.0040cbf4
add esp, 0xc
push eax
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 4], 0x17
call fcn.0040c092
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x408bb8
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 - 0x108]
mov dword [esi + 0x120], 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 - 0xd8]
pop edi
mov byte [ebp - 4], 0x16
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], 0xf
test ecx, ecx
je 0x408bf8
call fcn.00404b3e
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409498
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x408c28
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.0040dca1
test eax, eax
jne 0x408ca7
push dword [0x44725c]
lea eax, [ebp - 0x108]
push dword [0x4471fc]
push eax
call fcn.0040cbf4
add esp, 0xc
push eax
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0x18
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, 0x436644
mov dword [ebp - 0xe4], esi
push edi
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0x1a
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 - 0xe4]
lea ecx, [ebp - 0x144]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x144]
push 0x43d200
push eax
mov dword [ebp - 0x144], esi
call sub.MSVCRT.dll__CxxThrowException
push dword [0x447264]
lea eax, [ebp - 0xd8]
push dword [0x4471fc]
push eax
call fcn.0040cbf4
add esp, 0xc
push eax
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 4], 0x1e
call fcn.0040c092
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 0x1f
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.004070d7
mov ecx, ebx
call fcn.0040b210
push edi
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0x1e
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 - 0xd8]
mov byte [ebp - 4], 0xf
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 + 0x120]
call edi
mov al, byte [ebp - 0x11]
push 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], al
call fcn.00404c5b
mov eax, dword [esi + 0x18]
mov byte [ebp - 4], 0x20
test eax, eax
je 0x408d7b
mov ecx, dword [esi + 0x14]
test ecx, ecx
jne 0x408d5b
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.00408190
add esp, 0xc
push dword [esi + 0x18]
push eax
push 0x488
push dword [esi + 0x120]
call edi
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push 0x413
call fcn.00407d27
test al, al
je 0x408dcf
mov eax, dword [ebp - 0x2c]
mov ebx, 0x436674
test eax, eax
jne 0x408d9d
mov eax, ebx
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.00408190
add esp, 0xc
push dword [ebp - 0x28]
push eax
push 0x484
push dword [esi + 0x120]
call edi
push dword [0x436670]
lea ecx, [ebp - 0x30]
push 0
call fcn.00405c3d
jmp 0x408dd4
mov ebx, 0x436674
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push 0x415
call fcn.00407d27
test al, al
je 0x408e21
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x408df1
mov eax, ebx
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.00408190
add esp, 0xc
push dword [ebp - 0x28]
push eax
push 0x486
push dword [esi + 0x120]
call edi
push dword [0x436670]
lea ecx, [ebp - 0x30]
push 0
call fcn.00405c3d
mov eax, dword [esi + 0x38]
test eax, eax
je 0x408e55
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x408e35
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.00408190
add esp, 0xc
push dword [esi + 0x38]
push eax
push 0x48d
push dword [esi + 0x120]
call edi
mov eax, dword [esi + 0x48]
test eax, eax
je 0x408e89
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x408e69
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.00408190
add esp, 0xc
push dword [esi + 0x48]
push eax
push 0x48e
push dword [esi + 0x120]
call edi
cmp dword [ebp - 0x7c], 0
je 0x408ecb
mov eax, dword [ebp - 0x80]
test eax, eax
jne 0x408e98
mov eax, ebx
push dword [ebp - 0x7c]
push eax
push dword [ebp - 0x1c]
call fcn.00408190
add esp, 0xc
push dword [ebp - 0x7c]
push eax
push 0x483
push dword [esi + 0x120]
call edi
push dword [0x436670]
lea ecx, [ebp - 0x84]
push 0
call fcn.00405c3d
cmp dword [ebp - 0x9c], 0
je 0x408f19
mov eax, dword [ebp - 0xa0]
test eax, eax
jne 0x408ee0
mov eax, ebx
push dword [ebp - 0x9c]
push eax
push dword [ebp - 0x1c]
call fcn.00408190
add esp, 0xc
push dword [ebp - 0x9c]
push eax
push 0x482
push dword [esi + 0x120]
call edi
push dword [0x436670]
lea ecx, [ebp - 0xa4]
push 0
call fcn.00405c3d
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x408f56
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jne 0x408f33
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.00408190
add esp, 0xc
push dword [esi + 0xc0]
push eax
push 0x489
push dword [esi + 0x120]
call edi
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x408f93
mov ecx, dword [esi + 0xcc]
test ecx, ecx
jne 0x408f70
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.00408190
add esp, 0xc
push dword [esi + 0xd0]
push eax
push 0x48a
push dword [esi + 0x120]
call edi
and dword [ebp - 0x18], 0
mov ebx, 0x485
cmp dword [ebp - 0x18], 0x64
jge 0x409004
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x4b0
push eax
call fcn.00407d27
test al, al
je 0x408ff7
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x408fc6
mov eax, 0x436674
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.00408190
add esp, 0xc
push dword [ebp - 0x28]
push eax
push ebx
push dword [esi + 0x120]
call edi
push dword [0x436670]
lea ecx, [ebp - 0x30]
push 0
call fcn.00405c3d
inc dword [ebp - 0x18]
jmp 0x408f9c
push 0
push 0
push ebx
push dword [esi + 0x120]
call edi
push dword [0x436670]
xor ebx, ebx
lea ecx, [ebp - 0x30]
push ebx
call fcn.00405c3d
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push 0x453
call fcn.00407d27
test al, al
je 0x409064
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x409035
mov eax, 0x436674
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.00408190
add esp, 0xc
push dword [ebp - 0x28]
push eax
push 0x48c
push dword [esi + 0x120]
call edi
push dword [0x436670]
lea ecx, [ebp - 0x30]
push ebx
call fcn.00405c3d
cmp dword [ebp - 0x40], ebx
je 0x4090a4
mov eax, dword [ebp - 0x44]
cmp eax, ebx
jne 0x409075
mov eax, 0x436674
push dword [ebp - 0x40]
push eax
push dword [ebp - 0x1c]
call fcn.00408190
add esp, 0xc
push dword [ebp - 0x40]
push eax
push 0x48b
push dword [esi + 0x120]
call edi
push dword [0x436670]
lea ecx, [ebp - 0x30]
push ebx
call fcn.00405c3d
lea ebx, [esi + 0xf0]
push 1
mov ecx, ebx
call fcn.0040b0ed
cmp byte [esi + 0xa2], 0
jne 0x4090c5
push 1
mov ecx, ebx
call fcn.0040b0c6
and dword [ebp - 0x60], 0
and dword [ebp - 0x5c], 0
mov dword [ebp - 0x64], 0x436724
cmp byte [esi + 0xa3], 0
mov byte [ebp - 4], 0x21
je 0x40926c
sub esp, 0x10
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x18], esp
push esp
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ebx, 0x449fb8
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x40910e
push eax
call fcn.0041a342
sub esp, 0x10
mov byte [ebp - 4], 0x22
mov ecx, esp
mov dword [ebp - 0x20], esp
push ebx
call fcn.00409d88
sub esp, 0x10
mov byte [ebp - 4], 0x23
mov ecx, esp
mov dword [ebp - 0x18], esp
push ebx
call fcn.00409d88
sub esp, 0x10
mov byte [ebp - 4], 0x24
mov ecx, esp
mov dword [ebp - 0xb4], esp
push ebx
call fcn.00409d88
sub esp, 0x10
mov byte [ebp - 4], 0x25
mov ecx, esp
mov dword [ebp - 0xc4], esp
push ebx
call fcn.00409d88
sub esp, 0x10
mov byte [ebp - 4], 0x26
mov ecx, esp
mov dword [ebp - 0xbc], esp
push ebx
call fcn.00409d88
sub esp, 0x10
mov byte [ebp - 4], 0x27
mov ecx, esp
mov dword [ebp - 0xac], esp
push ebx
call fcn.00409d88
sub esp, 0x10
mov byte [ebp - 4], 0x28
mov ecx, esp
mov dword [ebp - 0xb0], esp
push ebx
call fcn.00409d88
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 0x29
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 - 0xb8], esp
push eax
call fcn.00409dad
sub esp, 0x10
mov byte [ebp - 4], 0x2a
mov ecx, esp
mov dword [ebp - 0xc0], esp
push ebx
call fcn.00409d88
sub esp, 0x10
mov byte [ebp - 4], 0x2b
mov ecx, esp
mov dword [ebp - 0xc8], esp
push ebx
call fcn.00409d88
sub esp, 0x10
mov byte [ebp - 4], 0x2c
mov ecx, esp
mov dword [ebp - 0xa8], esp
push 3
push 3
call fcn.0040639e
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 0x2d
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 - 0x94], esp
push eax
call fcn.004070d7
lea eax, [ebp - 0x70]
lea ecx, [esi + 0xf0]
push eax
mov byte [ebp - 4], 0x2e
call fcn.0040b064
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x30
push ecx
mov ecx, eax
call fcn.0040aa3f
mov ebx, eax
push dword [ebx + 4]
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x31
push eax
call fcn.00405084
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 0x30
call fcn.0040a144
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x70]
jmp 0x4093e2
sub esp, 0x10
mov dword [ebp - 0x94], esp
mov dword [ebp - 0x18], esp
push esp
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ebx, 0x449fb8
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x409298
push eax
call fcn.0041a342
sub esp, 0x10
mov byte [ebp - 4], 0x32
mov ecx, esp
mov dword [ebp - 0xa8], esp
push ebx
call fcn.00409d88
sub esp, 0x10
mov byte [ebp - 4], 0x33
mov ecx, esp
mov dword [ebp - 0xc8], esp
push ebx
call fcn.00409d88
sub esp, 0x10
mov byte [ebp - 4], 0x34
mov ecx, esp
mov dword [ebp - 0xc0], esp
push ebx
call fcn.00409d88
sub esp, 0x10
mov byte [ebp - 4], 0x35
mov ecx, esp
mov dword [ebp - 0xb8], esp
push ebx
call fcn.00409d88
sub esp, 0x10
mov byte [ebp - 4], 0x36
mov ecx, esp
mov dword [ebp - 0xb0], esp
push ebx
call fcn.00409d88
sub esp, 0x10
mov byte [ebp - 4], 0x37
mov ecx, esp
mov dword [ebp - 0xac], esp
push ebx
call fcn.00409d88
sub esp, 0x10
mov byte [ebp - 4], 0x38
mov ecx, esp
mov dword [ebp - 0xbc], esp
push ebx
call fcn.00409d88
sub esp, 0x10
mov byte [ebp - 4], 0x39
mov ecx, esp
mov dword [ebp - 0xc4], esp
push ebx
call fcn.00409d88
sub esp, 0x10
mov byte [ebp - 4], 0x3a
mov ecx, esp
mov dword [ebp - 0xb4], esp
push ebx
call fcn.00409d88
sub esp, 0x10
mov byte [ebp - 4], 0x3b
mov ecx, esp
mov dword [ebp - 0x38], esp
push ebx
call fcn.00409d88
sub esp, 0x10
mov byte [ebp - 4], 0x3c
mov ecx, esp
mov dword [ebp - 0x20], esp
push 3
push 3
call fcn.0040639e
mov byte [ebp - 4], 0x3d
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.004070d7
lea eax, [ebp - 0x70]
lea ecx, [esi + 0xf0]
push eax
mov byte [ebp - 4], 0x3e
call fcn.0040b064
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x40
push ecx
mov ecx, eax
call fcn.0040aa3f
mov ebx, eax
push dword [ebx + 4]
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x41
push eax
call fcn.00405084
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 0x40
call fcn.0040a144
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x70]
call fcn.004071bc
xor ebx, ebx
cmp dword [ebp - 0x34], ebx
je 0x4093fe
push ebx
push ebx
push 0x501
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
cmp dword [ebp - 0x60], ebx
je 0x40942a
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x94], esp
push 3
push 1
call fcn.0040639e
lea ecx, [ebp - 0x64]
call fcn.0040b556
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push ebx
push 0x48f
push dword [esi + 0x120]
call edi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x20
call fcn.0040a144
push 1
lea ecx, [ebp - 0x30]
pop edi
mov byte [ebp - 4], 0xf
push edi
call fcn.00404c5b
push edi
lea ecx, [ebp - 0xf8]
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.00404c5b
push edi
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
call fcn.00404c5b
and byte [ebp - 4], 0
push edi
lea ecx, [ebp - 0x84]
call fcn.00404c5b
jmp 0x409559
push dword [0x447260]
lea eax, [ebp - 0x108]
push dword [0x4471fc]
push eax
call fcn.0040cbf4
add esp, 0xc
push eax
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0x1b
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, 0x436644
mov dword [ebp - 0xe4], esi
push edi
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0x1d
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 - 0xe4]
lea ecx, [ebp - 0x160]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x160]
push 0x43d200
push eax
mov dword [ebp - 0x160], esi
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x250]
lea ecx, [ebp - 0x17c]
push eax
mov byte [ebp - 4], 0x43
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x17c]
push 0x43d200
push eax
mov dword [ebp - 0x17c], 0x436644
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x1a8]
call fcn.0040a051
mov eax, 0x409553
ret
mov eax, dword [esi + 0xf0]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xf0]
push 0
call dword [eax + 0xc]
call dword [sym.imp.ole32.dll_CoUninitialize]
and dword [ebp - 0x88], 0
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
call dword [sym.imp.MSVCRT.dll_clock]
sub eax, dword [ebp - 0x90]
cmp dword [ebp - 0x88], 0x103
jne 0x4095bc
test eax, eax
jle 0x4095bc
mov ecx, 0x1388
cmp eax, ecx
jae 0x4095bc
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