Function at 0x1004d770
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x1015ab68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov al, byte [0x10197bb4]
push ebx
push esi
push edi
test al, 1
mov byte [esp + 0x24], 0x23
mov byte [esp + 0x25], 0x84
mov byte [esp + 0x26], 0xcb
mov byte [esp + 0x27], 0x2f
mov byte [esp + 0x28], 0x9c
mov byte [esp + 0x29], 0xec
mov byte [esp + 0x2a], 0x65
mov byte [esp + 0x2b], 0xa4
mov byte [esp + 0x2c], 0xa1
mov byte [esp + 0x2d], 0x70
mov byte [esp + 0x2e], 0x74
mov byte [esp + 0x14], 0x54
mov byte [esp + 0x15], 0xed
mov byte [esp + 0x16], 0xa5
mov byte [esp + 0x17], 0x46
mov byte [esp + 0x18], 0xf2
mov byte [esp + 0x19], 0x89
mov byte [esp + 0x1a], 0x11
mov byte [esp + 0x1b], 0x8a
mov byte [esp + 0x1c], 0xc5
mov byte [esp + 0x1d], 0x1c
mov byte [esp + 0x1e], 0x18
jne 0x1004d865
mov bl, al
push 0xc
or bl, 1
mov byte [0x10197bb4], bl
call fcn.1013c2df
add esp, 4
mov dword [0x10197bb8], eax
xor esi, esi
mov al, byte [esp + esi + 0x14]
mov bl, byte [esp + esi + 0x24]
movsx eax, al
movsx ecx, bl
push eax
push ecx
mov ecx, 0x10197bb8
call fcn.10025de0
mov cl, byte [esp + esi + 0x14]
mov edx, dword [0x10197bb8]
xor bl, cl
or al, bl
mov byte [esi + edx], al
inc esi
cmp esi, 0xb
jb 0x1004d81e
mov eax, dword [0x10197bb8]
push 0x1004da10
mov byte [eax + 0xb], 0
call fcn.1013c36b
add esp, 4
mov ecx, dword [0x10197bb8]
mov al, 0x94
mov byte [esp + 0x20], al
mov byte [esp + 0x2f], al
mov al, byte [0x10197bbc]
mov dword [esp + 0xc], ecx
test al, 1
mov byte [esp + 0x14], 0xf8
mov byte [esp + 0x15], 0xf2
mov byte [esp + 0x16], 0x13
mov byte [esp + 0x17], 0xca
mov byte [esp + 0x18], 0xe8
mov byte [esp + 0x19], 0xf5
mov byte [esp + 0x1a], 0x71
mov byte [esp + 0x1b], 0x90
mov byte [esp + 0x1c], 0x58
mov byte [esp + 0x1d], 0xd1
mov byte [esp + 0x1e], 7
mov byte [esp + 0x1f], 0xf2
mov byte [esp + 0x24], 0xb0
mov byte [esp + 0x25], 0x86
mov byte [esp + 0x26], 0x67
mov byte [esp + 0x27], 0xba
mov byte [esp + 0x28], 0xb9
mov byte [esp + 0x29], 0x80
mov byte [esp + 0x2a], 0x14
mov byte [esp + 0x2b], 0xe2
mov byte [esp + 0x2c], 0x21
mov byte [esp + 0x2d], 0x98
mov byte [esp + 0x2e], 0x69
mov byte [esp + 0x30], 0xfb
jne 0x1004d95e
mov bl, al
push 0xe
or bl, 1
mov byte [0x10197bbc], bl
call fcn.1013c2df
add esp, 4
mov dword [0x10197bc0], eax
xor esi, esi
mov al, byte [esp + esi + 0x24]
mov bl, byte [esp + esi + 0x14]
movsx edx, al
movsx eax, bl
push edx
push eax
mov ecx, 0x10197bc0
call fcn.10025de0
mov cl, byte [esp + esi + 0x24]
xor bl, cl
mov ecx, dword [0x10197bc0]
or al, bl
mov byte [esi + ecx], al
inc esi
cmp esi, 0xd
jb 0x1004d916
mov edx, dword [0x10197bc0]
push 0x1004da20
mov byte [edx + 0xd], 0
call fcn.1013c36b
add esp, 4
mov ebx, dword [0x10197bc0]
xor edi, edi
cmp byte [ebx], 0
je 0x1004d974
mov al, byte [ebx + edi + 1]
inc edi
test al, al
jne 0x1004d96b
lea eax, [edi + 2]
push eax
call fcn.1013c2df
add esp, 4
mov esi, eax
test edi, edi
mov dword [esp + 0x10], esi
jle 0x1004d99b
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 0x1004d991
pop ebp
mov byte [esi + edi + 1], 0
mov byte [esi + edi], 0x57
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x50]
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 + 0x40], 0xffffffff
call fcn.101307a0
mov ecx, dword [esp + 0x38]
add esp, 4
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret