Function at 0x414d30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x451591
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0x28]
cmp edi, eax
mov dword [esp + 0x20], 0
jl 0x414f00
lea ebx, [edi + 1]
test ebx, ebx
jne 0x414dac
mov esi, dword [ebp + 4]
test esi, esi
je 0x414d9f
mov ecx, eax
dec eax
test ecx, ecx
je 0x414d8c
lea ebx, [eax + 1]
push 0
mov ecx, esi
call fcn.00415080
add esi, 0x34
dec ebx
jne 0x414d7d
mov eax, dword [ebp + 4]
push eax
call sub.mfc42.dll_operatordelete
add esp, 4
mov dword [ebp + 4], 0
xor eax, eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
jmp 0x414f00
mov ecx, dword [ebp + 4]
test ecx, ecx
jne 0x414e12
lea edx, [ebx + ebx*2]
lea edi, [ebx + edx*4]
shl edi, 2
push edi
call sub.mfc42.dll_operatornew
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
mov dword [ebp + 4], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x10], esi
rep stosb byte es:[edi], al
lea edi, [ebx]
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x20], 1
je 0x414df8
mov ecx, esi
call fcn.00414fe0
add esi, 0x34
dec edi
mov byte [esp + 0x20], 0
mov dword [esp + 0x10], esi
jne 0x414de4
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x414efc
mov esi, dword [ebp + 0xc]
cmp ebx, esi
jg 0x414e55
cmp eax, ebx
jge 0x414e39
mov edx, ebx
sub edx, eax
push edx
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
lea ecx, [ecx + eax*4]
push ecx
call fcn.00415150
mov dword [ebp + 8], ebx
jmp 0x414f00
jle 0x414e4d
sub eax, ebx
lea edx, [ebx + ebx*2]
push eax
lea eax, [ebx + edx*4]
lea ecx, [ecx + eax*4]
push ecx
call fcn.00415050
mov dword [ebp + 8], ebx
jmp 0x414f00
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x414e80
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x414e73
mov ecx, 4
jmp 0x414e80
cmp ecx, 0x400
jle 0x414e80
mov ecx, 0x400
lea eax, [esi + ecx]
cmp ebx, eax
jge 0x414e8d
mov dword [esp + 0x10], eax
jmp 0x414e93
mov dword [esp + 0x10], ebx
mov eax, ebx
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
shl eax, 2
push eax
call sub.mfc42.dll_operatornew
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 4]
mov edi, eax
add esp, 4
lea edx, [ecx + ecx*2]
mov dword [esp + 0x14], eax
lea ecx, [ecx + edx*4]
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
sub edx, ecx
push edx
lea edx, [ecx + ecx*2]
lea ecx, [ecx + edx*4]
lea edx, [eax + ecx*4]
push edx
call fcn.00415150
mov eax, dword [ebp + 4]
push eax
call sub.mfc42.dll_operatordelete
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ecx
mov edi, dword [esp + 0x28]
mov ecx, dword [ebp + 4]
lea edx, [edi + edi*2]
lea eax, [edi + edx*4]
lea edx, [esp + 0x2c]
push edx
lea esi, [ecx + eax*4]
mov ecx, esi
call fcn.0044fc7e
lea ecx, [esp + 0x2c]
mov edi, 0xfffffffc
sub ecx, esi
lea eax, [esi + 4]
sub edi, esi
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
lea edx, [edi + eax]
cmp edx, 2
jb 0x414f28
mov eax, dword [esp + 0x34]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x38]
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x40]
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x18], ecx
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x50]
mov dword [esi + 0x1c], edx
mov eax, dword [esp + 0x4c]
push ecx
lea ecx, [esi + 0x24]
mov dword [esi + 0x20], eax
call fcn.0044fc7e
mov edx, dword [esp + 0x54]
mov dword [esi + 0x28], edx
mov al, byte [esp + 0x58]
mov byte [esi + 0x2c], al
mov cl, byte [esp + 0x59]
mov byte [esi + 0x2d], cl
mov dl, byte [esp + 0x5a]
mov byte [esi + 0x2e], dl
mov al, byte [esp + 0x5b]
mov byte [esi + 0x2f], al
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0x30], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], 2
call fcn.0044fc00
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
call fcn.0044fc00
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x38