Function at 0x10047240
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ab78
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100a8080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x24], ebx
lea esi, [ebx + 0x30]
mov dword [ebp - 0x58], ebx
push 0x18
mov dword [ebp - 0x24], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1006757e
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
xor eax, eax
mov dword [ebp - 4], 0
lea edx, [ebp - 0x54]
mov dword [ebp - 0x38], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x4c]
movq qword [ebp - 0x1c], xmm0
sub ecx, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
xor edi, edi
mov eax, ecx
mov dword [ebp - 0x2c], ecx
xor ecx, ecx
sar eax, 2
xor edx, edx
mov dword [ebp - 0x54], 0x2fc
xor esi, esi
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x34], ecx
test eax, eax
je 0x10047350
push eax
lea ecx, [ebp - 0x1c]
call fcn.100218b0
push dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x54]
push eax
push esi
mov dword [ebp - 0x38], esi
call fcn.10069130
mov eax, dword [ebp - 0x3c]
mov edx, esi
mov edi, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x40], esi
lea ecx, [esi + eax*4]
mov eax, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], eax
sub esp, 0xc
mov byte [ebp - 4], 1
mov eax, esp
sub ecx, edx
mov dword [ebp - 0x3c], ecx
sar ecx, 2
mov dword [ebp - 0x2c], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x100473bc
push ecx
mov ecx, eax
call fcn.100218b0
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
mov esi, dword [eax]
push esi
call fcn.10069130
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
lea eax, [esi + eax*4]
mov esi, dword [ebp - 0x4c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
call fcn.10011520
add esp, 0xc
mov dword [ebx], eax
test eax, eax
je 0x1004759b
mov ecx, dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x34]
push eax
mov dword [ebp - 0x24], ecx
call esi
test eax, eax
jne 0x10047598
lea ecx, [ebx + 0x30]
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x18], eax
mov word [ebx + 0x24], ax
mov dword [ebx + 0x28], eax
mov byte [ebx + 0x2c], al
call fcn.100496c0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, ebx
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], edx
call fcn.10047600
cmp dword [0x100ad204], 0
jne 0x1004747a
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1004747a
push 4
push eax
call esi
test eax, eax
jne 0x1004747a
mov eax, dword [ebp - 0x20]
push 4
add eax, 0x5c
push eax
call esi
test eax, eax
jne 0x1004747a
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, 0x5c
mov dword [ebp - 0x24], eax
je 0x1004747a
mov eax, dword [eax]
push 4
push eax
mov dword [0x100ad204], eax
call esi
test eax, eax
jne 0x1004747a
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x10047a50
cmp dword [0x100ad1fc], 0
jne 0x100474ca
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x100474ca
push 4
push eax
call esi
test eax, eax
jne 0x100474ca
mov eax, dword [ebp - 0x20]
push 4
add eax, 0x6c
push eax
call esi
test eax, eax
jne 0x100474ca
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, 0x6c
mov dword [ebp - 0x24], eax
je 0x100474ca
mov eax, dword [eax]
push 4
push eax
mov dword [0x100ad1fc], eax
call esi
test eax, eax
jne 0x100474ca
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x10047af0
cmp dword [0x100ad1f4], 0
jne 0x1004751a
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1004751a
push 4
push eax
call esi
test eax, eax
jne 0x1004751a
mov eax, dword [ebp - 0x20]
push 4
add eax, 0x7c
push eax
call esi
test eax, eax
jne 0x1004751a
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, 0x7c
mov dword [ebp - 0x24], eax
je 0x1004751a
mov eax, dword [eax]
push 4
push eax
mov dword [0x100ad1f4], eax
call esi
test eax, eax
jne 0x1004751a
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x10048290
cmp dword [0x100ad1ec], 0
jne 0x1004756e
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1004756e
push 4
push eax
call esi
test eax, eax
jne 0x1004756e
mov eax, dword [ebp - 0x20]
push 4
add eax, 0x84
push eax
call esi
test eax, eax
jne 0x1004756e
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, 0x84
mov dword [ebp - 0x24], eax
je 0x1004756e
mov eax, dword [eax]
push 4
push eax
mov dword [0x100ad1ec], eax
call esi
test eax, eax
jne 0x1004756e
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x10048ac0
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x100475d1
sub edi, ecx
mov eax, ecx
and edi, 0xfffffffc
cmp edi, 0x1000
jb 0x10047594
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100475ef
push edi
push ecx
jmp 0x100475c9
mov esi, dword [ebp - 0x24]
cmp dword [ebp - 0x28], 0
mov dword [ebx], 0
je 0x100475d1
sub edi, dword [ebp - 0x38]
and edi, 0xfffffffc
cmp edi, 0x1000
jb 0x100475c7
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x100475ef
mov esi, ecx
push edi
push esi
call fcn.100675d1
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067570
mov esp, ebp
pop ebp
ret
call fcn.1006cd3b
int3