Function at 0x4befd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557718
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x58829c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov byte [esi], 0
xor edi, edi
mov dword [esi + 0x2c4], 4
mov dword [esi + 0x2c8], 2
mov dword [esi + 0x2cc], 6
mov dword [esi + 0x2d0], 4
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi + 0xc], 1
mov dword [esi + 0x14], 4
mov word [esi + 0x18], 1
mov dword [esi + 0x1c], 0
mov dword [esi + 0x10], 1
mov dword [esi + 0x2d4], 0
mov dword [esi + 0x2d8], 0
mov dword [esi + 0x2dc], 0x1010000
mov dword [esi + 0x2e0], 1
mov dword [esi + 0x2e4], 0
mov dword [esi + 0x2e8], 0
mov word [esi + 0x304], 0x101
mov byte [esi + 0x306], 0
mov dword [esi + 0x2ec], 0
mov dword [esi + 0x2f0], 0
mov word [esi + 0x2f4], 0
mov byte [esi + 0x2f6], 0
mov dword [esi + 0x30], 0
mov edi, edi
mov eax, dword [esi + 0x34]
cmp dword [esi + 0x30], eax
jne 0x4bf117
lea ebx, [eax + 0xa]
push ebx
call fcn.00551afc
xor edx, edx
mov dword [esi + 0x24], eax
add esp, 4
cmp dword [esi + 0x34], edx
jle 0x4bf102
mov edi, edi
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x24]
mov al, byte [edx + eax]
mov byte [edx + ecx], al
inc edx
cmp edx, dword [esi + 0x34]
jl 0x4bf0f0
push dword [esi + 0x38]
call dword [sym.imp.msvcr120.dll_void___cdecl_operator_delete___void__]
mov eax, dword [esi + 0x24]
add esp, 4
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], ebx
mov eax, dword [esi + 0x30]
inc edi
mov ecx, dword [esi + 0x38]
mov byte [ecx + eax], 0
inc dword [esi + 0x30]
cmp edi, dword [esi + 0x2cc]
jl 0x4bf0d0
mov eax, dword [esi + 0x38]
xor edi, edi
mov byte [eax], 1
mov dword [esi + 0x4c], 0
cmp dword [esi + 0x2c8], edi
jle 0x4bf19f
mov eax, dword [esi + 0x50]
cmp dword [esi + 0x4c], eax
jne 0x4bf189
lea ebx, [eax + 0xa]
push ebx
call fcn.00551afc
xor edx, edx
mov dword [esi + 0x40], eax
add esp, 4
cmp dword [esi + 0x50], edx
jle 0x4bf174
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x40]
mov al, byte [edx + eax]
mov byte [edx + ecx], al
inc edx
cmp edx, dword [esi + 0x50]
jl 0x4bf162
push dword [esi + 0x54]
call dword [sym.imp.msvcr120.dll_void___cdecl_operator_delete___void__]
mov eax, dword [esi + 0x40]
add esp, 4
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], ebx
mov eax, dword [esi + 0x4c]
inc edi
mov ecx, dword [esi + 0x54]
mov byte [ecx + eax], 0
inc dword [esi + 0x4c]
cmp edi, dword [esi + 0x2c8]
jl 0x4bf144
mov eax, dword [esi + 0x54]
xor edi, edi
mov byte [eax], 1
mov dword [esi + 0x68], 0
cmp dword [esi + 0x2c4], edi
jle 0x4bf211
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x68], eax
jne 0x4bf1fb
lea ebx, [eax + 0xa]
push ebx
call fcn.00551afc
xor edx, edx
mov dword [esi + 0x5c], eax
add esp, 4
cmp dword [esi + 0x6c], edx
jle 0x4bf1e6
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x5c]
mov al, byte [edx + eax]
mov byte [edx + ecx], al
inc edx
cmp edx, dword [esi + 0x6c]
jl 0x4bf1d4
push dword [esi + 0x70]
call dword [sym.imp.msvcr120.dll_void___cdecl_operator_delete___void__]
mov eax, dword [esi + 0x5c]
add esp, 4
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], ebx
mov eax, dword [esi + 0x68]
inc edi
mov ecx, dword [esi + 0x70]
mov byte [ecx + eax], 1
inc dword [esi + 0x68]
cmp edi, dword [esi + 0x2c4]
jl 0x4bf1b6
mov eax, dword [esi + 0x70]
xor edi, edi
mov byte [eax], 1
mov dword [esi + 0x84], 0
cmp dword [esi + 0x2d0], edi
jle 0x4bf2b9
nop
mov eax, dword [esi + 0x88]
cmp dword [esi + 0x84], eax
jne 0x4bf296
lea ebx, [eax + 0xa]
push ebx
call fcn.00551afc
xor edx, edx
mov dword [esi + 0x78], eax
add esp, 4
cmp dword [esi + 0x88], edx
jle 0x4bf278
jmp 0x4bf260
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x78]
mov al, byte [edx + eax]
mov byte [edx + ecx], al
inc edx
cmp edx, dword [esi + 0x88]
jl 0x4bf260
push dword [esi + 0x8c]
call dword [sym.imp.msvcr120.dll_void___cdecl_operator_delete___void__]
mov eax, dword [esi + 0x78]
add esp, 4
mov dword [esi + 0x8c], eax
mov dword [esi + 0x88], ebx
mov eax, dword [esi + 0x84]
inc edi
mov ecx, dword [esi + 0x8c]
mov byte [ecx + eax], 0
inc dword [esi + 0x84]
cmp edi, dword [esi + 0x2d0]
jl 0x4bf230
mov eax, dword [esi + 0x8c]
mov dword [ebp - 0x28], 0x5752f0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov byte [eax], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov ebx, 0x13
mov dword [esi + 0xa0], 0
jmp 0x4bf300
mov eax, dword [esi + 0xa4]
cmp dword [esi + 0xa0], eax
jne 0x4bf36c
lea edi, [eax + 0xa]
push edi
call fcn.00551afc
xor edx, edx
mov dword [esi + 0x94], eax
add esp, 4
cmp dword [esi + 0xa4], edx
jle 0x4bf34b
lea ebx, [ebx]
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0x94]
mov al, byte [edx + eax]
mov byte [edx + ecx], al
inc edx
cmp edx, dword [esi + 0xa4]
jl 0x4bf330
push dword [esi + 0xa8]
call dword [sym.imp.msvcr120.dll_void___cdecl_operator_delete___void__]
mov eax, dword [esi + 0x94]
add esp, 4
mov dword [esi + 0xa8], eax
mov dword [esi + 0xa4], edi
mov eax, dword [esi + 0xa0]
mov ecx, dword [esi + 0xa8]
mov byte [ecx + eax], 0
inc dword [esi + 0xa0]
dec ebx
jne 0x4bf300
mov dword [esi + 0x2f8], ebx
mov dword [esi + 0x2fc], 0xffffffff
mov dword [esi + 0x300], ebx
mov byte [esi + 0x307], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret