Function at 0x4191eb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462fb6
mov eax, dword fs:[0]
push eax
mov eax, 0x205c
call fcn.00457740
mov eax, dword [0x474860]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2048], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x204c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 1
ja 0x419236
xor eax, 0xe1caeaa7
invalid
xor eax, eax
push 0x1ffe
push eax
mov word [ebp - 0x2010], ax
lea eax, [ebp - 0x200e]
push eax
xor bl, bl
call fcn.0044b2e0
add esp, 0xc
cmp dword [edi + 0x205c], 0
je 0x419495
cmp dword [edi + 0x2060], 0
je 0x419495
call fcn.0041cbb0
cmp dword [eax + 0x278], 0
je 0x419495
call fcn.0041cbb0
cmp dword [eax + 0x288], 0
je 0x419495
call fcn.0041cbb0
mov eax, dword [eax + 0x288]
lea ecx, [ebp - 0x2010]
push ecx
push 0x1000
call eax
test eax, eax
je 0x419495
xor eax, eax
mov dword [ebp - 0x2050], 7
mov dword [ebp - 0x2054], 0
mov word [ebp - 0x2064], ax
cmp word [ebp - 0x2010], ax
jne 0x4192df
xor ecx, ecx
jmp 0x4192ff
lea ecx, [ebp - 0x2010]
lea edx, [ecx + 2]
jmp 0x4192f0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4192f0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2010]
push eax
lea ecx, [ebp - 0x2064]
call fcn.00402380
push 0x46d240
lea edx, [ebp - 0x2064]
lea ecx, [ebp - 0x2028]
mov dword [ebp - 4], 0
call fcn.00402bd0
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2050], 8
jb 0x41934d
push dword [ebp - 0x2064]
call fcn.00447bb4
add esp, 4
xor eax, eax
cmp dword [ebp - 0x2014], 8
lea esi, [ebp - 0x2028]
cmovae esi, dword [ebp - 0x2028]
mov dword [ebp - 0x2050], 7
mov dword [ebp - 0x2054], 0
mov word [ebp - 0x2064], ax
call fcn.0041cbb0
mov eax, dword [eax + 0x278]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call eax
mov esi, eax
cmp esi, 0xffffffff
je 0x419455
test esi, esi
je 0x419455
lea eax, [ebp - 0x2030]
push eax
mov eax, dword [edi + 0x205c]
mov dword [ebp - 0x2030], 0x10006
mov dword [ebp - 0x202c], 0xb
call eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x2044], eax
mov eax, dword [ebp - 0x204c]
mov dword [ebp - 0x2040], eax
lea eax, [ebp - 0x2038]
push eax
push 0
lea eax, [ebp - 0x2044]
push eax
push dword [edi + 0x202c]
mov dword [ebp - 0x203c], 1
push esi
mov dword [ebp - 0x2038], 0x419150
mov dword [ebp - 0x2034], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov eax, dword [edi + 0x2060]
call eax
test eax, eax
je 0x419455
mov eax, dword [ebp - 0x2048]
lea ecx, [ebp - 0x2028]
cmp eax, ecx
je 0x419453
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00401f90
mov bl, 1
cmp dword [ebp - 0x2014], 8
jb 0x41946c
push dword [ebp - 0x2028]
call fcn.00447bb4
add esp, 4
xor eax, eax
mov dword [ebp - 0x2014], 7
mov dword [ebp - 0x2018], eax
mov word [ebp - 0x2028], ax
cmp esi, 0xffffffff
je 0x419495
test esi, esi
je 0x419495
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447bb9
mov esp, ebp
pop ebp
ret 8