Function at 0x48f020
Capabilities:
Create thread
Suspend thread

Disassembly:
push 0xffffffffffffffff
push 0x528f58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x28]
lea ecx, [esi + 0xcc]
push eax
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_CString::operator_2
lea eax, [esi + 0xc0]
mov dword [esp + 0x10], eax
mov eax, dword [eax]
test eax, eax
je 0x48f06d
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ebx, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
cmp ebx, ebx
mov ebp, ebx
je 0x48f08b
push ebp
mov ecx, edi
call fcn.0048fa70
add ebp, 0x1c
add edi, 0x1c
cmp ebp, ebx
jne 0x48f079
mov ebp, dword [esi + 0x48]
mov ebx, edi
cmp edi, ebp
je 0x48f0a2
mov ecx, ebx
call fcn.0048ec60
add ebx, 0x1c
cmp ebx, ebp
jne 0x48f094
mov dword [esi + 0x48], edi
mov ecx, dword [esi + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
push edx
push 0
push esi
push 0x48ece0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [esp + 0x10]
mov dword [edi], eax
mov eax, dword [0x56fbf0]
mov ecx, dword [0x56fbf4]
mov esi, eax
sub ecx, eax
sar ecx, 2
cmp ecx, 1
jae 0x48f1c2
mov ecx, dword [0x56fbec]
test ecx, ecx
je 0x48f112
mov edx, eax
sub edx, ecx
sar edx, 2
cmp edx, 1
jbe 0x48f112
sub eax, ecx
sar eax, 2
mov edi, eax
jmp 0x48f117
mov edi, 1
mov ecx, 0x56fbe8
call fcn.0040d680
mov ebp, eax
add ebp, edi
mov eax, ebp
jns 0x48f12b
xor eax, eax
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [0x56fbec]
add esp, 4
mov edi, eax
push edi
push esi
push ecx
mov ecx, 0x56fbe8
call fcn.00480680
mov edx, dword [esp + 0x10]
mov ebx, eax
push edx
push 1
push ebx
mov ecx, 0x56fbe8
call fcn.00419b30
mov eax, dword [0x56fbf0]
add ebx, 4
push ebx
push eax
push esi
mov ecx, 0x56fbe8
call fcn.00480680
mov ecx, dword [0x56fbf0]
mov edx, dword [0x56fbec]
push ecx
push edx
mov ecx, 0x56fbe8
call fcn.0040d6e0
mov eax, dword [0x56fbec]
push eax
call sub.MFC42.DLL_operatordelete
lea eax, [edi + ebp*4]
add esp, 4
mov ecx, 0x56fbe8
mov dword [0x56fbf4], eax
call fcn.0040d680
lea ecx, [edi + eax*4 + 4]
mov dword [0x56fbec], edi
mov dword [0x56fbf0], ecx
jmp 0x48f25d
mov edx, eax
sub edx, esi
sar edx, 2
cmp edx, 1
jae 0x48f217
lea ecx, [esi + 4]
push ecx
push eax
push esi
mov ecx, 0x56fbe8
call fcn.00480680
mov eax, dword [0x56fbf0]
mov ecx, 1
mov edx, eax
push edi
sub edx, esi
sar edx, 2
sub ecx, edx
push ecx
push eax
mov ecx, 0x56fbe8
call fcn.00419b30
mov ecx, dword [0x56fbf0]
mov eax, esi
cmp esi, ecx
je 0x48f256
mov edx, dword [edi]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jne 0x48f20a
jmp 0x48f256
push eax
push eax
add eax, 0xfffffffc
mov ecx, 0x56fbe8
push eax
call fcn.00480680
mov eax, dword [0x56fbf0]
mov ecx, eax
add eax, 0xfffffffc
cmp esi, eax
je 0x48f244
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, esi
mov dword [ecx], edx
jne 0x48f235
lea eax, [esi + 4]
cmp esi, eax
je 0x48f256
mov ecx, dword [edi]
mov dword [esi], ecx
add esi, 4
cmp esi, eax
jne 0x48f24b
add dword [0x56fbf0], 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4