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

Disassembly:
mov eax, 0x416385
call fcn.00412f30
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.0040366c
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
push 0x44c
mov byte [ebp - 4], 1
call fcn.0040a908
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
call fcn.0040c7ff
mov al, byte [ebp - 0x12]
push ebx
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x94], al
call fcn.0040366c
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
push 0x438
mov byte [ebp - 4], 2
call fcn.0040a908
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
call fcn.0040add7
mov al, byte [ebp - 0x12]
push ebx
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x54], al
call fcn.0040366c
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
push 0x451
mov byte [ebp - 4], 3
call fcn.0040a8e1
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x44], ebx
cmp eax, ebx
mov dword [ebp - 0x40], ebx
jne 0x40b0a9
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 [0x4178ab]
cmp eax, dword [esi + 0x10c]
je 0x40b132
push dword [0x420264]
lea eax, [ebp - 0x10c]
push dword [0x4201fc]
push eax
call fcn.00406bcd
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 0x41cae8
push eax
mov dword [ebp - 0x188], esi
call sub.MSVCRT.dll__CxxThrowException
cmp dword [esi + 0xc4], ebx
je 0x40b296
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 0x40b17d
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 0x40b1f5
push esi
lea ecx, [ebp - 0x2c0]
call fcn.0040c5d4
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.00404d38
mov eax, dword [0x421d28]
push ebx
push 0x40cb23
push edi
push 0x71
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
jne 0x40b2ee
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.00402221
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 0x40b284
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x42027c]
lea eax, [ebp - 0x10c]
push dword [0x4201fc]
push eax
call fcn.00406bcd
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 0x41cae8
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 0x40b4c8
cmp dword [esi + 0x174], ebx
jne 0x40b4c8
mov eax, dword [ebp - 0x50]
mov edi, 0x4175e4
cmp eax, ebx
jne 0x40b2ba
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 0x40b314
cmp dword [ebp - 0x50], ebx
je 0x40b2d6
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 0x40b39e
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 7
call fcn.00402221
push 1
mov byte [ebp - 4], 3
pop edi
lea ecx, [ebp - 0xa8]
push edi
jmp 0x40c3c4
cmp dword [ebp - 0x50], ebx
je 0x40b31c
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.00406108
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.00413370
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xe
call fcn.00413384
cmp dword [esi + 0x88], ebx
je 0x40b4c2
cmp byte [esi + 0xa1], 0
jne 0x40b3f0
cmp byte [esi + 0xa2], 0
jne 0x40b3f0
lea eax, [esi + 0x158]
lea ecx, [ebp - 0xa4]
push eax
call fcn.004133a4
test al, al
je 0x40b4c2
lea ecx, [ebp - 0x2c0]
call fcn.0040c56f
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0xf
cmp eax, ebx
jne 0x40b40d
mov eax, dword [ebp - 0x44]
cmp eax, ebx
je 0x40b413
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 0x40b422
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 0x40b44c
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.00404d38
mov eax, dword [0x421d28]
push 0
push 0x40cb23
push edi
push 0x71
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push 1
pop edi
cmp eax, edi
je 0x40b4b3
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 0xe
call fcn.004019c0
jmp 0x40c3ca
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xe
call fcn.004019c0
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 0x40b51d
mov ecx, 0x422198
call fcn.0040dcb3
cmp eax, 3
jne 0x40b500
test byte [0x4221b0], 1
je 0x40b500
cmp byte [esi + 0xa5], 0
je 0x40b51d
lea eax, [ebp - 0x34]
push eax
push ebx
push 0x422198
push 0x409e73
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.0040729b
cmp eax, ebx
jge 0x40b5a0
push dword [0x420260]
lea eax, [ebp - 0xc0]
push dword [0x4201fc]
push eax
call fcn.00406bcd
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 0x41cae8
push eax
mov dword [ebp - 0x1c0], esi
call sub.MSVCRT.dll__CxxThrowException
cmp byte [esi + 0xa4], 1
jne 0x40b6c9
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0040754c
mov eax, dword [eax]
cmp eax, ebx
je 0x40b5c2
mov eax, dword [eax]
jmp 0x40b5c4
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 0x40b5de
call fcn.004036e5
test bl, bl
je 0x40b6c9
xor ebx, ebx
cmp dword [ebp - 0x34], ebx
je 0x40b5fd
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.00406bcd
add esp, 0xc
push eax
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 0x13
call fcn.00406108
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 0x40b63b
mov edi, eax
push dword [0x420278]
lea eax, [ebp - 0x10c]
push dword [0x4201fc]
push eax
call fcn.00406bcd
add esp, 0xc
push eax
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 0x15
call fcn.00406108
mov eax, dword [eax + 4]
pop ecx
cmp eax, ebx
pop ecx
jne 0x40b675
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 0x40c3ca
mov eax, dword [edi]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x18], ebx
call dword [eax + 0x14]
cmp eax, ebx
je 0x40b736
lea eax, [ebp - 0x74]
mov ecx, edi
push eax
call fcn.0040760f
push 2
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.004126b6
and eax, 0xff
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
call fcn.00403a9d
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.0040754c
mov eax, dword [eax]
cmp eax, ebx
je 0x40b71a
mov eax, dword [eax]
jmp 0x40b71c
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 0x40b736
call fcn.004036e5
push ebx
mov ecx, edi
call fcn.00407404
mov ecx, esi
call fcn.0040ab19
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.004061ed
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.00405cc9
mov ecx, edi
call fcn.004075be
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0xa
push 0x80020004
call fcn.00404f3b
lea eax, [ebp - 0x11c]
mov ecx, edi
push eax
mov byte [ebp - 4], 0x18
call fcn.004072e2
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x1a
push ecx
mov ecx, eax
call fcn.00407b69
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x1c
call fcn.00403a9d
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x16c]
call dword [eax + 0x14]
cmp eax, ebx
je 0x40b8e4
sub esp, 0x10
mov byte [ebp - 4], 0x1d
mov ecx, esp
mov dword [ebp - 0x20], esp
push 3
push 1
call fcn.00404f3b
lea eax, [ebp - 0xd0]
lea ecx, [ebp - 0x16c]
push eax
mov byte [ebp - 4], 0x1e
call fcn.00409dba
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.00403a9d
push 0xffffefd7
lea ecx, [ebp - 0x74]
call fcn.004083d5
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1d
call fcn.00403a9d
jmp 0x40b859
cmp byte [esi + 0x164], 0
mov dword [ebp - 4], 0x1c
je 0x40b87d
mov ecx, esi
call fcn.0040ac53
push 0
lea ecx, [esi + 0x128]
call fcn.00407404
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 0x40b8a3
push eax
call fcn.00412734
sub esp, 0x10
mov byte [ebp - 4], 0x24
mov ecx, esp
mov dword [ebp - 0x3c], esp
push edi
call fcn.0040cab9
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0
call fcn.0040cb0d
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x1c
call fcn.00409b7b
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.00407585
mov eax, dword [eax]
mov byte [ebp - 4], 0x25
test eax, eax
je 0x40b904
mov edi, dword [eax]
jmp 0x40b906
xor edi, edi
push dword [0x42029c]
lea eax, [ebp - 0xc0]
push dword [0x4201fc]
push eax
call fcn.00406bcd
add esp, 0xc
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x26
call fcn.00406108
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x40b93d
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 0x40b976
call fcn.004036e5
push dword [esi + 0x148]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c3fc
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 0x40b9a6
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.004140b8
test eax, eax
jne 0x40ba1f
push dword [0x42025c]
lea eax, [ebp - 0x64]
push dword [0x4201fc]
push eax
call fcn.00406bcd
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 0x41cae8
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.00406bcd
add esp, 0xc
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x2d
call fcn.00406108
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.00405cc9
lea ecx, [esi + 0x128]
call fcn.004075be
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 0x40ba97
push dword [ebp - 0x40]
jmp 0x40baa0
cmp dword [ebp - 0x44], 0
je 0x40bab2
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 0x40bae9
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.0040366c
mov eax, dword [esi + 0x18]
mov byte [ebp - 4], 0x2f
test eax, eax
je 0x40bb31
mov ecx, dword [esi + 0x14]
test ecx, ecx
jne 0x40bb11
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.0040ad71
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.0040a908
test al, al
je 0x40bb85
mov eax, dword [ebp - 0x2c]
mov ebx, 0x4175e4
test eax, eax
jne 0x40bb53
mov eax, ebx
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.0040ad71
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.004046ae
jmp 0x40bb8a
mov ebx, 0x4175e4
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push 0x415
call fcn.0040a908
test al, al
je 0x40bbd7
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40bba7
mov eax, ebx
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.0040ad71
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.004046ae
mov eax, dword [esi + 0x38]
test eax, eax
je 0x40bc0b
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x40bbeb
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.0040ad71
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 0x40bc3f
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x40bc1f
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.0040ad71
add esp, 0xc
push dword [esi + 0x48]
push eax
push 0x48e
push dword [esi + 0x148]
call edi
cmp dword [ebp - 0x7c], 0
je 0x40bc81
mov eax, dword [ebp - 0x80]
test eax, eax
jne 0x40bc4e
mov eax, ebx
push dword [ebp - 0x7c]
push eax
push dword [ebp - 0x1c]
call fcn.0040ad71
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.004046ae
cmp dword [ebp - 0x8c], 0
je 0x40bccf
mov eax, dword [ebp - 0x90]
test eax, eax
jne 0x40bc96
mov eax, ebx
push dword [ebp - 0x8c]
push eax
push dword [ebp - 0x1c]
call fcn.0040ad71
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.004046ae
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x40bd0c
mov ecx, dword [esi + 0xf0]
test ecx, ecx
jne 0x40bce9
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.0040ad71
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 0x40bd49
mov ecx, dword [esi + 0x100]
test ecx, ecx
jne 0x40bd26
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.0040ad71
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 0x40bdbd
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x4b0
push eax
call fcn.0040a908
test al, al
je 0x40bdb0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40bd7f
mov eax, 0x4175e4
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.0040ad71
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.004046ae
inc dword [ebp - 0x18]
jmp 0x40bd52
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.004046ae
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push 0x453
call fcn.0040a908
test al, al
je 0x40be1d
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x40bdee
mov eax, 0x4175e4
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.0040ad71
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.004046ae
cmp dword [ebp - 0x4c], ebx
je 0x40be5d
mov eax, dword [ebp - 0x50]
cmp eax, ebx
jne 0x40be2e
mov eax, 0x4175e4
push dword [ebp - 0x4c]
push eax
push dword [ebp - 0x1c]
call fcn.0040ad71
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.004046ae
cmp dword [esi + 0x174], ebx
lea ebx, [esi + 0x128]
jne 0x40be76
push 1
mov ecx, ebx
call fcn.0040742b
jmp 0x40be7f
push 0
mov ecx, ebx
call fcn.00407373
cmp dword [esi + 0x174], 0
je 0x40be8c
push 0
jmp 0x40be97
cmp byte [esi + 0xa3], 0
jne 0x40be9e
push 1
mov ecx, ebx
call fcn.00407404
lea ecx, [ebp - 0x14c]
call fcn.00405d62
mov dword [ebp - 0x14c], 0x417798
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
mov byte [ebp - 4], 0x31
call fcn.0040754c
mov eax, dword [eax]
test eax, eax
je 0x40becc
mov eax, dword [eax]
jmp 0x40bece
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 0x40bee9
call fcn.004036e5
cmp byte [ebp - 0x12], 0
je 0x40bef8
push 1
mov ecx, ebx
call fcn.0040776d
cmp byte [esi + 0xa4], 0
je 0x40c12b
cmp dword [esi + 0x170], 0xc
jge 0x40bfa6
mov eax, dword [esi + 0x168]
cmp eax, 0x34
je 0x40bf26
cmp eax, 0x32
jne 0x40bfa6
push dword [0x420290]
lea eax, [ebp - 0xc0]
push dword [0x4201fc]
push eax
call fcn.00406bcd
add esp, 0xc
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x32
call fcn.00406108
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x40bf5d
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 0x41cc30
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 0x40bfcf
push eax
call fcn.00412734
sub esp, 0x10
mov byte [ebp - 4], 0x33
mov ecx, esp
mov dword [ebp - 0x20], esp
push ebx
call fcn.0040cab9
sub esp, 0x10
mov byte [ebp - 4], 0x34
mov ecx, esp
mov dword [ebp - 0x18], esp
push ebx
call fcn.0040cab9
sub esp, 0x10
mov byte [ebp - 4], 0x35
mov ecx, esp
mov dword [ebp - 0xe8], esp
push ebx
call fcn.0040cab9
sub esp, 0x10
mov byte [ebp - 4], 0x36
mov ecx, esp
mov dword [ebp - 0xf8], esp
push ebx
call fcn.0040cab9
sub esp, 0x10
mov byte [ebp - 4], 0x37
mov ecx, esp
mov dword [ebp - 0xf0], esp
push ebx
call fcn.0040cab9
sub esp, 0x10
mov byte [ebp - 4], 0x38
mov ecx, esp
mov dword [ebp - 0xf4], esp
push ebx
call fcn.0040cab9
sub esp, 0x10
mov byte [ebp - 4], 0x39
mov ecx, esp
mov dword [ebp - 0xec], esp
push ebx
call fcn.0040cab9
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.0040cade
sub esp, 0x10
mov byte [ebp - 4], 0x3b
mov ecx, esp
mov dword [ebp - 0xdc], esp
push ebx
call fcn.0040cab9
sub esp, 0x10
mov byte [ebp - 4], 0x3c
mov ecx, esp
mov dword [ebp - 0xe4], esp
push ebx
call fcn.0040cab9
sub esp, 0x10
mov byte [ebp - 4], 0x3d
mov ecx, esp
mov dword [ebp - 0xd4], esp
push 3
push 3
call fcn.00404f3b
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.00405cc9
lea eax, [ebp - 0xd0]
lea ecx, [esi + 0x128]
push eax
mov byte [ebp - 4], 0x3f
call fcn.004072e2
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x41
push ecx
mov ecx, eax
call fcn.00407cef
push eax
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x42
call fcn.004050a0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x41
call fcn.00403a9d
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0xd0]
jmp 0x40c29f
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 0x40c157
push eax
call fcn.00412734
sub esp, 0x10
mov byte [ebp - 4], 0x43
mov ecx, esp
mov dword [ebp - 0xd4], esp
push ebx
call fcn.0040cab9
sub esp, 0x10
mov byte [ebp - 4], 0x44
mov ecx, esp
mov dword [ebp - 0xe4], esp
push ebx
call fcn.0040cab9
sub esp, 0x10
mov byte [ebp - 4], 0x45
mov ecx, esp
mov dword [ebp - 0xdc], esp
push ebx
call fcn.0040cab9
sub esp, 0x10
mov byte [ebp - 4], 0x46
mov ecx, esp
mov dword [ebp - 0xd8], esp
push ebx
call fcn.0040cab9
sub esp, 0x10
mov byte [ebp - 4], 0x47
mov ecx, esp
mov dword [ebp - 0xec], esp
push ebx
call fcn.0040cab9
sub esp, 0x10
mov byte [ebp - 4], 0x48
mov ecx, esp
mov dword [ebp - 0xf4], esp
push ebx
call fcn.0040cab9
sub esp, 0x10
mov byte [ebp - 4], 0x49
mov ecx, esp
mov dword [ebp - 0xf0], esp
push ebx
call fcn.0040cab9
sub esp, 0x10
mov byte [ebp - 4], 0x4a
mov ecx, esp
mov dword [ebp - 0xf8], esp
push ebx
call fcn.0040cab9
sub esp, 0x10
mov byte [ebp - 4], 0x4b
mov ecx, esp
mov dword [ebp - 0xe8], esp
push ebx
call fcn.0040cab9
sub esp, 0x10
mov byte [ebp - 4], 0x4c
mov ecx, esp
mov dword [ebp - 0x3c], esp
push ebx
call fcn.0040cab9
sub esp, 0x10
mov byte [ebp - 4], 0x4d
mov ecx, esp
mov dword [ebp - 0x20], esp
push 3
push 3
call fcn.00404f3b
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.00405cc9
lea eax, [ebp - 0xd0]
lea ecx, [esi + 0x128]
push eax
mov byte [ebp - 4], 0x4f
call fcn.004072e2
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x51
push ecx
mov ecx, eax
call fcn.00407cef
push eax
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x52
call fcn.004050a0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x51
call fcn.00403a9d
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0xd0]
call fcn.00403a9d
mov ecx, dword [esi + 0x110]
lea eax, [esi + 0x110]
mov edx, 0xffffeff7
cmp ecx, edx
je 0x40c2c8
cmp ecx, 0xffffefd9
je 0x40c2c8
cmp ecx, 2
je 0x40c2c8
mov dword [eax], edx
push dword [eax]
lea ebx, [esi + 0x128]
mov ecx, ebx
call fcn.004074de
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0xc]
xor ebx, ebx
jmp 0x40c2f9
cmp byte [ebp - 0x11], 0
mov dword [ebp - 4], 0x30
je 0x40c31d
lea eax, [ebp - 0xe0]
push 0x41cc30
push eax
mov dword [ebp - 0xe0], ebx
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp - 0x34], ebx
je 0x40c332
push ebx
push ebx
push 0x501
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
cmp dword [esi + 0x174], ebx
jne 0x40c37c
mov eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x14c]
call dword [eax + 0x14]
cmp eax, ebx
je 0x40c37c
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0xb0], esp
push 3
push 1
call fcn.00404f3b
lea ecx, [ebp - 0x14c]
call fcn.00409d5f
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.00403a9d
push 1
lea ecx, [ebp - 0x30]
pop edi
mov byte [ebp - 4], 0x1c
push edi
call fcn.0040366c
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x17
call fcn.00403a9d
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.0040366c
push edi
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.0040366c
and byte [ebp - 4], 0
push edi
lea ecx, [ebp - 0x84]
call fcn.0040366c
jmp 0x40c502
push dword [0x420264]
lea eax, [ebp - 0x64]
push dword [0x4201fc]
push eax
call fcn.00406bcd
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 0x41cae8
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 0x41cae8
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 0x41cc20
push eax
mov dword [ebp - 0x1dc], 0x417588
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 0x11], 1
call fcn.00407829
mov eax, 0x40c4ff
ret
mov al, byte [ebp - 0x11]
mov ecx, esi
mov dword [ebp - 4], 0x57
mov byte [esi + 0x16c], al
call fcn.0040a316
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 0x40c558
test eax, eax
jle 0x40c558
mov ecx, 0x1388
cmp eax, ecx
jae 0x40c558
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