Function at 0x426ec0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x44b020
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x30]
xor eax, eax
push esi
mov esi, ecx
mov ax, word [ebp + 8]
mov edx, dword [ebp + 0xc]
push edi
mov dword [esp + 0x14], esi
lea ecx, [eax + eax*2]
lea edi, [edx + eax]
lea ecx, [eax + ecx*4]
shl ecx, 5
sub ecx, eax
add eax, 0xfffff
shl eax, 0xc
lea ecx, [ecx + ecx*4]
mov ecx, dword [edi + ecx*2 - 0x1004]
add eax, ecx
mov cl, byte [edx + 0x30]
test cl, 1
je 0x4270e8
push eax
call sub.MFC42.DLL_operatornew
xor edx, edx
mov edi, eax
mov dword [esp + 0x1d], edx
xor eax, eax
mov dword [esp + 0x21], edx
add esp, 4
mov dword [esp + 0x21], edx
xor ebx, ebx
cmp word [ebp + 8], ax
mov word [esp + 0x25], dx
mov dword [esp + 0x38], edi
mov byte [esp + 0x18], 0
mov byte [esp + 0x27], dl
mov dword [esp + 0x10], eax
jbe 0x426fa7
mov esi, dword [ebp + 0xc]
and eax, 0xffff
add edi, ebx
lea ecx, [eax + eax*2]
lea ecx, [eax + ecx*4]
shl ecx, 5
sub ecx, eax
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*2]
mov ecx, dword [eax + esi + 0x33]
lea esi, [eax + esi + 0x37]
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 esi, dword [ebp + 0xc]
mov edi, dword [eax + esi + 0x33]
mov eax, dword [esp + 0x10]
add ebx, edi
mov edi, dword [esp + 0x38]
inc eax
cmp ax, word [ebp + 8]
mov dword [esp + 0x10], eax
jb 0x426f59
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.00426df0
mov eax, dword [esi + 0x1ac]
push eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
push edi
lea edx, [esp + 0x20]
push 0
push edx
mov dword [esp + 0x40], 0
call fcn.0042c3a0
push ebx
push edi
call fcn.0042a7c0
add esp, 0x18
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x30], 0xffffffff
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
cmp dword [ecx + 0x28], edx
je 0x427039
push str.ResetSendDataEncrpy_Crc_Fail__
push 0
push 0x3ef
push 0
push 0x138d
call fcn.00421950
push edi
call sub.MFC42.DLL_operatordelete
add esp, 0x18
or eax, 0xffffffff
jmp 0x4270ea
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.00426df0
mov esi, dword [esi + 0x1ac]
push esi
mov dword [esp + 0x40], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
push edi
lea edx, [esp + 0x20]
push 1
push edx
mov dword [esp + 0x40], 1
call fcn.0042c3a0
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
xor edx, edx
cmp word [ebp + 8], bx
jbe 0x4270df
mov eax, ebx
lea esi, [edx + edi]
and eax, 0xffff
lea ecx, [eax + eax*2]
lea ecx, [eax + ecx*4]
shl ecx, 5
sub ecx, eax
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*2]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x3c], eax
add eax, ecx
mov ecx, dword [eax + 0x33]
lea edi, [eax + 0x37]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x3c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xc]
mov edi, dword [eax + ecx + 0x33]
lea esi, [eax + ecx]
mov cl, byte [esp + 0x40]
add edx, edi
mov edi, dword [esp + 0x38]
inc ebx
mov byte [esi + 0x2f], cl
cmp bx, word [ebp + 8]
jb 0x427085
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc