Function at 0x40d671
Capabilities:
Check http status code
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x41b3e2
call fcn.004169b0
sub esp, 0x270
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 - 0x84]
and byte [esi + 0x17c], bl
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x98], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x84], al
call fcn.00403e6f
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
push 0x44c
mov byte [ebp - 4], 1
call fcn.0040c870
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
call fcn.0040eddd
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0x74]
mov byte [ebp - 0x74], al
call fcn.00403e6f
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
push 0x438
mov byte [ebp - 4], 2
call fcn.0040c870
cmp dword [ebp - 0x6c], 2
jbe 0x40d711
lea eax, [ebp - 0x74]
mov ecx, 0x429538
push eax
call fcn.004106f8
cmp byte [esi + 0xa6], 0
je 0x40d731
cmp dword [esi + 0x94], ebx
je 0x40d731
cmp dword [esi + 0x98], ebx
je 0x40d731
mov ecx, esi
call fcn.0040d129
push dword [esi + 0x18c]
push ebx
push ebx
push dword [esi + 0x98]
push dword [esi + 0x94]
call fcn.00414bd0
add esp, 0x14
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
call fcn.0040cec6
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x40], ebx
cmp eax, ebx
mov dword [ebp - 0x3c], ebx
jne 0x40d76a
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 - 0x3c]
push 2
push ecx
lea ecx, [ebp - 0x40]
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov eax, dword [0x41c993]
cmp eax, dword [esi + 0x10c]
je 0x40d7ff
push dword [0x4262b4]
lea eax, [ebp - 0xcc]
push dword [0x42624c]
push eax
call fcn.00408930
add esp, 0xc
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
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, 0x41c644
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x64], esi
push 1
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 5
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 - 0x64]
lea ecx, [ebp - 0x1b4]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
mov eax, dword [ebp - 0x48]
push 0x421d48
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0x1b4]
push eax
mov dword [ebp - 0x1b4], esi
call sub.MSVCRT.dll__CxxThrowException
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x94], al
call fcn.00403e6f
cmp dword [esi + 0xc4], ebx
mov byte [ebp - 4], 6
je 0x40d832
mov ecx, esi
call fcn.0040d489
cmp al, 1
mov byte [ebp - 0x11], al
je 0x40e952
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
push 0x451
call fcn.0040c849
cmp dword [ebp - 0x8c], 2
jbe 0x40d875
cmp dword [esi + 0x184], ebx
jne 0x40d875
push dword [ebp - 0x40]
lea eax, [ebp - 0x94]
mov ecx, esi
push dword [ebp - 0x3c]
push eax
call fcn.0040d21a
cmp al, 1
mov byte [ebp - 0x11], al
je 0x40e952
mov ecx, esi
call fcn.0040d0cc
lea edi, [esi + 0x138]
push 4
push ebx
push str.Excel.Application
mov ecx, edi
mov dword [ebp - 0x98], eax
call fcn.004093cf
cmp eax, ebx
jge 0x40d911
push dword [0x4262b0]
lea eax, [ebp - 0xcc]
push dword [0x42624c]
push eax
call fcn.00408930
add esp, 0xc
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
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, 0x41c644
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x64], esi
push 1
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 9
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 - 0x64]
lea ecx, [ebp - 0x174]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
mov eax, dword [ebp - 0x48]
push 0x421d48
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x174]
push eax
mov dword [ebp - 0x174], esi
call sub.MSVCRT.dll__CxxThrowException
cmp byte [esi + 0xa4], 1
jne 0x40da61
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.0040967b
mov eax, dword [eax]
cmp eax, ebx
je 0x40d933
mov eax, dword [eax]
jmp 0x40d935
xor eax, eax
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
cmp eax, 9
mov ecx, dword [ebp - 0x1c]
setle bl
test ecx, ecx
je 0x40d94f
call fcn.00403ee8
test bl, bl
je 0x40da61
mov eax, dword [esi + 0x190]
test eax, eax
je 0x40d972
push 0
push 0
push dword [0x41c658]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push dword [0x426260]
lea eax, [ebp - 0x54]
push dword [0x42624c]
push eax
call fcn.00408930
add esp, 0xc
push eax
lea eax, [ebp - 0xac]
push eax
mov byte [ebp - 4], 0xa
call fcn.00406f40
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], 0xb
je 0x40d9b0
mov edi, eax
push dword [0x4262c8]
lea eax, [ebp - 0x104]
push dword [0x42624c]
push eax
call fcn.00408930
add esp, 0xc
push eax
lea eax, [ebp - 0xcc]
push eax
mov byte [ebp - 4], 0xc
call fcn.00406f40
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x40d9ea
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 - 0xcc]
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], 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_]
push edi
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0xa
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], 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_]
push edi
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 2
call fcn.00403e6f
push edi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.00403e6f
and byte [ebp - 4], 0
push edi
jmp 0x40e977
mov eax, dword [edi]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x1c], ebx
call dword [eax + 0x14]
cmp eax, ebx
je 0x40dace
lea eax, [ebp - 0x64]
mov ecx, edi
push eax
call fcn.0040973e
push 2
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00416133
and eax, 0xff
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 6
call fcn.004042a1
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0040967b
mov eax, dword [eax]
cmp eax, ebx
je 0x40dab2
mov eax, dword [eax]
jmp 0x40dab4
xor eax, eax
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
pop ecx
mov dword [esi + 0x180], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x40dace
call fcn.00403ee8
push ebx
mov ecx, edi
call fcn.00409533
mov ecx, esi
call fcn.0040cad5
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0x134]
mov byte [ebp - 0x134], 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 - 0x134]
mov byte [ebp - 4], 0xe
push eax
push 0xf
call fcn.00407210
pop ecx
pop ecx
lea ecx, [ebp - 0x134]
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.00406700
mov ecx, edi
call fcn.004096ed
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0xa
push 0x80020004
call fcn.00405936
lea eax, [ebp - 0x240]
mov ecx, edi
push eax
mov byte [ebp - 4], 0xf
call fcn.00409416
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x11
push ecx
mov ecx, eax
call fcn.00409c81
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x13
call fcn.004042a1
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x124]
call dword [eax + 0x14]
cmp eax, ebx
je 0x40dc15
sub esp, 0x10
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ebp - 0x18], esp
push 3
push 1
call fcn.00405936
lea eax, [ebp - 0xbc]
lea ecx, [ebp - 0x124]
push eax
mov byte [ebp - 4], 0x15
call fcn.0040bf69
mov edx, dword [eax]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x17
call dword [edx + 0x24]
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x19
call fcn.004042a1
push 0xffffefd7
lea ecx, [ebp - 0x64]
call fcn.0040a4ed
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x14
call fcn.004042a1
jmp 0x40dbf1
cmp byte [esi + 0x174], 0
mov dword [ebp - 4], 0x13
je 0x40dc15
mov ecx, esi
call fcn.0040cd42
push 0
lea ecx, [esi + 0x138]
call fcn.00409533
lea eax, [ebp - 0x18]
lea ecx, [esi + 0x138]
push eax
call fcn.004096b4
mov eax, dword [eax]
xor ebx, ebx
cmp eax, ebx
mov byte [ebp - 4], 0x1b
je 0x40dc34
mov edi, dword [eax]
jmp 0x40dc36
xor edi, edi
push dword [0x4262fc]
lea eax, [ebp - 0xac]
push dword [0x42624c]
push eax
call fcn.00408930
add esp, 0xc
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x1c
call fcn.00406f40
mov eax, dword [eax + 4]
pop ecx
cmp eax, ebx
pop ecx
jne 0x40dc6d
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 - 0x54]
mov dword [esi + 0x158], 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 - 0xac]
mov byte [ebp - 4], 0x1b
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 - 0x18]
mov byte [ebp - 4], 0x13
cmp ecx, ebx
je 0x40dca8
call fcn.00403ee8
push dword [esi + 0x158]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40e987
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x158]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esi + 0x44]
cmp eax, ebx
jne 0x40dcd8
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 - 0x20]
call fcn.004189f0
cmp eax, ebx
jne 0x40ddcd
sub esp, 0x10
mov edi, esp
mov dword [ebp - 0x18], esp
push edi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, 0x429528
push esi
push edi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, ebx
jge 0x40dd0f
push eax
call fcn.004161b1
sub esp, 0x10
mov byte [ebp - 4], 0x1d
mov ecx, esp
mov dword [ebp - 0x1c], esp
push esi
call fcn.0040f1c3
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x18], esp
push ebx
call fcn.0040f217
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x13
call fcn.0040bd2a
mov eax, dword [ebp - 0x124]
push ebx
lea ecx, [ebp - 0x124]
call dword [eax + 0xc]
push dword [0x4262ac]
lea eax, [ebp - 0x54]
push dword [0x42624c]
push eax
call fcn.00408930
add esp, 0xc
push eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x1e
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, 0x41c644
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xbc], esi
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x20
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 - 0xbc]
lea ecx, [ebp - 0x194]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
mov eax, dword [ebp - 0xa0]
push 0x421d48
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x194]
push eax
mov dword [ebp - 0x194], esi
call sub.MSVCRT.dll__CxxThrowException
sub esp, 0x10
mov ebx, esp
mov dword [ebp - 0x18], esp
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edi, 0x429528
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x40ddf3
push eax
call fcn.004161b1
sub esp, 0x10
mov byte [ebp - 4], 0x25
mov ecx, esp
mov dword [ebp - 0x44], esp
push edi
call fcn.0040f1c3
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0
call fcn.0040f217
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x13
call fcn.0040bd2a
mov eax, dword [ebp - 0x124]
push 0
lea ecx, [ebp - 0x124]
call dword [eax + 0xc]
push dword [0x4262b8]
lea eax, [ebp - 0xac]
push dword [0x42624c]
push eax
call fcn.00408930
add esp, 0xc
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x26
call fcn.00406f40
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 0x27
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 - 0x44], esp
push eax
call fcn.00406700
lea ebx, [esi + 0x138]
mov ecx, ebx
call fcn.004096ed
push 1
lea ecx, [ebp - 0x54]
pop edi
mov byte [ebp - 4], 0x26
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 - 0xac]
mov byte [ebp - 4], 0x13
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp dword [ebp - 0x3c], 0
je 0x40deb1
push dword [ebp - 0x3c]
jmp 0x40deba
cmp dword [ebp - 0x40], 0
je 0x40ded0
push dword [ebp - 0x40]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x80
push dword [esi + 0x158]
call edi
jmp 0x40ded6
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x487
push dword [esi + 0x158]
call edi
push 0
mov ecx, ebx
mov dword [ebp - 0x18], eax
call fcn.00409533
mov eax, dword [esi + 0x184]
xor ebx, ebx
cmp eax, ebx
je 0x40df14
push ebx
push eax
push 0x49a
push dword [esi + 0x158]
call edi
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.00403e6f
mov eax, dword [esi + 0x18]
mov byte [ebp - 4], 0x28
cmp eax, ebx
je 0x40df5b
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
jne 0x40df3b
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 - 0x20]
call fcn.0040ce60
add esp, 0xc
push dword [esi + 0x18]
push eax
push 0x488
push dword [esi + 0x158]
call edi
cmp byte [esi + 0xa4], 0
je 0x40e06c
cmp dword [esi + 0x11c], ebx
je 0x40e06c
mov ecx, dword [ebp - 0x18]
mov eax, 0xfffff
mov edx, ecx
and edx, eax
cmp edx, eax
je 0x40e06c
mov eax, 0x40100
and ecx, eax
cmp ecx, eax
jne 0x40e06c
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0xcc]
mov byte [ebp - 0xcc], al
call fcn.00403e6f
mov eax, dword [esi + 0x118]
mov byte [ebp - 4], 0x29
cmp eax, ebx
jne 0x40dfbf
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0xcc]
push ecx
push eax
call fcn.00408520
mov ebx, dword [ebp - 0xc8]
pop ecx
test ebx, ebx
pop ecx
jne 0x40dfdd
mov ebx, 0x41c694
mov al, byte [ebp - 0x11]
push 0
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 ebx
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push ebx
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], 0x2a
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00406f40
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]
mov byte [ebp - 4], 0x2b
push dword [ecx]
lea ecx, [esi + 0xdc]
push 0
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 - 0x54]
mov byte [ebp - 4], 0x2a
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], 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_]
push 1
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x28
call fcn.00403e6f
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
push 0x413
mov ebx, 0x41c694
call fcn.0040c870
test al, al
je 0x40e0be
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40e08e
mov eax, ebx
push dword [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
call fcn.0040ce60
add esp, 0xc
push dword [ebp - 0x2c]
push eax
push 0x484
push dword [esi + 0x158]
call edi
push dword [0x41c690]
lea ecx, [ebp - 0x34]
push 0
call fcn.00405156
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
push 0x415
call fcn.0040c870
test al, al
je 0x40e10b
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40e0db
mov eax, ebx
push dword [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
call fcn.0040ce60
add esp, 0xc
push dword [ebp - 0x2c]
push eax
push 0x486
push dword [esi + 0x158]
call edi
push dword [0x41c690]
lea ecx, [ebp - 0x34]
push 0
call fcn.00405156
mov eax, dword [esi + 0x38]
test eax, eax
je 0x40e13f
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x40e11f
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 - 0x20]
call fcn.0040ce60
add esp, 0xc
push dword [esi + 0x38]
push eax
push 0x48d
push dword [esi + 0x158]
call edi
mov eax, dword [esi + 0x48]
test eax, eax
je 0x40e173
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x40e153
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 - 0x20]
call fcn.0040ce60
add esp, 0xc
push dword [esi + 0x48]
push eax
push 0x48e
push dword [esi + 0x158]
call edi
cmp dword [ebp - 0x7c], 0
je 0x40e1b5
mov eax, dword [ebp - 0x80]
test eax, eax
jne 0x40e182
mov eax, ebx
push dword [ebp - 0x7c]
push eax
push dword [ebp - 0x20]
call fcn.0040ce60
add esp, 0xc
push dword [ebp - 0x7c]
push eax
push 0x483
push dword [esi + 0x158]
call edi
push dword [0x41c690]
lea ecx, [ebp - 0x84]
push 0
call fcn.00405156
cmp dword [ebp - 0x6c], 0
je 0x40e1f4
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x40e1c4
mov eax, ebx
push dword [ebp - 0x6c]
push eax
push dword [ebp - 0x20]
call fcn.0040ce60
add esp, 0xc
push dword [ebp - 0x6c]
push eax
push 0x482
push dword [esi + 0x158]
call edi
push dword [0x41c690]
lea ecx, [ebp - 0x74]
push 0
call fcn.00405156
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40e231
mov ecx, dword [esi + 0xf0]
test ecx, ecx
jne 0x40e20e
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 - 0x20]
call fcn.0040ce60
add esp, 0xc
push dword [esi + 0xf4]
push eax
push 0x489
push dword [esi + 0x158]
call edi
mov eax, dword [esi + 0x104]
test eax, eax
je 0x40e26e
mov ecx, dword [esi + 0x100]
test ecx, ecx
jne 0x40e24b
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 - 0x20]
call fcn.0040ce60
add esp, 0xc
push dword [esi + 0x104]
push eax
push 0x48a
push dword [esi + 0x158]
call edi
and dword [ebp - 0x1c], 0
mov ebx, 0x485
cmp dword [ebp - 0x1c], 0xc8
jge 0x40e2e2
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0x4b0
push eax
call fcn.0040c870
test al, al
je 0x40e2d5
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40e2a4
mov eax, 0x41c694
push dword [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
call fcn.0040ce60
add esp, 0xc
push dword [ebp - 0x2c]
push eax
push ebx
push dword [esi + 0x158]
call edi
push dword [0x41c690]
lea ecx, [ebp - 0x34]
push 0
call fcn.00405156
inc dword [ebp - 0x1c]
jmp 0x40e277
push 0
push 0
push ebx
push dword [esi + 0x158]
call edi
push dword [0x41c690]
lea ecx, [ebp - 0x34]
push 0
call fcn.00405156
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
push 0x453
call fcn.0040c870
test al, al
je 0x40e342
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40e312
mov eax, 0x41c694
push dword [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
call fcn.0040ce60
add esp, 0xc
push dword [ebp - 0x2c]
push eax
push 0x48c
push dword [esi + 0x158]
call edi
push dword [0x41c690]
lea ecx, [ebp - 0x34]
push 0
call fcn.00405156
xor ebx, ebx
cmp dword [ebp - 0x8c], ebx
je 0x40e392
mov eax, dword [ebp - 0x90]
cmp eax, ebx
jne 0x40e35b
mov eax, 0x41c694
push dword [ebp - 0x8c]
push eax
push dword [ebp - 0x20]
call fcn.0040ce60
add esp, 0xc
push dword [ebp - 0x8c]
push eax
push 0x48b
push dword [esi + 0x158]
call edi
push dword [0x41c690]
lea ecx, [ebp - 0x34]
push ebx
call fcn.00405156
xor ebx, ebx
push ebx
push ebx
push 0x49b
push dword [esi + 0x158]
call edi
cmp dword [esi + 0x184], ebx
lea ecx, [esi + 0x138]
jne 0x40e3b8
push 1
call fcn.0040955a
jmp 0x40e3be
push ebx
call fcn.004094a2
cmp dword [esi + 0x184], 0
je 0x40e3cb
push 0
jmp 0x40e3d6
cmp byte [esi + 0xa3], 0
jne 0x40e3e1
push 1
lea ecx, [esi + 0x138]
call fcn.00409533
lea ecx, [ebp - 0x154]
call fcn.00406799
mov dword [ebp - 0x154], 0x41c878
lea eax, [ebp - 0x18]
lea ecx, [esi + 0x138]
push eax
mov byte [ebp - 4], 0x2d
call fcn.0040967b
mov eax, dword [eax]
test eax, eax
je 0x40e413
mov eax, dword [eax]
jmp 0x40e415
xor eax, eax
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
cmp eax, 0xe
mov ecx, dword [ebp - 0x18]
setge bl
test ecx, ecx
je 0x40e42f
call fcn.00403ee8
test bl, bl
je 0x40e440
push 1
lea ecx, [esi + 0x138]
call fcn.00409885
cmp byte [esi + 0xa4], 0
je 0x40e690
cmp dword [esi + 0x180], 0xc
jge 0x40e4ee
mov eax, dword [esi + 0x178]
cmp eax, 0x34
je 0x40e46e
cmp eax, 0x32
jne 0x40e4ee
push dword [0x4262e0]
lea eax, [ebp - 0xac]
push dword [0x42624c]
push eax
call fcn.00408930
add esp, 0xc
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x2e
call fcn.00406f40
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x40e4a5
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 + 0x158]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
lea ecx, [ebp - 0x54]
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 - 0xac]
mov byte [ebp - 4], 0x2d
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
and dword [ebp - 0xd0], 0
lea eax, [ebp - 0xd0]
push 0x421ff0
push eax
call sub.MSVCRT.dll__CxxThrowException
sub esp, 0x10
mov ebx, esp
mov dword [ebp - 0x44], esp
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0x429528
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x40e513
push eax
call fcn.004161b1
sub esp, 0x10
mov byte [ebp - 4], 0x2f
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x429528
call fcn.0040f1c3
sub esp, 0x10
mov byte [ebp - 4], 0x30
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x429528
call fcn.0040f1c3
sub esp, 0x10
mov byte [ebp - 4], 0x31
mov ecx, esp
mov dword [ebp - 0xd4], esp
push 0x429528
call fcn.0040f1c3
sub esp, 0x10
mov byte [ebp - 4], 0x32
mov ecx, esp
mov dword [ebp - 0xe0], esp
push 0x429528
call fcn.0040f1c3
sub esp, 0x10
mov byte [ebp - 4], 0x33
mov ecx, esp
mov dword [ebp - 0xec], esp
push 0x429528
call fcn.0040f1c3
sub esp, 0x10
mov byte [ebp - 4], 0x34
mov ecx, esp
mov dword [ebp - 0xe8], esp
push 0x429528
call fcn.0040f1c3
sub esp, 0x10
mov byte [ebp - 4], 0x35
mov ecx, esp
mov dword [ebp - 0xf0], esp
push 0x429528
call fcn.0040f1c3
lea ecx, [esi + 0xdc]
mov byte [ebp - 4], 0x36
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0xd8], esp
push eax
call fcn.0040f1e8
sub esp, 0x10
mov byte [ebp - 4], 0x37
mov ecx, esp
mov dword [ebp - 0xe4], esp
push 0x429528
call fcn.0040f1c3
sub esp, 0x10
mov byte [ebp - 4], 0x38
mov ecx, esp
mov dword [ebp - 0xf4], esp
push 0x429528
call fcn.0040f1c3
sub esp, 0x10
mov byte [ebp - 4], 0x39
mov ecx, esp
mov dword [ebp - 0x9c], esp
push 3
push 3
call fcn.00405936
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 0x3a
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.00406700
lea eax, [ebp - 0xbc]
lea ecx, [esi + 0x138]
push eax
mov byte [ebp - 4], 0x3b
call fcn.00409416
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x3d
push ecx
mov ecx, eax
call fcn.00409e07
push eax
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x3e
call fcn.00405a9b
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x3d
call fcn.004042a1
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0xbc]
jmp 0x40e825
sub esp, 0x10
mov ebx, esp
mov dword [ebp - 0x38], esp
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0x429528
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x40e6b5
push eax
call fcn.004161b1
sub esp, 0x10
mov byte [ebp - 4], 0x3f
mov ecx, esp
mov dword [ebp - 0x9c], esp
push 0x429528
call fcn.0040f1c3
sub esp, 0x10
mov byte [ebp - 4], 0x40
mov ecx, esp
mov dword [ebp - 0xf4], esp
push 0x429528
call fcn.0040f1c3
sub esp, 0x10
mov byte [ebp - 4], 0x41
mov ecx, esp
mov dword [ebp - 0xe4], esp
push 0x429528
call fcn.0040f1c3
sub esp, 0x10
mov byte [ebp - 4], 0x42
mov ecx, esp
mov dword [ebp - 0xd8], esp
push 0x429528
call fcn.0040f1c3
sub esp, 0x10
mov byte [ebp - 4], 0x43
mov ecx, esp
mov dword [ebp - 0xf0], esp
push 0x429528
call fcn.0040f1c3
sub esp, 0x10
mov byte [ebp - 4], 0x44
mov ecx, esp
mov dword [ebp - 0xe8], esp
push 0x429528
call fcn.0040f1c3
sub esp, 0x10
mov byte [ebp - 4], 0x45
mov ecx, esp
mov dword [ebp - 0xec], esp
push 0x429528
call fcn.0040f1c3
sub esp, 0x10
mov byte [ebp - 4], 0x46
mov ecx, esp
mov dword [ebp - 0xe0], esp
push 0x429528
call fcn.0040f1c3
sub esp, 0x10
mov byte [ebp - 4], 0x47
mov ecx, esp
mov dword [ebp - 0xd4], esp
push 0x429528
call fcn.0040f1c3
sub esp, 0x10
mov byte [ebp - 4], 0x48
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0x429528
call fcn.0040f1c3
sub esp, 0x10
mov byte [ebp - 4], 0x49
mov ecx, esp
mov dword [ebp - 0x18], esp
push 3
push 3
call fcn.00405936
mov byte [ebp - 4], 0x4a
lea ecx, [esi + 0x30]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00406700
lea eax, [ebp - 0xbc]
lea ecx, [esi + 0x138]
push eax
mov byte [ebp - 4], 0x4b
call fcn.00409416
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x4d
push ecx
mov ecx, eax
call fcn.00409e07
push eax
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x4e
call fcn.00405a9b
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x4d
call fcn.004042a1
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0xbc]
call fcn.004042a1
mov ecx, dword [esi + 0x110]
lea eax, [esi + 0x110]
mov edx, 0xffffeff7
cmp ecx, edx
je 0x40e84e
cmp ecx, 0xffffefd9
je 0x40e84e
cmp ecx, 2
je 0x40e84e
mov dword [eax], edx
push dword [eax]
lea ebx, [esi + 0x138]
mov ecx, ebx
call fcn.0040960d
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0xc]
jmp 0x40e87b
cmp byte [ebp - 0x11], 0
mov dword [ebp - 4], 0x2c
je 0x40e8a0
and dword [ebp - 0xdc], 0
lea eax, [ebp - 0xdc]
push 0x421ff0
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 0x190]
xor ebx, ebx
cmp eax, ebx
je 0x40e8bb
push ebx
push ebx
push dword [0x41c654]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
cmp dword [esi + 0x184], ebx
jne 0x40e903
mov eax, dword [ebp - 0x154]
lea ecx, [ebp - 0x154]
call dword [eax + 0x14]
test eax, eax
je 0x40e903
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x38], esp
push 3
push 1
call fcn.00405936
lea ecx, [ebp - 0x154]
call fcn.0040bf0e
mov eax, dword [ebp - 0x154]
push 0
lea ecx, [ebp - 0x154]
call dword [eax + 0xc]
push 0
push 0
push 0x48f
push dword [esi + 0x158]
call edi
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0x28
call fcn.004042a1
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x13
call fcn.00403e6f
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0xe
call fcn.004042a1
push 1
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 6
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 - 0x94]
mov byte [ebp - 4], 2
call fcn.00403e6f
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.00403e6f
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x84]
call fcn.00403e6f
jmp 0x40eb80
sub esp, 0x10
mov edi, esp
mov dword [ebp - 0x38], esp
push edi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, 0x429528
push esi
push edi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, ebx
jge 0x40e9ad
push eax
call fcn.004161b1
sub esp, 0x10
mov byte [ebp - 4], 0x21
mov ecx, esp
mov dword [ebp - 0x9c], esp
push esi
call fcn.0040f1c3
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x38], esp
push ebx
call fcn.0040f217
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x13
call fcn.0040bd2a
mov eax, dword [ebp - 0x124]
push ebx
lea ecx, [ebp - 0x124]
call dword [eax + 0xc]
push dword [0x4262b4]
lea eax, [ebp - 0x54]
push dword [0x42624c]
push eax
call fcn.00408930
add esp, 0xc
push eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x22
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, 0x41c644
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xbc], esi
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x24
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 - 0xbc]
lea ecx, [ebp - 0x1d4]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
mov eax, dword [ebp - 0xa0]
push 0x421d48
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x1d4]
push eax
mov dword [ebp - 0x1d4], esi
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x51
mov byte [eax + 0x17c], 1
mov eax, dword [eax + 0x190]
test eax, eax
je 0x40ea9f
push 0
push 0
push dword [0x41c658]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x260]
lea ecx, [ebp - 0x1f4]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
mov eax, dword [ebp - 0x244]
push 0x421d48
mov dword [ebp - 0x1d8], eax
lea eax, [ebp - 0x1f4]
push eax
mov dword [ebp - 0x1f4], 0x41c644
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x52
mov byte [eax + 0x17c], 1
mov eax, dword [eax + 0x190]
test eax, eax
je 0x40eb0a
push 0
push 0
push dword [0x41c658]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x27c]
lea ecx, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x210]
push 0x421fe0
push eax
mov dword [ebp - 0x210], 0x41c618
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x24]
mov byte [ebp - 0x11], 1
mov eax, dword [eax + 0x190]
test eax, eax
je 0x40eb62
push 0
push 0
push dword [0x41c658]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x220]
call fcn.00409941
mov eax, 0x40eb7d
ret
mov al, byte [ebp - 0x11]
lea edi, [esi + 0x17c]
mov ecx, esi
mov dword [ebp - 4], 0x53
mov byte [edi], al
call fcn.0040c27e
cmp byte [edi], 0
jne 0x40ebc3
push str.SwitchToThisWindow
push str.User32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ebc3
push 1
push dword [esi + 0x158]
call eax
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x194]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
call dword [sym.imp.MSVCRT.dll_clock]
sub eax, dword [ebp - 0x98]
cmp dword [ebp - 0x1c], 0x103
jne 0x40ec03
test eax, eax
jle 0x40ec03
mov ecx, dword [0x41c650]
cmp eax, ecx
jae 0x40ec03
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