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

Disassembly:
mov eax, 0x416e1a
call fcn.004139f0
sub esp, 0x2f4
push ebx
push esi
xor ebx, ebx
push edi
and byte [ebp - 0x11], bl
mov al, byte [ebp - 0x11]
mov esi, ecx
mov dword [ebp - 0x10], esp
push ebx
lea ecx, [ebp - 0x8c]
and byte [esi + 0x16c], bl
mov dword [ebp - 0x34], esi
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x8c], al
call fcn.004035ed
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
push 0x44c
mov byte [ebp - 4], 1
call fcn.0040a75a
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
call fcn.0040c54c
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0x7c]
mov byte [ebp - 0x7c], al
call fcn.004035ed
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
push 0x438
mov byte [ebp - 4], 2
call fcn.0040a75a
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.0040ac29
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x4c], al
call fcn.004035ed
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
push 0x451
mov byte [ebp - 4], 3
call fcn.0040a733
mov eax, dword [str.xq__t]
cmp eax, dword [esi + 0x10c]
je 0x40af53
push dword [0x421254]
lea eax, [ebp - 0x104]
push dword [0x4211ec]
push eax
call fcn.00406b5d
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, 0x4185ac
mov dword [ebp - 0x68], esi
push 1
lea ecx, [ebp - 0x104]
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 - 0x228]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x228]
push 0x41d800
push eax
mov dword [ebp - 0x228], esi
call sub.MSVCRT.dll__CxxThrowException
cmp dword [esi + 0xc4], ebx
je 0x40b0ba
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 0x9c], 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 0x40afa1
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 - 0x9c]
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_]
push 1
pop edi
jmp 0x40b01b
push esi
lea ecx, [ebp - 0x2b8]
call fcn.0040c321
mov byte [ebp - 4], 8
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 0x422f20
call fcn.00404caf
mov eax, dword [0x422f28]
push ebx
push 0x40c870
push edi
push 0x71
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push 1
pop edi
cmp eax, edi
jne 0x40b109
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 - 0x9c]
push dword [eax]
lea eax, [ebp - 0x23c]
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 - 0x2b8]
mov byte [ebp - 4], 7
call fcn.004021ec
lea eax, [esi + 0xbc]
push eax
lea eax, [ebp - 0x9c]
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 0x40b0a9
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x42126c]
lea eax, [ebp - 0x104]
push dword [0x4211ec]
push eax
call fcn.00406b5d
add esp, 0xc
push eax
lea ecx, [ebp - 0x68]
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, 0x4185ac
mov dword [ebp - 0x68], esi
push edi
lea ecx, [ebp - 0x104]
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 - 0x68]
lea ecx, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x20c]
push 0x41d800
push eax
mov dword [ebp - 0x20c], esi
call sub.MSVCRT.dll__CxxThrowException
push edi
lea ecx, [ebp - 0x9c]
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 - 0x44], 2
jbe 0x40b2cd
mov eax, dword [ebp - 0x48]
mov edi, 0x4185dc
cmp eax, ebx
jne 0x40b0d2
mov eax, edi
push ebx
push dword [ebp - 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_IsTextUnicode]
test eax, eax
setne al
test al, al
je 0x40b12c
mov eax, dword [ebp - 0x48]
cmp eax, ebx
jne 0x40b0ef
mov eax, edi
mov ecx, dword [ebp - 0x44]
lea edi, [esi + 0x80]
shr ecx, 1
push ecx
push eax
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
jmp 0x40b1b8
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 7
call fcn.004021ec
mov byte [ebp - 4], 3
push edi
lea ecx, [ebp - 0x9c]
jmp 0x40c114
cmp dword [ebp - 0x48], ebx
je 0x40b134
mov edi, dword [ebp - 0x48]
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0x104]
mov byte [ebp - 0x104], 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 - 0x104]
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 - 0x104]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.004060a5
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], 0xd
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 - 0xb4]
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 - 0x104]
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 - 0x98]
call fcn.00413e30
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xe
call fcn.00413e44
cmp dword [esi + 0x88], ebx
je 0x40b2c7
cmp byte [esi + 0xa1], 0
jne 0x40b20a
cmp byte [esi + 0xa2], 0
jne 0x40b20a
lea eax, [esi + 0x158]
lea ecx, [ebp - 0x98]
push eax
call fcn.00413e64
test al, al
je 0x40b2c7
lea ecx, [ebp - 0x2b4]
call fcn.0040c2bc
mov eax, dword [esi + 0x54]
mov byte [ebp - 4], 0xf
cmp eax, ebx
jne 0x40b225
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 - 0x24c]
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 eax, dword [edi + 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
je 0x40b251
mov edi, eax
push edi
call ebx
pop ecx
push eax
push edi
lea ecx, [ebp - 0x23c]
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 - 0x2b4]
push eax
lea eax, [ebp - 0x2ac]
push eax
push 0x422f20
call fcn.00404caf
mov eax, dword [0x422f28]
push 0
push 0x40c870
push edi
push 0x71
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push 1
pop edi
cmp eax, edi
je 0x40b2b8
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 0xe
call fcn.004019a4
jmp 0x40c11a
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 0xe
call fcn.004019a4
mov byte [ebp - 4], 3
xor ebx, ebx
call dword [sym.imp.MSVCRT.dll_clock]
mov ecx, 0x4233b8
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x38], ebx
call fcn.0040d973
cmp eax, 3
jne 0x40b2fd
test byte [0x4233d0], 1
je 0x40b2fd
cmp byte [esi + 0xa5], 0
je 0x40b31a
lea eax, [ebp - 0x38]
push eax
push ebx
push 0x4233b8
push 0x409cc4
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xa4], eax
lea edi, [esi + 0x128]
push 4
push ebx
push str.Excel.Application
mov ecx, edi
call fcn.0040722b
cmp eax, ebx
jge 0x40b39d
push dword [0x421250]
lea eax, [ebp - 0xb4]
push dword [0x4211ec]
push eax
call fcn.00406b5d
add esp, 0xc
push eax
lea ecx, [ebp - 0x68]
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, 0x4185ac
mov dword [ebp - 0x68], esi
push 1
lea ecx, [ebp - 0xb4]
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 - 0x68]
lea ecx, [ebp - 0x1b8]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x1b8]
push 0x41d800
push eax
mov dword [ebp - 0x1b8], esi
call sub.MSVCRT.dll__CxxThrowException
cmp byte [esi + 0xa4], 1
jne 0x40b4c6
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.004074a4
mov eax, dword [eax]
cmp eax, ebx
je 0x40b3bf
mov eax, dword [eax]
jmp 0x40b3c1
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 0x40b3db
call fcn.00403653
test bl, bl
je 0x40b4c6
xor ebx, ebx
cmp dword [ebp - 0x38], ebx
je 0x40b3fa
push ebx
push ebx
push 0x502
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push dword [0x421200]
lea eax, [ebp - 0x5c]
push dword [0x4211ec]
push eax
call fcn.00406b5d
add esp, 0xc
push eax
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 0x13
call fcn.004060a5
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 0x40b438
mov edi, eax
push dword [0x421268]
lea eax, [ebp - 0x104]
push dword [0x4211ec]
push eax
call fcn.00406b5d
add esp, 0xc
push eax
lea eax, [ebp - 0xb4]
push eax
mov byte [ebp - 4], 0x15
call fcn.004060a5
mov eax, dword [eax + 4]
pop ecx
cmp eax, ebx
pop ecx
jne 0x40b472
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 - 0xb4]
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 - 0x104]
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 - 0x9c]
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 - 0x5c]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov byte [ebp - 0x11], 1
jmp 0x40c11a
mov eax, dword [edi]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x18], ebx
call dword [eax + 0x14]
cmp eax, ebx
je 0x40b533
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
call fcn.00407567
push 2
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.0041317c
and eax, 0xff
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
call fcn.00403a0b
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.004074a4
mov eax, dword [eax]
cmp eax, ebx
je 0x40b517
mov eax, dword [eax]
jmp 0x40b519
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 0x40b533
call fcn.00403653
push ebx
mov ecx, edi
call fcn.0040735c
mov ecx, esi
call fcn.0040a96b
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0x124]
mov byte [ebp - 0x124], 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 - 0x124]
mov byte [ebp - 4], 0x17
push eax
push 0xf
call fcn.0040618a
pop ecx
pop ecx
lea ecx, [ebp - 0x124]
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.00405c5a
mov ecx, edi
call fcn.00407516
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0xa
push 0x80020004
call fcn.00404eb2
lea eax, [ebp - 0x114]
mov ecx, edi
push eax
mov byte [ebp - 4], 0x18
call fcn.00407266
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x1a
push ecx
mov ecx, eax
call fcn.00407a67
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x1c
call fcn.00403a0b
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x164]
call dword [eax + 0x14]
cmp eax, ebx
je 0x40b6e1
sub esp, 0x10
mov byte [ebp - 4], 0x1d
mov ecx, esp
mov dword [ebp - 0x20], esp
push 3
push 1
call fcn.00404eb2
lea eax, [ebp - 0xc4]
lea ecx, [ebp - 0x164]
push eax
mov byte [ebp - 4], 0x1e
call fcn.00409c0b
mov edx, dword [eax]
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x20
call dword [edx + 0x24]
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x22
call fcn.00403a0b
push 0xffffefd7
lea ecx, [ebp - 0x6c]
call fcn.004082d3
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x1d
call fcn.00403a0b
jmp 0x40b656
cmp byte [esi + 0x164], 0
mov dword [ebp - 4], 0x1c
je 0x40b67a
mov ecx, esi
call fcn.0040aaa5
push 0
lea ecx, [esi + 0x128]
call fcn.0040735c
sub esp, 0x10
mov ebx, esp
mov dword [ebp - 0x20], esp
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edi, 0x4233a8
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x40b6a0
push eax
call fcn.004131fa
sub esp, 0x10
mov byte [ebp - 4], 0x24
mov ecx, esp
mov dword [ebp - 0x3c], esp
push edi
call fcn.0040c806
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0
call fcn.0040c85a
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x1c
call fcn.004099f6
mov eax, dword [ebp - 0x164]
push 0
lea ecx, [ebp - 0x164]
call dword [eax + 0xc]
lea ebx, [esi + 0x128]
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.004074dd
mov eax, dword [eax]
mov byte [ebp - 4], 0x25
test eax, eax
je 0x40b700
mov edi, dword [eax]
jmp 0x40b702
xor edi, edi
push dword [0x42128c]
lea eax, [ebp - 0xb4]
push dword [0x4211ec]
push eax
call fcn.00406b5d
add esp, 0xc
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0x26
call fcn.004060a5
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x40b739
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 + 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 1
lea ecx, [ebp - 0xb4]
pop edi
mov byte [ebp - 4], 0x25
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], 0x1c
test ecx, ecx
je 0x40b776
call fcn.00403653
push dword [esi + 0x148]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c149
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 0x40b7a6
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.00414b78
test eax, eax
jne 0x40b81f
push dword [0x42124c]
lea eax, [ebp - 0x5c]
push dword [0x4211ec]
push eax
call fcn.00406b5d
add esp, 0xc
push eax
lea ecx, [ebp - 0xc0]
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, 0x4185ac
mov dword [ebp - 0xc0], esi
push edi
lea ecx, [ebp - 0x5c]
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 - 0xc0]
lea ecx, [ebp - 0x1f0]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x1f0]
push 0x41d800
push eax
mov dword [ebp - 0x1f0], esi
call sub.MSVCRT.dll__CxxThrowException
push dword [0x421258]
lea eax, [ebp - 0xb4]
push dword [0x4211ec]
push eax
call fcn.00406b5d
add esp, 0xc
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0x2d
call fcn.004060a5
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.00405c5a
mov ecx, ebx
call fcn.00407516
push edi
lea ecx, [ebp - 0x5c]
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 edi
lea ecx, [ebp - 0xb4]
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_]
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 al, byte [ebp - 0x11]
push 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], al
call fcn.004035ed
mov eax, dword [esi + 0x18]
mov byte [ebp - 4], 0x2f
test eax, eax
je 0x40b8ed
mov ecx, dword [esi + 0x14]
test ecx, ecx
jne 0x40b8cd
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.0040abc3
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.0040a75a
test al, al
je 0x40b941
mov eax, dword [ebp - 0x2c]
mov ebx, 0x4185dc
test eax, eax
jne 0x40b90f
mov eax, ebx
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.0040abc3
add esp, 0xc
push dword [ebp - 0x28]
push eax
push 0x484
push dword [esi + 0x148]
call edi
push dword [0x4185d8]
lea ecx, [ebp - 0x30]
push 0
call fcn.00404625
jmp 0x40b946
mov ebx, 0x4185dc
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push 0x415
call fcn.0040a75a
test al, al
je 0x40b993
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40b963
mov eax, ebx
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.0040abc3
add esp, 0xc
push dword [ebp - 0x28]
push eax
push 0x486
push dword [esi + 0x148]
call edi
push dword [0x4185d8]
lea ecx, [ebp - 0x30]
push 0
call fcn.00404625
mov eax, dword [esi + 0x38]
test eax, eax
je 0x40b9c7
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x40b9a7
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.0040abc3
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 0x40b9fb
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x40b9db
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.0040abc3
add esp, 0xc
push dword [esi + 0x48]
push eax
push 0x48e
push dword [esi + 0x148]
call edi
cmp dword [ebp - 0x84], 0
je 0x40ba49
mov eax, dword [ebp - 0x88]
test eax, eax
jne 0x40ba10
mov eax, ebx
push dword [ebp - 0x84]
push eax
push dword [ebp - 0x1c]
call fcn.0040abc3
add esp, 0xc
push dword [ebp - 0x84]
push eax
push 0x483
push dword [esi + 0x148]
call edi
push dword [0x4185d8]
lea ecx, [ebp - 0x8c]
push 0
call fcn.00404625
cmp dword [ebp - 0x74], 0
je 0x40ba88
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x40ba58
mov eax, ebx
push dword [ebp - 0x74]
push eax
push dword [ebp - 0x1c]
call fcn.0040abc3
add esp, 0xc
push dword [ebp - 0x74]
push eax
push 0x482
push dword [esi + 0x148]
call edi
push dword [0x4185d8]
lea ecx, [ebp - 0x7c]
push 0
call fcn.00404625
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40bac5
mov ecx, dword [esi + 0xf0]
test ecx, ecx
jne 0x40baa2
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.0040abc3
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 0x40bb02
mov ecx, dword [esi + 0x100]
test ecx, ecx
jne 0x40badf
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.0040abc3
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 0x40bb76
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x4b0
push eax
call fcn.0040a75a
test al, al
je 0x40bb69
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40bb38
mov eax, 0x4185dc
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.0040abc3
add esp, 0xc
push dword [ebp - 0x28]
push eax
push ebx
push dword [esi + 0x148]
call edi
push dword [0x4185d8]
lea ecx, [ebp - 0x30]
push 0
call fcn.00404625
inc dword [ebp - 0x18]
jmp 0x40bb0b
push 0
push 0
push ebx
push dword [esi + 0x148]
call edi
push dword [0x4185d8]
xor ebx, ebx
lea ecx, [ebp - 0x30]
push ebx
call fcn.00404625
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push 0x453
call fcn.0040a75a
test al, al
je 0x40bbd6
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x40bba7
mov eax, 0x4185dc
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.0040abc3
add esp, 0xc
push dword [ebp - 0x28]
push eax
push 0x48c
push dword [esi + 0x148]
call edi
push dword [0x4185d8]
lea ecx, [ebp - 0x30]
push ebx
call fcn.00404625
cmp dword [ebp - 0x44], ebx
je 0x40bc16
mov eax, dword [ebp - 0x48]
cmp eax, ebx
jne 0x40bbe7
mov eax, 0x4185dc
push dword [ebp - 0x44]
push eax
push dword [ebp - 0x1c]
call fcn.0040abc3
add esp, 0xc
push dword [ebp - 0x44]
push eax
push 0x48b
push dword [esi + 0x148]
call edi
push dword [0x4185d8]
lea ecx, [ebp - 0x30]
push ebx
call fcn.00404625
lea ebx, [esi + 0x128]
push 1
mov ecx, ebx
call fcn.00407383
cmp byte [esi + 0xa3], 0
jne 0x40bc37
push 1
mov ecx, ebx
call fcn.0040735c
lea ecx, [ebp - 0x144]
call fcn.00405cf3
mov dword [ebp - 0x144], 0x418770
cmp byte [esi + 0xa4], 0
mov byte [ebp - 4], 0x31
je 0x40be83
cmp dword [esi + 0x170], 0xc
jge 0x40bcfe
mov eax, dword [esi + 0x168]
cmp eax, 0x34
je 0x40bc7e
cmp eax, 0x32
jne 0x40bcfe
push dword [0x421280]
lea eax, [ebp - 0xb4]
push dword [0x4211ec]
push eax
call fcn.00406b5d
add esp, 0xc
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0x32
call fcn.004060a5
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x40bcb5
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 - 0x5c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [ebp - 0xb4]
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 - 0xe4], 0
lea eax, [ebp - 0xe4]
push 0x41d948
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, 0x4233a8
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x40bd27
push eax
call fcn.004131fa
sub esp, 0x10
mov byte [ebp - 4], 0x33
mov ecx, esp
mov dword [ebp - 0x20], esp
push ebx
call fcn.0040c806
sub esp, 0x10
mov byte [ebp - 4], 0x34
mov ecx, esp
mov dword [ebp - 0x18], esp
push ebx
call fcn.0040c806
sub esp, 0x10
mov byte [ebp - 4], 0x35
mov ecx, esp
mov dword [ebp - 0xe0], esp
push ebx
call fcn.0040c806
sub esp, 0x10
mov byte [ebp - 4], 0x36
mov ecx, esp
mov dword [ebp - 0xdc], esp
push ebx
call fcn.0040c806
sub esp, 0x10
mov byte [ebp - 4], 0x37
mov ecx, esp
mov dword [ebp - 0xf4], esp
push ebx
call fcn.0040c806
sub esp, 0x10
mov byte [ebp - 4], 0x38
mov ecx, esp
mov dword [ebp - 0xcc], esp
push ebx
call fcn.0040c806
sub esp, 0x10
mov byte [ebp - 4], 0x39
mov ecx, esp
mov dword [ebp - 0xec], esp
push ebx
call fcn.0040c806
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.0040c82b
sub esp, 0x10
mov byte [ebp - 4], 0x3b
mov ecx, esp
mov dword [ebp - 0xf0], esp
push ebx
call fcn.0040c806
sub esp, 0x10
mov byte [ebp - 4], 0x3c
mov ecx, esp
mov dword [ebp - 0xd4], esp
push ebx
call fcn.0040c806
sub esp, 0x10
mov byte [ebp - 4], 0x3d
mov ecx, esp
mov dword [ebp - 0xe8], esp
push 3
push 3
call fcn.00404eb2
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 - 0xa0], esp
push eax
call fcn.00405c5a
lea eax, [ebp - 0xc4]
lea ecx, [esi + 0x128]
push eax
mov byte [ebp - 4], 0x3f
call fcn.00407266
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x41
push ecx
mov ecx, eax
call fcn.00407bed
push eax
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 0x42
call fcn.00405017
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x41
call fcn.00403a0b
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0xc4]
jmp 0x40bff7
sub esp, 0x10
mov dword [ebp - 0xa0], esp
mov dword [ebp - 0x18], esp
push esp
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ebx, 0x4233a8
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x40beaf
push eax
call fcn.004131fa
sub esp, 0x10
mov byte [ebp - 4], 0x43
mov ecx, esp
mov dword [ebp - 0xe8], esp
push ebx
call fcn.0040c806
sub esp, 0x10
mov byte [ebp - 4], 0x44
mov ecx, esp
mov dword [ebp - 0xd4], esp
push ebx
call fcn.0040c806
sub esp, 0x10
mov byte [ebp - 4], 0x45
mov ecx, esp
mov dword [ebp - 0xf0], esp
push ebx
call fcn.0040c806
sub esp, 0x10
mov byte [ebp - 4], 0x46
mov ecx, esp
mov dword [ebp - 0xd8], esp
push ebx
call fcn.0040c806
sub esp, 0x10
mov byte [ebp - 4], 0x47
mov ecx, esp
mov dword [ebp - 0xec], esp
push ebx
call fcn.0040c806
sub esp, 0x10
mov byte [ebp - 4], 0x48
mov ecx, esp
mov dword [ebp - 0xcc], esp
push ebx
call fcn.0040c806
sub esp, 0x10
mov byte [ebp - 4], 0x49
mov ecx, esp
mov dword [ebp - 0xf4], esp
push ebx
call fcn.0040c806
sub esp, 0x10
mov byte [ebp - 4], 0x4a
mov ecx, esp
mov dword [ebp - 0xdc], esp
push ebx
call fcn.0040c806
sub esp, 0x10
mov byte [ebp - 4], 0x4b
mov ecx, esp
mov dword [ebp - 0xe0], esp
push ebx
call fcn.0040c806
sub esp, 0x10
mov byte [ebp - 4], 0x4c
mov ecx, esp
mov dword [ebp - 0x3c], esp
push ebx
call fcn.0040c806
sub esp, 0x10
mov byte [ebp - 4], 0x4d
mov ecx, esp
mov dword [ebp - 0x20], esp
push 3
push 3
call fcn.00404eb2
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.00405c5a
lea eax, [ebp - 0xc4]
lea ecx, [esi + 0x128]
push eax
mov byte [ebp - 4], 0x4f
call fcn.00407266
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x51
push ecx
mov ecx, eax
call fcn.00407bed
push eax
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 0x52
call fcn.00405017
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x51
call fcn.00403a0b
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0xc4]
call fcn.00403a0b
mov ecx, dword [esi + 0x110]
lea eax, [esi + 0x110]
mov edx, 0xffffeff7
cmp ecx, edx
je 0x40c020
cmp ecx, 0xffffefd9
je 0x40c020
cmp ecx, 2
je 0x40c020
mov dword [eax], edx
push dword [eax]
lea ebx, [esi + 0x128]
mov ecx, ebx
call fcn.00407436
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0xc]
xor ebx, ebx
jmp 0x40c051
cmp byte [ebp - 0x11], 0
mov dword [ebp - 4], 0x30
je 0x40c075
lea eax, [ebp - 0xd0]
push 0x41d948
push eax
mov dword [ebp - 0xd0], ebx
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp - 0x38], ebx
je 0x40c08a
push ebx
push ebx
push 0x501
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov eax, dword [ebp - 0x144]
lea ecx, [ebp - 0x144]
call dword [eax + 0x14]
cmp eax, ebx
je 0x40c0cc
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0xa0], esp
push 3
push 1
call fcn.00404eb2
lea ecx, [ebp - 0x144]
call fcn.00409bb0
mov eax, dword [ebp - 0x144]
push ebx
lea ecx, [ebp - 0x144]
call dword [eax + 0xc]
push ebx
push ebx
push 0x48f
push dword [esi + 0x148]
call edi
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 0x2f
call fcn.00403a0b
push 1
lea ecx, [ebp - 0x30]
pop edi
mov byte [ebp - 4], 0x1c
push edi
call fcn.004035ed
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x17
call fcn.00403a0b
mov byte [ebp - 4], 3
push edi
lea ecx, [ebp - 0x124]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push edi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.004035ed
push edi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.004035ed
and byte [ebp - 4], 0
push edi
lea ecx, [ebp - 0x8c]
call fcn.004035ed
jmp 0x40c24f
push dword [0x421254]
lea eax, [ebp - 0x5c]
push dword [0x4211ec]
push eax
call fcn.00406b5d
add esp, 0xc
push eax
lea ecx, [ebp - 0xc0]
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, 0x4185ac
mov dword [ebp - 0xc0], esi
push edi
lea ecx, [ebp - 0x5c]
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 - 0xc0]
lea ecx, [ebp - 0x1d4]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x1d4]
push 0x41d800
push eax
mov dword [ebp - 0x1d4], esi
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0x55
mov byte [eax + 0x16c], 1
lea eax, [ebp - 0x2e4]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x180]
push 0x41d800
push eax
mov dword [ebp - 0x180], 0x4185ac
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0x56
mov byte [eax + 0x16c], 1
lea eax, [ebp - 0x300]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x19c]
push 0x41d938
push eax
mov dword [ebp - 0x19c], 0x418580
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 0x11], 1
call fcn.00407727
mov eax, 0x40c24c
ret
mov al, byte [ebp - 0x11]
mov ecx, esi
mov dword [ebp - 4], 0x57
mov byte [esi + 0x16c], al
call fcn.0040a161
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
call dword [sym.imp.MSVCRT.dll_clock]
sub eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x18], 0x103
jne 0x40c2a5
test eax, eax
jle 0x40c2a5
mov ecx, 0x1388
cmp eax, ecx
jae 0x40c2a5
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