Function at 0x4affd0
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b017e
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
push ebx
push esi
mov ecx, dword [ebp + 8]
push edi
cmp dword [ebp - 0x14], ecx
jne 0x4b0001
mov eax, dword [ebp - 0x14]
jmp 0x4b0218
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 4]
mov esi, dword [ecx]
mov eax, edi
mov ecx, 0x24
sub eax, esi
cdq
idiv ecx
mov ecx, eax
mov edx, dword [ebp - 0x14]
mov ebx, 0x24
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 8]
sub eax, dword [ebp - 0x10]
cdq
idiv ebx
mov edx, dword [ebp - 0x14]
cmp eax, ecx
jae 0x4b0110
mov eax, dword [edx + 4]
add edx, 4
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ecx
cmp ecx, eax
je 0x4b006c
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
call fcn.004b0108
add dword [ebp - 0x10], 0x24
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
jne 0x4b004e
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ebx, 0x24
push eax
call sub.MFC40.DLL_operator_delete
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
push 0
sub eax, dword [ecx]
cdq
idiv ebx
mov esi, eax
call dword [sym.imp.MSVCRT40.dll_void____cdecl___void____cdecl_set_new_handler_void____cdecl___void__]
shl esi, 2
add esp, 4
lea eax, [esi + esi*8]
push eax
call sub.MFC40.DLL_operator_new
add esp, 4
mov esi, eax
test esi, esi
jne 0x4b00d4
mov edi, dword [sym.imp.MSVCRT40.dll_class_ostream____cdecl_endl_class_ostream__]
push 0x4fc498
mov ecx, dword [sym.imp.MSVCRT40.dll_class_ostream_withassign_cerr]
call dword [sym.imp.MSVCRT40.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
call edi
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [edx], esi
mov edi, dword [ecx + 4]
mov ebx, dword [ecx]
cmp ebx, edi
je 0x4b00fd
mov eax, ebx
mov ecx, esi
add ebx, 0x24
add esi, 0x24
test ecx, ecx
je 0x4b00f9
push eax
call fcn.00419de0
cmp ebx, edi
jne 0x4b00e5
mov edx, dword [ebp - 0x14]
mov dword [edx + 8], esi
jmp 0x4b01f6
mov eax, dword [edx + 4]
add edx, 4
sub eax, dword [ebp - 0x10]
mov ebx, 0x24
mov dword [ebp - 0x18], edx
cdq
idiv ebx
cmp eax, ecx
jb 0x4b0190
mov eax, dword [ebp - 0x10]
cmp esi, edi
mov dword [ebp - 0x10], eax
je 0x4b0148
push esi
mov eax, esi
add esi, 0x24
mov ecx, dword [ebp - 0x10]
add dword [ebp - 0x10], 0x24
call fcn.00419ef0
cmp esi, edi
jne 0x4b0132
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
cmp ecx, eax
je 0x4b01f6
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
call fcn.004b0188
add dword [ebp - 0x1c], 0x24
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jne 0x4b015e
jmp 0x4b01f6
shl eax, 2
mov edi, dword [ebp - 0x10]
lea ecx, [eax + eax*8]
lea ebx, [ecx + esi]
cmp esi, ebx
je 0x4b01b4
push esi
mov eax, esi
add esi, 0x24
mov ecx, edi
add edi, 0x24
call fcn.00419ef0
cmp esi, ebx
jne 0x4b01a0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov esi, dword [edx]
mov eax, dword [ecx]
sub eax, esi
mov ecx, 0x24
cdq
idiv ecx
shl eax, 2
mov ecx, dword [ebp + 8]
lea edx, [eax + eax*8]
mov edi, dword [ecx + 4]
add esi, edx
mov ebx, dword [ecx]
add ebx, edx
cmp ebx, edi
je 0x4b01f6
mov eax, ebx
mov ecx, esi
add ebx, 0x24
add esi, 0x24
test ecx, ecx
je 0x4b01f2
push eax
call fcn.00419de0
cmp ebx, edi
jne 0x4b01de
mov ecx, dword [ebp + 8]
mov ebx, 0x24
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
mov ecx, dword [ebp - 0x18]
cdq
idiv ebx
shl eax, 2
mov edx, dword [ebp - 0x14]
lea eax, [eax + eax*8]
add eax, dword [edx]
mov dword [ecx], eax
mov eax, edx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4