Function at 0x10049710
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100895fd
mov eax, dword fs:[0]
push eax
sub esp, 0x48
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 edi, ecx
mov dword [edi + 0x14], 0
lea ecx, [edi + 0xa0]
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0x94], 0
call fcn.1004ea10
xor eax, eax
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x54]
mov dword [ebp - 0x38], eax
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0x200
lea ecx, [ebp - 0x4c]
movq qword [ebp - 0x1c], xmm0
sub ecx, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov eax, ecx
mov dword [ebp - 0x2c], ecx
xor ecx, ecx
sar eax, 2
xor edx, edx
mov dword [ebp - 0x50], 0
xor esi, esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x20], ecx
test eax, eax
je 0x100498dd
push eax
lea ecx, [ebp - 0x1c]
call fcn.100218b0
push dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x54]
push eax
push ebx
mov dword [ebp - 0x38], ebx
call fcn.10069130
mov eax, dword [ebp - 0x3c]
mov edx, ebx
mov dword [ebp - 0x40], ebx
add esp, 0xc
lea ecx, [ebx + eax*4]
mov ebx, dword [ebp - 0x14]
mov eax, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
mov esi, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], eax
sub esp, 0xc
mov dword [ebp - 4], 0
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 0x1004994c
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 [edi], eax
test eax, eax
je 0x10049bd3
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 0x10049bd0
mov dword [edi + 4], eax
mov ecx, 5
mov dword [edi + 8], eax
lea eax, [edi + 0x10]
nop dword [eax + eax]
mov dword [eax + 4], 0
lea eax, [eax + 0xc]
mov dword [eax - 0xc], 0
mov dword [eax - 0x10], 0
sub ecx, 1
jne 0x10049990
mov dword [edi + 0x48], ecx
lea eax, [edi + 0x68]
mov dword [edi + 0x5c], ecx
mov dword [edi + 0x58], ecx
mov dword [edi + 0x54], ecx
mov dword [edi + 0x50], ecx
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x60], ecx
mov ecx, 5
nop word [eax + eax]
mov dword [eax + 4], 0
lea eax, [eax + 0xc]
mov dword [eax - 0xc], 0
mov dword [eax - 0x10], 0
sub ecx, 1
jne 0x100499d0
lea edx, [edi + 0xa0]
mov ecx, 5
mov eax, edx
nop word [eax + eax]
mov dword [eax + 0x14], 0
lea eax, [eax + 4]
mov dword [eax - 4], 0
sub ecx, 1
jne 0x10049a00
lea eax, [edx + 0x28]
mov ecx, 5
nop
mov dword [eax + 0x14], 0
lea eax, [eax + 4]
mov dword [eax - 4], 0
sub ecx, 1
jne 0x10049a20
xor eax, eax
mov dword [edx + 0x50], ecx
mov dword [edx + 0x56], eax
mov word [edx + 0x54], ax
mov byte [edx + 0x5a], al
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, edi
mov dword [edi + 0x100], eax
mov dword [edi + 0x104], edx
call fcn.10049c30
cmp dword [0x100ad224], 0
jne 0x10049aae
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10049aae
push 4
push eax
call esi
test eax, eax
jne 0x10049aae
mov eax, dword [ebp - 0x20]
push 4
add eax, 0x6c
push eax
call esi
test eax, eax
jne 0x10049aae
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, 0x6c
mov dword [ebp - 0x24], eax
je 0x10049aae
mov eax, dword [eax]
push 4
push eax
mov dword [0x100ad224], eax
call esi
test eax, eax
jne 0x10049aae
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x1004a8f0
cmp dword [0x100ad21c], 0
jne 0x10049afe
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10049afe
push 4
push eax
call esi
test eax, eax
jne 0x10049afe
mov eax, dword [ebp - 0x20]
push 4
add eax, 0x7c
push eax
call esi
test eax, eax
jne 0x10049afe
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, 0x7c
mov dword [ebp - 0x24], eax
je 0x10049afe
mov eax, dword [eax]
push 4
push eax
mov dword [0x100ad21c], eax
call esi
test eax, eax
jne 0x10049afe
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x1004ac20
cmp dword [0x100ad214], 0
jne 0x10049b52
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10049b52
push 4
push eax
call esi
test eax, eax
jne 0x10049b52
mov eax, dword [ebp - 0x20]
push 4
add eax, 0x84
push eax
call esi
test eax, eax
jne 0x10049b52
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, 0x84
mov dword [ebp - 0x24], eax
je 0x10049b52
mov eax, dword [eax]
push 4
push eax
mov dword [0x100ad214], eax
call esi
test eax, eax
jne 0x10049b52
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x1004b460
cmp dword [0x100ad20c], 0
jne 0x10049ba6
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10049ba6
push 4
push eax
call esi
test eax, eax
jne 0x10049ba6
mov eax, dword [ebp - 0x20]
push 4
add eax, 0x84
push eax
call esi
test eax, eax
jne 0x10049ba6
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, 0x88
mov dword [ebp - 0x24], eax
je 0x10049ba6
mov eax, dword [eax]
push 4
push eax
mov dword [0x100ad20c], eax
call esi
test eax, eax
jne 0x10049ba6
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x1004b830
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x10049c09
sub ebx, ecx
mov eax, ecx
and ebx, 0xfffffffc
cmp ebx, 0x1000
jb 0x10049bcc
mov ecx, dword [eax - 4]
add ebx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10049c27
push ebx
push ecx
jmp 0x10049c01
mov esi, dword [ebp - 0x24]
cmp dword [ebp - 0x28], 0
mov dword [edi], 0
je 0x10049c09
sub ebx, dword [ebp - 0x38]
and ebx, 0xfffffffc
cmp ebx, 0x1000
jb 0x10049bff
mov ecx, dword [esi - 4]
add ebx, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x10049c27
mov esi, ecx
push ebx
push esi
call fcn.100675d1
add esp, 8
mov eax, edi
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