Function at 0x10085350
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d3425
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x10], ebx
push edi
mov dword [ebx], 0
lea edi, [ebx + 4]
mov dword [ebp - 4], 0
mov dword [edi], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov byte [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
mov eax, dword [ebp + 8]
push 0x20
mov byte [ebp - 4], 0xf
mov dword [ebx + 0x28], eax
call fcn.100aeab9
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
je 0x100854fe
mov dword [esi], 0x747eb0
mov edi, 0x747eb0
mov dword [esi + 4], 0x10080840
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov word [esi + 0x14], 0
mov byte [esi + 0x16], 0
mov dword [esi + 0x18], 0
nop dword [eax + eax]
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.10087dd0
mov eax, dword [ebp - 0x38]
add esp, 8
shr eax, 0xc
and al, 1
mov byte [esi + 0x15], al
jne 0x100854f9
movzx eax, byte [ebp - 0x50]
add dword [esi + 8], eax
add edi, eax
cmp dword [esi + 8], 5
jb 0x100854d0
lea edi, [ebx + 4]
jmp 0x10085500
xor esi, esi
lea eax, [ebp - 0x18]
cmp edi, eax
je 0x1008553e
mov edi, dword [edi]
mov dword [ebx + 4], esi
test edi, edi
je 0x10085576
mov ecx, edi
call fcn.10087c90
mov eax, dword [edi + 0x10]
test eax, eax
je 0x10085529
push 0xc
push eax
call fcn.100aecf9
add esp, 8
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10085539
push eax
call fcn.100af69d
add esp, 4
push 0x20
push edi
jmp 0x1008556e
test esi, esi
je 0x10085576
mov ecx, esi
call fcn.10087c90
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1008555b
push 0xc
push eax
call fcn.100aecf9
add esp, 8
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1008556b
push eax
call fcn.100af69d
add esp, 4
push 0x20
push esi
call fcn.100aecf9
add esp, 8
push 0x20
call fcn.100aeab9
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
je 0x100855ec
mov dword [esi], 0x748da3
mov edi, 0x748da3
mov dword [esi + 4], 0x10080ae0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov word [esi + 0x14], 0
mov byte [esi + 0x16], 0
mov dword [esi + 0x18], 0
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.10087dd0
mov eax, dword [ebp - 0x38]
add esp, 8
shr eax, 0xc
and al, 1
mov byte [esi + 0x15], al
jne 0x100855ee
movzx eax, byte [ebp - 0x50]
add dword [esi + 8], eax
add edi, eax
cmp dword [esi + 8], 5
jb 0x100855c1
jmp 0x100855ee
xor esi, esi
lea eax, [ebp - 0x1c]
cmp ebx, eax
je 0x1008562b
mov edi, dword [ebx]
mov dword [ebx], esi
test edi, edi
je 0x10085663
mov ecx, edi
call fcn.10087c90
mov eax, dword [edi + 0x10]
test eax, eax
je 0x10085616
push 0xc
push eax
call fcn.100aecf9
add esp, 8
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10085626
push eax
call fcn.100af69d
add esp, 4
push 0x20
push edi
jmp 0x1008565b
test esi, esi
je 0x10085663
mov ecx, esi
call fcn.10087c90
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10085648
push 0xc
push eax
call fcn.100aecf9
add esp, 8
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10085658
push eax
call fcn.100af69d
add esp, 4
push 0x20
push esi
call fcn.100aecf9
add esp, 8
push 0x11
mov ecx, ebx
call fcn.10086b00
push 0x20
mov edi, eax
call fcn.100aeab9
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
je 0x100856db
mov dword [esi], edi
mov dword [esi + 4], 0x10080b70
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov word [esi + 0x14], 0
mov byte [esi + 0x16], 0
mov dword [esi + 0x18], 0
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.10087dd0
mov eax, dword [ebp - 0x38]
add esp, 8
shr eax, 0xc
and al, 1
mov byte [esi + 0x15], al
jne 0x100856dd
movzx eax, byte [ebp - 0x50]
add dword [esi + 8], eax
add edi, eax
cmp dword [esi + 8], 5
jb 0x100856b0
jmp 0x100856dd
xor esi, esi
lea ecx, [ebp - 0x20]
lea eax, [ebx + 8]
cmp eax, ecx
je 0x1008571d
mov edi, dword [eax]
mov dword [eax], esi
test edi, edi
je 0x10085755
mov ecx, edi
call fcn.10087c90
mov eax, dword [edi + 0x10]
test eax, eax
je 0x10085708
push 0xc
push eax
call fcn.100aecf9
add esp, 8
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10085718
push eax
call fcn.100af69d
add esp, 4
push 0x20
push edi
jmp 0x1008574d
test esi, esi
je 0x10085755
mov ecx, esi
call fcn.10087c90
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1008573a
push 0xc
push eax
call fcn.100aecf9
add esp, 8
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1008574a
push eax
call fcn.100af69d
add esp, 4
push 0x20
push esi
call fcn.100aecf9
add esp, 8
push 0x10
mov ecx, ebx
call fcn.10086b00
push 0x20
mov edi, eax
call fcn.100aeab9
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
je 0x100857cd
mov dword [esi], edi
mov dword [esi + 4], 0x10080cd0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov word [esi + 0x14], 0
mov byte [esi + 0x16], 0
mov dword [esi + 0x18], 0
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.10087dd0
mov eax, dword [ebp - 0x38]
add esp, 8
shr eax, 0xc
and al, 1
mov byte [esi + 0x15], al
jne 0x100857cf
movzx eax, byte [ebp - 0x50]
add dword [esi + 8], eax
add edi, eax
cmp dword [esi + 8], 5
jb 0x100857a2
jmp 0x100857cf
xor esi, esi
lea ecx, [ebp - 0x24]
lea eax, [ebx + 0xc]
cmp eax, ecx
je 0x1008580f
mov edi, dword [eax]
mov dword [eax], esi
test edi, edi
je 0x10085847
mov ecx, edi
call fcn.10087c90
mov eax, dword [edi + 0x10]
test eax, eax
je 0x100857fa
push 0xc
push eax
call fcn.100aecf9
add esp, 8
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1008580a
push eax
call fcn.100af69d
add esp, 4
push 0x20
push edi
jmp 0x1008583f
test esi, esi
je 0x10085847
mov ecx, esi
call fcn.10087c90
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1008582c
push 0xc
push eax
call fcn.100aecf9
add esp, 8
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1008583c
push eax
call fcn.100af69d
add esp, 4
push 0x20
push esi
call fcn.100aecf9
add esp, 8
mov edi, dword [ebx + 0x28]
push 0x20
add edi, 0x307f0
call fcn.100aeab9
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
je 0x100858bd
mov dword [esi], edi
mov dword [esi + 4], 0x10080de0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov word [esi + 0x14], 0
mov byte [esi + 0x16], 0
mov dword [esi + 0x18], 0
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.10087dd0
mov eax, dword [ebp - 0x38]
add esp, 8
shr eax, 0xc
and al, 1
mov byte [esi + 0x15], al
jne 0x100858bf
movzx eax, byte [ebp - 0x50]
add dword [esi + 8], eax
add edi, eax
cmp dword [esi + 8], 5
jb 0x10085892
jmp 0x100858bf
xor esi, esi
lea ecx, [ebp - 0x28]
lea eax, [ebx + 0x10]
cmp eax, ecx
je 0x100858ff
mov edi, dword [eax]
mov dword [eax], esi
test edi, edi
je 0x10085937
mov ecx, edi
call fcn.10087c90
mov eax, dword [edi + 0x10]
test eax, eax
je 0x100858ea
push 0xc
push eax
call fcn.100aecf9
add esp, 8
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100858fa
push eax
call fcn.100af69d
add esp, 4
push 0x20
push edi
jmp 0x1008592f
test esi, esi
je 0x10085937
mov ecx, esi
call fcn.10087c90
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1008591c
push 0xc
push eax
call fcn.100aecf9
add esp, 8
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1008592c
push eax
call fcn.100af69d
add esp, 4
push 0x20
push esi
call fcn.100aecf9
add esp, 8
mov edi, dword [ebx + 0x28]
push 0x20
add edi, 0x30b30
call fcn.100aeab9
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
je 0x100859ad
mov dword [esi], edi
mov dword [esi + 4], 0x10080f60
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov word [esi + 0x14], 0
mov byte [esi + 0x16], 0
mov dword [esi + 0x18], 0
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.10087dd0
mov eax, dword [ebp - 0x38]
add esp, 8
shr eax, 0xc
and al, 1
mov byte [esi + 0x15], al
jne 0x100859af
movzx eax, byte [ebp - 0x50]
add dword [esi + 8], eax
add edi, eax
cmp dword [esi + 8], 5
jb 0x10085982
jmp 0x100859af
xor esi, esi
lea ecx, [ebp - 0x2c]
lea eax, [ebx + 0x14]
cmp eax, ecx
je 0x100859ef
mov edi, dword [eax]
mov dword [eax], esi
test edi, edi
je 0x10085a27
mov ecx, edi
call fcn.10087c90
mov eax, dword [edi + 0x10]
test eax, eax
je 0x100859da
push 0xc
push eax
call fcn.100aecf9
add esp, 8
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100859ea
push eax
call fcn.100af69d
add esp, 4
push 0x20
push edi
jmp 0x10085a1f
test esi, esi
je 0x10085a27
mov ecx, esi
call fcn.10087c90
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10085a0c
push 0xc
push eax
call fcn.100aecf9
add esp, 8
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10085a1c
push eax
call fcn.100af69d
add esp, 4
push 0x20
push esi
call fcn.100aecf9
add esp, 8
mov edi, dword [ebx + 0x28]
push 0x20
add edi, 0x372f0
call fcn.100aeab9
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
je 0x10085a9d
mov dword [esi], edi
mov dword [esi + 4], 0x10081130
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov word [esi + 0x14], 0
mov byte [esi + 0x16], 0
mov dword [esi + 0x18], 0
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.10087dd0
mov eax, dword [ebp - 0x38]
add esp, 8
shr eax, 0xc
and al, 1
mov byte [esi + 0x15], al
jne 0x10085a9f
movzx eax, byte [ebp - 0x50]
add dword [esi + 8], eax
add edi, eax
cmp dword [esi + 8], 5
jb 0x10085a72
jmp 0x10085a9f
xor esi, esi
lea ecx, [ebp - 0x30]
lea eax, [ebx + 0x18]
cmp eax, ecx
je 0x10085adf
mov edi, dword [eax]
mov dword [eax], esi
test edi, edi
je 0x10085b17
mov ecx, edi
call fcn.10087c90
mov eax, dword [edi + 0x10]
test eax, eax
je 0x10085aca
push 0xc
push eax
call fcn.100aecf9
add esp, 8
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10085ada
push eax
call fcn.100af69d
add esp, 4
push 0x20
push edi
jmp 0x10085b0f
test esi, esi
je 0x10085b17
mov ecx, esi
call fcn.10087c90
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10085afc
push 0xc
push eax
call fcn.100aecf9
add esp, 8
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10085b0c
push eax
call fcn.100af69d
add esp, 4
push 0x20
push esi
call fcn.100aecf9
add esp, 8
mov edi, dword [ebx + 0x28]
push 0x20
add edi, 0x31180
call fcn.100aeab9
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
je 0x10085b8d
mov dword [esi], edi
mov dword [esi + 4], 0x100814b0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov word [esi + 0x14], 0
mov byte [esi + 0x16], 0
mov dword [esi + 0x18], 0
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.10087dd0
mov eax, dword [ebp - 0x38]
add esp, 8
shr eax, 0xc
and al, 1
mov byte [esi + 0x15], al
jne 0x10085b8f
movzx eax, byte [ebp - 0x50]
add dword [esi + 8], eax
add edi, eax
cmp dword [esi + 8], 5
jb 0x10085b62
jmp 0x10085b8f
xor esi, esi
lea ecx, [ebp - 0x34]
lea eax, [ebx + 0x1c]
cmp eax, ecx
je 0x10085bcf
mov edi, dword [eax]
mov dword [eax], esi
test edi, edi
je 0x10085c07
mov ecx, edi
call fcn.10087c90
mov eax, dword [edi + 0x10]
test eax, eax
je 0x10085bba
push 0xc
push eax
call fcn.100aecf9
add esp, 8
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10085bca
push eax
call fcn.100af69d
add esp, 4
push 0x20
push edi
jmp 0x10085bff
test esi, esi
je 0x10085c07
mov ecx, esi
call fcn.10087c90
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10085bec
push 0xc
push eax
call fcn.100aecf9
add esp, 8
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10085bfc
push eax
call fcn.100af69d
add esp, 4
push 0x20
push esi
call fcn.100aecf9
add esp, 8
mov ecx, dword [ebx + 4]
call fcn.10087890
mov ecx, dword [ebx]
call fcn.10087890
mov ecx, dword [ebx + 8]
call fcn.10087890
mov ecx, dword [ebx + 0xc]
call fcn.10087890
mov ecx, dword [ebx + 0x10]
call fcn.10087890
mov ecx, dword [ebx + 0x1c]
call fcn.10087890
mov ecx, dword [ebx + 0x14]
call fcn.10087890
mov ecx, dword [ebx + 0x18]
call fcn.10087890
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4