Function at 0x4a89a0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4db7ea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov ebx, ecx
push ebp
mov dword [esp + 0x1c], ebx
call fcn.0040aaf0
mov ecx, dword [ebp + 0x14]
lea edi, [ebx + 0x20]
mov dword [ebx + 0x14], ecx
mov edx, dword [ebp + 0x18]
mov cl, byte [esp + 0x2c]
xor eax, eax
mov dword [ebx + 0x18], edx
mov dword [esp + 0x24], eax
mov byte [edi], cl
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dl, byte [esp + 0x2c]
mov dword [ebx + 0x34], eax
mov byte [ebx + 0x30], dl
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
mov cl, byte [esp + 0x2c]
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x40], cl
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], eax
mov dl, byte [esp + 0x2c]
mov dword [ebx + 0x54], eax
mov byte [ebx + 0x50], dl
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], eax
mov cl, byte [esp + 0x2c]
lea esi, [ebx + 0x60]
mov byte [esi], cl
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dl, byte [esp + 0x2c]
mov dword [ebx + 0x74], eax
mov byte [ebx + 0x70], dl
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], eax
mov dword [ebx], 0x4e62e8
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov byte [esp + 0x24], 6
cmp eax, ecx
mov dword [esp + 0x2c], eax
je 0x4a8a7f
jmp 0x4a8a61
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [edi + 8]
push eax
mov ecx, edi
call fcn.004aac40
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x28]
add eax, 8
cmp eax, ecx
mov dword [esp + 0x2c], eax
jne 0x4a8a5d
mov edi, dword [ebp + 0x44]
mov eax, dword [ebp + 0x48]
cmp edi, eax
je 0x4a8aa0
mov edx, dword [ebx + 0x48]
lea ecx, [ebx + 0x40]
push edi
push edx
call fcn.004aac40
mov eax, dword [ebp + 0x48]
add edi, 8
cmp edi, eax
jne 0x4a8a89
mov edi, dword [ebp + 0x74]
mov eax, dword [ebp + 0x78]
cmp edi, eax
je 0x4a8ac3
mov eax, dword [ebx + 0x78]
lea ecx, [ebx + 0x70]
push edi
push 1
push eax
call fcn.004aae20
mov eax, dword [ebp + 0x78]
add edi, 8
cmp edi, eax
jne 0x4a8aaa
mov edi, dword [ebp + 0x34]
mov eax, dword [ebp + 0x38]
cmp edi, eax
je 0x4a8ae6
mov edx, dword [ebx + 0x38]
lea ecx, [ebx + 0x30]
push edi
push 1
push edx
call fcn.0044f570
mov eax, dword [ebp + 0x38]
add edi, 0xc
cmp edi, eax
jne 0x4a8acd
mov edi, dword [ebp + 0x54]
mov eax, dword [ebp + 0x58]
cmp edi, eax
je 0x4a8b09
mov eax, dword [ebx + 0x58]
lea ecx, [ebx + 0x50]
push edi
push 1
push eax
call fcn.0044f570
mov eax, dword [ebp + 0x58]
add edi, 0xc
cmp edi, eax
jne 0x4a8af0
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x68]
cmp eax, ecx
mov dword [esp + 0x2c], eax
je 0x4a8cb5
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
mov edi, ecx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x4a8c07
mov eax, dword [esi + 4]
test eax, eax
je 0x4a8b67
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, 1
jbe 0x4a8b67
mov ecx, esi
call fcn.0044ec30
mov ebx, eax
jmp 0x4a8b6c
mov ebx, 1
mov ecx, esi
call fcn.0044ec30
add eax, ebx
mov dword [esp + 0x14], eax
jns 0x4a8b7d
xor eax, eax
lea edx, [eax + eax*2]
shl edx, 2
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebx, eax
mov eax, dword [esi + 4]
mov ecx, esi
push ebx
push edi
push eax
call fcn.00450160
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
push ecx
push 1
push eax
mov ecx, esi
call fcn.004501a0
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 8]
add edx, 0xc
mov ecx, esi
push edx
push eax
push edi
call fcn.00450160
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.00432900
mov eax, dword [esi + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x18]
add esp, 4
lea ecx, [eax + eax*2]
lea edx, [ebx + ecx*4]
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.0044ec30
inc eax
mov dword [esi + 4], ebx
lea eax, [eax + eax*2]
lea ecx, [ebx + eax*4]
mov ebx, dword [esp + 0x18]
mov dword [esi + 8], ecx
jmp 0x4a8c9f
mov edx, ecx
mov eax, 0x2aaaaaab
sub edx, edi
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x4a8c6e
lea edx, [edi + 0xc]
push edx
push ecx
push edi
mov ecx, esi
call fcn.00450160
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 8]
push eax
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
mov eax, 1
shr ecx, 0x1f
add edx, ecx
mov ecx, esi
sub eax, edx
push eax
mov eax, dword [esi + 8]
push eax
call fcn.004501a0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 8]
push ecx
push edx
push edi
call fcn.004506a0
add esp, 0xc
jmp 0x4a8c9b
push ecx
push ecx
add ecx, 0xfffffff4
push ecx
mov ecx, esi
call fcn.00450160
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffff4
push eax
push edi
call fcn.004506e0
mov eax, dword [esp + 0x38]
lea ecx, [edi + 0xc]
push eax
push ecx
push edi
call fcn.004506a0
add esp, 0x18
add dword [esi + 8], 0xc
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x68]
add eax, 0xc
cmp eax, ecx
mov dword [esp + 0x2c], eax
jne 0x4a8b1b
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4