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

Disassembly:
mov eax, 0x416415
call fcn.00412fd0
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.00403677
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
push 0x44c
mov byte [ebp - 4], 1
call fcn.0040a954
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
call fcn.0040c84b
mov al, byte [ebp - 0x12]
push ebx
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x94], al
call fcn.00403677
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
push 0x438
mov byte [ebp - 4], 2
call fcn.0040a954
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
call fcn.0040ae23
mov al, byte [ebp - 0x12]
push ebx
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x54], al
call fcn.00403677
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
push 0x451
mov byte [ebp - 4], 3
call fcn.0040a92d
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x44], ebx
cmp eax, ebx
mov dword [ebp - 0x40], ebx
jne 0x40b0f5
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 [0x4178bb]
cmp eax, dword [esi + 0x10c]
je 0x40b17e
push dword [0x420274]
lea eax, [ebp - 0x10c]
push dword [0x42020c]
push eax
call fcn.00406bd1
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 0x41caf8
push eax
mov dword [ebp - 0x188], esi
call sub.MSVCRT.dll__CxxThrowException
cmp dword [esi + 0xc4], ebx
je 0x40b2e2
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 0x40b1c9
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 0x40b241
push esi
lea ecx, [ebp - 0x2c0]
call fcn.0040c620
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 0x421d30
call fcn.00404d38
mov eax, dword [0x421d38]
push ebx
push 0x40cb7c
push edi
push 0x71
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
jne 0x40b33a
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.00402224
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 0x40b2d0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x42028c]
lea eax, [ebp - 0x10c]
push dword [0x42020c]
push eax
call fcn.00406bd1
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 0x41caf8
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 0x40b514
cmp dword [esi + 0x174], ebx
jne 0x40b514
mov eax, dword [ebp - 0x50]
mov edi, 0x4175e4
cmp eax, ebx
jne 0x40b306
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 0x40b360
cmp dword [ebp - 0x50], ebx
je 0x40b322
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 0x40b3ea
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 7
call fcn.00402224
push 1
mov byte [ebp - 4], 3
pop edi
lea ecx, [ebp - 0xa8]
push edi
jmp 0x40c410
cmp dword [ebp - 0x50], ebx
je 0x40b368
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.00406155
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.00413410
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xe
call fcn.00413424
cmp dword [esi + 0x88], ebx
je 0x40b50e
cmp byte [esi + 0xa1], 0
jne 0x40b43c
cmp byte [esi + 0xa2], 0
jne 0x40b43c
lea eax, [esi + 0x158]
lea ecx, [ebp - 0xa4]
push eax
call fcn.00413444
test al, al
je 0x40b50e
lea ecx, [ebp - 0x2c0]
call fcn.0040c5bb
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0xf
cmp eax, ebx
jne 0x40b459
mov eax, dword [ebp - 0x44]
cmp eax, ebx
je 0x40b45f
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 0x40b46e
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 0x40b498
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 0x421d30
call fcn.00404d38
mov eax, dword [0x421d38]
push 0
push 0x40cb7c
push edi
push 0x71
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push 1
pop edi
cmp eax, edi
je 0x40b4ff
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 0xe
call fcn.004019c3
jmp 0x40c416
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xe
call fcn.004019c3
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 0x40b569
mov ecx, 0x4221c0
call fcn.0040dd0d
cmp eax, 3
jne 0x40b54c
test byte [0x4221d8], 1
je 0x40b54c
cmp byte [esi + 0xa5], 0
je 0x40b569
lea eax, [ebp - 0x34]
push eax
push ebx
push 0x4221c0
push 0x409ebf
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.0040729f
cmp eax, ebx
jge 0x40b5ec
push dword [0x420270]
lea eax, [ebp - 0xc0]
push dword [0x42020c]
push eax
call fcn.00406bd1
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 0x41caf8
push eax
mov dword [ebp - 0x1c0], esi
call sub.MSVCRT.dll__CxxThrowException
cmp byte [esi + 0xa4], 1
jne 0x40b715
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0040755b
mov eax, dword [eax]
cmp eax, ebx
je 0x40b60e
mov eax, dword [eax]
jmp 0x40b610
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 0x40b62a
call fcn.004036f0
test bl, bl
je 0x40b715
xor ebx, ebx
cmp dword [ebp - 0x34], ebx
je 0x40b649
push ebx
push ebx
push 0x502
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push dword [0x420220]
lea eax, [ebp - 0x64]
push dword [0x42020c]
push eax
call fcn.00406bd1
add esp, 0xc
push eax
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 0x13
call fcn.00406155
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 0x40b687
mov edi, eax
push dword [0x420288]
lea eax, [ebp - 0x10c]
push dword [0x42020c]
push eax
call fcn.00406bd1
add esp, 0xc
push eax
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 0x15
call fcn.00406155
mov eax, dword [eax + 4]
pop ecx
cmp eax, ebx
pop ecx
jne 0x40b6c1
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 0x40c416
mov eax, dword [edi]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x18], ebx
call dword [eax + 0x14]
cmp eax, ebx
je 0x40b782
lea eax, [ebp - 0x74]
mov ecx, edi
push eax
call fcn.0040761e
push 2
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.00412759
and eax, 0xff
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
call fcn.00403aa9
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.0040755b
mov eax, dword [eax]
cmp eax, ebx
je 0x40b766
mov eax, dword [eax]
jmp 0x40b768
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 0x40b782
call fcn.004036f0
push ebx
mov ecx, edi
call fcn.00407413
mov ecx, esi
call fcn.0040ab65
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.0040623a
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.00405d05
mov ecx, edi
call fcn.004075cd
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.004072f6
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x1a
push ecx
mov ecx, eax
call fcn.00407b5c
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x1c
call fcn.00403aa9
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x16c]
call dword [eax + 0x14]
cmp eax, ebx
je 0x40b930
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.00409e06
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.00403aa9
push 0xffffefd7
lea ecx, [ebp - 0x74]
call fcn.004083c8
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1d
call fcn.00403aa9
jmp 0x40b8a5
cmp byte [esi + 0x164], 0
mov dword [ebp - 4], 0x1c
je 0x40b8c9
mov ecx, esi
call fcn.0040ac9f
push 0
lea ecx, [esi + 0x128]
call fcn.00407413
sub esp, 0x10
mov ebx, esp
mov dword [ebp - 0x20], esp
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edi, 0x4221b0
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x40b8ef
push eax
call fcn.004127d7
sub esp, 0x10
mov byte [ebp - 4], 0x24
mov ecx, esp
mov dword [ebp - 0x3c], esp
push edi
call fcn.0040cb12
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0
call fcn.0040cb66
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x1c
call fcn.00409bc7
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.00407594
mov eax, dword [eax]
mov byte [ebp - 4], 0x25
test eax, eax
je 0x40b950
mov edi, dword [eax]
jmp 0x40b952
xor edi, edi
push dword [0x4202ac]
lea eax, [ebp - 0xc0]
push dword [0x42020c]
push eax
call fcn.00406bd1
add esp, 0xc
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x26
call fcn.00406155
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x40b989
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 0x40b9c2
call fcn.004036f0
push dword [esi + 0x148]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c448
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 0x40b9f2
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.00414157
test eax, eax
jne 0x40ba6b
push dword [0x42026c]
lea eax, [ebp - 0x64]
push dword [0x42020c]
push eax
call fcn.00406bd1
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 0x41caf8
push eax
mov dword [ebp - 0x230], esi
call sub.MSVCRT.dll__CxxThrowException
push dword [0x420278]
lea eax, [ebp - 0xc0]
push dword [0x42020c]
push eax
call fcn.00406bd1
add esp, 0xc
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x2d
call fcn.00406155
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.00405d05
lea ecx, [esi + 0x128]
call fcn.004075cd
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 0x40bae3
push dword [ebp - 0x40]
jmp 0x40baec
cmp dword [ebp - 0x44], 0
je 0x40bafe
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 0x40bb35
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.00403677
mov eax, dword [esi + 0x18]
mov byte [ebp - 4], 0x2f
test eax, eax
je 0x40bb7d
mov ecx, dword [esi + 0x14]
test ecx, ecx
jne 0x40bb5d
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.0040adbd
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.0040a954
test al, al
je 0x40bbd1
mov eax, dword [ebp - 0x2c]
mov ebx, 0x4175e4
test eax, eax
jne 0x40bb9f
mov eax, ebx
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.0040adbd
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 0x40bbd6
mov ebx, 0x4175e4
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push 0x415
call fcn.0040a954
test al, al
je 0x40bc23
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40bbf3
mov eax, ebx
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.0040adbd
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 0x40bc57
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x40bc37
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.0040adbd
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 0x40bc8b
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x40bc6b
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.0040adbd
add esp, 0xc
push dword [esi + 0x48]
push eax
push 0x48e
push dword [esi + 0x148]
call edi
cmp dword [ebp - 0x7c], 0
je 0x40bccd
mov eax, dword [ebp - 0x80]
test eax, eax
jne 0x40bc9a
mov eax, ebx
push dword [ebp - 0x7c]
push eax
push dword [ebp - 0x1c]
call fcn.0040adbd
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 0x40bd1b
mov eax, dword [ebp - 0x90]
test eax, eax
jne 0x40bce2
mov eax, ebx
push dword [ebp - 0x8c]
push eax
push dword [ebp - 0x1c]
call fcn.0040adbd
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 0x40bd58
mov ecx, dword [esi + 0xf0]
test ecx, ecx
jne 0x40bd35
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.0040adbd
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 0x40bd95
mov ecx, dword [esi + 0x100]
test ecx, ecx
jne 0x40bd72
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.0040adbd
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 0x40be09
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x4b0
push eax
call fcn.0040a954
test al, al
je 0x40bdfc
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40bdcb
mov eax, 0x4175e4
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.0040adbd
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 0x40bd9e
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.0040a954
test al, al
je 0x40be69
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x40be3a
mov eax, 0x4175e4
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
call fcn.0040adbd
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 0x40bea9
mov eax, dword [ebp - 0x50]
cmp eax, ebx
jne 0x40be7a
mov eax, 0x4175e4
push dword [ebp - 0x4c]
push eax
push dword [ebp - 0x1c]
call fcn.0040adbd
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 0x40bec2
push 1
mov ecx, ebx
call fcn.0040743a
jmp 0x40becb
push 0
mov ecx, ebx
call fcn.00407382
cmp dword [esi + 0x174], 0
je 0x40bed8
push 0
jmp 0x40bee3
cmp byte [esi + 0xa3], 0
jne 0x40beea
push 1
mov ecx, ebx
call fcn.00407413
lea ecx, [ebp - 0x14c]
call fcn.00405d9e
mov dword [ebp - 0x14c], 0x4177a8
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
mov byte [ebp - 4], 0x31
call fcn.0040755b
mov eax, dword [eax]
test eax, eax
je 0x40bf18
mov eax, dword [eax]
jmp 0x40bf1a
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 0x40bf35
call fcn.004036f0
cmp byte [ebp - 0x12], 0
je 0x40bf44
push 1
mov ecx, ebx
call fcn.00407760
cmp byte [esi + 0xa4], 0
je 0x40c177
cmp dword [esi + 0x170], 0xc
jge 0x40bff2
mov eax, dword [esi + 0x168]
cmp eax, 0x34
je 0x40bf72
cmp eax, 0x32
jne 0x40bff2
push dword [0x4202a0]
lea eax, [ebp - 0xc0]
push dword [0x42020c]
push eax
call fcn.00406bd1
add esp, 0xc
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x32
call fcn.00406155
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x40bfa9
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 0x41cc40
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, 0x4221b0
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x40c01b
push eax
call fcn.004127d7
sub esp, 0x10
mov byte [ebp - 4], 0x33
mov ecx, esp
mov dword [ebp - 0x20], esp
push ebx
call fcn.0040cb12
sub esp, 0x10
mov byte [ebp - 4], 0x34
mov ecx, esp
mov dword [ebp - 0x18], esp
push ebx
call fcn.0040cb12
sub esp, 0x10
mov byte [ebp - 4], 0x35
mov ecx, esp
mov dword [ebp - 0xe8], esp
push ebx
call fcn.0040cb12
sub esp, 0x10
mov byte [ebp - 4], 0x36
mov ecx, esp
mov dword [ebp - 0xf8], esp
push ebx
call fcn.0040cb12
sub esp, 0x10
mov byte [ebp - 4], 0x37
mov ecx, esp
mov dword [ebp - 0xf0], esp
push ebx
call fcn.0040cb12
sub esp, 0x10
mov byte [ebp - 4], 0x38
mov ecx, esp
mov dword [ebp - 0xf4], esp
push ebx
call fcn.0040cb12
sub esp, 0x10
mov byte [ebp - 4], 0x39
mov ecx, esp
mov dword [ebp - 0xec], esp
push ebx
call fcn.0040cb12
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.0040cb37
sub esp, 0x10
mov byte [ebp - 4], 0x3b
mov ecx, esp
mov dword [ebp - 0xdc], esp
push ebx
call fcn.0040cb12
sub esp, 0x10
mov byte [ebp - 4], 0x3c
mov ecx, esp
mov dword [ebp - 0xe4], esp
push ebx
call fcn.0040cb12
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.00405d05
lea eax, [ebp - 0xd0]
lea ecx, [esi + 0x128]
push eax
mov byte [ebp - 4], 0x3f
call fcn.004072f6
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x41
push ecx
mov ecx, eax
call fcn.00407ce2
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.00403aa9
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0xd0]
jmp 0x40c2eb
sub esp, 0x10
mov dword [ebp - 0xb0], esp
mov dword [ebp - 0x18], esp
push esp
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ebx, 0x4221b0
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x40c1a3
push eax
call fcn.004127d7
sub esp, 0x10
mov byte [ebp - 4], 0x43
mov ecx, esp
mov dword [ebp - 0xd4], esp
push ebx
call fcn.0040cb12
sub esp, 0x10
mov byte [ebp - 4], 0x44
mov ecx, esp
mov dword [ebp - 0xe4], esp
push ebx
call fcn.0040cb12
sub esp, 0x10
mov byte [ebp - 4], 0x45
mov ecx, esp
mov dword [ebp - 0xdc], esp
push ebx
call fcn.0040cb12
sub esp, 0x10
mov byte [ebp - 4], 0x46
mov ecx, esp
mov dword [ebp - 0xd8], esp
push ebx
call fcn.0040cb12
sub esp, 0x10
mov byte [ebp - 4], 0x47
mov ecx, esp
mov dword [ebp - 0xec], esp
push ebx
call fcn.0040cb12
sub esp, 0x10
mov byte [ebp - 4], 0x48
mov ecx, esp
mov dword [ebp - 0xf4], esp
push ebx
call fcn.0040cb12
sub esp, 0x10
mov byte [ebp - 4], 0x49
mov ecx, esp
mov dword [ebp - 0xf0], esp
push ebx
call fcn.0040cb12
sub esp, 0x10
mov byte [ebp - 4], 0x4a
mov ecx, esp
mov dword [ebp - 0xf8], esp
push ebx
call fcn.0040cb12
sub esp, 0x10
mov byte [ebp - 4], 0x4b
mov ecx, esp
mov dword [ebp - 0xe8], esp
push ebx
call fcn.0040cb12
sub esp, 0x10
mov byte [ebp - 4], 0x4c
mov ecx, esp
mov dword [ebp - 0x3c], esp
push ebx
call fcn.0040cb12
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.00405d05
lea eax, [ebp - 0xd0]
lea ecx, [esi + 0x128]
push eax
mov byte [ebp - 4], 0x4f
call fcn.004072f6
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x51
push ecx
mov ecx, eax
call fcn.00407ce2
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.00403aa9
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0xd0]
call fcn.00403aa9
mov ecx, dword [esi + 0x110]
lea eax, [esi + 0x110]
mov edx, 0xffffeff7
cmp ecx, edx
je 0x40c314
cmp ecx, 0xffffefd9
je 0x40c314
cmp ecx, 2
je 0x40c314
mov dword [eax], edx
push dword [eax]
lea ebx, [esi + 0x128]
mov ecx, ebx
call fcn.004074ed
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0xc]
xor ebx, ebx
jmp 0x40c345
cmp byte [ebp - 0x11], 0
mov dword [ebp - 4], 0x30
je 0x40c369
lea eax, [ebp - 0xe0]
push 0x41cc40
push eax
mov dword [ebp - 0xe0], ebx
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp - 0x34], ebx
je 0x40c37e
push ebx
push ebx
push 0x501
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
cmp dword [esi + 0x174], ebx
jne 0x40c3c8
mov eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x14c]
call dword [eax + 0x14]
cmp eax, ebx
je 0x40c3c8
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0xb0], esp
push 3
push 1
call fcn.00404f3b
lea ecx, [ebp - 0x14c]
call fcn.00409dab
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.00403aa9
push 1
lea ecx, [ebp - 0x30]
pop edi
mov byte [ebp - 4], 0x1c
push edi
call fcn.00403677
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x17
call fcn.00403aa9
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.00403677
push edi
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.00403677
and byte [ebp - 4], 0
push edi
lea ecx, [ebp - 0x84]
call fcn.00403677
jmp 0x40c54e
push dword [0x420274]
lea eax, [ebp - 0x64]
push dword [0x42020c]
push eax
call fcn.00406bd1
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 0x41caf8
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 0x41caf8
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 0x41cc30
push eax
mov dword [ebp - 0x1dc], 0x417588
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 0x11], 1
call fcn.0040781c
mov eax, 0x40c54b
ret
mov al, byte [ebp - 0x11]
mov ecx, esi
mov dword [ebp - 4], 0x57
mov byte [esi + 0x16c], al
call fcn.0040a362
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 0x40c5a4
test eax, eax
jle 0x40c5a4
mov ecx, 0x1388
cmp eax, ecx
jae 0x40c5a4
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