Function at 0x5014f9
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x102497ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
xor ebx, ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x38]
mov dword [esp + 0x10], esi
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], bl
mov byte [esi + 3], bl
mov byte [esi + 4], 1
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [esi + 0x18], 1
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 0xa
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], 0x40000000
call dword [0x102763d0]
lea ecx, [esi + 0x54]
mov dword [esp + 0x74], ebx
call dword [0x102763d0]
lea ecx, [esi + 0x78]
mov byte [esp + 0x74], 1
call dword [0x102763d0]
lea eax, [esi + 0x98]
push eax
mov dword [esi + 0x94], 0x102768a4
call dword [0x10276200]
mov ecx, dword [esp + 0x7c]
push ecx
lea ecx, [esi + 0xb0]
mov byte [esp + 0x78], 3
call fcn.0049e879
mov edx, dword [esp + 0x80]
push edx
lea ecx, [esi + 0x15c]
mov byte [esp + 0x78], 4
call fcn.0049e879
lea ecx, [esi + 0x208]
mov byte [esp + 0x74], 5
call dword [0x102763d0]
lea ebp, [esi + 0x224]
mov ecx, ebp
mov byte [esp + 0x74], 6
call dword [0x102763d0]
lea ecx, [esi + 0x240]
mov byte [esp + 0x74], 7
call dword [0x102763d0]
lea ecx, [esi + 0x260]
mov byte [esp + 0x74], 8
mov dword [esi + 0x25c], ebx
call dword [0x102763d0]
lea ecx, [esi + 0x27c]
mov byte [esp + 0x74], 9
call dword [0x102763d0]
lea edi, [esi + 0x6b8]
push edi
lea ecx, [esi + 0x298]
mov byte [esp + 0x78], 0xa
call fcn.0050aa59
mov dword [edi], 0x102768a4
add edi, 4
push edi
call dword [0x10276200]
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x78], 0xc
call fcn.004a0879
push eax
mov ecx, ebp
mov byte [esp + 0x78], 0xd
call dword [0x1027633c]
lea ecx, [esp + 0x50]
mov byte [esp + 0x74], 0xc
call dword [0x102763d4]
mov edi, dword [0x1031205c]
push 0x10280e94
lea ecx, [esp + 0x54]
call dword [0x1027639c]
push 0x10280e88
lea ecx, [esp + 0x38]
mov byte [esp + 0x78], 0xe
call dword [0x1027639c]
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 0xf
call fcn.0048a439
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call fcn.0048a439
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
lea ebp, [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push ebp
mov ebp, dword [eax + 4]
mov eax, dword [eax]
push ebp
push eax
push ecx
call dword [edx + 0x10]
cmp eax, ebx
mov eax, dword [esp + 0x1c]
jge 0x5016ec
mov eax, 0x100
shl eax, 0xa
lea ecx, [esp + 0x34]
mov dword [esi + 0x24], eax
mov byte [esp + 0x74], 0xe
call dword [0x102763d4]
lea ecx, [esp + 0x50]
mov byte [esp + 0x74], 0xc
call dword [0x102763d4]
push 0x10280e80
lea ecx, [esp + 0x38]
call dword [0x1027639c]
push 0x10280e74
lea ecx, [esp + 0x54]
mov byte [esp + 0x78], 0x10
call dword [0x1027639c]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 0x11
call fcn.0048a439
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call fcn.0048a439
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
lea ebp, [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push ebp
mov ebp, dword [eax + 4]
mov eax, dword [eax]
push ebp
push eax
push ecx
call dword [edx + 0x10]
xor ecx, ecx
cmp eax, ebx
mov ebx, dword [esp + 0x1c]
setl cl
mov byte [esp + 0x74], 0x10
dec ecx
and ecx, ebx
mov eax, ecx
lea ecx, [esp + 0x50]
mov dword [esi + 8], eax
call dword [0x102763d4]
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 0xc
call dword [0x102763d4]
mov edx, dword [esi + 8]
lea eax, [esp + 0x50]
push eax
mov ecx, edi
mov dword [esi + 0xc], edx
call fcn.004e8d59
push eax
lea ecx, [esi + 0x78]
mov byte [esp + 0x78], 0x12
call dword [0x1027633c]
lea ecx, [esp + 0x50]
mov byte [esp + 0x74], 0xc
call dword [0x102763d4]
lea ecx, [esp + 0x50]
push ecx
mov ecx, edi
call fcn.004e8a19
push eax
lea ecx, [esi + 0x38]
mov byte [esp + 0x78], 0x13
call dword [0x1027633c]
lea ecx, [esp + 0x50]
mov byte [esp + 0x74], 0xc
call dword [0x102763d4]
mov ecx, edi
call fcn.004e8ae9
lea edx, [esp + 0x50]
push edx
mov ecx, edi
mov dword [esi + 0x70], eax
call fcn.004e8bb9
push eax
lea ecx, [esi + 0x54]
mov byte [esp + 0x78], 0x14
call dword [0x1027633c]
lea ecx, [esp + 0x50]
mov byte [esp + 0x74], 0xc
call dword [0x102763d4]
mov ecx, dword [esp + 0x6c]
pop edi
mov byte [esi + 0x30], 1
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 8