Function at 0x10082bc0
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 0x100d0f63
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x100f7040]
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 0x10083332
test cx, cx
je 0x10083332
cmp dword [edi + 0x34], esi
jg 0x10083332
mov ecx, dword [edi + 8]
lea edx, [ebx + 0x10]
call fcn.1001e320
mov ecx, dword [edi + 0xc]
lea edx, [ebx + 0x34]
call fcn.1001e320
mov eax, dword [edi + 0x10]
mov ecx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x10082c8e
push 4
push eax
call ecx
test eax, eax
jne 0x10082c88
mov ecx, dword [ebp - 0x50]
push eax
call dword [0x100ec664]
mov ecx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x10082cab
push 4
push eax
call ecx
test eax, eax
jne 0x10082cab
mov ecx, dword [ebp - 0x50]
push eax
call dword [0x100ec664]
cmp word [ebp - 0x54], 0xffff
je 0x100832ce
cmp word [ebp - 0x5c], 0xffff
je 0x100832ce
mov dl, 0x34
mov dword [ebp - 0x84], 0x594d4734
mov dword [ebp - 0x80], 0x68585b56
xor ecx, ecx
mov byte [ebp - 0x7c], 0
nop word [eax + eax]
xor byte [ebp + ecx - 0x83], dl
inc ecx
cmp ecx, 7
jae 0x10082cf5
mov dl, byte [ebp - 0x84]
jmp 0x10082ce0
mov edx, dword [0x100fb420]
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 0x10082d10
sub ecx, dword [ebp - 0x50]
mov eax, 0x7fffffff
sub eax, edx
cmp eax, ecx
jb 0x1008338c
cmp dword [0x100fb424], 0xf
mov eax, 0x100fb410
push ecx
cmova eax, dword [0x100fb410]
lea ecx, [ebp - 0x83]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x4c]
call fcn.10014930
or esi, 0x10
mov dword [ebp - 0x58], esi
mov eax, dword [ebp - 0x88]
mov byte [ebp - 4], 2
test ax, ax
jne 0x10082e0b
movaps xmm0, xmmword [0x100ee440]
xor ecx, ecx
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 0x64c0910
mov word [ebp - 0x64], 0x161a
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 0x10082d90
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 0x10082dd3
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 0x10082eac
cmp dword [ebp - 0x34], 0xf
lea ecx, [ebp - 0x48]
movaps xmm0, xmmword [0x100eecd0]
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], 0x47
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 0x10082e33
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 0x10082e71
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.1000d7c0
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.100892d0
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.10008460
mov eax, esi
mov dword [ebp - 4], 5
test al, 2
je 0x10082f47
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.10089370
add esp, 8
mov eax, esi
mov ecx, esi
jmp 0x10082f50
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 4], 6
test al, 1
je 0x10082f89
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.10089370
add esp, 8
mov ecx, dword [edi + 0x18]
lea edx, [ebp - 0x30]
call fcn.1001e030
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x10082fde
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10082fde
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 [0x100ec644]
mov eax, dword [ebp - 0x60]
test ax, ax
jne 0x10083083
movaps xmm0, xmmword [0x100ee900]
xor ecx, ecx
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 0x33793c25
mov word [ebp - 0x64], 0x232f
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 0x10083010
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 0x10083053
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 0x10083136
cmp dword [ebp - 0x34], 0xf
lea ecx, [ebp - 0x48]
movaps xmm0, xmmword [0x100ef2c0]
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], 0x75
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 0x100830b0
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 0x100830f0
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.1000d7c0
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 0x10083150
lea ecx, [ebp - 0x30]
call fcn.10002f50
push esi
lea ecx, [ebp - 0x30]
call fcn.10008460
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
test al, 8
je 0x10083183
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.10089370
mov ecx, dword [ebp - 0x60]
add esp, 8
mov dword [ebp - 4], 6
test cl, 4
je 0x100831b5
lea ecx, [ebp - 0xcc]
call fcn.10002f50
mov eax, dword [ebp - 0xcc]
push 8
push eax
mov dword [ebp - 0xcc], 0
call fcn.10089370
add esp, 8
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x1008324a
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1008324a
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 0x100831e0
sub ecx, edx
mov dword [ebp - 0x5c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10089390
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.1008c3c0
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.1008be40
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 [0x100ec63c]
push edi
call fcn.10089370
mov edi, dword [ebp - 0x94]
add esp, 4
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x10083290
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10083290
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 [0x100ec644]
lea ecx, [ebp - 0x30]
call fcn.10002f50
mov eax, dword [ebp - 0x30]
push 8
push eax
mov dword [ebp - 0x30], 0
call fcn.10089370
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.10089370
add esp, 8
mov esi, dword [edi + 0x20]
test esi, esi
je 0x100832eb
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100832eb
push eax
mov ecx, esi
call dword [0x100ec604]
mov esi, dword [edi + 0x24]
test esi, esi
je 0x10083308
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10083308
push eax
mov ecx, esi
call dword [0x100ec604]
mov al, byte [ebx + 0x50]
mov ecx, edi
mov byte [edi + 0x30], al
call fcn.10081a30
mov esi, dword [edi]
test esi, esi
je 0x10083332
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10083332
push 1
mov ecx, esi
call dword [0x100ec604]
lea ecx, [ebx + 0x10]
call fcn.10002f50
mov eax, dword [ebx + 0x10]
push 8
push eax
mov dword [ebx + 0x10], 0
call fcn.10089370
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.10089370
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.100892c0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x4c
call fcn.10003040
int3