Function at 0x4ff910
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5492cc
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [0x5c6f74]
mov dword [esp + 0x14], ebx
test edi, edi
je 0x4ffadb
cmp dword [edi + 4], 0
je 0x4ffadb
cmp dword [edi + 0xc], 0
je 0x4ffadb
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x24]
add ebx, 8
add eax, esi
cmp esi, eax
jbe 0x4ff979
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x1c]
add esi, eax
cmp eax, esi
jbe 0x4ff995
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
test ecx, ecx
je 0x4ff9a3
cmp ecx, eax
je 0x4ff9a9
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x1c], esi
je 0x4ffa11
lea eax, [esp + 0x18]
call fcn.00413720
mov ecx, dword [edi + 4]
push ecx
mov ecx, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
je 0x4ff9f8
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4ff9f2
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
cmp dword [esp + 0x1c], edx
jb 0x4ff9ec
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
inc dword [esp + 0x1c]
jmp 0x4ff983
mov eax, dword [eax]
mov ecx, eax
jmp 0x4ff9da
lea eax, [esp + 0x18]
call fcn.00413720
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
push eax
mov eax, esi
call fcn.004ffb00
jmp 0x4ffa15
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
call dword [0x55a6c4]
mov dword [esp + 0x60], 1
mov eax, dword [edi + 4]
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov ecx, dword [esi + 4]
mov dword [esp + 0x50], ecx
inc dword [esi + 4]
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x3c], ecx
mov esi, dword [edi + 0xc]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x38], esi
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
push eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov edx, dword [edi + 4]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], 0xc
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], edx
call fcn.004e0b10
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x50]
push 0x4ff430
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esp + 0x50], eax
lea edi, [esp + 0x2c]
mov eax, ebx
call fcn.004ffc50
mov dword [esp + 0x60], 0xffffffff
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x80070057
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret