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

Disassembly:
mov eax, 0x41c587
call fcn.00417690
sub esp, 0x250
push ebx
push esi
xor ebx, ebx
push edi
and byte [ebp - 0x11], bl
mov al, byte [ebp - 0x11]
mov esi, ecx
mov dword [ebp - 0x10], esp
push ebx
lea ecx, [ebp - 0x84]
and byte [esi + 0x17c], bl
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x84], al
call fcn.00403e8d
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
push 0x44c
mov byte [ebp - 4], 1
call fcn.0040bcb4
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
call fcn.0040e262
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0x74]
mov byte [ebp - 0x74], al
call fcn.00403e8d
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
push 0x438
mov byte [ebp - 4], 2
call fcn.0040bcb4
cmp dword [ebp - 0x6c], 2
jbe 0x40cc64
lea eax, [ebp - 0x74]
mov ecx, 0x42a4a8
push eax
call fcn.00410960
mov ecx, esi
call fcn.0040cb50
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
call fcn.0040c30a
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x38], ebx
cmp eax, ebx
mov dword [ebp - 0x3c], ebx
jne 0x40cc88
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0x3c]
push 2
push ecx
lea ecx, [ebp - 0x38]
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov eax, dword [0x41d99b]
cmp eax, dword [esi + 0x110]
je 0x40cd1d
push dword [0x427294]
lea eax, [ebp - 0xcc]
push dword [0x42722c]
push eax
call fcn.00408730
add esp, 0xc
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov esi, 0x41d64c
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x60], esi
push 1
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x154]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
mov eax, dword [ebp - 0x44]
push 0x422e40
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x154]
push eax
mov dword [ebp - 0x154], esi
call sub.MSVCRT.dll__CxxThrowException
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x94], al
call fcn.00403e8d
cmp dword [esi + 0xc8], ebx
mov byte [ebp - 4], 6
je 0x40cd50
mov ecx, esi
call fcn.0040c968
cmp al, 1
mov byte [ebp - 0x11], al
je 0x40ddd7
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
push 0x451
call fcn.0040bc8d
cmp dword [ebp - 0x8c], 2
jbe 0x40cd93
cmp dword [esi + 0x184], ebx
jne 0x40cd93
push dword [ebp - 0x38]
lea eax, [ebp - 0x94]
mov ecx, esi
push dword [ebp - 0x3c]
push eax
call fcn.0040c6f9
cmp al, 1
mov byte [ebp - 0x11], al
je 0x40ddd7
mov ecx, esi
call fcn.0040c527
lea edi, [esi + 0x138]
push 4
push ebx
push str.Excel.Application
mov ecx, edi
mov dword [ebp - 0x9c], eax
call fcn.00409270
cmp eax, ebx
jge 0x40ce2f
push dword [0x427290]
lea eax, [ebp - 0xcc]
push dword [0x42722c]
push eax
call fcn.00408730
add esp, 0xc
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov esi, 0x41d64c
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x60], esi
push 1
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x1d4]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
mov eax, dword [ebp - 0x44]
push 0x422e40
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x1d4]
push eax
mov dword [ebp - 0x1d4], esi
call sub.MSVCRT.dll__CxxThrowException
cmp byte [esi + 0xa4], 1
jne 0x40cf7f
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.004098d0
mov eax, dword [eax]
cmp eax, ebx
je 0x40ce51
mov eax, dword [eax]
jmp 0x40ce53
xor eax, eax
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
cmp eax, 9
mov ecx, dword [ebp - 0x1c]
setle bl
test ecx, ecx
je 0x40ce6d
call fcn.00403f06
test bl, bl
je 0x40cf7f
mov eax, dword [esi + 0x190]
test eax, eax
je 0x40ce90
push 0
push 0
push dword [0x41d660]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push dword [0x427240]
lea eax, [ebp - 0x50]
push dword [0x42722c]
push eax
call fcn.00408730
add esp, 0xc
push eax
lea eax, [ebp - 0xac]
push eax
mov byte [ebp - 4], 0xa
call fcn.00406f80
pop ecx
pop ecx
mov eax, dword [eax + 4]
mov edi, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
test eax, eax
mov byte [ebp - 4], 0xb
je 0x40cece
mov edi, eax
push dword [0x4272a8]
lea eax, [ebp - 0x104]
push dword [0x42722c]
push eax
call fcn.00408730
add esp, 0xc
push eax
lea eax, [ebp - 0xcc]
push eax
mov byte [ebp - 4], 0xc
call fcn.00406f80
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x40cf08
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push 0x30
push edi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
lea ecx, [ebp - 0xcc]
pop edi
push edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push edi
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0xb
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push edi
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push edi
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 2
call fcn.00403e8d
push edi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.00403e8d
and byte [ebp - 4], 0
push edi
jmp 0x40ddfc
mov eax, dword [edi]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x1c], ebx
call dword [eax + 0x14]
cmp eax, ebx
je 0x40cfec
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.00409af0
push 2
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00416df0
and eax, 0xff
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 6
call fcn.004042be
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.004098d0
mov eax, dword [eax]
cmp eax, ebx
je 0x40cfd0
mov eax, dword [eax]
jmp 0x40cfd2
xor eax, eax
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
pop ecx
mov dword [esi + 0x180], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x40cfec
call fcn.00403f06
push ebx
mov ecx, edi
call fcn.00409690
mov ecx, esi
call fcn.0040bf19
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0x134]
mov byte [ebp - 0x134], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 0xe
push eax
push 0xf
call fcn.00407250
pop ecx
pop ecx
lea ecx, [ebp - 0x134]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040672a
mov ecx, edi
call fcn.00409a50
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0xa
push 0x80020004
call fcn.00405960
lea eax, [ebp - 0x240]
mov ecx, edi
push eax
mov byte [ebp - 4], 0xf
call fcn.00409400
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x11
push ecx
mov ecx, eax
call fcn.0040a5c0
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x13
call fcn.004042be
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x124]
call dword [eax + 0x14]
cmp eax, ebx
je 0x40d133
sub esp, 0x10
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ebp - 0x18], esp
push 3
push 1
call fcn.00405960
lea eax, [ebp - 0xbc]
lea ecx, [ebp - 0x124]
push eax
mov byte [ebp - 4], 0x15
call fcn.00416c60
mov edx, dword [eax]
lea ecx, [ebp - 0x60]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x17
call dword [edx + 0x24]
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x19
call fcn.004042be
push 0xffffefd7
lea ecx, [ebp - 0x60]
call fcn.0040b1f0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x14
call fcn.004042be
jmp 0x40d10f
cmp byte [esi + 0x174], 0
mov dword [ebp - 4], 0x13
je 0x40d133
mov ecx, esi
call fcn.0040c186
push 0
lea ecx, [esi + 0x138]
call fcn.00409690
lea eax, [ebp - 0x18]
lea ecx, [esi + 0x138]
push eax
call fcn.00409990
mov eax, dword [eax]
xor ebx, ebx
cmp eax, ebx
mov byte [ebp - 4], 0x1b
je 0x40d152
mov edi, dword [eax]
jmp 0x40d154
xor edi, edi
push dword [0x4272e0]
lea eax, [ebp - 0xac]
push dword [0x42722c]
push eax
call fcn.00408730
add esp, 0xc
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x1c
call fcn.00406f80
mov eax, dword [eax + 4]
pop ecx
cmp eax, ebx
pop ecx
jne 0x40d18b
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push edi
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
push 1
lea ecx, [ebp - 0x50]
mov dword [esi + 0x158], eax
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x1b
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0x13
cmp ecx, ebx
je 0x40d1c6
call fcn.00403f06
push dword [esi + 0x158]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40de0c
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x158]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esi + 0x44]
cmp eax, ebx
jne 0x40d1f6
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push dword [ebp - 0x20]
call fcn.00419900
cmp eax, ebx
jne 0x40d2eb
sub esp, 0x10
mov edi, esp
mov dword [ebp - 0x18], esp
push edi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, 0x42a498
push esi
push edi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, ebx
jge 0x40d22d
push eax
call fcn.00416e90
sub esp, 0x10
mov byte [ebp - 4], 0x1d
mov ecx, esp
mov dword [ebp - 0x1c], esp
push esi
call fcn.0040a050
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x18], esp
push ebx
call fcn.0040e68e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x13
call fcn.004169b0
mov eax, dword [ebp - 0x124]
push ebx
lea ecx, [ebp - 0x124]
call dword [eax + 0xc]
push dword [0x42728c]
lea eax, [ebp - 0x50]
push dword [0x42722c]
push eax
call fcn.00408730
add esp, 0xc
push eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x1e
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov esi, 0x41d64c
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xbc], esi
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x20
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0xbc]
lea ecx, [ebp - 0x174]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
mov eax, dword [ebp - 0xa0]
push 0x422e40
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x174]
push eax
mov dword [ebp - 0x174], esi
call sub.MSVCRT.dll__CxxThrowException
sub esp, 0x10
mov ebx, esp
mov dword [ebp - 0x18], esp
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edi, 0x42a498
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x40d311
push eax
call fcn.00416e90
sub esp, 0x10
mov byte [ebp - 4], 0x25
mov ecx, esp
mov dword [ebp - 0x40], esp
push edi
call fcn.0040a050
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0
call fcn.0040e68e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x13
call fcn.004169b0
mov eax, dword [ebp - 0x124]
push 0
lea ecx, [ebp - 0x124]
call dword [eax + 0xc]
push dword [0x427298]
lea eax, [ebp - 0xac]
push dword [0x42722c]
push eax
call fcn.00408730
add esp, 0xc
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x26
call fcn.00406f80
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 0x27
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
call fcn.0040672a
lea ebx, [esi + 0x138]
mov ecx, ebx
call fcn.00409a50
push 1
lea ecx, [ebp - 0x50]
pop edi
mov byte [ebp - 4], 0x26
push edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push edi
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x13
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp dword [ebp - 0x3c], 0
je 0x40d3cf
push dword [ebp - 0x3c]
jmp 0x40d3d8
cmp dword [ebp - 0x38], 0
je 0x40d3ee
push dword [ebp - 0x38]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x80
push dword [esi + 0x158]
call edi
jmp 0x40d3f4
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x487
push dword [esi + 0x158]
call edi
push 0
mov ecx, ebx
mov dword [ebp - 0x18], eax
call fcn.00409690
mov eax, dword [esi + 0x184]
xor ebx, ebx
cmp eax, ebx
je 0x40d432
push ebx
push eax
push 0x49a
push dword [esi + 0x158]
call edi
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.00403e8d
mov eax, dword [esi + 0x18]
mov byte [ebp - 4], 0x28
cmp eax, ebx
je 0x40d479
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
jne 0x40d459
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
add eax, eax
push eax
push ecx
push dword [ebp - 0x20]
call fcn.0040c2a4
add esp, 0xc
push dword [esi + 0x18]
push eax
push 0x488
push dword [esi + 0x158]
call edi
cmp byte [esi + 0xa4], 0
je 0x40d58a
cmp dword [esi + 0x120], ebx
je 0x40d58a
mov ecx, dword [ebp - 0x18]
mov eax, 0xfffff
mov edx, ecx
and edx, eax
cmp edx, eax
je 0x40d58a
mov eax, 0x40100
and ecx, eax
cmp ecx, eax
jne 0x40d58a
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0xcc]
mov byte [ebp - 0xcc], al
call fcn.00403e8d
mov eax, dword [esi + 0x11c]
mov byte [ebp - 4], 0x29
cmp eax, ebx
jne 0x40d4dd
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0xcc]
push ecx
push eax
call fcn.00408320
mov ebx, dword [ebp - 0xc8]
pop ecx
test ebx, ebx
pop ecx
jne 0x40d4fb
mov ebx, 0x41d69c
mov al, byte [ebp - 0x11]
push 0
lea ecx, [ebp - 0x104]
mov byte [ebp - 0x104], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x104]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 0x2a
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00406f80
pop ecx
pop ecx
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov byte [ebp - 4], 0x2b
push dword [ecx]
lea ecx, [esi + 0xe0]
push 0
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x2a
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x29
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x28
call fcn.00403e8d
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
push 0x413
mov ebx, 0x41d69c
call fcn.0040bcb4
test al, al
je 0x40d5dc
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40d5ac
mov eax, ebx
push dword [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
call fcn.0040c2a4
add esp, 0xc
push dword [ebp - 0x2c]
push eax
push 0x484
push dword [esi + 0x158]
call edi
push dword [0x41d698]
lea ecx, [ebp - 0x34]
push 0
call fcn.00405173
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
push 0x415
call fcn.0040bcb4
test al, al
je 0x40d629
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40d5f9
mov eax, ebx
push dword [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
call fcn.0040c2a4
add esp, 0xc
push dword [ebp - 0x2c]
push eax
push 0x486
push dword [esi + 0x158]
call edi
push dword [0x41d698]
lea ecx, [ebp - 0x34]
push 0
call fcn.00405173
mov eax, dword [esi + 0x38]
test eax, eax
je 0x40d65d
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x40d63d
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
add eax, eax
push eax
push ecx
push dword [ebp - 0x20]
call fcn.0040c2a4
add esp, 0xc
push dword [esi + 0x38]
push eax
push 0x48d
push dword [esi + 0x158]
call edi
mov eax, dword [esi + 0x48]
test eax, eax
je 0x40d691
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x40d671
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
add eax, eax
push eax
push ecx
push dword [ebp - 0x20]
call fcn.0040c2a4
add esp, 0xc
push dword [esi + 0x48]
push eax
push 0x48e
push dword [esi + 0x158]
call edi
cmp dword [ebp - 0x7c], 0
je 0x40d6d3
mov eax, dword [ebp - 0x80]
test eax, eax
jne 0x40d6a0
mov eax, ebx
push dword [ebp - 0x7c]
push eax
push dword [ebp - 0x20]
call fcn.0040c2a4
add esp, 0xc
push dword [ebp - 0x7c]
push eax
push 0x483
push dword [esi + 0x158]
call edi
push dword [0x41d698]
lea ecx, [ebp - 0x84]
push 0
call fcn.00405173
cmp dword [ebp - 0x6c], 0
je 0x40d712
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x40d6e2
mov eax, ebx
push dword [ebp - 0x6c]
push eax
push dword [ebp - 0x20]
call fcn.0040c2a4
add esp, 0xc
push dword [ebp - 0x6c]
push eax
push 0x482
push dword [esi + 0x158]
call edi
push dword [0x41d698]
lea ecx, [ebp - 0x74]
push 0
call fcn.00405173
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x40d74f
mov ecx, dword [esi + 0xf4]
test ecx, ecx
jne 0x40d72c
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
add eax, eax
push eax
push ecx
push dword [ebp - 0x20]
call fcn.0040c2a4
add esp, 0xc
push dword [esi + 0xf8]
push eax
push 0x489
push dword [esi + 0x158]
call edi
mov eax, dword [esi + 0x108]
test eax, eax
je 0x40d78c
mov ecx, dword [esi + 0x104]
test ecx, ecx
jne 0x40d769
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
add eax, eax
push eax
push ecx
push dword [ebp - 0x20]
call fcn.0040c2a4
add esp, 0xc
push dword [esi + 0x108]
push eax
push 0x48a
push dword [esi + 0x158]
call edi
and dword [ebp - 0x1c], 0
mov ebx, 0x485
cmp dword [ebp - 0x1c], 0xc8
jge 0x40d800
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0x4b0
push eax
call fcn.0040bcb4
test al, al
je 0x40d7f3
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40d7c2
mov eax, 0x41d69c
push dword [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
call fcn.0040c2a4
add esp, 0xc
push dword [ebp - 0x2c]
push eax
push ebx
push dword [esi + 0x158]
call edi
push dword [0x41d698]
lea ecx, [ebp - 0x34]
push 0
call fcn.00405173
inc dword [ebp - 0x1c]
jmp 0x40d795
push 0
push 0
push ebx
push dword [esi + 0x158]
call edi
push dword [0x41d698]
lea ecx, [ebp - 0x34]
push 0
call fcn.00405173
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
push 0x453
call fcn.0040bcb4
test al, al
je 0x40d860
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40d830
mov eax, 0x41d69c
push dword [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
call fcn.0040c2a4
add esp, 0xc
push dword [ebp - 0x2c]
push eax
push 0x48c
push dword [esi + 0x158]
call edi
push dword [0x41d698]
lea ecx, [ebp - 0x34]
push 0
call fcn.00405173
xor ebx, ebx
cmp dword [ebp - 0x8c], ebx
je 0x40d8b0
mov eax, dword [ebp - 0x90]
cmp eax, ebx
jne 0x40d879
mov eax, 0x41d69c
push dword [ebp - 0x8c]
push eax
push dword [ebp - 0x20]
call fcn.0040c2a4
add esp, 0xc
push dword [ebp - 0x8c]
push eax
push 0x48b
push dword [esi + 0x158]
call edi
push dword [0x41d698]
lea ecx, [ebp - 0x34]
push ebx
call fcn.00405173
xor ebx, ebx
push ebx
push ebx
push 0x49b
push dword [esi + 0x158]
call edi
cmp dword [esi + 0x184], ebx
lea ecx, [esi + 0x138]
jne 0x40d8d6
push 1
call fcn.004096c0
jmp 0x40d8dc
push ebx
call fcn.004095d0
cmp dword [esi + 0x184], 0
je 0x40d8e9
push 0
jmp 0x40d8f4
cmp byte [esi + 0xa3], 0
jne 0x40d8ff
push 1
lea ecx, [esi + 0x138]
call fcn.00409690
lea eax, [ebp - 0x18]
lea edi, [esi + 0x138]
push eax
mov ecx, edi
mov byte [ebp - 4], 0x2c
call fcn.004098d0
mov eax, dword [eax]
test eax, eax
je 0x40d91e
mov eax, dword [eax]
jmp 0x40d920
xor eax, eax
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
pop ecx
cmp eax, 0xe
mov ecx, dword [ebp - 0x18]
setge bl
test ecx, ecx
je 0x40d93a
call fcn.00403f06
test bl, bl
je 0x40d947
push 1
mov ecx, edi
call fcn.00409fd0
cmp byte [esi + 0xa4], 0
je 0x40db83
cmp dword [esi + 0x180], 0xc
jge 0x40d9f5
mov eax, dword [esi + 0x178]
cmp eax, 0x34
je 0x40d975
cmp eax, 0x32
jne 0x40d9f5
push dword [0x4272c0]
lea eax, [ebp - 0xac]
push dword [0x42722c]
push eax
call fcn.00408730
add esp, 0xc
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x2d
call fcn.00406f80
mov eax, dword [eax + 4]
pop ecx
test eax, eax
pop ecx
jne 0x40d9ac
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push 0x10
push str.Error
push eax
push dword [esi + 0x158]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 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_]
and dword [ebp - 0xe8], 0
lea eax, [ebp - 0xe8]
push 0x4230f0
push eax
call sub.MSVCRT.dll__CxxThrowException
sub esp, 0x10
mov edi, esp
mov dword [ebp - 0x40], esp
push edi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0x42a498
push edi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x40da1a
push eax
call fcn.00416e90
sub esp, 0x10
mov byte [ebp - 4], 0x2e
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x42a498
call fcn.0040a050
sub esp, 0x10
mov byte [ebp - 4], 0x2f
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x42a498
call fcn.0040a050
sub esp, 0x10
mov byte [ebp - 4], 0x30
mov ecx, esp
mov dword [ebp - 0xe4], esp
push 0x42a498
call fcn.0040a050
sub esp, 0x10
mov byte [ebp - 4], 0x31
mov ecx, esp
mov dword [ebp - 0xf0], esp
push 0x42a498
call fcn.0040a050
sub esp, 0x10
mov byte [ebp - 4], 0x32
mov ecx, esp
mov dword [ebp - 0xd4], esp
push 0x42a498
call fcn.0040a050
sub esp, 0x10
mov byte [ebp - 4], 0x33
mov ecx, esp
mov dword [ebp - 0xdc], esp
push 0x42a498
call fcn.0040a050
sub esp, 0x10
mov byte [ebp - 4], 0x34
mov ecx, esp
mov dword [ebp - 0xe0], esp
push 0x42a498
call fcn.0040a050
lea ecx, [esi + 0xe0]
mov byte [ebp - 4], 0x35
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.0040e65f
sub esp, 0x10
mov byte [ebp - 4], 0x36
mov ecx, esp
mov dword [ebp - 0xec], esp
push 0x42a498
call fcn.0040a050
sub esp, 0x10
mov byte [ebp - 4], 0x37
mov ecx, esp
mov dword [ebp - 0xf4], esp
push 0x42a498
call fcn.0040a050
sub esp, 0x10
mov byte [ebp - 4], 0x38
mov ecx, esp
mov dword [ebp - 0x98], esp
push 3
push 3
call fcn.00405960
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 0x39
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 - 0x64], esp
push eax
call fcn.0040672a
lea eax, [ebp - 0xbc]
lea ecx, [esi + 0x138]
push eax
mov byte [ebp - 4], 0x3a
call fcn.00409400
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x3c
push ecx
mov ecx, eax
call fcn.0040a810
lea ecx, [ebp - 0x60]
call fcn.004042be
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0xbc]
jmp 0x40dd04
sub esp, 0x10
mov edi, esp
mov dword [ebp - 0x64], esp
push edi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0x42a498
push edi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x40dba8
push eax
call fcn.00416e90
sub esp, 0x10
mov byte [ebp - 4], 0x3d
mov ecx, esp
mov dword [ebp - 0x98], esp
push 0x42a498
call fcn.0040a050
sub esp, 0x10
mov byte [ebp - 4], 0x3e
mov ecx, esp
mov dword [ebp - 0xf4], esp
push 0x42a498
call fcn.0040a050
sub esp, 0x10
mov byte [ebp - 4], 0x3f
mov ecx, esp
mov dword [ebp - 0xec], esp
push 0x42a498
call fcn.0040a050
sub esp, 0x10
mov byte [ebp - 4], 0x40
mov ecx, esp
mov dword [ebp - 0xd8], esp
push 0x42a498
call fcn.0040a050
sub esp, 0x10
mov byte [ebp - 4], 0x41
mov ecx, esp
mov dword [ebp - 0xe0], esp
push 0x42a498
call fcn.0040a050
sub esp, 0x10
mov byte [ebp - 4], 0x42
mov ecx, esp
mov dword [ebp - 0xdc], esp
push 0x42a498
call fcn.0040a050
sub esp, 0x10
mov byte [ebp - 4], 0x43
mov ecx, esp
mov dword [ebp - 0xd4], esp
push 0x42a498
call fcn.0040a050
sub esp, 0x10
mov byte [ebp - 4], 0x44
mov ecx, esp
mov dword [ebp - 0xf0], esp
push 0x42a498
call fcn.0040a050
sub esp, 0x10
mov byte [ebp - 4], 0x45
mov ecx, esp
mov dword [ebp - 0xe4], esp
push 0x42a498
call fcn.0040a050
sub esp, 0x10
mov byte [ebp - 4], 0x46
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0x42a498
call fcn.0040a050
sub esp, 0x10
mov byte [ebp - 4], 0x47
mov ecx, esp
mov dword [ebp - 0x18], esp
push 3
push 3
call fcn.00405960
mov byte [ebp - 4], 0x48
lea ecx, [esi + 0x30]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.0040672a
lea eax, [ebp - 0xbc]
lea ecx, [esi + 0x138]
push eax
mov byte [ebp - 4], 0x49
call fcn.00409400
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x4b
push ecx
mov ecx, eax
call fcn.0040a810
lea ecx, [ebp - 0x60]
call fcn.004042be
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0xbc]
call fcn.004042be
mov ecx, dword [esi + 0x114]
lea eax, [esi + 0x114]
mov edx, 0xffffeff7
cmp ecx, edx
je 0x40dd2d
cmp ecx, 0xffffefd9
je 0x40dd2d
cmp ecx, 2
je 0x40dd2d
mov dword [eax], edx
push dword [eax]
lea edi, [esi + 0x138]
mov ecx, edi
call fcn.00409840
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0xc]
xor edi, edi
jmp 0x40dd58
cmp byte [ebp - 0x11], 0
mov dword [ebp - 4], 0x28
je 0x40dd7c
lea eax, [ebp - 0xd0]
push 0x4230f0
push eax
mov dword [ebp - 0xd0], edi
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 0x190]
cmp eax, edi
je 0x40dd95
push edi
push edi
push dword [0x41d65c]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push edi
push edi
push 0x48f
push dword [esi + 0x158]
call dword [sym.imp.USER32.dll_PostMessageW]
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x13
call fcn.00403e8d
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0xe
call fcn.004042be
push 1
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.00403e8d
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.00403e8d
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x84]
call fcn.00403e8d
jmp 0x40e005
sub esp, 0x10
mov edi, esp
mov dword [ebp - 0x64], esp
push edi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, 0x42a498
push esi
push edi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, ebx
jge 0x40de32
push eax
call fcn.00416e90
sub esp, 0x10
mov byte [ebp - 4], 0x21
mov ecx, esp
mov dword [ebp - 0x98], esp
push esi
call fcn.0040a050
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x64], esp
push ebx
call fcn.0040e68e
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x13
call fcn.004169b0
mov eax, dword [ebp - 0x124]
push ebx
lea ecx, [ebp - 0x124]
call dword [eax + 0xc]
push dword [0x427294]
lea eax, [ebp - 0x50]
push dword [0x42722c]
push eax
call fcn.00408730
add esp, 0xc
push eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x22
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov esi, 0x41d64c
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xbc], esi
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x24
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0xbc]
lea ecx, [ebp - 0x1b4]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
mov eax, dword [ebp - 0xa0]
push 0x422e40
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0x1b4]
push eax
mov dword [ebp - 0x1b4], esi
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x4e
mov byte [eax + 0x17c], 1
mov eax, dword [eax + 0x190]
test eax, eax
je 0x40df24
push 0
push 0
push dword [0x41d660]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x194]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
mov eax, dword [ebp - 0x204]
push 0x422e40
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x194]
push eax
mov dword [ebp - 0x194], 0x41d64c
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x4f
mov byte [eax + 0x17c], 1
mov eax, dword [eax + 0x190]
test eax, eax
je 0x40df8f
push 0
push 0
push dword [0x41d660]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x25c]
lea ecx, [ebp - 0x1f0]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::runtime_error::constructor_class_std::runtime_error_const__]
lea eax, [ebp - 0x1f0]
push 0x4230e0
push eax
mov dword [ebp - 0x1f0], 0x41d620
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x24]
mov byte [ebp - 0x11], 1
mov eax, dword [eax + 0x190]
test eax, eax
je 0x40dfe7
push 0
push 0
push dword [0x41d660]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x200]
call fcn.0040e6a4
mov eax, 0x40e002
ret
mov al, byte [ebp - 0x11]
lea edi, [esi + 0x17c]
mov ecx, esi
mov dword [ebp - 4], 0x50
mov byte [edi], al
call fcn.0040b6c2
cmp byte [edi], 0
jne 0x40e048
push str.SwitchToThisWindow
push str.User32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e048
push 1
push dword [esi + 0x158]
call eax
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x194]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
call dword [sym.imp.MSVCRT.dll_clock]
sub eax, dword [ebp - 0x9c]
cmp dword [ebp - 0x1c], 0x103
jne 0x40e088
test eax, eax
jle 0x40e088
mov ecx, dword [0x41d658]
cmp eax, ecx
jae 0x40e088
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