Function at 0x417be8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x417bf0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x41825f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.00417930
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov ecx, dword [0x4223e0]
call fcn.00404418
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x18]
call fcn.00417760
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
call fcn.0040419c
lea eax, [ebp - 4]
call fcn.00404104
jmp 0x418193
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x2c]
call fcn.00417760
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
call fcn.0040419c
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.004042ec
mov eax, dword [ebp - 0x30]
call fcn.00417b90
and eax, 0xff
cmp eax, 0xf
ja case.default.0x417c93
jmp dword [eax*4 + 0x417c9a]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x34]
call fcn.00417760
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 8]
call fcn.0040419c
jmp case.default.0x417c93
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404418
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x28]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x38]
call fcn.00417760
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 8]
call fcn.0040419c
jmp case.default.0x417c93
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x40]
call fcn.00417760
mov eax, dword [ebp - 0x40]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x44]
call fcn.00417760
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 8]
pop ecx
call fcn.00404418
jmp case.default.0x417c93
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x48]
call fcn.00417760
push dword [ebp - 0x48]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x4c]
call fcn.00417760
push dword [ebp - 0x4c]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x50]
call fcn.00417760
push dword [ebp - 0x50]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x54]
call fcn.00417760
push dword [ebp - 0x54]
lea eax, [ebp - 8]
mov edx, 4
call fcn.0040448c
jmp case.default.0x417c93
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x58]
call fcn.00417760
push dword [ebp - 0x58]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x5c]
call fcn.00417760
push dword [ebp - 0x5c]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x60]
call fcn.00417760
push dword [ebp - 0x60]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x64]
call fcn.00417760
push dword [ebp - 0x64]
lea eax, [ebp - 8]
mov edx, 4
call fcn.0040448c
jmp case.default.0x417c93
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.004043d4
jmp case.default.0x417c93
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004043d4
jmp case.default.0x417c93
lea eax, [ebp - 0x6c]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.00404418
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x28]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x68]
call fcn.00417760
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 8]
call fcn.004043d4
jmp case.default.0x417c93
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x70]
call fcn.00417760
mov eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x78]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404418
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x28]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x74]
call fcn.00417760
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 8]
pop ecx
call fcn.00404418
jmp case.default.0x417c93
push dword [ebp - 8]
push dword [ebp - 8]
push dword [ebp - 8]
push dword [ebp - 8]
lea eax, [ebp - 0x80]
mov edx, 4
call fcn.0040448c
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x28]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x7c]
call fcn.00417760
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 8]
call fcn.0040419c
jmp case.default.0x417c93
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 4]
lea eax, [ebp - 0x88]
mov edx, 4
call fcn.0040448c
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x28]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x84]
call fcn.00417760
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 8]
call fcn.0040419c
jmp case.default.0x417c93
call fcn.00402a30
mov eax, pe_nt_image_headers32
call fcn.00402ee8
lea edx, [ebp - 0x94]
call fcn.00407900
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x90]
mov edx, dword [ebp - 8]
call fcn.00404418
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x28]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x8c]
call fcn.00417760
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 8]
call fcn.0040419c
jmp case.default.0x417c93
call fcn.00402a30
mov eax, 0xf4240
call fcn.00402ee8
lea edx, [ebp - 0xa0]
call fcn.00407900
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
mov edx, dword [ebp - 8]
call fcn.00404418
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x28]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x98]
call fcn.00417760
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 8]
call fcn.0040419c
jmp case.default.0x417c93
call fcn.00402a30
mov word [ebp - 0xa], 1
mov eax, 0xf4240
call fcn.00402ee8
lea edx, [ebp - 0xa4]
call fcn.00407900
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 8]
call fcn.004043d4
inc word [ebp - 0xa]
cmp word [ebp - 0xa], 0x65
jne 0x418053
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0xa8]
call fcn.00417760
mov edx, dword [ebp - 0xa8]
lea eax, [ebp - 8]
call fcn.0040419c
jmp case.default.0x417c93
call fcn.00409188
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0xb4]
call fcn.0040aa14
mov ecx, dword [ebp - 0xb4]
lea eax, [ebp - 0xb0]
mov edx, dword [ebp - 8]
call fcn.00404418
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0x28]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0xac]
call fcn.00417760
mov edx, dword [ebp - 0xac]
lea eax, [ebp - 8]
call fcn.0040419c
jmp case.default.0x417c93
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00409188
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0xc0]
call fcn.0040aa14
push dword [ebp - 0xc0]
lea eax, [ebp - 0xbc]
mov edx, 3
call fcn.0040448c
mov eax, dword [ebp - 0xbc]
lea edx, [ebp - 0x28]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0xb8]
call fcn.00417760
mov edx, dword [ebp - 0xb8]
lea eax, [ebp - 8]
call fcn.0040419c
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0xc4]
call fcn.00417760
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 8]
call fcn.0040419c
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004043d4
mov eax, dword [ebp - 4]
call fcn.004043cc
cmp eax, 0x2710
jl 0x417c4f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004177e0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0xc8]
call fcn.00417760
mov edx, dword [ebp - 0xc8]
lea eax, [ebp - 4]
call fcn.004043d4
call fcn.00409188
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xe]
lea edx, [ebp - 0xc]
lea eax, [ebp - 0xa]
call fcn.00408e64
mov bl, byte [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004043cc
mov esi, eax
test esi, esi
jle 0x41821a
mov edi, 1
mov eax, pe_nt_image_headers32
call fcn.00402ee8
mov edx, dword [ebp - 4]
xor bl, byte [edx + edi - 1]
xor al, bl
mov ebx, eax
inc edi
dec esi
jne 0x418201
mov eax, 0x4223e0
mov edx, dword [ebp - 8]
call fcn.00404158
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418266
lea eax, [ebp - 0xc8]
mov edx, 0x28
call fcn.00404128
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404128
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404128
ret