Function at 0x41e4c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504958
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
sub esp, 0xb0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
cmp edx, 0x2710
jne 0x41e56f
sub esp, 0x18
xorps xmm0, xmm0
mov eax, esp
mov edx, 0x2711
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.0041e0c0
add esp, 0x18
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x41ec47
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41ec3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec5b
jmp 0x41ec3d
cmp edx, 0x2721
jne 0x41e599
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push dword [ebx + 0x18]
cmovae eax, dword [ebx + 8]
mov ecx, 0x533bec
push eax
call fcn.004659f0
mov byte [0x535ebb], 1
jmp 0x41e535
cmp edx, 0x2712
jne 0x41e5c4
cmp dword [ebx + 0x18], 0x18
jne 0x41e535
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push 0x18
cmovae eax, dword [ebx + 8]
mov ecx, 0x533c04
push eax
call fcn.004659f0
jmp 0x41e535
cmp edx, 0x2713
jne 0x41e5ea
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
cmovae eax, dword [ebx + 8]
push eax
call fcn.004ea997
add esp, 4
mov dword [0x533ac0], eax
jmp 0x41e535
cmp edx, 0x272b
jne 0x41e5fe
mov byte [0x535eb9], 1
jmp 0x41e535
cmp edx, 0x2715
jne 0x41e9a7
cmp dword [ebx + 0x1c], 0x10
lea esi, [ebx + 8]
mov ecx, 0x19
lea edi, [ebp - 0xc0]
cmovae esi, dword [ebx + 8]
rep movsd dword es:[edi], dword [esi]
push 0x536080
call fcn.004dc3b3
add esp, 4
test eax, eax
jne 0x41ec60
xor edi, edi
nop dword [eax]
mov ecx, dword [0x536178]
mov eax, 0x2aaaaaab
mov esi, dword [0x536174]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x41e98f
lea eax, [edi + edi*2]
mov dword [ebp - 0x48], 0
shl eax, 3
lea ecx, [ebp - 0xc0]
xorps xmm0, xmm0
mov dword [ebp - 0x20], eax
add esi, eax
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41e690
sub ecx, edx
lea eax, [ebp - 0xc0]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00402830
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x1b]
mov word [ebp - 0x1b], 0x5c
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x19], 0
call fcn.00469c70
add esp, 4
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x41e6d4
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x41e6df
mov esi, dword [esi]
push ecx
push eax
push 0
mov ecx, esi
call fcn.0046b480
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov esi, eax
cmp ecx, 0x10
jb 0x41e723
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e719
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec66
push ecx
push edx
call fcn.004dd0b2
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp ecx, 0x10
jb 0x41e76d
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e763
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec66
push ecx
push edx
call fcn.004dd0b2
add esp, 8
cmp esi, 0xffffffff
je 0x41e9a1
mov ecx, dword [ebx + 0x18]
lea eax, [ebx + 8]
add ecx, 0xffffff9c
mov dword [ebp - 0x28], 0
cmp dword [ebx + 0x1c], 0x10
xorps xmm0, xmm0
push ecx
cmovae eax, dword [ebx + 8]
lea ecx, [ebp - 0x38]
add eax, 0x64
mov dword [ebp - 0x24], 0
push eax
movups xmmword [ebp - 0x38], xmm0
call fcn.00402830
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00414b00
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x41e7f0
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e7e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec6b
push ecx
push edx
call fcn.004dd0b2
add esp, 8
mov edi, dword [ebp - 0x20]
add edi, dword [0x536174]
xor ecx, ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x3e], 0x5679696a
mov word [ebp - 0x3a], 0x100
nop word [eax + eax]
mov al, cl
add al, 0x27
xor byte [ebp + ecx - 0x3e], al
inc ecx
cmp ecx, 4
jb 0x41e820
lea eax, [ebp - 0x3e]
mov byte [ebp - 0x39], 0
sub esp, 8
mov edx, eax
mov esi, esp
lea ecx, [edx + 1]
mov dword [esi], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x41e841
sub edx, ecx
mov ecx, edi
mov dword [esi + 4], edx
call fcn.004657f0
test al, al
je 0x41e87a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
sub esp, 0x18
mov esi, eax
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.00465e10
mov ecx, esi
call fcn.0041a150
add esp, 0x18
jmp 0x41e8d8
mov dword [ebp - 0x1c], 0x1004a50
xor ecx, ecx
mov al, cl
add al, 0x27
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 2
jb 0x41e883
mov eax, dword [0x536174]
add eax, dword [ebp - 0x20]
mov byte [ebp - 0x19], 0
cmp dword [eax + 0x14], 0x10
jb 0x41e8a5
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.004e2f00
mov esi, eax
add esp, 8
test esi, esi
je 0x41e8d8
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
push esi
push dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
push 1
push ecx
call fcn.004ead08
push esi
call fcn.004e6788
add esp, 0x14
mov eax, dword [0x536174]
add eax, dword [ebp - 0x20]
mov esi, dword [0x536178]
mov dword [ebp - 0x20], eax
lea edi, [eax + 0x18]
cmp edi, esi
je 0x41e90e
push edi
mov ecx, eax
call fcn.00465c90
mov eax, dword [ebp - 0x20]
add edi, 0x18
add eax, 0x18
mov dword [ebp - 0x20], eax
cmp edi, esi
jne 0x41e8f0
mov esi, dword [0x536178]
mov ecx, dword [esi - 4]
cmp ecx, 0x10
jb 0x41e942
mov eax, dword [esi - 0x18]
inc ecx
cmp ecx, 0x1000
jb 0x41e938
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec70
mov eax, edx
push ecx
push eax
call fcn.004dd0b2
add esp, 8
mov dword [esi - 8], 0
mov dword [esi - 4], 0xf
mov byte [esi - 0x18], 0
sub dword [0x536178], 0x18
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x41e98f
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e985
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec70
push ecx
push edx
call fcn.004dd0b2
add esp, 8
push 0x536080
call fcn.004dc3c4
add esp, 4
jmp 0x41e535
inc edi
jmp 0x41e640
cmp edx, 0x2717
jne 0x41ea15
sub esp, 0x28
lea ecx, [ebp - 0x30]
mov eax, esp
lea edx, [ebx + 8]
push 0
push 1
mov dword [eax + 0x24], 0
call fcn.0046a250
mov cl, byte [0x536070]
add esp, 0x30
mov al, byte [ebp - 0x30]
mov esi, dword [0x53607c]
mov edx, dword [0x536078]
mov byte [ebp - 0x30], cl
mov ecx, dword [ebp - 0x24]
mov byte [0x536070], al
mov eax, dword [ebp - 0x28]
mov dword [0x53607c], ecx
lea ecx, [ebp - 0x30]
mov dword [0x536078], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], esi
call fcn.004638b0
mov byte [0x535e92], 1
jmp 0x41e535
cmp edx, 0x2719
jne 0x41ea83
sub esp, 0x28
lea ecx, [ebp - 0x30]
mov eax, esp
lea edx, [ebx + 8]
push 0
push 1
mov dword [eax + 0x24], 0
call fcn.0046a250
mov cl, byte [0x5360c8]
add esp, 0x30
mov al, byte [ebp - 0x30]
mov esi, dword [0x5360d4]
mov edx, dword [0x5360d0]
mov byte [ebp - 0x30], cl
mov ecx, dword [ebp - 0x24]
mov byte [0x5360c8], al
mov eax, dword [ebp - 0x28]
mov dword [0x5360d4], ecx
lea ecx, [ebp - 0x30]
mov dword [0x5360d0], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], esi
call fcn.004638b0
mov byte [0x535eb1], 1
jmp 0x41e535
cmp edx, 0x271b
jne 0x41eaf1
sub esp, 0x28
lea ecx, [ebp - 0x30]
mov eax, esp
lea edx, [ebx + 8]
push 0
push 1
mov dword [eax + 0x24], 0
call fcn.0046a250
mov cl, byte [0x5360f0]
add esp, 0x30
mov al, byte [ebp - 0x30]
mov esi, dword [0x5360fc]
mov edx, dword [0x5360f8]
mov byte [ebp - 0x30], cl
mov ecx, dword [ebp - 0x24]
mov byte [0x5360f0], al
mov eax, dword [ebp - 0x28]
mov dword [0x5360fc], ecx
lea ecx, [ebp - 0x30]
mov dword [0x5360f8], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], esi
call fcn.004638b0
mov byte [0x535e90], 1
jmp 0x41e535
cmp edx, 0x271d
jne 0x41eb5f
sub esp, 0x28
lea ecx, [ebp - 0x30]
mov eax, esp
lea edx, [ebx + 8]
push 0
push 1
mov dword [eax + 0x24], 0
call fcn.0046a250
mov cl, byte [0x536148]
add esp, 0x30
mov al, byte [ebp - 0x30]
mov esi, dword [0x536154]
mov edx, dword [0x536150]
mov byte [ebp - 0x30], cl
mov ecx, dword [ebp - 0x24]
mov byte [0x536148], al
mov eax, dword [ebp - 0x28]
mov dword [0x536154], ecx
lea ecx, [ebp - 0x30]
mov dword [0x536150], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], esi
call fcn.004638b0
mov byte [0x535eb0], 1
jmp 0x41e535
cmp edx, 0x272e
jne 0x41ebcd
sub esp, 0x28
lea ecx, [ebp - 0x30]
mov eax, esp
lea edx, [ebx + 8]
push 0
push 1
mov dword [eax + 0x24], 0
call fcn.0046a250
mov cl, byte [0x536180]
add esp, 0x30
mov al, byte [ebp - 0x30]
mov esi, dword [0x53618c]
mov edx, dword [0x536188]
mov byte [ebp - 0x30], cl
mov ecx, dword [ebp - 0x24]
mov byte [0x536180], al
mov eax, dword [ebp - 0x28]
mov dword [0x53618c], ecx
lea ecx, [ebp - 0x30]
mov dword [0x536188], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], esi
call fcn.004638b0
mov byte [0x535eb8], 1
jmp 0x41e535
cmp edx, 0x2723
jne 0x41e535
lea edx, [ebx + 8]
lea ecx, [ebp - 0x58]
call fcn.00402540
push eax
mov ecx, 0x533b5c
call fcn.00465c90
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x41ec1f
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41ec15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ec75
push ecx
push edx
call fcn.004dd0b2
add esp, 8
mov byte [0x535eba], 1
jmp 0x41e535
push ecx
push edx
call fcn.004dd0b2
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e2350
push eax
call fcn.004dc05c
call fcn.004e2350
call fcn.004e2350
call fcn.004e2350
call fcn.004e2350
int3