Function at 0x4cf220
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0xe30], 0
mov ebx, edx
push edi
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x424], ebx
mov byte [esi + 0xe28], 0
je 0x4cf268
mov eax, dword [esi]
mov edx, dword [eax + 0x20c]
push 0xffffffffffffffff
call edx
mov dword [ebp - 0x42c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x1e0]
lea ecx, [ebp - 0x41c]
push ecx
mov ecx, esi
call edx
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x418]
mov edi, dword [esi + 0xe2c]
push ebx
lea ebx, [ebp - 0x41c]
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 0x428], edi
call fcn.004cee50
test al, al
jne 0x4cf2c2
mov edi, ebx
mov ebx, dword [ebp - 0x424]
call fcn.004cf080
mov edi, dword [ebp - 0x428]
cmp byte [esi + 0xece], 0
je 0x4cf457
mov bx, word [ebp - 0x410]
jmp 0x4cf2e0
cmp bx, word [ebp - 0x418]
jge 0x4cf457
mov edx, dword [esi]
mov eax, dword [edx + 0x218]
mov ecx, esi
call eax
cmp edi, eax
setge al
cmp byte [esi + 0xe30], 0
mov byte [ebp - 0x411], al
jne 0x4cf328
test al, al
jne 0x4cf328
mov edx, dword [esi]
mov eax, dword [edx + 0x20c]
push edi
mov ecx, esi
call eax
mov ebx, eax
add ebx, dword [ebp - 0x410]
jmp 0x4cf34e
test al, al
mov ecx, dword [ebp - 0x410]
mov edx, dword [ebp - 0x42c]
lea ebx, [edx + ecx]
mov word [ebp - 0x40c], bx
je 0x4cf355
cmp bx, cx
jne 0x4cf355
mov bx, word [ebp - 0x418]
mov word [ebp - 0x40c], bx
mov eax, dword [esi + 0xeb4]
cmp eax, 0xffffffff
je 0x4cf379
cmp byte [esi + 0xecc], 0
je 0x4cf379
cmp edi, eax
jl 0x4cf379
cmp edi, dword [esi + 0xeb8]
jle 0x4cf43a
lea edx, [ebp - 0x434]
lea eax, [ebp - 0x410]
lea ecx, [ebp - 0x41c]
call fcn.00414290
test al, al
je 0x4cf43a
mov ebx, dword [ebp - 0x424]
mov eax, dword [ebx]
mov ecx, edx
mov edx, dword [eax + 0x24]
push ecx
mov ecx, ebx
call edx
cmp byte [ebp - 0x411], 0
jne 0x4cf404
mov eax, dword [esi + 0xdf0]
test eax, eax
je 0x4cf3d6
lea ecx, [ecx]
mov ecx, dword [eax + 4]
cmp edi, ecx
jl 0x4cf3d0
mov edx, dword [eax + 8]
add edx, ecx
cmp edi, edx
jl 0x4cf3e2
mov eax, dword [eax]
test eax, eax
jne 0x4cf3c0
cmp dword [esi + 0xe40], edi
je 0x4cf3e2
xor al, al
jmp 0x4cf3e7
mov eax, 1
mov edx, dword [esi + 0xe64]
mov edx, dword [edx + 4]
push eax
lea eax, [ebp - 0x410]
push eax
lea ecx, [esi + 0xe64]
push edi
push ebx
call edx
jmp 0x4cf433
mov eax, dword [esi + 0xf54]
cmp byte [eax + 0x1e4], 0
je 0x4cf433
mov ecx, dword [ebp - 0x420]
push edi
lea eax, [ebp - 0x410]
mov edi, ebx
call fcn.004cfba0
mov esi, dword [ebp - 0x420]
mov edi, dword [ebp - 0x428]
mov bx, word [ebp - 0x40c]
add edi, 1
cmp byte [esi + 0xece], 0
mov word [ebp - 0x410], bx
mov dword [ebp - 0x428], edi
jne 0x4cf2e0
mov esi, dword [ebp - 0x424]
xor edi, edi
call fcn.0045a8d0
mov esi, dword [ebp - 0x420]
mov ecx, dword [esi + 0xe2c]
mov edi, dword [ebp - 0x42c]
test edi, edi
mov byte [esi + 0xece], 0
mov dword [esi + 0xec4], ecx
mov dword [esi + 0xeb4], ecx
jle 0x4cf4b7
movsx edx, word [ebp - 0x41c]
movsx eax, word [ebp - 0x418]
sub eax, edx
cdq
idiv edi
lea eax, [eax + ecx - 1]
mov ecx, dword [esi + 0xe24]
cmp eax, ecx
mov dword [esi + 0xeb8], eax
jl 0x4cf4bd
add ecx, 0xffffffff
mov dword [esi + 0xeb8], ecx
cmp byte [esi + 0xe30], 0
jne 0x4cf523
push 0
push str.mConstantRowHeight
push 0x9e0
push str.........Common_runListbox.cpp
mov eax, 4
call fcn.004f1f50
push eax
push 4
push str.Runtime_Error__d:__s_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n_s:__d_nFailure_Condition:__s_n_s
lea eax, [ebp - 0x408]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x408]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x4cf523
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov edx, dword [esi + 0xd9c]
xor eax, eax
cmp dword [esi + 0xb90], eax
mov dword [esi + 0xec8], edx
mov dword [esi + 0xebc], 0xffffffff
jle 0x4cf58e
movsx ecx, word [ebp - 0x416]
mov edx, dword [esi + 0xb88]
mov di, word [ebp - 0x41a]
add edx, ecx
lea ecx, [esi + 0xa4]
cmp dword [esi + 0xebc], 0xffffffff
jne 0x4cf576
movsx ebx, di
cmp dword [ecx - 4], ebx
jl 0x4cf576
mov dword [esi + 0xebc], eax
cmp dword [ecx], edx
jg 0x4cf580
mov dword [esi + 0xec0], eax
add eax, 1
add ecx, 0x2c
cmp eax, dword [esi + 0xb90]
jl 0x4cf55f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret