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

Disassembly:
push 0xffffffffffffffff
push 0x10159958
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov al, byte [0x101980e4]
push ebx
push esi
push edi
test al, 1
mov byte [esp + 0x14], 0xf9
mov byte [esp + 0x15], 0x12
mov byte [esp + 0x16], 0xc7
mov byte [esp + 0x17], 0xa1
mov byte [esp + 0x18], 0xa0
mov byte [esp + 0x19], 0xb
mov byte [esp + 0x1a], 0x59
mov byte [esp + 0x1b], 0xd7
mov byte [esp + 0x1c], 0x20
mov byte [esp + 0x1d], 0xd6
mov byte [esp + 0x1e], 0x85
mov byte [esp + 0x1f], 0x83
mov byte [esp + 0x20], 0x92
mov byte [esp + 0x21], 0x77
mov byte [esp + 0x22], 0xb5
mov byte [esp + 0x23], 0xcf
mov byte [esp + 0x24], 0xc5
mov byte [esp + 0x25], 0x67
mov byte [esp + 0x26], 0x6a
mov byte [esp + 0x27], 0xe5
mov byte [esp + 0x28], 0xe
mov byte [esp + 0x29], 0xb2
mov byte [esp + 0x2a], 0xe9
mov byte [esp + 0x2b], 0xef
jne 0x100379af
mov bl, al
push 0xd
or bl, 1
mov byte [0x101980e4], bl
call fcn.1013c2df
add esp, 4
mov dword [0x101980e8], 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, 0x101980e8
call fcn.10025de0
mov cl, byte [esp + esi + 0x20]
mov edx, dword [0x101980e8]
xor bl, cl
or al, bl
mov byte [esi + edx], al
inc esi
cmp esi, 0xc
jb 0x10037968
mov eax, dword [0x101980e8]
push 0x10037b20
mov byte [eax + 0xc], 0
call fcn.1013c36b
add esp, 4
mov al, byte [0x101980ec]
mov ecx, dword [0x101980e8]
test al, 1
mov dword [esp + 0xc], ecx
mov byte [esp + 0x20], 0x57
mov byte [esp + 0x21], 0xde
mov byte [esp + 0x22], 0x80
mov byte [esp + 0x23], 0xcf
mov byte [esp + 0x24], 0x45
mov byte [esp + 0x25], 0x98
mov byte [esp + 0x26], 0x62
mov byte [esp + 0x27], 0xe8
mov byte [esp + 0x28], 0x61
mov byte [esp + 0x14], 0x18
mov byte [esp + 0x15], 0xae
mov byte [esp + 0x16], 0xe5
mov byte [esp + 0x17], 0xa1
mov byte [esp + 0x18], 8
mov byte [esp + 0x19], 0xed
mov byte [esp + 0x1a], 0x16
mov byte [esp + 0x1b], 0x8d
mov byte [esp + 0x1c], 0x19
jne 0x10037a80
mov bl, al
push 0xa
or bl, 1
mov byte [0x101980ec], bl
call fcn.1013c2df
add esp, 4
mov dword [0x101980f0], 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, 0x101980f0
call fcn.10025de0
mov cl, byte [esp + esi + 0x14]
xor bl, cl
mov ecx, dword [0x101980f0]
or al, bl
mov byte [esi + ecx], al
inc esi
cmp esi, 9
jb 0x10037a38
mov edx, dword [0x101980f0]
push 0x10037b30
mov byte [edx + 9], 0
call fcn.1013c36b
add esp, 4
mov ebx, dword [0x101980f0]
xor edi, edi
cmp byte [ebx], 0
je 0x10037a96
mov al, byte [ebx + edi + 1]
inc edi
test al, al
jne 0x10037a8d
lea eax, [edi + 2]
push eax
call fcn.1013c2df
add esp, 4
mov esi, eax
test edi, edi
mov dword [esp + 0x10], esi
jle 0x10037abd
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 0x10037ab3
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