Function at 0x40cd7a
Capabilities:
Check http status code
Contain obfuscated stackstrings
Create thread

Disassembly:
mov eax, 0x437135
call fcn.00420080
sub esp, 0x2fc
mov al, byte [ebp - 0x12]
and byte [ebp - 0x11], 0
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
and byte [esi + 0x16c], bl
push ebx
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x84], al
call fcn.00406670
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
push 0x44c
mov byte [ebp - 4], 1
call fcn.0040c507
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
call fcn.0040e5ab
mov al, byte [ebp - 0x12]
push ebx
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x94], al
call fcn.00406670
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
push 0x438
mov byte [ebp - 4], 2
call fcn.0040c507
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
call fcn.0040c9d6
mov al, byte [ebp - 0x12]
push ebx
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x54], al
call fcn.00406670
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
push 0x451
mov byte [ebp - 4], 3
call fcn.0040c4e0
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x44], ebx
cmp eax, ebx
mov dword [ebp - 0x40], ebx
jne 0x40ce59
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]
lea ecx, [ebp - 0x40]
push 2
push ecx
lea ecx, [ebp - 0x44]
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov eax, dword [0x43c943]
cmp eax, dword [esi + 0x10c]
je 0x40cee2
push dword [0x44e29c]
lea eax, [ebp - 0x10c]
push dword [0x44e234]
push eax
call fcn.00416084
add esp, 0xc
push eax
lea ecx, [ebp - 0x70]
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, 0x43c6b4
mov dword [ebp - 0x70], esi
push 1
lea ecx, [ebp - 0x10c]
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 - 0x70]
lea ecx, [ebp - 0x188]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x188]
push 0x444060
push eax
mov dword [ebp - 0x188], esi
call sub.MSVCRT.dll__CxxThrowException
cmp dword [esi + 0xc4], ebx
je 0x40d046
mov al, byte [ebp - 0x12]
push ebx
lea ecx, [ebp - 0xa8]
mov byte [ebp - 0xa8], 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_]
cmp dword [esi + 0xd4], ebx
mov byte [ebp - 4], 7
je 0x40cf2d
mov eax, 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 ecx, [ebp - 0xa8]
push dword [eax]
lea eax, [esi + 0xcc]
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_]
jmp 0x40cfa5
push esi
lea ecx, [ebp - 0x2c0]
call fcn.0040e380
mov byte [ebp - 4], 8
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x2b8]
push eax
push 0x451248
call fcn.00406508
mov eax, dword [0x451250]
push ebx
push 0x406925
push edi
push 0x71
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
jne 0x40d09e
mov eax, 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 ecx, [ebp - 0xa8]
push dword [eax]
lea eax, [ebp - 0x244]
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_]
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 7
call fcn.00404296
lea eax, [esi + 0xbc]
push eax
lea eax, [ebp - 0xa8]
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 0x40d034
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x44e2b4]
lea eax, [ebp - 0x10c]
push dword [0x44e234]
push eax
call fcn.00416084
add esp, 0xc
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
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, 0x43c6b4
mov dword [ebp - 0x70], esi
push 1
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0xb
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 - 0x70]
lea ecx, [ebp - 0x214]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x214]
push 0x444060
push eax
mov dword [ebp - 0x214], esi
call sub.MSVCRT.dll__CxxThrowException
push 1
lea ecx, [ebp - 0xa8]
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_]
cmp dword [ebp - 0x4c], 2
jbe 0x40d278
cmp dword [esi + 0x174], ebx
jne 0x40d278
mov eax, dword [ebp - 0x50]
mov edi, 0x43c6e4
cmp eax, ebx
jne 0x40d06a
mov eax, edi
push ebx
push dword [ebp - 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_IsTextUnicode]
test eax, eax
setne al
test al, al
je 0x40d0c4
cmp dword [ebp - 0x50], ebx
je 0x40d086
mov edi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
lea ecx, [esi + 0x80]
shr eax, 1
push eax
push 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 0x40d14e
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 7
call fcn.00404296
push 1
mov byte [ebp - 4], 3
pop edi
lea ecx, [ebp - 0xa8]
push edi
jmp 0x40e170
cmp dword [ebp - 0x50], ebx
je 0x40d0cc
mov edi, dword [ebp - 0x50]
mov al, byte [ebp - 0x12]
push ebx
lea ecx, [ebp - 0x10c]
mov byte [ebp - 0x10c], 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 - 0x10c]
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 - 0x10c]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00415255
pop ecx
pop ecx
mov edx, 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 ecx, [esi + 0x80]
mov byte [ebp - 4], 0xd
push dword [edx]
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 - 0xc0]
mov byte [ebp - 4], 0xc
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 - 0x10c]
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 - 0xa4]
call fcn.004178d7
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xe
call fcn.004178eb
cmp dword [esi + 0x88], ebx
je 0x40d272
cmp byte [esi + 0xa1], 0
jne 0x40d1a0
cmp byte [esi + 0xa2], 0
jne 0x40d1a0
lea eax, [esi + 0x158]
lea ecx, [ebp - 0xa4]
push eax
call fcn.0041790b
test al, al
je 0x40d272
lea ecx, [ebp - 0x2c0]
call fcn.0040e31b
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0xf
cmp eax, ebx
jne 0x40d1bd
mov eax, dword [ebp - 0x44]
cmp eax, ebx
je 0x40d1c3
mov dword [ebp - 0x238], eax
mov eax, dword [esi + 0x54]
cmp eax, ebx
mov ebx, 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]
je 0x40d1d2
mov ebx, eax
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push ebx
call edi
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x258]
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 eax, dword [esi + 0x84]
mov ebx, 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
je 0x40d1fc
mov ebx, eax
push ebx
call edi
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x248]
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 - 0x2c0]
push eax
lea eax, [ebp - 0x2b8]
push eax
push 0x451248
call fcn.00406508
mov eax, dword [0x451250]
push 0
push 0x406925
push edi
push 0x71
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push 1
pop edi
cmp eax, edi
je 0x40d263
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 0xe
call fcn.00402fe6
jmp 0x40e176
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xe
call fcn.00402fe6
mov byte [ebp - 4], 3
xor ebx, ebx
call dword [sym.imp.MSVCRT.dll_clock]
cmp dword [esi + 0x174], ebx
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x34], ebx
jne 0x40d2cd
mov ecx, 0x451698
call fcn.0040fe44
cmp eax, 3
jne 0x40d2b0
test byte [0x4516b0], 1
je 0x40d2b0
cmp byte [esi + 0xa5], 0
je 0x40d2cd
lea eax, [ebp - 0x34]
push eax
push ebx
push 0x451698
push 0x40b9ff
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xac], eax
lea edi, [esi + 0x128]
push 4
push ebx
push str.Excel.Application
mov ecx, edi
call fcn.00408e59
cmp eax, ebx
jge 0x40d350
push dword [0x44e298]
lea eax, [ebp - 0xc0]
push dword [0x44e234]
push eax
call fcn.00416084
add esp, 0xc
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x10
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, 0x43c6b4
mov dword [ebp - 0x70], esi
push 1
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x12
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 - 0x70]
lea ecx, [ebp - 0x1c0]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x1c0]
push 0x444060
push eax
mov dword [ebp - 0x1c0], esi
call sub.MSVCRT.dll__CxxThrowException
cmp byte [esi + 0xa4], 1
jne 0x40d479
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.004090f9
mov eax, dword [eax]
cmp eax, ebx
je 0x40d372
mov eax, dword [eax]
jmp 0x40d374
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 0x40d38e
call fcn.00406553
test bl, bl
je 0x40d479
xor ebx, ebx
cmp dword [ebp - 0x34], ebx
je 0x40d3ad
push ebx
push ebx
push 0x502
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push dword [0x44e248]
lea eax, [ebp - 0x64]
push dword [0x44e234]
push eax
call fcn.00416084
add esp, 0xc
push eax
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 0x13
call fcn.00415255
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]
cmp eax, ebx
mov byte [ebp - 4], 0x14
je 0x40d3eb
mov edi, eax
push dword [0x44e2b0]
lea eax, [ebp - 0x10c]
push dword [0x44e234]
push eax
call fcn.00416084
add esp, 0xc
push eax
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 0x15
call fcn.00415255
mov eax, dword [eax + 4]
pop ecx
cmp eax, ebx
pop ecx
jne 0x40d425
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 ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
lea ecx, [ebp - 0xc0]
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 - 0x10c]
mov byte [ebp - 4], 0x14
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 - 0xa8]
mov byte [ebp - 4], 0x13
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 - 0x64]
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 0x40e176
mov eax, dword [edi]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x18], ebx
call dword [eax + 0x14]
cmp eax, ebx
je 0x40d4e6
lea eax, [ebp - 0x74]
mov ecx, edi
push eax
call fcn.004091bc
push 2
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.004205f7
and eax, 0xff
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
call fcn.004069ed
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.004090f9
mov eax, dword [eax]
cmp eax, ebx
je 0x40d4ca
mov eax, dword [eax]
jmp 0x40d4cc
xor eax, eax
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
pop ecx
mov dword [esi + 0x170], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x40d4e6
call fcn.00406553
push ebx
mov ecx, edi
call fcn.00408fb1
mov ecx, esi
call fcn.0040c718
mov al, byte [ebp - 0x12]
push ebx
lea ecx, [ebp - 0x12c]
mov byte [ebp - 0x12c], 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 - 0x12c]
mov byte [ebp - 4], 0x17
push eax
push 0xf
call fcn.0041533a
pop ecx
pop ecx
lea ecx, [ebp - 0x12c]
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.00408bb3
mov ecx, edi
call fcn.0040916b
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0xa
push 0x80020004
call fcn.00407e0b
lea eax, [ebp - 0x11c]
mov ecx, edi
push eax
mov byte [ebp - 4], 0x18
call fcn.00408e94
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x1a
push ecx
mov ecx, eax
call fcn.00409729
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x1c
call fcn.004069ed
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x16c]
call dword [eax + 0x14]
cmp eax, ebx
je 0x40d694
sub esp, 0x10
mov byte [ebp - 4], 0x1d
mov ecx, esp
mov dword [ebp - 0x20], esp
push 3
push 1
call fcn.00407e0b
lea eax, [ebp - 0xd0]
lea ecx, [ebp - 0x16c]
push eax
mov byte [ebp - 4], 0x1e
call fcn.0040b946
mov edx, dword [eax]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x20
call dword [edx + 0x24]
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x22
call fcn.004069ed
push 0xffffefd7
lea ecx, [ebp - 0x74]
call fcn.00409f95
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1d
call fcn.004069ed
jmp 0x40d609
cmp byte [esi + 0x164], 0
mov dword [ebp - 4], 0x1c
je 0x40d62d
mov ecx, esi
call fcn.0040c852
push 0
lea ecx, [esi + 0x128]
call fcn.00408fb1
sub esp, 0x10
mov ebx, esp
mov dword [ebp - 0x20], esp
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edi, 0x451688
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x40d653
push eax
call fcn.0041f87b
sub esp, 0x10
mov byte [ebp - 4], 0x24
mov ecx, esp
mov dword [ebp - 0x3c], esp
push edi
call fcn.0040ed7a
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0
call fcn.0040edce
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x1c
call fcn.0040b707
mov eax, dword [ebp - 0x16c]
push 0
lea ecx, [ebp - 0x16c]
call dword [eax + 0xc]
push 1
lea eax, [ebp - 0x20]
pop ebx
lea ecx, [esi + 0x128]
push eax
call fcn.00409132
mov eax, dword [eax]
mov byte [ebp - 4], 0x25
test eax, eax
je 0x40d6b4
mov edi, dword [eax]
jmp 0x40d6b6
xor edi, edi
push dword [0x44e320]
lea eax, [ebp - 0xc0]
push dword [0x44e234]
push eax
call fcn.00416084
add esp, 0xc
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x26
call fcn.00415255
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x40d6ed
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 ebx
lea ecx, [ebp - 0x64]
mov dword [esi + 0x148], 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 ebx
lea ecx, [ebp - 0xc0]
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_]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 0x1c
test ecx, ecx
je 0x40d726
call fcn.00406553
push dword [esi + 0x148]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40e1a8
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x148]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x40d756
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.004171f3
test eax, eax
jne 0x40d7cf
push dword [0x44e294]
lea eax, [ebp - 0x64]
push dword [0x44e234]
push eax
call fcn.00416084
add esp, 0xc
push eax
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x27
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, 0x43c6b4
mov dword [ebp - 0xcc], esi
push ebx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x29
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 - 0xcc]
lea ecx, [ebp - 0x230]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x230]
push 0x444060
push eax
mov dword [ebp - 0x230], esi
call sub.MSVCRT.dll__CxxThrowException
push dword [0x44e2a0]
lea eax, [ebp - 0xc0]
push dword [0x44e234]
push eax
call fcn.00416084
add esp, 0xc
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x2d
call fcn.00415255
pop ecx
pop ecx
mov ecx, eax
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]
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.00408bb3
lea ecx, [esi + 0x128]
call fcn.0040916b
push ebx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x2d
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 ebx
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x1c
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp dword [ebp - 0x40], 0
je 0x40d847
push dword [ebp - 0x40]
jmp 0x40d850
cmp dword [ebp - 0x44], 0
je 0x40d862
push dword [ebp - 0x44]
push ebx
push 0x80
push dword [esi + 0x148]
call dword [sym.imp.USER32.dll_SendMessageW]
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 + 0x148]
call edi
mov eax, dword [esi + 0x174]
test eax, eax
je 0x40d899
push 0
push eax
push 0x49a
push dword [esi + 0x148]
call edi
mov al, byte [ebp - 0x12]
push 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], al
call fcn.00406670
mov eax, dword [esi + 0x18]
mov byte [ebp - 4], 0x2f
test eax, eax
je 0x40d8e1
mov ecx, dword [esi + 0x14]
test ecx, ecx
jne 0x40d8c1
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.0040c970
add esp, 0xc
push dword [esi + 0x18]
push eax
push 0x488
push dword [esi + 0x148]
call edi
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push 0x413
call fcn.0040c507
test al, al
je 0x40d935
mov eax, dword [ebp - 0x2c]
mov ebx, 0x43c6e4
test eax, eax
jne 0x40d903
mov eax, ebx
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.0040c970
add esp, 0xc
push dword [ebp - 0x28]
push eax
push 0x484
push dword [esi + 0x148]
call edi
push dword [0x43c6e0]
lea ecx, [ebp - 0x30]
push 0
call fcn.0040763c
jmp 0x40d93a
mov ebx, 0x43c6e4
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push 0x415
call fcn.0040c507
test al, al
je 0x40d987
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40d957
mov eax, ebx
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.0040c970
add esp, 0xc
push dword [ebp - 0x28]
push eax
push 0x486
push dword [esi + 0x148]
call edi
push dword [0x43c6e0]
lea ecx, [ebp - 0x30]
push 0
call fcn.0040763c
mov eax, dword [esi + 0x38]
test eax, eax
je 0x40d9bb
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x40d99b
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.0040c970
add esp, 0xc
push dword [esi + 0x38]
push eax
push 0x48d
push dword [esi + 0x148]
call edi
mov eax, dword [esi + 0x48]
test eax, eax
je 0x40d9ef
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x40d9cf
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.0040c970
add esp, 0xc
push dword [esi + 0x48]
push eax
push 0x48e
push dword [esi + 0x148]
call edi
cmp dword [ebp - 0x7c], 0
je 0x40da31
mov eax, dword [ebp - 0x80]
test eax, eax
jne 0x40d9fe
mov eax, ebx
push dword [ebp - 0x7c]
push eax
push dword [ebp - 0x1c]
call fcn.0040c970
add esp, 0xc
push dword [ebp - 0x7c]
push eax
push 0x483
push dword [esi + 0x148]
call edi
push dword [0x43c6e0]
lea ecx, [ebp - 0x84]
push 0
call fcn.0040763c
cmp dword [ebp - 0x8c], 0
je 0x40da7f
mov eax, dword [ebp - 0x90]
test eax, eax
jne 0x40da46
mov eax, ebx
push dword [ebp - 0x8c]
push eax
push dword [ebp - 0x1c]
call fcn.0040c970
add esp, 0xc
push dword [ebp - 0x8c]
push eax
push 0x482
push dword [esi + 0x148]
call edi
push dword [0x43c6e0]
lea ecx, [ebp - 0x94]
push 0
call fcn.0040763c
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40dabc
mov ecx, dword [esi + 0xf0]
test ecx, ecx
jne 0x40da99
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.0040c970
add esp, 0xc
push dword [esi + 0xf4]
push eax
push 0x489
push dword [esi + 0x148]
call edi
mov eax, dword [esi + 0x104]
test eax, eax
je 0x40daf9
mov ecx, dword [esi + 0x100]
test ecx, ecx
jne 0x40dad6
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.0040c970
add esp, 0xc
push dword [esi + 0x104]
push eax
push 0x48a
push dword [esi + 0x148]
call edi
and dword [ebp - 0x18], 0
mov ebx, 0x485
cmp dword [ebp - 0x18], 0xc8
jge 0x40db6d
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x4b0
push eax
call fcn.0040c507
test al, al
je 0x40db60
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40db2f
mov eax, 0x43c6e4
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.0040c970
add esp, 0xc
push dword [ebp - 0x28]
push eax
push ebx
push dword [esi + 0x148]
call edi
push dword [0x43c6e0]
lea ecx, [ebp - 0x30]
push 0
call fcn.0040763c
inc dword [ebp - 0x18]
jmp 0x40db02
push 0
push 0
push ebx
push dword [esi + 0x148]
call edi
push dword [0x43c6e0]
xor ebx, ebx
lea ecx, [ebp - 0x30]
push ebx
call fcn.0040763c
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push 0x453
call fcn.0040c507
test al, al
je 0x40dbcd
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x40db9e
mov eax, 0x43c6e4
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.0040c970
add esp, 0xc
push dword [ebp - 0x28]
push eax
push 0x48c
push dword [esi + 0x148]
call edi
push dword [0x43c6e0]
lea ecx, [ebp - 0x30]
push ebx
call fcn.0040763c
cmp dword [ebp - 0x4c], ebx
je 0x40dc0d
mov eax, dword [ebp - 0x50]
cmp eax, ebx
jne 0x40dbde
mov eax, 0x43c6e4
push dword [ebp - 0x4c]
push eax
push dword [ebp - 0x1c]
call fcn.0040c970
add esp, 0xc
push dword [ebp - 0x4c]
push eax
push 0x48b
push dword [esi + 0x148]
call edi
push dword [0x43c6e0]
lea ecx, [ebp - 0x30]
push ebx
call fcn.0040763c
cmp dword [esi + 0x174], ebx
lea ebx, [esi + 0x128]
jne 0x40dc26
push 1
mov ecx, ebx
call fcn.00408fd8
jmp 0x40dc2f
push 0
mov ecx, ebx
call fcn.00408f20
cmp byte [esi + 0xa3], 0
jne 0x40dc4a
cmp dword [esi + 0x174], 0
jne 0x40dc4a
push 1
mov ecx, ebx
call fcn.00408fb1
lea ecx, [ebp - 0x14c]
call fcn.00408c3b
mov dword [ebp - 0x14c], 0x43c830
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
mov byte [ebp - 4], 0x31
call fcn.004090f9
mov eax, dword [eax]
test eax, eax
je 0x40dc78
mov eax, dword [eax]
jmp 0x40dc7a
xor eax, eax
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
cmp eax, 0xe
mov ecx, dword [ebp - 0x20]
setge byte [ebp - 0x12]
test ecx, ecx
je 0x40dc95
call fcn.00406553
cmp byte [ebp - 0x12], 0
je 0x40dca4
push 1
mov ecx, ebx
call fcn.0040931a
cmp byte [esi + 0xa4], 0
je 0x40ded7
cmp dword [esi + 0x170], 0xc
jge 0x40dd52
mov eax, dword [esi + 0x168]
cmp eax, 0x34
je 0x40dcd2
cmp eax, 0x32
jne 0x40dd52
push dword [0x44e2c8]
lea eax, [ebp - 0xc0]
push dword [0x44e234]
push eax
call fcn.00416084
add esp, 0xc
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x32
call fcn.00415255
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x40dd09
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 + 0x148]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
lea ecx, [ebp - 0x64]
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 - 0xc0]
mov byte [ebp - 4], 0x31
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 - 0xfc], 0
lea eax, [ebp - 0xfc]
push 0x444200
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, 0x451688
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x40dd7b
push eax
call fcn.0041f87b
sub esp, 0x10
mov byte [ebp - 4], 0x33
mov ecx, esp
mov dword [ebp - 0x20], esp
push ebx
call fcn.0040ed7a
sub esp, 0x10
mov byte [ebp - 4], 0x34
mov ecx, esp
mov dword [ebp - 0x18], esp
push ebx
call fcn.0040ed7a
sub esp, 0x10
mov byte [ebp - 4], 0x35
mov ecx, esp
mov dword [ebp - 0xe8], esp
push ebx
call fcn.0040ed7a
sub esp, 0x10
mov byte [ebp - 4], 0x36
mov ecx, esp
mov dword [ebp - 0xf8], esp
push ebx
call fcn.0040ed7a
sub esp, 0x10
mov byte [ebp - 4], 0x37
mov ecx, esp
mov dword [ebp - 0xf0], esp
push ebx
call fcn.0040ed7a
sub esp, 0x10
mov byte [ebp - 4], 0x38
mov ecx, esp
mov dword [ebp - 0xf4], esp
push ebx
call fcn.0040ed7a
sub esp, 0x10
mov byte [ebp - 4], 0x39
mov ecx, esp
mov dword [ebp - 0xec], esp
push ebx
call fcn.0040ed7a
lea ecx, [esi + 0xdc]
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]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0xd8], esp
push eax
call fcn.0040ed9f
sub esp, 0x10
mov byte [ebp - 4], 0x3b
mov ecx, esp
mov dword [ebp - 0xdc], esp
push ebx
call fcn.0040ed7a
sub esp, 0x10
mov byte [ebp - 4], 0x3c
mov ecx, esp
mov dword [ebp - 0xe4], esp
push ebx
call fcn.0040ed7a
sub esp, 0x10
mov byte [ebp - 4], 0x3d
mov ecx, esp
mov dword [ebp - 0xd4], esp
push 3
push 3
call fcn.00407e0b
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 0x3e
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 - 0xb0], esp
push eax
call fcn.00408bb3
lea eax, [ebp - 0xd0]
lea ecx, [esi + 0x128]
push eax
mov byte [ebp - 4], 0x3f
call fcn.00408e94
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x41
push ecx
mov ecx, eax
call fcn.004098af
push eax
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x42
call fcn.00407f70
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x41
call fcn.004069ed
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0xd0]
jmp 0x40e04b
sub esp, 0x10
mov dword [ebp - 0xb0], esp
mov dword [ebp - 0x18], esp
push esp
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ebx, 0x451688
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x40df03
push eax
call fcn.0041f87b
sub esp, 0x10
mov byte [ebp - 4], 0x43
mov ecx, esp
mov dword [ebp - 0xd4], esp
push ebx
call fcn.0040ed7a
sub esp, 0x10
mov byte [ebp - 4], 0x44
mov ecx, esp
mov dword [ebp - 0xe4], esp
push ebx
call fcn.0040ed7a
sub esp, 0x10
mov byte [ebp - 4], 0x45
mov ecx, esp
mov dword [ebp - 0xdc], esp
push ebx
call fcn.0040ed7a
sub esp, 0x10
mov byte [ebp - 4], 0x46
mov ecx, esp
mov dword [ebp - 0xd8], esp
push ebx
call fcn.0040ed7a
sub esp, 0x10
mov byte [ebp - 4], 0x47
mov ecx, esp
mov dword [ebp - 0xec], esp
push ebx
call fcn.0040ed7a
sub esp, 0x10
mov byte [ebp - 4], 0x48
mov ecx, esp
mov dword [ebp - 0xf4], esp
push ebx
call fcn.0040ed7a
sub esp, 0x10
mov byte [ebp - 4], 0x49
mov ecx, esp
mov dword [ebp - 0xf0], esp
push ebx
call fcn.0040ed7a
sub esp, 0x10
mov byte [ebp - 4], 0x4a
mov ecx, esp
mov dword [ebp - 0xf8], esp
push ebx
call fcn.0040ed7a
sub esp, 0x10
mov byte [ebp - 4], 0x4b
mov ecx, esp
mov dword [ebp - 0xe8], esp
push ebx
call fcn.0040ed7a
sub esp, 0x10
mov byte [ebp - 4], 0x4c
mov ecx, esp
mov dword [ebp - 0x3c], esp
push ebx
call fcn.0040ed7a
sub esp, 0x10
mov byte [ebp - 4], 0x4d
mov ecx, esp
mov dword [ebp - 0x20], esp
push 3
push 3
call fcn.00407e0b
mov byte [ebp - 4], 0x4e
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.00408bb3
lea eax, [ebp - 0xd0]
lea ecx, [esi + 0x128]
push eax
mov byte [ebp - 4], 0x4f
call fcn.00408e94
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x51
push ecx
mov ecx, eax
call fcn.004098af
push eax
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x52
call fcn.00407f70
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x51
call fcn.004069ed
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0xd0]
call fcn.004069ed
mov ecx, dword [esi + 0x110]
lea eax, [esi + 0x110]
mov edx, 0xffffeff7
cmp ecx, edx
je 0x40e074
cmp ecx, 0xffffefd9
je 0x40e074
cmp ecx, 2
je 0x40e074
mov dword [eax], edx
push dword [eax]
lea ebx, [esi + 0x128]
mov ecx, ebx
call fcn.0040908b
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0xc]
xor ebx, ebx
jmp 0x40e0a5
cmp byte [ebp - 0x11], 0
mov dword [ebp - 4], 0x30
je 0x40e0c9
lea eax, [ebp - 0xe0]
push 0x444200
push eax
mov dword [ebp - 0xe0], ebx
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp - 0x34], ebx
je 0x40e0de
push ebx
push ebx
push 0x501
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
cmp dword [esi + 0x174], ebx
jne 0x40e128
mov eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x14c]
call dword [eax + 0x14]
cmp eax, ebx
je 0x40e128
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0xb0], esp
push 3
push 1
call fcn.00407e0b
lea ecx, [ebp - 0x14c]
call fcn.0040b8eb
mov eax, dword [ebp - 0x14c]
push ebx
lea ecx, [ebp - 0x14c]
call dword [eax + 0xc]
push ebx
push ebx
push 0x48f
push dword [esi + 0x148]
call edi
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x2f
call fcn.004069ed
push 1
lea ecx, [ebp - 0x30]
pop edi
mov byte [ebp - 4], 0x1c
push edi
call fcn.00406670
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x17
call fcn.004069ed
mov byte [ebp - 4], 3
push edi
lea ecx, [ebp - 0x12c]
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 - 0x54]
mov byte [ebp - 4], 2
call fcn.00406670
push edi
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.00406670
and byte [ebp - 4], 0
push edi
lea ecx, [ebp - 0x84]
call fcn.00406670
jmp 0x40e2ae
push dword [0x44e29c]
lea eax, [ebp - 0x64]
push dword [0x44e234]
push eax
call fcn.00416084
add esp, 0xc
push eax
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x2a
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, 0x43c6b4
mov dword [ebp - 0xcc], esi
push ebx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x2c
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 - 0xcc]
lea ecx, [ebp - 0x1f8]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x1f8]
push 0x444060
push eax
mov dword [ebp - 0x1f8], esi
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x55
mov byte [eax + 0x16c], 1
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x1a4]
push 0x444060
push eax
mov dword [ebp - 0x1a4], 0x43c6b4
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x56
mov byte [eax + 0x16c], 1
lea eax, [ebp - 0x2ec]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x1dc]
push 0x4441f0
push eax
mov dword [ebp - 0x1dc], 0x43c688
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 0x11], 1
call fcn.004093e9
mov eax, 0x40e2ab
ret
mov al, byte [ebp - 0x11]
mov ecx, esi
mov dword [ebp - 4], 0x57
mov byte [esi + 0x16c], al
call fcn.0040bf0e
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0xac]
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 0x40e304
test eax, eax
jle 0x40e304
mov ecx, 0x1388
cmp eax, ecx
jae 0x40e304
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