Function at 0x41cce0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
lea eax, [esi + 0x38]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [esi + 0xc], ecx
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x41d500
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov edx, edi
mov al, byte [ecx]
sub edx, ebx
test al, 1
jne 0x41cd53
test edx, edx
je 0x41ced8
movzx edi, al
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], 4
shr edi, 1
lea eax, [ecx + edi*2 + 2]
mov dword [esi + 4], edi
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x20], eax
lea eax, [ecx + 2]
mov dword [esi + 0x2c], eax
jmp 0x41cd82
test edx, edx
je 0x41ced8
mov eax, dword [ecx]
mov dword [esi + 8], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esi + 0x28], eax
and eax, 0xfffffffe
mov dword [esi + 4], edx
mov edx, dword [esi + 8]
mov dword [esi + 0x2c], ecx
dec eax
mov dword [esi + 0x24], eax
mov eax, dword [esi + 4]
lea ecx, [ecx + eax*2]
mov dword [esi + 0x20], ecx
mov ecx, edx
sar ecx, 1
cmp dword [esi + 0x20], ebx
mov dword [esi + 8], ecx
jbe 0x41cdc3
cmp dword [esi + 0x2c], ebx
ja 0x41cdc3
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], eax
mov eax, dword [esi + 8]
cmp eax, 0x7ffffff0
jae 0x41ceed
cmp eax, 4
ja 0x41ce53
and dl, 0xfe
lea eax, [esi + 0x12]
mov byte [eax - 2], dl
jmp 0x41ce80
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
mov ecx, edx
sub ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
jae 0x41ce00
mov eax, dword [esi + 8]
mov ecx, edx
mov dword [esi + 0x24], edx
mov edx, dword [esi + 4]
add eax, edx
sub eax, ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x20], eax
xor eax, eax
push eax
xor eax, eax
push eax
push edx
push edx
push dword [esi + 0x20]
push dword [esi + 0x24]
call fcn.0041e8e8
mov eax, dword [esi + 0xc]
mov al, byte [eax]
test al, 1
jne 0x41ce0c
mov ecx, dword [esi + 0xc]
lea eax, [ecx + 2]
jmp 0x41ce12
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 8]
mov ecx, dword [esi + 4]
cmp ebx, edi
lea eax, [eax + ecx*2]
je 0x41ce2f
mov ecx, 2
movzx edx, word [ebx]
add ebx, ecx
mov word [eax], dx
add eax, ecx
cmp edi, ebx
jne 0x41ce21
mov word [eax], 0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
add eax, dword [esi + 4]
test byte [ecx], 1
jne 0x41ce4b
add al, al
mov byte [ecx], al
jmp 0x41ced8
mov dword [ecx + 4], eax
jmp 0x41ced8
lea ecx, [eax + 8]
and ecx, 0xfffffff8
js 0x41cef5
lea eax, [ecx + ecx]
push eax
mov dword [esi + 4], ecx
call fcn.0050317c
add esp, 4
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esi + 0x18], eax
or ecx, 1
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
je 0x41ce97
mov ecx, 2
movzx edx, word [ebx]
add ebx, ecx
mov word [eax], dx
add eax, ecx
cmp edi, ebx
jne 0x41ce89
mov word [eax], 0
mov cl, 1
movzx eax, byte [esi + 0x10]
test al, cl
je 0x41ceae
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
jmp 0x41ceb3
shr eax, 1
lea edx, [esi + 0x12]
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x40], 0
push eax
push edx
call fcn.0041e708
test byte [esi + 0x10], 1
je 0x41ced5
push dword [esi + 0x18]
call fcn.005031ac
add esp, 4
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea ecx, [esi + 0x10]
call fcn.0041d7a4
push str.allocator_T_::allocate_size_t_n__n_exceeds_maximum_supported_size
call fcn.0041c0ce
nop
push ebp
sub esp, 0x18
lea esi, [ebp - 0x44]
mov ebp, dword [esi + 0x30]
test byte [esi + 0x10], 1
je 0x41cf1b
push dword [esi + 0x18]
call fcn.005031ac
add esp, 4
add esp, 0x18
pop ebp
ret