Function at 0x4beaa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f1bf2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
call fcn.004ba030
mov eax, dword [esi + 0x10]
xor ecx, ecx
xor edi, edi
dec eax
cmp eax, 3
mov dword [esp + 0x120], ecx
ja case.default.0x4beae2
jmp dword [eax*4 + 0x4bf5c8]
xor eax, eax
push 2
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.004ba080
lea eax, [esp + 0x18]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x30]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esi + 0x20]
call fcn.00416650
jmp case.default.0x4beae2
mov eax, dword [esi + 0x28]
cmp eax, ecx
jle 0x4beb72
dec eax
lea ecx, [esp + 0xc8]
push eax
push ecx
lea ecx, [esi + 0x20]
call fcn.00416560
mov ecx, dword [eax + 0xc]
cmp ecx, 3
lea ecx, [esp + 0xc8]
sete bl
call fcn.004ba050
test bl, bl
je 0x4beb72
mov edi, 1
mov eax, dword [esi + 0x5c]
xor ebp, ebp
cmp eax, ebp
je 0x4bed52
cmp edi, ebp
je 0x4bed52
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], ebp
call fcn.004ba030
mov byte [esp + 0x120], 1
lea edi, [esp + 0x4c]
lea ebx, [esi + 0x20]
mov ecx, ebx
call fcn.004272c0
mov ecx, dword [esp + 0x2c]
sub esp, 0x14
sub eax, ecx
mov edx, esp
mov dword [esp + 0x24], esp
push eax
push edx
mov ecx, ebx
call fcn.00416560
lea eax, [esp + 0x118]
lea ecx, [esp + 0x44]
push eax
call fcn.004ba0a0
lea ecx, [esp + 0x104]
call fcn.004ba050
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
inc ecx
cmp eax, 0xa
mov dword [esp + 0x2c], ecx
je 0x4beba0
lea eax, [esp + 0x30]
lea ecx, [esp + 0x34]
neg eax
sbb eax, eax
add edi, 8
and eax, ecx
inc ebp
cmp ebp, 3
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi - 8], edx
mov dword [edi - 4], eax
jl 0x4beba0
mov edx, dword [esi + 0x78]
mov eax, dword [esi + 0x74]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004c0740
test eax, eax
je 0x4beced
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push 5
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.004ba080
lea eax, [esp + 0x30]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x48]
and eax, edx
mov ecx, esp
add esi, 0x20
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x50]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x54]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, esi
call fcn.00416650
xor ecx, ecx
xor eax, eax
push 4
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.004ba080
lea eax, [esp + 0x30]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x48]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x50]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x54]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, esi
jmp 0x4bed37
xor ecx, ecx
xor eax, eax
push 2
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.004ba080
lea eax, [esp + 0x30]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x48]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x50]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x54]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esi + 0x20]
call fcn.00416650
lea ecx, [esp + 0x30]
mov byte [esp + 0x120], 0
call fcn.004ba050
jmp case.default.0x4beae2
cmp dword [esi + 0x40], 5
jne 0x4beded
lea ecx, [esi + 0x34]
sub esp, 0x14
cmp ecx, ebp
mov dword [esp + 0x24], esp
mov eax, esp
je 0x4bed71
lea edx, [ecx + 4]
jmp 0x4bed73
xor edx, edx
mov edi, dword [edx]
add esi, 0x20
mov dword [eax + 4], edi
mov edx, dword [edx + 4]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [ecx + 0x10]
mov dword [eax + 0x10], ecx
mov ecx, esi
mov dword [eax], 0x4f57e8
call fcn.00416650
xor ecx, ecx
xor eax, eax
push 4
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.004ba080
lea eax, [esp + 0x18]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x30]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, esi
call fcn.00416650
jmp case.default.0x4beae2
xor ecx, ecx
xor eax, eax
push 2
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.004ba080
lea eax, [esp + 0x18]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x30]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esi + 0x20]
call fcn.00416650
jmp case.default.0x4beae2
mov eax, dword [esi + 0xdc]
lea ebp, [esi + 0x20]
cmp eax, ecx
mov ecx, dword [esi + 0x28]
je 0x4bf479
sub ecx, 2
lea edx, [esp + 0x64]
push ecx
push edx
mov ecx, ebp
call fcn.00416560
mov ecx, dword [eax + 0xc]
cmp ecx, 6
lea ecx, [esp + 0x64]
sete bl
call fcn.004ba050
test bl, bl
push 0
je 0x4bf182
lea eax, [esp + 0xa4]
mov ecx, ebp
push eax
call fcn.00416560
test eax, eax
mov byte [esp + 0x120], 2
je 0x4beea1
add eax, 4
jmp 0x4beea3
xor eax, eax
mov ebx, dword [esi + 0x68]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea edi, [esi + 0x60]
lea eax, [ebx + 1]
mov dword [esp + 0x10], ecx
push 0xffffffffffffffff
push eax
mov ecx, edi
mov dword [esp + 0x1c], edx
call fcn.00425190
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x120], 0
mov dword [ecx + ebx*8], edx
mov dword [ecx + ebx*8 + 4], eax
lea ecx, [esp + 0xa0]
call fcn.004ba050
lea ecx, [esp + 0xf0]
push 0
push ecx
mov ecx, ebp
call fcn.00416560
test eax, eax
mov byte [esp + 0x120], 3
je 0x4bef0b
add eax, 4
jmp 0x4bef0d
xor eax, eax
mov ebx, dword [edi + 8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
push 0xffffffffffffffff
lea ecx, [ebx + 1]
mov dword [esp + 0x14], edx
push ecx
mov ecx, edi
mov dword [esp + 0x1c], eax
call fcn.00425190
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x120], 0
mov dword [edx + ebx*8], eax
mov dword [edx + ebx*8 + 4], ecx
lea ecx, [esp + 0xf0]
call fcn.004ba050
push edi
call fcn.00424930
mov edi, dword [esi + 0x28]
mov eax, dword [ebp + 8]
add esp, 4
dec edi
sub eax, edi
mov dword [esp + 0x2c], 0
dec eax
lea ebx, [edi + edi*4]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 4]
shl ebx, 2
mov dword [esp + 0x10], ebx
add ebx, eax
mov edx, dword [ebx]
push 0
mov ecx, ebx
call dword [edx]
mov eax, dword [esp + 0x2c]
add ebx, 0x14
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x2c], eax
jne 0x4bef7e
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4befc2
mov eax, dword [ebp + 4]
lea edx, [ecx + ecx*4]
shl edx, 2
lea ecx, [edi + edi*4 + 5]
push edx
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x14]
add eax, ecx
push edx
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
mov edx, dword [ebp + 8]
push 0xa
dec edx
mov dword [ebp + 8], edx
mov eax, dword [esi + 0x68]
mov edx, dword [esi + 0x64]
sub eax, 5
mov ecx, dword [edx + eax*8 + 4]
push ecx
lea ecx, [esp + 0x20]
mov edx, dword [edx + eax*8]
push edx
call fcn.004ba080
lea eax, [esp + 0x18]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x30]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, ebp
call fcn.00416650
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x64]
sub eax, 4
push 6
mov edx, dword [ecx + eax*8 + 4]
push edx
mov eax, dword [ecx + eax*8]
lea ecx, [esp + 0x20]
push eax
call fcn.004ba080
lea eax, [esp + 0x18]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x30]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, ebp
call fcn.00416650
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x64]
sub eax, 3
push 0xa
mov edx, dword [ecx + eax*8 + 4]
push edx
mov eax, dword [ecx + eax*8]
lea ecx, [esp + 0x20]
push eax
call fcn.004ba080
lea eax, [esp + 0x18]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x30]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, ebp
call fcn.00416650
xor ecx, ecx
xor eax, eax
push 8
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.004ba080
lea eax, [esp + 0x18]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x30]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, ebp
call fcn.00416650
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x64]
dec eax
push 0xa
mov edx, dword [ecx + eax*8 + 4]
push edx
mov eax, dword [ecx + eax*8]
lea ecx, [esp + 0x20]
push eax
call fcn.004ba080
lea eax, [esp + 0x18]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x30]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, ebp
call fcn.00416650
jmp 0x4bf546
lea ecx, [esp + 0x7c]
push ecx
mov ecx, ebp
call fcn.00416560
test eax, eax
mov byte [esp + 0x120], 4
je 0x4bf19f
add eax, 4
jmp 0x4bf1a1
xor eax, eax
mov ebx, dword [esi + 0x68]
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea edi, [esi + 0x60]
lea ecx, [ebx + 1]
push 0xffffffffffffffff
push ecx
mov ecx, edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call fcn.00425190
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x120], 0
mov dword [edx + ebx*8], eax
mov dword [edx + ebx*8 + 4], ecx
lea ecx, [esp + 0x78]
call fcn.004ba050
lea edx, [esp + 0x8c]
push 0
push edx
mov ecx, ebp
call fcn.00416560
test eax, eax
mov byte [esp + 0x120], 5
je 0x4bf206
add eax, 4
jmp 0x4bf208
xor eax, eax
mov ebx, dword [edi + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
lea eax, [ebx + 1]
push 0xffffffffffffffff
push eax
mov ecx, edi
mov dword [esp + 0x1c], edx
call fcn.00425190
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x120], 0
mov dword [ecx + ebx*8], edx
mov dword [ecx + ebx*8 + 4], eax
lea ecx, [esp + 0x8c]
call fcn.004ba050
push edi
call fcn.00424930
mov ecx, dword [esi + 0x28]
add esp, 4
sub ecx, 2
lea edx, [esp + 0xb4]
push ecx
push edx
mov ecx, ebp
call fcn.00416560
mov ecx, dword [eax + 0xc]
cmp ecx, 7
lea ecx, [esp + 0xb4]
sete bl
call fcn.004ba050
test bl, bl
je 0x4bf2d5
mov eax, dword [esi + 0x64]
push 6
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esp + 0x20]
mov edx, dword [eax]
push edx
call fcn.004ba080
lea eax, [esp + 0x18]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x30]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, ebp
call fcn.00416650
mov ecx, dword [esi + 0x64]
push 0xa
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x20]
push eax
call fcn.004ba080
lea eax, [esp + 0x18]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x30]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, ebp
call fcn.00416650
mov ecx, dword [esi + 0x64]
push 6
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ecx + 0x10]
lea ecx, [esp + 0x20]
push eax
call fcn.004ba080
lea eax, [esp + 0x18]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x30]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, ebp
call fcn.00416650
mov ecx, dword [esi + 0x64]
push 0xa
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ecx + 0x18]
lea ecx, [esp + 0x20]
push eax
call fcn.004ba080
lea eax, [esp + 0x18]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x30]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, ebp
call fcn.00416650
mov ecx, dword [esi + 0x64]
push 8
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ecx + 0x20]
lea ecx, [esp + 0x20]
push eax
call fcn.004ba080
lea eax, [esp + 0x18]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x30]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, ebp
call fcn.00416650
mov ecx, dword [esi + 0x64]
push 0xa
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ecx + 0x28]
lea ecx, [esp + 0x20]
push eax
call fcn.004ba080
lea eax, [esp + 0x18]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x30]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, ebp
call fcn.00416650
jmp 0x4bf546
sub ecx, 2
lea edx, [esp + 0x30]
push ecx
push edx
mov ecx, ebp
call fcn.00416560
mov eax, dword [esp + 0x3c]
mov ebx, 7
cmp eax, ebx
mov byte [esp + 0x120], 6
jne 0x4bf4af
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x24]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4 - 0x1c], 6
lea edx, [esp + 0xdc]
push 0
push edx
mov ecx, ebp
call fcn.00416560
test eax, eax
mov byte [esp + 0x120], bl
je 0x4bf4d0
add eax, 4
jmp 0x4bf4d2
xor eax, eax
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 2
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.004ba080
lea ecx, [esp + 0xdc]
mov byte [esp + 0x120], 6
call fcn.004ba050
lea eax, [esp + 0x30]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x48]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x50]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x54]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
mov ecx, ebp
call fcn.00416650
lea ecx, [esp + 0x30]
mov byte [esp + 0x120], 0
call fcn.004ba050
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
je case.default.0x4beae2
xor ebx, ebx
test eax, eax
je 0x4bf583
lea ecx, [eax + eax*4]
shl ecx, 2
push ecx
call sub.MFC42.DLL_operatornew
mov ebx, eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 4]
mov edi, ebx
lea ecx, [eax + eax*4]
add esp, 4
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebp + 8]
add esp, 4
mov dword [ebp + 4], ebx
mov dword [ebp + 0xc], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x120], 0xffffffff
call fcn.004ba050
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x114
ret