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

Disassembly:
push 0xffffffffffffffff
push 0x10159938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov al, 0x54
push ebx
mov byte [esp + 0x17], al
mov byte [esp + 0x1c], al
mov al, byte [0x10198134]
push esi
test al, 1
push edi
mov byte [esp + 0x14], 0x8d
mov byte [esp + 0x15], 0xf2
mov byte [esp + 0x16], 0x8a
mov byte [esp + 0x17], 0x1d
mov byte [esp + 0x18], 0x31
mov byte [esp + 0x19], 0x4b
mov byte [esp + 0x1a], 0xe8
mov byte [esp + 0x1b], 0x85
mov byte [esp + 0x1c], 0x13
mov byte [esp + 0x1d], 0x66
mov byte [esp + 0x1e], 0xd1
mov byte [esp + 0x20], 0xe6
mov byte [esp + 0x21], 0x97
mov byte [esp + 0x22], 0xf8
mov byte [esp + 0x23], 0x73
mov byte [esp + 0x25], 0x27
mov byte [esp + 0x26], 0xdb
mov byte [esp + 0x27], 0xb7
mov byte [esp + 0x28], 0x3d
mov byte [esp + 0x29], 2
mov byte [esp + 0x2a], 0xbd
mov byte [esp + 0x2b], 0x38
jne 0x10036cdf
mov bl, al
push 0xd
or bl, 1
mov byte [0x10198134], bl
call fcn.1013c2df
add esp, 4
mov dword [0x10198138], eax
xor esi, esi
mov al, byte [esp + esi + 0x20]
mov bl, byte [esp + esi + 0x14]
movsx eax, al
movsx ecx, bl
push eax
push ecx
mov ecx, 0x10198138
call fcn.10025de0
mov cl, byte [esp + esi + 0x20]
mov edx, dword [0x10198138]
xor bl, cl
or al, bl
mov byte [esi + edx], al
inc esi
cmp esi, 0xc
jb 0x10036c98
mov eax, dword [0x10198138]
push 0x10036e60
mov byte [eax + 0xc], 0
call fcn.1013c36b
add esp, 4
mov al, byte [0x1019813c]
mov ecx, dword [0x10198138]
test al, 1
mov dword [esp + 0xc], ecx
mov byte [esp + 0x20], 0x50
mov byte [esp + 0x21], 0xdd
mov byte [esp + 0x22], 0xea
mov byte [esp + 0x23], 4
mov byte [esp + 0x24], 0x42
mov byte [esp + 0x25], 0x85
mov byte [esp + 0x26], 0x72
mov byte [esp + 0x27], 0x6f
mov byte [esp + 0x28], 0x87
mov byte [esp + 0x29], 0xe5
mov byte [esp + 0x2a], 0xf6
mov byte [esp + 0x14], 0x13
mov byte [esp + 0x15], 0xaf
mov byte [esp + 0x16], 0x8f
mov byte [esp + 0x17], 0x65
mov byte [esp + 0x18], 0x36
mov byte [esp + 0x19], 0xe0
mov byte [esp + 0x1a], 0x3f
mov byte [esp + 0x1b], 0x1a
mov byte [esp + 0x1c], 0xf3
mov byte [esp + 0x1d], 0x80
mov byte [esp + 0x1e], 0x8e
jne 0x10036dc4
mov bl, al
push 0xc
or bl, 1
mov byte [0x1019813c], bl
call fcn.1013c2df
add esp, 4
mov dword [0x10198140], eax
xor esi, esi
mov al, byte [esp + esi + 0x14]
mov bl, byte [esp + esi + 0x20]
movsx edx, al
movsx eax, bl
push edx
push eax
mov ecx, 0x10198140
call fcn.10025de0
mov cl, byte [esp + esi + 0x14]
xor bl, cl
mov ecx, dword [0x10198140]
or al, bl
mov byte [esi + ecx], al
inc esi
cmp esi, 0xb
jb 0x10036d7c
mov edx, dword [0x10198140]
push 0x10036e70
mov byte [edx + 0xb], 0
call fcn.1013c36b
add esp, 4
mov ebx, dword [0x10198140]
xor edi, edi
cmp byte [ebx], 0
je 0x10036dda
mov al, byte [ebx + edi + 1]
inc edi
test al, al
jne 0x10036dd1
lea eax, [edi + 2]
push eax
call fcn.1013c2df
add esp, 4
mov esi, eax
test edi, edi
mov dword [esp + 0x10], esi
jle 0x10036e01
mov ecx, ebx
push ebp
sub ecx, esi
mov ebp, edi
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec ebp
jne 0x10036df7
pop ebp
mov byte [esi + edi + 1], 0
mov byte [esi + edi], 0x57
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push esi
mov edi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.101307a0
mov ecx, dword [esp + 0x30]
add esp, 4
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret