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

Disassembly:
mov eax, 0x4163b1
call fcn.00412f70
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.00403655
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
push 0x44c
mov byte [ebp - 4], 1
call fcn.0040a8e9
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
call fcn.0040c7e0
mov al, byte [ebp - 0x12]
push ebx
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x94], al
call fcn.00403655
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
push 0x438
mov byte [ebp - 4], 2
call fcn.0040a8e9
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
call fcn.0040adb8
mov al, byte [ebp - 0x12]
push ebx
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x54], al
call fcn.00403655
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
push 0x451
mov byte [ebp - 4], 3
call fcn.0040a8c2
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x44], ebx
cmp eax, ebx
mov dword [ebp - 0x40], ebx
jne 0x40b08a
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 [0x41789b]
cmp eax, dword [esi + 0x10c]
je 0x40b113
push dword [0x420264]
lea eax, [ebp - 0x10c]
push dword [0x4201fc]
push eax
call fcn.00406b8e
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, 0x4175b4
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 0x41cad8
push eax
mov dword [ebp - 0x188], esi
call sub.MSVCRT.dll__CxxThrowException
cmp dword [esi + 0xc4], ebx
je 0x40b277
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 0x40b15e
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 0x40b1d6
push esi
lea ecx, [ebp - 0x2c0]
call fcn.0040c5b5
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 0x421d20
call fcn.00404d06
mov eax, dword [0x421d28]
push ebx
push 0x40cb04
push edi
push 0x71
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
jne 0x40b2cf
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.00402202
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 0x40b265
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x42027c]
lea eax, [ebp - 0x10c]
push dword [0x4201fc]
push eax
call fcn.00406b8e
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, 0x4175b4
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 0x41cad8
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 0x40b4a9
cmp dword [esi + 0x174], ebx
jne 0x40b4a9
mov eax, dword [ebp - 0x50]
mov edi, 0x4175e4
cmp eax, ebx
jne 0x40b29b
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 0x40b2f5
cmp dword [ebp - 0x50], ebx
je 0x40b2b7
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 0x40b37f
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 7
call fcn.00402202
push 1
mov byte [ebp - 4], 3
pop edi
lea ecx, [ebp - 0xa8]
push edi
jmp 0x40c3a5
cmp dword [ebp - 0x50], ebx
je 0x40b2fd
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.00406112
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.004133b0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xe
call fcn.004133c4
cmp dword [esi + 0x88], ebx
je 0x40b4a3
cmp byte [esi + 0xa1], 0
jne 0x40b3d1
cmp byte [esi + 0xa2], 0
jne 0x40b3d1
lea eax, [esi + 0x158]
lea ecx, [ebp - 0xa4]
push eax
call fcn.004133e4
test al, al
je 0x40b4a3
lea ecx, [ebp - 0x2c0]
call fcn.0040c550
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0xf
cmp eax, ebx
jne 0x40b3ee
mov eax, dword [ebp - 0x44]
cmp eax, ebx
je 0x40b3f4
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 0x40b403
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 0x40b42d
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 0x421d20
call fcn.00404d06
mov eax, dword [0x421d28]
push 0
push 0x40cb04
push edi
push 0x71
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push 1
pop edi
cmp eax, edi
je 0x40b494
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 0xe
call fcn.004019a0
jmp 0x40c3ab
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xe
call fcn.004019a0
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 0x40b4fe
mov ecx, 0x422198
call fcn.0040dcb5
cmp eax, 3
jne 0x40b4e1
test byte [0x4221b0], 1
je 0x40b4e1
cmp byte [esi + 0xa5], 0
je 0x40b4fe
lea eax, [ebp - 0x34]
push eax
push ebx
push 0x422198
push 0x409e54
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.00407285
cmp eax, ebx
jge 0x40b581
push dword [0x420260]
lea eax, [ebp - 0xc0]
push dword [0x4201fc]
push eax
call fcn.00406b8e
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, 0x4175b4
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 0x41cad8
push eax
mov dword [ebp - 0x1c0], esi
call sub.MSVCRT.dll__CxxThrowException
cmp byte [esi + 0xa4], 1
jne 0x40b6aa
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00407531
mov eax, dword [eax]
cmp eax, ebx
je 0x40b5a3
mov eax, dword [eax]
jmp 0x40b5a5
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 0x40b5bf
call fcn.004036bb
test bl, bl
je 0x40b6aa
xor ebx, ebx
cmp dword [ebp - 0x34], ebx
je 0x40b5de
push ebx
push ebx
push 0x502
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push dword [0x420210]
lea eax, [ebp - 0x64]
push dword [0x4201fc]
push eax
call fcn.00406b8e
add esp, 0xc
push eax
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 0x13
call fcn.00406112
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 0x40b61c
mov edi, eax
push dword [0x420278]
lea eax, [ebp - 0x10c]
push dword [0x4201fc]
push eax
call fcn.00406b8e
add esp, 0xc
push eax
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 0x15
call fcn.00406112
mov eax, dword [eax + 4]
pop ecx
cmp eax, ebx
pop ecx
jne 0x40b656
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 0x40c3ab
mov eax, dword [edi]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x18], ebx
call dword [eax + 0x14]
cmp eax, ebx
je 0x40b717
lea eax, [ebp - 0x74]
mov ecx, edi
push eax
call fcn.004075f4
push 2
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.004126fe
and eax, 0xff
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
call fcn.00403a73
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00407531
mov eax, dword [eax]
cmp eax, ebx
je 0x40b6fb
mov eax, dword [eax]
jmp 0x40b6fd
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 0x40b717
call fcn.004036bb
push ebx
mov ecx, edi
call fcn.004073dd
mov ecx, esi
call fcn.0040aafa
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.004061f7
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.00405cd3
mov ecx, edi
call fcn.004075a3
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0xa
push 0x80020004
call fcn.00404f09
lea eax, [ebp - 0x11c]
mov ecx, edi
push eax
mov byte [ebp - 4], 0x18
call fcn.004072c0
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x1a
push ecx
mov ecx, eax
call fcn.00407b4a
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x1c
call fcn.00403a73
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x16c]
call dword [eax + 0x14]
cmp eax, ebx
je 0x40b8c5
sub esp, 0x10
mov byte [ebp - 4], 0x1d
mov ecx, esp
mov dword [ebp - 0x20], esp
push 3
push 1
call fcn.00404f09
lea eax, [ebp - 0xd0]
lea ecx, [ebp - 0x16c]
push eax
mov byte [ebp - 4], 0x1e
call fcn.00409d9b
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.00403a73
push 0xffffefd7
lea ecx, [ebp - 0x74]
call fcn.004083b6
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1d
call fcn.00403a73
jmp 0x40b83a
cmp byte [esi + 0x164], 0
mov dword [ebp - 4], 0x1c
je 0x40b85e
mov ecx, esi
call fcn.0040ac34
push 0
lea ecx, [esi + 0x128]
call fcn.004073dd
sub esp, 0x10
mov ebx, esp
mov dword [ebp - 0x20], esp
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edi, 0x422188
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x40b884
push eax
call fcn.0041277c
sub esp, 0x10
mov byte [ebp - 4], 0x24
mov ecx, esp
mov dword [ebp - 0x3c], esp
push edi
call fcn.0040ca9a
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0
call fcn.0040caee
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x1c
call fcn.00409b5c
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.0040756a
mov eax, dword [eax]
mov byte [ebp - 4], 0x25
test eax, eax
je 0x40b8e5
mov edi, dword [eax]
jmp 0x40b8e7
xor edi, edi
push dword [0x42029c]
lea eax, [ebp - 0xc0]
push dword [0x4201fc]
push eax
call fcn.00406b8e
add esp, 0xc
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x26
call fcn.00406112
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x40b91e
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 0x40b957
call fcn.004036bb
push dword [esi + 0x148]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c3dd
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 0x40b987
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.004140f7
test eax, eax
jne 0x40ba00
push dword [0x42025c]
lea eax, [ebp - 0x64]
push dword [0x4201fc]
push eax
call fcn.00406b8e
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, 0x4175b4
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 0x41cad8
push eax
mov dword [ebp - 0x230], esi
call sub.MSVCRT.dll__CxxThrowException
push dword [0x420268]
lea eax, [ebp - 0xc0]
push dword [0x4201fc]
push eax
call fcn.00406b8e
add esp, 0xc
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x2d
call fcn.00406112
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.00405cd3
lea ecx, [esi + 0x128]
call fcn.004075a3
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 0x40ba78
push dword [ebp - 0x40]
jmp 0x40ba81
cmp dword [ebp - 0x44], 0
je 0x40ba93
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 0x40baca
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.00403655
mov eax, dword [esi + 0x18]
mov byte [ebp - 4], 0x2f
test eax, eax
je 0x40bb12
mov ecx, dword [esi + 0x14]
test ecx, ecx
jne 0x40baf2
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.0040ad52
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.0040a8e9
test al, al
je 0x40bb66
mov eax, dword [ebp - 0x2c]
mov ebx, 0x4175e4
test eax, eax
jne 0x40bb34
mov eax, ebx
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.0040ad52
add esp, 0xc
push dword [ebp - 0x28]
push eax
push 0x484
push dword [esi + 0x148]
call edi
push dword [0x4175e0]
lea ecx, [ebp - 0x30]
push 0
call fcn.0040467c
jmp 0x40bb6b
mov ebx, 0x4175e4
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push 0x415
call fcn.0040a8e9
test al, al
je 0x40bbb8
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40bb88
mov eax, ebx
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.0040ad52
add esp, 0xc
push dword [ebp - 0x28]
push eax
push 0x486
push dword [esi + 0x148]
call edi
push dword [0x4175e0]
lea ecx, [ebp - 0x30]
push 0
call fcn.0040467c
mov eax, dword [esi + 0x38]
test eax, eax
je 0x40bbec
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x40bbcc
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.0040ad52
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 0x40bc20
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x40bc00
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.0040ad52
add esp, 0xc
push dword [esi + 0x48]
push eax
push 0x48e
push dword [esi + 0x148]
call edi
cmp dword [ebp - 0x7c], 0
je 0x40bc62
mov eax, dword [ebp - 0x80]
test eax, eax
jne 0x40bc2f
mov eax, ebx
push dword [ebp - 0x7c]
push eax
push dword [ebp - 0x1c]
call fcn.0040ad52
add esp, 0xc
push dword [ebp - 0x7c]
push eax
push 0x483
push dword [esi + 0x148]
call edi
push dword [0x4175e0]
lea ecx, [ebp - 0x84]
push 0
call fcn.0040467c
cmp dword [ebp - 0x8c], 0
je 0x40bcb0
mov eax, dword [ebp - 0x90]
test eax, eax
jne 0x40bc77
mov eax, ebx
push dword [ebp - 0x8c]
push eax
push dword [ebp - 0x1c]
call fcn.0040ad52
add esp, 0xc
push dword [ebp - 0x8c]
push eax
push 0x482
push dword [esi + 0x148]
call edi
push dword [0x4175e0]
lea ecx, [ebp - 0x94]
push 0
call fcn.0040467c
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40bced
mov ecx, dword [esi + 0xf0]
test ecx, ecx
jne 0x40bcca
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.0040ad52
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 0x40bd2a
mov ecx, dword [esi + 0x100]
test ecx, ecx
jne 0x40bd07
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.0040ad52
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 0x40bd9e
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x4b0
push eax
call fcn.0040a8e9
test al, al
je 0x40bd91
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40bd60
mov eax, 0x4175e4
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.0040ad52
add esp, 0xc
push dword [ebp - 0x28]
push eax
push ebx
push dword [esi + 0x148]
call edi
push dword [0x4175e0]
lea ecx, [ebp - 0x30]
push 0
call fcn.0040467c
inc dword [ebp - 0x18]
jmp 0x40bd33
push 0
push 0
push ebx
push dword [esi + 0x148]
call edi
push dword [0x4175e0]
xor ebx, ebx
lea ecx, [ebp - 0x30]
push ebx
call fcn.0040467c
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push 0x453
call fcn.0040a8e9
test al, al
je 0x40bdfe
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x40bdcf
mov eax, 0x4175e4
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.0040ad52
add esp, 0xc
push dword [ebp - 0x28]
push eax
push 0x48c
push dword [esi + 0x148]
call edi
push dword [0x4175e0]
lea ecx, [ebp - 0x30]
push ebx
call fcn.0040467c
cmp dword [ebp - 0x4c], ebx
je 0x40be3e
mov eax, dword [ebp - 0x50]
cmp eax, ebx
jne 0x40be0f
mov eax, 0x4175e4
push dword [ebp - 0x4c]
push eax
push dword [ebp - 0x1c]
call fcn.0040ad52
add esp, 0xc
push dword [ebp - 0x4c]
push eax
push 0x48b
push dword [esi + 0x148]
call edi
push dword [0x4175e0]
lea ecx, [ebp - 0x30]
push ebx
call fcn.0040467c
cmp dword [esi + 0x174], ebx
lea ebx, [esi + 0x128]
jne 0x40be57
push 1
mov ecx, ebx
call fcn.00407404
jmp 0x40be60
push 0
mov ecx, ebx
call fcn.0040734c
cmp dword [esi + 0x174], 0
je 0x40be6d
push 0
jmp 0x40be78
cmp byte [esi + 0xa3], 0
jne 0x40be7f
push 1
mov ecx, ebx
call fcn.004073dd
lea ecx, [ebp - 0x14c]
call fcn.00405d6c
mov dword [ebp - 0x14c], 0x417788
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
mov byte [ebp - 4], 0x31
call fcn.00407531
mov eax, dword [eax]
test eax, eax
je 0x40bead
mov eax, dword [eax]
jmp 0x40beaf
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 0x40beca
call fcn.004036bb
cmp byte [ebp - 0x12], 0
je 0x40bed9
push 1
mov ecx, ebx
call fcn.0040773b
cmp byte [esi + 0xa4], 0
je 0x40c10c
cmp dword [esi + 0x170], 0xc
jge 0x40bf87
mov eax, dword [esi + 0x168]
cmp eax, 0x34
je 0x40bf07
cmp eax, 0x32
jne 0x40bf87
push dword [0x420290]
lea eax, [ebp - 0xc0]
push dword [0x4201fc]
push eax
call fcn.00406b8e
add esp, 0xc
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x32
call fcn.00406112
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x40bf3e
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 0x41cc20
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, 0x422188
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x40bfb0
push eax
call fcn.0041277c
sub esp, 0x10
mov byte [ebp - 4], 0x33
mov ecx, esp
mov dword [ebp - 0x20], esp
push ebx
call fcn.0040ca9a
sub esp, 0x10
mov byte [ebp - 4], 0x34
mov ecx, esp
mov dword [ebp - 0x18], esp
push ebx
call fcn.0040ca9a
sub esp, 0x10
mov byte [ebp - 4], 0x35
mov ecx, esp
mov dword [ebp - 0xe8], esp
push ebx
call fcn.0040ca9a
sub esp, 0x10
mov byte [ebp - 4], 0x36
mov ecx, esp
mov dword [ebp - 0xf8], esp
push ebx
call fcn.0040ca9a
sub esp, 0x10
mov byte [ebp - 4], 0x37
mov ecx, esp
mov dword [ebp - 0xf0], esp
push ebx
call fcn.0040ca9a
sub esp, 0x10
mov byte [ebp - 4], 0x38
mov ecx, esp
mov dword [ebp - 0xf4], esp
push ebx
call fcn.0040ca9a
sub esp, 0x10
mov byte [ebp - 4], 0x39
mov ecx, esp
mov dword [ebp - 0xec], esp
push ebx
call fcn.0040ca9a
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.0040cabf
sub esp, 0x10
mov byte [ebp - 4], 0x3b
mov ecx, esp
mov dword [ebp - 0xdc], esp
push ebx
call fcn.0040ca9a
sub esp, 0x10
mov byte [ebp - 4], 0x3c
mov ecx, esp
mov dword [ebp - 0xe4], esp
push ebx
call fcn.0040ca9a
sub esp, 0x10
mov byte [ebp - 4], 0x3d
mov ecx, esp
mov dword [ebp - 0xd4], esp
push 3
push 3
call fcn.00404f09
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.00405cd3
lea eax, [ebp - 0xd0]
lea ecx, [esi + 0x128]
push eax
mov byte [ebp - 4], 0x3f
call fcn.004072c0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x41
push ecx
mov ecx, eax
call fcn.00407cd0
push eax
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x42
call fcn.0040506e
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x41
call fcn.00403a73
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0xd0]
jmp 0x40c280
sub esp, 0x10
mov dword [ebp - 0xb0], esp
mov dword [ebp - 0x18], esp
push esp
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ebx, 0x422188
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x40c138
push eax
call fcn.0041277c
sub esp, 0x10
mov byte [ebp - 4], 0x43
mov ecx, esp
mov dword [ebp - 0xd4], esp
push ebx
call fcn.0040ca9a
sub esp, 0x10
mov byte [ebp - 4], 0x44
mov ecx, esp
mov dword [ebp - 0xe4], esp
push ebx
call fcn.0040ca9a
sub esp, 0x10
mov byte [ebp - 4], 0x45
mov ecx, esp
mov dword [ebp - 0xdc], esp
push ebx
call fcn.0040ca9a
sub esp, 0x10
mov byte [ebp - 4], 0x46
mov ecx, esp
mov dword [ebp - 0xd8], esp
push ebx
call fcn.0040ca9a
sub esp, 0x10
mov byte [ebp - 4], 0x47
mov ecx, esp
mov dword [ebp - 0xec], esp
push ebx
call fcn.0040ca9a
sub esp, 0x10
mov byte [ebp - 4], 0x48
mov ecx, esp
mov dword [ebp - 0xf4], esp
push ebx
call fcn.0040ca9a
sub esp, 0x10
mov byte [ebp - 4], 0x49
mov ecx, esp
mov dword [ebp - 0xf0], esp
push ebx
call fcn.0040ca9a
sub esp, 0x10
mov byte [ebp - 4], 0x4a
mov ecx, esp
mov dword [ebp - 0xf8], esp
push ebx
call fcn.0040ca9a
sub esp, 0x10
mov byte [ebp - 4], 0x4b
mov ecx, esp
mov dword [ebp - 0xe8], esp
push ebx
call fcn.0040ca9a
sub esp, 0x10
mov byte [ebp - 4], 0x4c
mov ecx, esp
mov dword [ebp - 0x3c], esp
push ebx
call fcn.0040ca9a
sub esp, 0x10
mov byte [ebp - 4], 0x4d
mov ecx, esp
mov dword [ebp - 0x20], esp
push 3
push 3
call fcn.00404f09
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.00405cd3
lea eax, [ebp - 0xd0]
lea ecx, [esi + 0x128]
push eax
mov byte [ebp - 4], 0x4f
call fcn.004072c0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x51
push ecx
mov ecx, eax
call fcn.00407cd0
push eax
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x52
call fcn.0040506e
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x51
call fcn.00403a73
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0xd0]
call fcn.00403a73
mov ecx, dword [esi + 0x110]
lea eax, [esi + 0x110]
mov edx, 0xffffeff7
cmp ecx, edx
je 0x40c2a9
cmp ecx, 0xffffefd9
je 0x40c2a9
cmp ecx, 2
je 0x40c2a9
mov dword [eax], edx
push dword [eax]
lea ebx, [esi + 0x128]
mov ecx, ebx
call fcn.004074c3
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0xc]
xor ebx, ebx
jmp 0x40c2da
cmp byte [ebp - 0x11], 0
mov dword [ebp - 4], 0x30
je 0x40c2fe
lea eax, [ebp - 0xe0]
push 0x41cc20
push eax
mov dword [ebp - 0xe0], ebx
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp - 0x34], ebx
je 0x40c313
push ebx
push ebx
push 0x501
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
cmp dword [esi + 0x174], ebx
jne 0x40c35d
mov eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x14c]
call dword [eax + 0x14]
cmp eax, ebx
je 0x40c35d
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0xb0], esp
push 3
push 1
call fcn.00404f09
lea ecx, [ebp - 0x14c]
call fcn.00409d40
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.00403a73
push 1
lea ecx, [ebp - 0x30]
pop edi
mov byte [ebp - 4], 0x1c
push edi
call fcn.00403655
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x17
call fcn.00403a73
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.00403655
push edi
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.00403655
and byte [ebp - 4], 0
push edi
lea ecx, [ebp - 0x84]
call fcn.00403655
jmp 0x40c4e3
push dword [0x420264]
lea eax, [ebp - 0x64]
push dword [0x4201fc]
push eax
call fcn.00406b8e
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, 0x4175b4
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 0x41cad8
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 0x41cad8
push eax
mov dword [ebp - 0x1a4], 0x4175b4
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 0x41cc10
push eax
mov dword [ebp - 0x1dc], 0x417588
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 0x11], 1
call fcn.0040780a
mov eax, 0x40c4e0
ret
mov al, byte [ebp - 0x11]
mov ecx, esi
mov dword [ebp - 4], 0x57
mov byte [esi + 0x16c], al
call fcn.0040a2f7
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 0x40c539
test eax, eax
jle 0x40c539
mov ecx, 0x1388
cmp eax, ecx
jae 0x40c539
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