Function at 0x1004eef0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b269
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x1c], esi
push edi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov byte [ebp - 4], 4
mov eax, dword [esi + 8]
mov ecx, dword [esi]
sub eax, ecx
sar eax, 3
cmp eax, 0xc8
jae 0x1004f083
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 3
push 0x640
mov dword [ebp - 0x18], eax
call fcn.1007140e
mov edi, dword [esi + 4]
mov ebx, eax
mov edx, dword [esi]
add esp, 4
mov dword [ebp - 0x14], ebx
mov ecx, ebx
cmp edx, edi
je 0x1004efee
nop dword [eax]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
add ecx, 8
mov dword [edx], 0
mov dword [edx + 4], 0
add edx, 8
cmp edx, edi
jne 0x1004efc0
push ecx
mov edx, ecx
call fcn.10058010
mov edi, dword [esi]
test edi, edi
je 0x1004f06f
mov ebx, dword [esi + 4]
mov dword [ebp - 0x10], ebx
cmp edi, ebx
je 0x1004f03c
mov eax, ebx
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x1004f033
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1004f030
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x1004f030
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
add edi, 8
cmp edi, eax
jne 0x1004f008
mov edi, dword [esi]
mov ecx, dword [esi + 8]
sub ecx, edi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1004f062
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x1004f2bc
mov edi, edx
push ecx
push edi
call fcn.1007175d
mov ebx, dword [ebp - 0x14]
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword [esi], ebx
lea eax, [ebx + eax*8]
mov dword [esi + 4], eax
lea eax, [ebx + 0x640]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
sub eax, ecx
sar eax, 3
cmp eax, 0x96
jae 0x1004f19d
mov eax, dword [esi + 0x10]
sub eax, ecx
sar eax, 3
push 0x4b0
mov dword [ebp - 0x14], eax
call fcn.1007140e
mov edi, dword [esi + 0x10]
mov ebx, eax
mov edx, dword [esi + 0xc]
add esp, 4
mov dword [ebp - 0x18], ebx
mov ecx, ebx
cmp edx, edi
je 0x1004f0fe
nop dword [eax]
nop word [eax + eax]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
add ecx, 8
mov dword [edx], 0
mov dword [edx + 4], 0
add edx, 8
cmp edx, edi
jne 0x1004f0d0
push ecx
mov edx, ecx
call fcn.10058010
mov edi, dword [esi + 0xc]
test edi, edi
je 0x1004f188
mov ebx, dword [esi + 0x10]
mov dword [ebp - 0x10], ebx
cmp edi, ebx
je 0x1004f155
mov eax, ebx
nop dword [eax]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x1004f14b
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1004f148
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x1004f148
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
add edi, 8
cmp edi, eax
jne 0x1004f120
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
sub ecx, edi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1004f17b
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x1004f2bc
mov edi, edx
push ecx
push edi
call fcn.1007175d
mov ebx, dword [ebp - 0x18]
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xc], ebx
lea eax, [ebx + eax*8]
mov dword [esi + 0x10], eax
lea eax, [ebx + 0x4b0]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
sub eax, ecx
sar eax, 3
cmp eax, 0x96
jae 0x1004f2a9
mov eax, dword [esi + 0x1c]
sub eax, ecx
sar eax, 3
push 0x4b0
mov dword [ebp - 0x14], eax
call fcn.1007140e
mov edi, dword [esi + 0x1c]
mov ebx, eax
mov edx, dword [esi + 0x18]
add esp, 4
mov dword [ebp - 0x18], ebx
mov ecx, ebx
cmp edx, edi
je 0x1004f20e
nop dword [eax]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
add ecx, 8
mov dword [edx], 0
mov dword [edx + 4], 0
add edx, 8
cmp edx, edi
jne 0x1004f1e0
push ecx
mov edx, ecx
call fcn.10058010
mov edi, dword [esi + 0x18]
test edi, edi
je 0x1004f294
mov ebx, dword [esi + 0x1c]
mov dword [ebp - 0x10], ebx
cmp edi, ebx
je 0x1004f265
mov eax, ebx
nop dword [eax]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x1004f25b
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1004f258
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x1004f258
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
add edi, 8
cmp edi, eax
jne 0x1004f230
mov edi, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
sub ecx, edi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1004f287
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x1004f2bc
mov edi, edx
push ecx
push edi
call fcn.1007175d
mov ebx, dword [ebp - 0x18]
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x18], ebx
lea eax, [ebx + eax*8]
mov dword [esi + 0x1c], eax
lea eax, [ebx + 0x4b0]
mov dword [esi + 0x20], eax
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.1007776c
int3