Function at 0x1001f290
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 0x1007ef26
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x10098010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x54], esi
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0
lea ecx, [esi + 4]
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea edi, [esi + 0x30]
mov dword [esi], 0x1008d23c
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
add esi, 0x3c
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 3
lea edx, [ebx + 0x14]
mov eax, dword [ebp - 0x4c]
cmp ecx, edx
mov edx, dword [ebp - 0x48]
mov dword [eax + 0x54], 0x41200000
je 0x1001f388
cmp dword [ebx + 0x28], 0x10
lea eax, [ebx + 0x14]
push dword [ebx + 0x24]
cmovae eax, dword [ebx + 0x14]
push eax
call fcn.100109d0
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
movups xmm0, xmmword [ebx + 0x2c]
movups xmmword [eax + 0x1c], xmm0
cmp edi, edx
je 0x1001f3a3
push dword [ebp - 0x58]
mov ecx, edi
push dword [edx + 4]
push dword [edx]
call fcn.1001c510
mov eax, dword [ebp - 0x50]
cmp esi, eax
je 0x1001f3b9
push dword [ebp - 0x58]
mov ecx, esi
push dword [eax + 4]
push dword [eax]
call fcn.1001c510
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x2c], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
cmp eax, ecx
je 0x1001f56a
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000f4e0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp eax, 1
jb 0x1001f5c5
dec eax
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
inc eax
lea ecx, [ebp - 0x44]
push eax
call fcn.100109d0
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x1c]
lea eax, [esi + 2]
call fcn.1007cdb0
mov edi, dword [ebp - 0x18]
mov eax, esp
xor edx, edx
mov dword [ebp - 0x48], eax
test esi, esi
mov esi, dword [ebp - 0x2c]
je 0x1001f46a
cmp edi, 0x10
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
cmovae eax, esi
cmovae ecx, esi
mov al, byte [eax]
xor al, byte [ecx + edx + 1]
mov ecx, dword [ebp - 0x48]
mov byte [edx + ecx], al
inc edx
cmp edx, dword [ebp - 0x1c]
jb 0x1001f447
mov eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ecx + eax - 2], 0
mov ecx, eax
mov byte [ebp - 0x70], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001f490
sub ecx, edx
push ecx
push dword [ebp - 0x48]
lea ecx, [ebp - 0x70]
call fcn.100109d0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 6
push eax
call fcn.100179b0
xorps xmm0, xmm0
mov eax, dword [eax]
mov byte [ebp - 4], 5
movsd qword [eax], xmm0
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x1001f4f3
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001f4e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f590
push edx
push ecx
call fcn.1007be73
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x1001f527
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001f51d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f590
push edx
push ecx
call fcn.1007be73
add esp, 8
mov byte [ebp - 4], 3
cmp edi, 0x10
jb 0x1001f555
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x1001f54b
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f590
push edi
push esi
call fcn.1007be73
add esp, 8
mov eax, dword [ebp - 0x50]
add eax, 0x18
mov dword [ebp - 0x50], eax
cmp eax, dword [ebp - 0x54]
jne 0x1001f3d5
mov edi, dword [ebp - 0x4c]
mov edx, dword [ebx + 0x28]
cmp edx, 0x10
jb 0x1001f5a0
mov ecx, dword [ebx + 0x14]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001f596
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001f596
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007be73
add esp, 8
mov eax, edi
lea esp, [ebp - 0x7c]
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.1007ba06
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x34
call fcn.100122c0
int3