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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018011d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
push esi
push edi
mov eax, dword [0x101e6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
push 0xa0
mov dword [ebp - 0x18], eax
call fcn.1015144f
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], edi
push 0xa0
push 0
push edi
call fcn.10152e30
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push dword [ecx]
mov ecx, edi
call fcn.10013180
mov dword [edi + 0x2c], 0xbb8
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
push dword [esi + 4]
push dword [esi]
call fcn.1007bec0
mov dword [edi + 8], eax
add esp, 8
mov eax, dword [edi + 0x30]
mov dword [edi + 0xc], edx
test eax, eax
je 0x10080536
push 0x18
push eax
call fcn.10151441
add esp, 8
mov dword [edi + 0x30], 0
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.1007c300
mov edx, dword [ebp - 0x1c]
add esp, 8
mov dword [edi + 0x24], eax
cmp byte [edx + 0x735], 0
je 0x1008055a
mov dword [edi + 0x20], 4
mov eax, dword [0x101c5980]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov ecx, dword [eax + 4]
cmp ecx, 1
jg 0x10080586
push eax
lea ecx, [ebp - 0x30]
call fcn.1000bdd0
jmp 0x10080599
mov eax, dword [eax]
push 1
lea eax, [eax + ecx*2]
add eax, 0xfffffffe
lea ecx, [ebp - 0x30]
push eax
call fcn.1000bd30
mov eax, dword [ebp - 0x30]
mov ecx, 0x101c6ac0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100805c7
test dx, dx
je 0x100805c3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100805c7
add eax, 4
add ecx, 4
test dx, dx
jne 0x100805a1
xor eax, eax
jmp 0x100805cc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100805e9
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x100805e9
mov eax, dword [esi + 0x28]
sub eax, dword [esi + 0x24]
mov byte [ebp - 0x11], 1
test eax, 0xfffffffc
je 0x100805ed
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10080605
cmp eax, dword [0x101c5980]
je 0x10080605
push eax
call fcn.10154f5a
add esp, 4
cmp byte [ebp - 0x11], 0
je 0x10080612
mov dword [edi + 0x24], 0x10
push 0x24
call fcn.1015144f
mov edx, eax
xorps xmm0, xmm0
mov eax, dword [0x101c5980]
lea ecx, [edx + 4]
add esp, 4
mov dword [ebp - 0x20], edx
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x20], 0
mov dword [edx], vtable.ZpaqExtraData.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov byte [edx + 0x20], 0
mov eax, dword [esi + 0x28]
sub eax, dword [esi + 0x24]
sar eax, 2
push eax
call fcn.10080b70
mov eax, dword [esi + 0x28]
xor edx, edx
mov ecx, dword [esi + 0x24]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x100806af
mov edi, dword [ebp - 0x20]
mov eax, dword [edi + 4]
mov ecx, dword [ecx + edx*4]
mov dword [eax + edx*4], ecx
inc edx
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x24]
sub eax, ecx
sar eax, 2
cmp edx, eax
jb 0x10080693
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x98], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x68], eax
mov al, byte [ebx + 0x14]
mov byte [edi + 0x6c], al
mov eax, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [eax + 0x868]
call fcn.10076da0
mov ecx, dword [ebp - 0x34]
cmp byte [ecx + 0xd], 0
jne 0x10080758
mov eax, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10080716
test dx, dx
je 0x10080712
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10080716
add eax, 4
add ecx, 4
test dx, dx
jne 0x100806f0
xor eax, eax
jmp 0x1008071b
sbb eax, eax
or eax, 1
test eax, eax
js 0x10080758
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x34]
cmp eax, dword [edx + 0x868]
je 0x10080758
mov eax, dword [eax + 0x1c]
mov ecx, eax
mov dword [ebp - 0x20], eax
call fcn.1001acc0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10080758
mov ecx, eax
call fcn.1001acc0
push 0xa0
push dword [ebp - 0x20]
call fcn.10151441
add esp, 8
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x738], 0
jne 0x1008077c
cmp byte [eax + 0x739], 1
jne 0x1008077c
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x1c], ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
lea esi, [eax + 0x868]
push ecx
mov ecx, esi
call fcn.10076da0
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0xd], 0
jne 0x100807d8
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100807c7
test dx, dx
je 0x100807c3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100807c7
add eax, 4
add ecx, 4
test dx, dx
jne 0x100807a1
xor eax, eax
jmp 0x100807cc
sbb eax, eax
or eax, 1
test eax, eax
js 0x100807d8
mov eax, dword [ebp - 0x34]
jmp 0x10080859
cmp dword [esi + 4], 0x7ffffff
je 0x1008087b
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0x28], 0
call fcn.1015144f
mov ecx, dword [0x101c5980]
mov edi, eax
add esp, 4
mov dword [edi + 0x10], ecx
lea ecx, [edi + 0x10]
push dword [ebp - 0x18]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.1000bdd0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push edi
push dword [ebp - 0x38]
mov dword [edi + 0x1c], 0
push dword [ebp - 0x3c]
mov dword [edi], eax
lea ecx, [ecx + 0x868]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov word [edi + 0xc], 0
call fcn.10020580
mov edi, dword [ebp - 0x24]
mov dword [eax + 0x1c], edi
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x870], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.10020a10
int3