Function at 0x402280
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551fd1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov al, byte [ebp + 0xb]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], 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_]
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x402442
mov edx, dword [edi + 0x90]
lea esi, [edi + 0x90]
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [edi + 0xb4]
mov eax, dword [esi]
test ecx, ecx
mov ecx, esi
sete bl
call dword [eax + 8]
test bl, bl
je 0x4022f8
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4022bc
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x14], esi
call dword [edx + 4]
mov eax, dword [edi + 0xb0]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [ebp - 4], 1
mov eax, dword [eax]
mov edx, dword [ecx]
add eax, 8
push edx
push 0
push eax
lea ecx, [ebp - 0x30]
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [edi + 0xb0]
lea ecx, [edi + 0xac]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004025a0
mov edx, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 0
call dword [edx + 8]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], eax
fild qword [ebp - 0x20]
fcomp qword [0x575380]
fnstsw ax
test ah, 0x40
jne 0x4022bc
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea esi, [edi + 0x18]
push 0x2710
mov ecx, esi
mov ebx, eax
call fcn.004053e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add ebx, 0x2710
cmp eax, ebx
jbe 0x4023a0
push 0x5b4570
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, esi
call fcn.00402bb0
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x40243e
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4023be
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]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push 0x5b456c
push eax
call ebx
test eax, eax
jne 0x4023d8
mov byte [ebp - 4], al
jmp 0x4022bc
add eax, 3
push 0x5b4568
push eax
call ebx
mov ebx, eax
test ebx, ebx
jne 0x4023f1
mov byte [ebp - 4], al
jmp 0x4022bc
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4023fd
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]
push str.Mozilla_4.0__compatible___
push 0
push 0
push 0x4024a0
push eax
mov ecx, esi
call fcn.004041f0
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x40243e
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push ebx
mov ecx, esi
mov dword [esi + 0x74], eax
call fcn.00402bf0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x40246c
mov byte [ebp - 4], 0
lea ecx, [edi + 0x18]
call fcn.00402bb0
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x402482
mov al, byte [ecx - 1]
test al, al
je 0x402478
cmp al, 0xff
je 0x402478
dec al
mov byte [ecx - 1], al
jmp 0x402482
mov dword [ebp - 4], 0
jmp 0x4022bc
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4