Function at 0x10082a00
Capabilities:
Access peb ldr_data
Encode data using xor

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 0x100cc6e3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x94], edi
movzx ecx, word [ebx + 0xc]
xor esi, esi
movzx eax, word [ebx + 8]
movzx edx, word [ebx + 0x30]
mov dword [ebp - 0x88], ecx
movzx ecx, word [ebx + 0x2c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x58], esi
mov dword [ebp - 4], 1
test ax, ax
je 0x10083172
test cx, cx
je 0x10083172
cmp dword [edi + 0x34], esi
jg 0x10083172
mov ecx, dword [edi + 8]
lea edx, [ebx + 0x10]
call fcn.1001e150
mov ecx, dword [edi + 0xc]
lea edx, [ebx + 0x34]
call fcn.1001e150
mov eax, dword [edi + 0x10]
mov ecx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x10082ace
push 4
push eax
call ecx
test eax, eax
jne 0x10082ac8
mov ecx, dword [ebp - 0x50]
push eax
call dword [0x100e6db4]
mov ecx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x10082aeb
push 4
push eax
call ecx
test eax, eax
jne 0x10082aeb
mov ecx, dword [ebp - 0x50]
push eax
call dword [0x100e6db4]
cmp word [ebp - 0x54], 0xffff
je 0x1008310e
cmp word [ebp - 0x5c], 0xffff
je 0x1008310e
mov dl, 0x39
mov dword [ebp - 0x84], 0x54404a39
mov dword [ebp - 0x80], 0x6555565b
xor ecx, ecx
mov byte [ebp - 0x7c], 0
nop word [eax + eax]
xor byte [ebp + ecx - 0x83], dl
inc ecx
cmp ecx, 7
jae 0x10082b35
mov dl, byte [ebp - 0x84]
jmp 0x10082b20
mov edx, dword [0x100f6418]
lea ecx, [ebp - 0x83]
lea eax, [ecx + 1]
mov byte [ebp - 0x7c], 0
mov dword [ebp - 0x50], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10082b50
sub ecx, dword [ebp - 0x50]
mov eax, 0x7fffffff
sub eax, edx
cmp eax, ecx
jb 0x100831cc
cmp dword [0x100f641c], 0xf
mov eax, 0x100f6408
push ecx
cmova eax, dword [0x100f6408]
lea ecx, [ebp - 0x83]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x4c]
call fcn.100147b0
or esi, 0x10
mov dword [ebp - 0x58], esi
mov eax, dword [ebp - 0x88]
mov byte [ebp - 4], 2
test ax, ax
jne 0x10082c4b
movaps xmm0, xmmword [0x100e9b10]
xor ecx, ecx
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 0x7a30756c
mov word [ebp - 0x64], 0x6a66
mov byte [ebp - 0x62], al
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x77]
xor al, byte [ebp - 0x78]
mov byte [ebp + ecx - 0x77], al
inc ecx
cmp ecx, 0x15
jb 0x10082bd0
xorps xmm0, xmm0
mov byte [ebp - 0x62], 0
lea ecx, [ebp - 0x77]
mov dword [ebp - 0xb0], 0
movups xmmword [ebp - 0xac], xmm0
mov dword [ebp - 0x9c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x98], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10082c13
sub ecx, edx
lea eax, [ebp - 0x77]
push ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.10003370
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x8c], eax
or esi, 1
mov dword [ebp - 0x90], esi
mov eax, esi
mov dword [ebp - 0x50], esi
jmp 0x10082cec
cmp dword [ebp - 0x34], 0xf
lea ecx, [ebp - 0x48]
movaps xmm0, xmmword [0x100e8d80]
cmova ecx, dword [ebp - 0x48]
cwde
push eax
mov eax, dword [ebp - 0x54]
cwde
push eax
push 1
push ecx
movups xmmword [ebp - 0x74], xmm0
mov word [ebp - 0x64], 0x11
xor ecx, ecx
mov al, byte [ebp + ecx - 0x73]
xor al, byte [ebp - 0x74]
mov byte [ebp + ecx - 0x73], al
inc ecx
cmp ecx, 0x10
jb 0x10082c73
sub esp, 0x1c
mov byte [ebp - 0x63], 0
mov edx, esp
lea ecx, [ebp - 0x73]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x50], eax
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10082cb1
sub ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x73]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [ebp - 0xe8]
push eax
call fcn.1000d650
add esp, 0x30
mov dword [ebp - 0x8c], eax
or esi, 2
mov ecx, esi
mov dword [ebp - 0x90], ecx
mov eax, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 4], 4
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.10089110
add esp, 4
lea ecx, [ebp - 0x30]
mov dword [eax + 4], 0
push dword [ebp - 0x8c]
mov dword [ebp - 0x30], eax
mov dword [eax], ecx
call fcn.100082f0
mov eax, esi
mov dword [ebp - 4], 5
test al, 2
je 0x10082d87
mov esi, dword [ebp - 0x90]
lea ecx, [ebp - 0xe8]
and esi, 0xfffffffd
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], esi
call fcn.10002f50
mov eax, dword [ebp - 0xe8]
push 8
push eax
mov dword [ebp - 0xe8], 0
call fcn.100891b0
add esp, 8
mov eax, esi
mov ecx, esi
jmp 0x10082d90
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 4], 6
test al, 1
je 0x10082dc9
mov esi, ecx
lea ecx, [ebp - 0xb0]
and esi, 0xfffffffe
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], esi
call fcn.10002f50
mov eax, dword [ebp - 0xb0]
push 8
push eax
mov dword [ebp - 0xb0], 0
call fcn.100891b0
add esp, 8
mov ecx, dword [edi + 0x18]
lea edx, [ebp - 0x30]
call fcn.1001de60
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x10082e1e
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10082e1e
mov ecx, dword [ebp - 0x50]
sub esp, 0x20
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x100e6d94]
mov eax, dword [ebp - 0x60]
test ax, ax
jne 0x10082ec3
movaps xmm0, xmmword [0x100e91b0]
xor ecx, ecx
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 0x450f4a53
mov word [ebp - 0x64], 0x5559
mov byte [ebp - 0x62], al
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x77]
xor al, byte [ebp - 0x78]
mov byte [ebp + ecx - 0x77], al
inc ecx
cmp ecx, 0x15
jb 0x10082e50
xorps xmm0, xmm0
mov byte [ebp - 0x62], 0
lea ecx, [ebp - 0x77]
mov dword [ebp - 0xcc], 0
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xb8], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xb4], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10082e93
sub ecx, edx
lea eax, [ebp - 0x77]
push ecx
push eax
lea ecx, [ebp - 0xcc]
call fcn.10003370
or esi, 4
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x50], esi
lea esi, [ebp - 0xcc]
jmp 0x10082f76
cmp dword [ebp - 0x34], 0xf
lea ecx, [ebp - 0x48]
movaps xmm0, xmmword [0x100e9200]
cmova ecx, dword [ebp - 0x48]
cwde
push eax
mov eax, dword [ebp - 0x5c]
cwde
push eax
push 1
push ecx
movups xmmword [ebp - 0x74], xmm0
mov word [ebp - 0x64], 0x4e
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x73]
xor al, byte [ebp - 0x74]
mov byte [ebp + ecx - 0x73], al
inc ecx
cmp ecx, 0x10
jb 0x10082ef0
sub esp, 0x1c
mov byte [ebp - 0x63], 0
mov edx, esp
lea ecx, [ebp - 0x73]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10082f30
sub ecx, esi
lea eax, [ebp - 0x73]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [ebp - 0x104]
push eax
call fcn.1000d650
mov esi, eax
lea edi, [ebp - 0x30]
mov eax, dword [ebp - 0x54]
add esp, 0x30
or eax, 8
cmp edi, esi
mov edi, dword [ebp - 0x94]
mov edx, eax
mov dword [ebp - 0x54], eax
mov ecx, eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x50], eax
je 0x10082f90
lea ecx, [ebp - 0x30]
call fcn.10002f50
push esi
lea ecx, [ebp - 0x30]
call fcn.100082f0
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
test al, 8
je 0x10082fc3
and edx, 0xfffffff7
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x60], edx
call fcn.10002f50
mov eax, dword [ebp - 0x104]
push 8
push eax
mov dword [ebp - 0x104], 0
call fcn.100891b0
mov ecx, dword [ebp - 0x60]
add esp, 8
mov dword [ebp - 4], 6
test cl, 4
je 0x10082ff5
lea ecx, [ebp - 0xcc]
call fcn.10002f50
mov eax, dword [ebp - 0xcc]
push 8
push eax
mov dword [ebp - 0xcc], 0
call fcn.100891b0
add esp, 8
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x1008308a
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1008308a
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, dword [ebp - 0x2c]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10083020
sub ecx, edx
mov dword [ebp - 0x5c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100891d0
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.1008c200
add esp, 0xc
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0x2c]
push dword [ebp - 0x5c]
push edx
push esi
call fcn.1008bc80
mov eax, dword [ebp - 0x5c]
add esp, 0xc
mov ecx, dword [ebp - 0x60]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100e6d8c]
push edi
call fcn.100891b0
mov edi, dword [ebp - 0x94]
add esp, 4
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x100830d0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100830d0
sub esp, 0x20
mov ecx, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x100e6d94]
lea ecx, [ebp - 0x30]
call fcn.10002f50
mov eax, dword [ebp - 0x30]
push 8
push eax
mov dword [ebp - 0x30], 0
call fcn.100891b0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.10002f50
mov eax, dword [ebp - 0x4c]
push 8
push eax
mov dword [ebp - 0x4c], 0
call fcn.100891b0
add esp, 8
mov esi, dword [edi + 0x20]
test esi, esi
je 0x1008312b
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1008312b
push eax
mov ecx, esi
call dword [0x100e6d54]
mov esi, dword [edi + 0x24]
test esi, esi
je 0x10083148
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10083148
push eax
mov ecx, esi
call dword [0x100e6d54]
mov al, byte [ebx + 0x50]
mov ecx, edi
mov byte [edi + 0x30], al
call fcn.10081870
mov esi, dword [edi]
test esi, esi
je 0x10083172
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10083172
push 1
mov ecx, esi
call dword [0x100e6d54]
lea ecx, [ebx + 0x10]
call fcn.10002f50
mov eax, dword [ebx + 0x10]
push 8
push eax
mov dword [ebx + 0x10], 0
call fcn.100891b0
add esp, 8
lea ecx, [ebx + 0x34]
call fcn.10002f50
mov eax, dword [ebx + 0x34]
push 8
push eax
mov dword [ebx + 0x34], 0
call fcn.100891b0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10089100
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x4c
call fcn.10003040
int3