Function at 0x4ae830
Capabilities:
Access peb ldr_data
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f0da3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d4
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1f0]
push edi
push fcn.004ba050
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
push fcn.004ba030
push 5
mov cl, byte [eax + 0xd]
lea eax, [esp + 0x8c]
mov ebp, 1
push 0x14
push eax
xor edi, edi
xor ebx, ebx
mov byte [esp + 0x27], cl
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], edx
call fcn.004e33f6
lea ecx, [esp + 0x110]
mov dword [esp + 0x1ec], edi
call fcn.004dc560
lea ecx, [esp + 0x20]
mov byte [esp + 0x1ec], 1
call fcn.004d9b70
lea ecx, [esp + 0x138]
mov byte [esp + 0x1ec], 2
call fcn.004d9b70
mov dword [esp + 0x50], 0x4f8728
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], 0xa
xor ecx, ecx
mov byte [esp + 0x1ec], 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], edi
call sub.MFC42.DLL_CPlex::FreeDataChain
mov eax, dword [esi + 4]
mov dword [esp + 0x64], edi
cmp eax, edi
mov dword [esp + 0x4c], eax
je 0x4af2a3
jmp 0x4ae916
mov esi, dword [esp + 0x1f4]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.0042e960
mov dl, byte [eax + 4]
sub esp, 0x2c
mov ecx, esp
mov dword [esp + 0x40], esp
mov byte [ecx + 4], dl
mov dl, byte [eax + 5]
mov byte [ecx + 5], dl
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x14], edx
mov edx, dword [eax + 0x18]
mov dword [ecx + 0x18], edx
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x1c], edx
mov edx, dword [eax + 0x20]
mov dword [ecx + 0x20], edx
mov edx, dword [eax + 0x24]
mov dword [ecx + 0x24], edx
mov eax, dword [eax + 0x28]
mov dword [ecx + 0x28], eax
mov dword [ecx], 0x4f67d4
lea ecx, [esp + 0x1b8]
push ecx
lea ecx, [esp + 0x50]
call fcn.004d9bb0
lea ecx, [esp + 0x18c]
call fcn.004d9ba0
mov edx, dword [esp + 0x24]
and edx, 0xff
lea eax, [edx - 0xa]
cmp eax, 0x32
ja case.0x4ae9ae.16
xor ecx, ecx
mov cl, byte [eax + 0x4af6d4]
jmp dword [ecx*4 + 0x4af6b8]
cmp ebp, edi
je 0x4ae9ef
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edi
push edx
push eax
lea ecx, [esp + 0x8c]
call fcn.004ba080
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push 1
push ecx
push edx
lea ecx, [esp + 0xa0]
call fcn.004ba080
mov eax, 2
jmp 0x4aea29
cmp byte [esp + 0x13], 0x1e
jne 0x4aea0c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jne 0x4aea0c
xor eax, eax
xor ecx, ecx
push 2
push ecx
push eax
jmp 0x4aea18
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push 1
push ecx
push edx
lea ecx, [esp + 0x8c]
call fcn.004ba080
mov eax, 1
lea esi, [esp + 0x8c]
mov edi, eax
lea ecx, [esi - 0xc]
sub esp, 0x14
test ecx, ecx
mov dword [esp + 0x28], esp
mov eax, esp
je 0x4aea47
lea ecx, [esi - 8]
jmp 0x4aea49
xor ecx, ecx
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov edx, dword [esi]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 4]
mov dword [eax + 0x10], ecx
lea ecx, [esp + 0x64]
mov dword [eax], 0x4f57e8
call fcn.004732e0
add esi, 0x14
dec edi
jne 0x4aea32
jmp case.0x4ae9ae.16
cmp byte [esp + 0x13c], 0x3c
jne 0x4aeb85
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x158]
cmp eax, esi
jne 0x4aeaa9
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x15c]
cmp eax, edx
je 0x4aeb8f
lea edx, [esp + 0x178]
lea ecx, [esp + 0x50]
push edx
call fcn.004b9d50
lea ecx, [esp + 0x178]
call fcn.004ba050
lea eax, [esp + 0x164]
lea ecx, [esp + 0x50]
push eax
call fcn.004b9d50
lea ecx, [esp + 0x164]
call fcn.004ba050
mov ecx, dword [esp + 0x154]
mov edx, dword [esp + 0x150]
push 7
push ecx
push edx
lea ecx, [esp + 0x8c]
call fcn.004ba080
mov eax, dword [esp + 0x15c]
mov ecx, dword [esp + 0x158]
push 0xa
push eax
push ecx
lea ecx, [esp + 0xa0]
call fcn.004ba080
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push 6
push edx
push eax
lea ecx, [esp + 0xb4]
call fcn.004ba080
lea esi, [esp + 0x8c]
mov edi, 3
lea ecx, [esi - 0xc]
sub esp, 0x14
test ecx, ecx
mov dword [esp + 0x28], esp
mov eax, esp
je 0x4aeb58
lea ecx, [esi - 8]
jmp 0x4aeb5a
xor ecx, ecx
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov edx, dword [esi]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 4]
mov dword [eax + 0x10], ecx
lea ecx, [esp + 0x64]
mov dword [eax], 0x4f57e8
call fcn.004732e0
add esi, 0x14
dec edi
jne 0x4aeb43
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
xor edi, edi
cmp ebp, edi
je 0x4aebfc
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edi
push edx
push eax
lea ecx, [esp + 0x8c]
call fcn.004ba080
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push 0xa
push ecx
push edx
lea ecx, [esp + 0xa0]
call fcn.004ba080
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push 6
push eax
push ecx
lea ecx, [esp + 0xb4]
call fcn.004ba080
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push 0xa
push edx
push eax
lea ecx, [esp + 0xc8]
call fcn.004ba080
mov edi, 4
jmp 0x4aedeb
cmp byte [esp + 0x13], 0x1e
jne 0x4aed02
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
cmp eax, ecx
jne 0x4aed02
mov eax, dword [esp + 0x58]
add eax, 8
cmp eax, edi
je 0x4aec27
lea ecx, [eax + 4]
jmp 0x4aec29
xor ecx, ecx
mov ebp, dword [ecx]
mov dword [esp + 0x100], ebp
mov ecx, dword [ecx + 4]
mov dword [esp + 0x104], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x108], ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x10c], eax
mov dword [esp + 0xfc], 0x4f57e8
cmp ecx, 0xa
mov byte [esp + 0x1ec], 5
je 0x4aecbd
push 0xa
push edx
push esi
lea ecx, [esp + 0x8c]
call fcn.004ba080
xor ecx, ecx
xor eax, eax
push 8
push ecx
push eax
lea ecx, [esp + 0xa0]
call fcn.004ba080
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push 0xa
push ecx
push edx
lea ecx, [esp + 0xb4]
call fcn.004ba080
mov edi, 3
mov byte [esp + 0x1ec], 4
lea ecx, [esp + 0xfc]
jmp 0x4aedde
xor ecx, ecx
xor eax, eax
push 8
push ecx
push eax
lea ecx, [esp + 0x8c]
call fcn.004ba080
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push 0xa
push eax
push ecx
lea ecx, [esp + 0xa0]
call fcn.004ba080
mov edi, 2
mov byte [esp + 0x1ec], 4
lea ecx, [esp + 0xfc]
jmp 0x4aedde
mov eax, dword [esp + 0x58]
add eax, 8
cmp eax, edi
je 0x4aed12
lea ecx, [eax + 4]
jmp 0x4aed14
xor ecx, ecx
mov edi, dword [ecx]
mov dword [esp + 0x128], edi
mov ecx, dword [ecx + 4]
mov dword [esp + 0x12c], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x130], ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x134], eax
mov dword [esp + 0x124], 0x4f57e8
cmp ecx, 0xa
mov byte [esp + 0x1ec], 6
je 0x4aed9a
push 0xa
push edx
push esi
lea ecx, [esp + 0x8c]
call fcn.004ba080
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push 6
push ecx
push edx
lea ecx, [esp + 0xa0]
call fcn.004ba080
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push 0xa
push eax
push ecx
lea ecx, [esp + 0xb4]
call fcn.004ba080
mov edi, 3
jmp 0x4aedcf
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push 6
push edx
push eax
lea ecx, [esp + 0x8c]
call fcn.004ba080
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push 0xa
push ecx
push edx
lea ecx, [esp + 0xa0]
call fcn.004ba080
mov edi, 2
mov byte [esp + 0x1ec], 4
lea ecx, [esp + 0x124]
call fcn.004ba050
test edi, edi
jle case.0x4ae9ae.16
lea esi, [esp + 0x8c]
lea ecx, [esi - 0xc]
sub esp, 0x14
test ecx, ecx
mov dword [esp + 0x28], esp
mov eax, esp
je 0x4aee07
lea ecx, [esi - 8]
jmp 0x4aee09
xor ecx, ecx
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov edx, dword [esi]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 4]
mov dword [eax + 0x10], ecx
lea ecx, [esp + 0x64]
mov dword [eax], 0x4f57e8
call fcn.004732e0
add esi, 0x14
dec edi
jne 0x4aedf2
jmp case.0x4ae9ae.16
cmp ebp, edi
je 0x4aee8b
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edi
push edx
push eax
lea ecx, [esp + 0x8c]
call fcn.004ba080
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push 5
push ecx
push edx
lea ecx, [esp + 0xa0]
call fcn.004ba080
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push 3
push eax
push ecx
lea ecx, [esp + 0xb4]
call fcn.004ba080
mov eax, 3
jmp 0x4aeef5
cmp byte [esp + 0x13], 0x1e
jne 0x4aeec0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
cmp eax, edx
jne 0x4aeec0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push 5
push eax
push ecx
lea ecx, [esp + 0x8c]
call fcn.004ba080
xor eax, eax
xor ecx, ecx
push 4
push ecx
push eax
jmp 0x4aeee4
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push 5
push edx
push eax
lea ecx, [esp + 0x8c]
call fcn.004ba080
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push 3
push ecx
push edx
lea ecx, [esp + 0xa0]
call fcn.004ba080
mov eax, 2
lea esi, [esp + 0x8c]
mov edi, eax
lea ecx, [esi - 0xc]
sub esp, 0x14
test ecx, ecx
mov dword [esp + 0x28], esp
mov eax, esp
je 0x4aef13
lea ecx, [esi - 8]
jmp 0x4aef15
xor ecx, ecx
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov edx, dword [esi]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 4]
mov dword [eax + 0x10], ecx
lea ecx, [esp + 0x64]
mov dword [eax], 0x4f57e8
call fcn.004732e0
add esi, 0x14
dec edi
jne 0x4aeefe
jmp case.0x4ae9ae.16
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push 0xb
push edx
push eax
lea ecx, [esp + 0x8c]
call fcn.004ba080
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push 0xb
push ecx
push edx
lea ecx, [esp + 0xa0]
call fcn.004ba080
lea esi, [esp + 0x8c]
mov edi, 2
lea ecx, [esi - 0xc]
sub esp, 0x14
test ecx, ecx
mov dword [esp + 0x28], esp
mov eax, esp
je 0x4aef96
lea ecx, [esi - 8]
jmp 0x4aef98
xor ecx, ecx
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov edx, dword [esi]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 4]
mov dword [eax + 0x10], ecx
lea ecx, [esp + 0x64]
mov dword [eax], 0x4f57e8
call fcn.004732e0
add esi, 0x14
dec edi
jne 0x4aef81
jmp 0x4af207
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push 0xc
push edx
push eax
lea ecx, [esp + 0x8c]
call fcn.004ba080
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push 0xc
push ecx
push edx
lea ecx, [esp + 0xa0]
call fcn.004ba080
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push 0xc
push eax
push ecx
lea ecx, [esp + 0xb4]
call fcn.004ba080
lea esi, [esp + 0x8c]
mov edi, 3
lea edx, [esi - 0xc]
sub esp, 0x14
test edx, edx
mov dword [esp + 0x28], esp
mov eax, esp
je 0x4af031
lea ecx, [esi - 8]
jmp 0x4af033
xor ecx, ecx
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov edx, dword [esi]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 4]
mov dword [eax + 0x10], ecx
lea ecx, [esp + 0x64]
mov dword [eax], 0x4f57e8
call fcn.004732e0
add esi, 0x14
dec edi
jne 0x4af01c
jmp 0x4af207
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x78], edx
lea edx, [esp + 0x74]
mov esi, eax
push edx
lea edx, [esp + 0x70]
push edx
push ecx
push eax
mov edi, ecx
call fcn.00432f90
add esp, 0x10
lea ecx, [esp + 0x80]
push 0xd
push edi
push esi
call fcn.004ba080
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
push 0xd
push eax
push ecx
lea ecx, [esp + 0xa0]
call fcn.004ba080
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push 0xd
push edx
push eax
lea ecx, [esp + 0xb4]
call fcn.004ba080
lea eax, [esp + 0xa8]
lea ecx, [esp + 0xac]
neg eax
sbb eax, eax
lea edx, [esp + 0x84]
and eax, ecx
lea ecx, [esp + 0x80]
neg ecx
sbb ecx, ecx
and ecx, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
mov edx, dword [ecx + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
lea ecx, [esp + 0x120]
call fcn.004dc610
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x114]
call fcn.004dcae0
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
push 0xd
push edx
push eax
lea ecx, [esp + 0xc8]
call fcn.004ba080
lea eax, [esp + 0x94]
lea ecx, [esp + 0x98]
neg eax
sbb eax, eax
lea edx, [esp + 0x84]
and eax, ecx
lea ecx, [esp + 0x80]
neg ecx
sbb ecx, ecx
and ecx, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
mov edx, dword [ecx + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
lea ecx, [esp + 0x120]
call fcn.004dc610
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x114]
call fcn.004dcae0
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push 0xd
push edx
push eax
lea ecx, [esp + 0xdc]
call fcn.004ba080
lea esi, [esp + 0x8c]
mov edi, 5
lea ecx, [esi - 0xc]
sub esp, 0x14
test ecx, ecx
mov dword [esp + 0x28], esp
mov eax, esp
je 0x4af1da
lea ecx, [esi - 8]
jmp 0x4af1dc
xor ecx, ecx
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov edx, dword [esi]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 4]
mov dword [eax + 0x10], ecx
lea ecx, [esp + 0x64]
mov dword [eax], 0x4f57e8
call fcn.004732e0
add esi, 0x14
dec edi
jne 0x4af1c5
mov ebx, 1
mov dl, byte [esp + 0x24]
sub esp, 0x2c
mov eax, esp
mov dword [esp + 0x40], esp
mov byte [eax + 4], dl
mov cl, byte [esp + 0x51]
mov byte [eax + 5], cl
mov edx, dword [esp + 0x54]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x14], ecx
mov edx, dword [esp + 0x64]
mov dword [eax + 0x18], edx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x1c], ecx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0x20], edx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x24], ecx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x28], edx
mov dword [eax], 0x4f67d4
lea eax, [esp + 0x1e4]
lea ecx, [esp + 0x164]
push eax
call fcn.004d9bb0
lea ecx, [esp + 0x1b8]
call fcn.004d9ba0
mov ecx, dword [esp + 0x18]
xor edi, edi
xor ebp, ebp
inc ecx
cmp ebx, edi
mov dword [esp + 0x18], ecx
jne 0x4af2a3
cmp dword [esp + 0x4c], edi
jne 0x4ae90f
lea ecx, [esp + 0xe8]
call fcn.004ba030
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x1f8]
mov ebx, ecx
cmp ecx, edi
mov esi, dword [ebp + 4]
mov byte [esp + 0x1ec], 7
mov dword [esp + 0x18], ebx
jne 0x4af309
xor ebx, ebx
cmp esi, ebx
je 0x4af2fe
mov eax, dword [ebp + 8]
mov ecx, eax
dec eax
test ecx, ecx
je 0x4af2ef
lea edi, [eax + 1]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx]
add esi, 0x14
dec edi
jne 0x4af2e2
mov eax, dword [ebp + 4]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 4], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x4af507
test esi, esi
jne 0x4af377
lea esi, [ecx + ecx*4]
shl esi, 2
push esi
call sub.MFC42.DLL_operatornew
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebp + 4], edi
mov ebx, edi
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x1c], ebx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
lea esi, [eax]
mov dword [esp + 0x14], ebx
test ebx, ebx
mov byte [esp + 0x1ec], 8
je 0x4af356
mov ecx, ebx
call fcn.004ba030
add ebx, 0x14
dec esi
mov byte [esp + 0x1ec], 7
mov dword [esp + 0x1c], ebx
jne 0x4af33f
mov eax, dword [esp + 0x18]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
jmp 0x4af507
mov edi, dword [ebp + 0xc]
cmp ecx, edi
jg 0x4af41d
mov eax, dword [ebp + 8]
cmp eax, ecx
jge 0x4af3ef
sub ecx, eax
mov edx, ecx
lea ecx, [eax + eax*4]
xor eax, eax
lea esi, [esi + ecx*4]
lea ecx, [edx + edx*4]
shl ecx, 2
mov ebx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
mov dword [esp + 0x1c], esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x4af411
lea edi, [edx + 1]
mov bl, 7
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x1ec], 9
je 0x4af3d2
mov ecx, esi
call fcn.004ba030
add esi, 0x14
dec edi
mov byte [esp + 0x1ec], bl
mov dword [esp + 0x1c], esi
jne 0x4af3bb
mov ecx, dword [esp + 0x18]
mov dword [ebp + 8], ecx
jmp 0x4af507
jle 0x4af411
sub eax, ecx
lea ecx, [ecx + ecx*4]
mov edx, eax
dec eax
test edx, edx
lea esi, [esi + ecx*4]
je 0x4af411
lea edi, [eax + 1]
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax]
add esi, 0x14
dec edi
jne 0x4af403
mov ecx, dword [esp + 0x18]
mov dword [ebp + 8], ecx
jmp 0x4af507
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4af448
mov eax, dword [ebp + 8]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4af43c
mov eax, 4
jmp 0x4af448
cmp eax, 0x400
jle 0x4af448
mov eax, 0x400
add eax, edi
cmp ecx, eax
jge 0x4af450
mov ecx, eax
lea edx, [ecx + ecx*4]
mov dword [esp + 0x1c], ecx
shl edx, 2
push edx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 4]
mov edi, eax
mov dword [esp + 0x18], eax
lea ecx, [ecx + ecx*4]
add esp, 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
lea ecx, [ecx + ecx*4]
lea esi, [eax + ecx*4]
lea ecx, [edx + edx*4]
shl ecx, 2
mov ebx, ecx
xor eax, eax
mov edi, esi
mov dword [esp + 0xe4], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x4af4e6
lea edi, [edx + 1]
mov bl, 7
mov dword [esp + 0x7c], esi
test esi, esi
mov byte [esp + 0x1ec], 0xa
je 0x4af4d2
mov ecx, esi
call fcn.004ba030
add esi, 0x14
dec edi
mov byte [esp + 0x1ec], bl
mov dword [esp + 0xe4], esi
jne 0x4af4bb
mov eax, dword [ebp + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x54]
xor ebx, ebx
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x4c], eax
je 0x4af5d7
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x54]
call fcn.0042e960
sub esp, 0x14
cmp eax, ebx
mov dword [esp + 0x90], esp
mov ecx, esp
je 0x4af53e
lea edx, [eax + 4]
jmp 0x4af540
xor edx, edx
mov edi, dword [edx]
mov dword [ecx + 4], edi
mov edx, dword [edx + 4]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0x178]
push ecx
lea ecx, [esp + 0x100]
call fcn.004ba0a0
lea ecx, [esp + 0x164]
call fcn.004ba050
lea eax, [esp + 0xe8]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x100]
and eax, edx
mov ecx, esp
mov dword [esp + 0x90], esp
push esi
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x10c]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x110]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, ebp
call fcn.004165b0
mov eax, dword [esp + 0x4c]
inc esi
cmp eax, ebx
jne 0x4af51b
lea ecx, [esp + 0xe8]
mov byte [esp + 0x1ec], 4
call fcn.004ba050
mov dword [esp + 0x50], 0x4f8728
mov ebp, dword [esp + 0x54]
mov byte [esp + 0x1ec], 0xb
cmp ebp, ebx
je 0x4af620
lea esi, [ebp + 8]
xor edi, edi
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx]
add esi, 0x14
mov eax, edi
dec edi
test eax, eax
jne 0x4af608
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x4af603
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
lea ecx, [esp + 0x138]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x50], 0x4f4f00
mov byte [esp + 0x1ec], 2
call fcn.004d9ba0
lea ecx, [esp + 0x20]
mov byte [esp + 0x1ec], 1
call fcn.004d9ba0
lea ecx, [esp + 0x110]
mov byte [esp + 0x1ec], 0
call fcn.004dc5b0
push fcn.004ba050
push 5
lea ecx, [esp + 0x88]
push 0x14
push ecx
mov dword [esp + 0x1fc], 0xffffffff
call fcn.004e3294
mov ecx, dword [esp + 0x1e4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1e0
ret