Function at 0x41cbc7
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
test edi, edi
je 0x41cde3
mov eax, dword fs:[0x30]
mov esi, edi
push 0x18
push 0
mov dword [ebp - 0x18], esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
test eax, eax
je 0x41cde3
mov ecx, eax
call dword [sym.imp.ulib.dll_public:_void___thiscall_ARRAY::constructor_void_]
mov ebx, eax
test ebx, ebx
je 0x41cde3
push 0x19
push 0x32
mov ecx, ebx
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_ARRAY::Initialize_unsigned_long_int__unsigned_long_int_]
test al, al
je 0x41cdd1
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [edi]
mov dword [ebp - 0x24], ecx
mov dword [edx + 8], eax
mov eax, dword [edi + 4]
mov dword [edx + 0xc], eax
mov ax, word [edi + 8]
mov word [edx + 0x10], ax
mov ax, word [edi + 0xa]
mov word [edx + 0x12], ax
and dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 8], eax
cmp dword [esi + 0xc], eax
jbe 0x41cf6e
mov edx, dword [ebp + 0xc]
add ecx, 0x12
add edx, 0xfffffff0
add edx, edi
add esi, ecx
mov dword [ebp - 0xc], edx
mov ecx, eax
mov dword [ebp - 4], esi
lea eax, [esi - 2]
mov edi, ebx
mov dword [ebp - 0x10], edi
cmp eax, edx
ja 0x41cfc1
movzx eax, byte [esi - 2]
sub eax, 1
je 0x41cebd
sub eax, 1
je 0x41ce56
sub eax, 1
je 0x41ccb7
sub eax, 1
je 0x41cdec
sub eax, 1
je 0x41cd3d
dec eax
sub eax, 1
jne 0x41cf4b
mov eax, dword fs:[0x30]
push 0x20
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x41cf9b
mov ecx, ebx
call fcn.0041d07e
mov ecx, dword [0x45ff74]
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
push eax
mov dword [ebx], 0x40114c
lea eax, [esi - 2]
mov dword [ebx + 4], ecx
movzx edi, word [esi]
mov bl, byte [esi - 1]
push eax
mov dword [ebp - 0x28], edi
call dword [sym.imp.ntdll.dll_RtlCmDecodeMemIoResource]
mov ecx, dword [esi + 2]
mov esi, dword [esi + 6]
mov edi, dword [ebp - 0x14]
mov dword [edi + 0x10], ecx
mov ecx, edi
mov edi, dword [ebp - 0x28]
push ecx
mov word [ecx + 0xa], di
mov edi, dword [ebp - 0x10]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
mov byte [ecx + 8], 3
mov byte [ecx + 9], bl
jmp 0x41cf2f
mov eax, dword [esi + 2]
mov dword [ebp - 0x20], eax
mov eax, dword fs:[0x30]
push 0x1c
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41cdc0
mov ecx, eax
call fcn.0041d07e
mov edx, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [0x45ff78]
mov ebx, edi
mov dword [edx + 4], ecx
mov ecx, edx
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx], 0x401184
movzx eax, word [esi]
push eax
movzx eax, byte [esi - 1]
push eax
lea eax, [esi + 0xe]
push eax
push dword [esi + 2]
push dword [esi + 0xa]
push dword [esi + 6]
call fcn.0041ca95
test al, al
jne 0x41cf2c
mov edi, dword [ebp - 0x14]
push 1
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4625ec]
mov ecx, edi
call esi
mov eax, dword [ebx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x4625ec]
mov ecx, ebx
call esi
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x4625ec]
mov ecx, ebx
call esi
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0xc
mov eax, dword fs:[0x30]
push 0x18
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x41cf9b
mov ecx, ebx
call fcn.0041d07e
mov edi, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [0x45ff88]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebx], 0x40114c
mov dword [ebx + 4], ecx
movzx esi, word [esi]
mov bl, byte [eax - 1]
mov edx, dword [eax + 0xa]
mov ecx, dword [eax + 6]
mov eax, dword [eax + 2]
mov dword [edi + 0xc], eax
mov eax, edi
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov byte [eax + 8], 4
jmp 0x41cf22
mov eax, dword fs:[0x30]
push 0x18
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x41cf9b
mov ecx, ebx
call fcn.0041d07e
mov edi, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [0x45ff80]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebx], 0x40114c
mov dword [ebx + 4], ecx
movzx esi, word [esi]
mov bl, byte [eax - 1]
mov edx, dword [eax + 6]
mov ecx, dword [eax + 2]
mov eax, dword [eax + 0xa]
mov dword [edi + 0xc], eax
mov eax, edi
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov byte [eax + 8], 2
jmp 0x41cf22
mov eax, dword fs:[0x30]
push 0x20
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x41cf9b
mov ecx, ebx
call fcn.0041d07e
mov ecx, dword [0x45ff84]
xor eax, eax
mov edi, dword [ebp - 0x14]
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx], 0x40114c
mov eax, dword [ecx + 2]
mov bl, byte [ecx - 1]
mov edx, dword [ecx + 0xa]
movzx esi, word [esi]
mov ecx, dword [ecx + 6]
mov dword [edi + 0x10], eax
mov eax, edi
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov byte [eax + 8], 1
mov edi, dword [ebp - 0x10]
mov word [eax + 0xa], si
mov byte [eax + 9], bl
push dword [ebp - 0x14]
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4625ec]
mov ecx, edi
call esi
mov esi, dword [ebp - 4]
mov ebx, edi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
inc ecx
add esi, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], esi
cmp ecx, dword [eax + 0xc]
jb 0x41cc70
mov edi, dword [ebp + 8]
mov esi, eax
mov edx, dword [ebp - 0x1c]
mov eax, ecx
mov ecx, dword [ebp - 0x24]
shl eax, 4
add esi, 0x10
add eax, dword [ebp - 0x20]
add ecx, 0x20
add esi, eax
mov dword [edx + 0x14], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], ecx
cmp ecx, 0x20
jb 0x41cc49
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41cfd3
sub esi, edi
mov dword [eax], esi
jmp 0x41cfd3
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x4625ec]
mov ecx, edi
call esi
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x4625ec]
mov ecx, edi
jmp 0x41cde1
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41cfcd
mov edx, dword [ebp + 0xc]
mov dword [ecx], edx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x14], ebx
mov al, 1
jmp 0x41cde5