Function at 0x462370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb636
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x52610c]
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 edx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 0xcc], 0
call fcn.0041fa30
add esp, 4
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00420410
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x4623de
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00409950
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0x60]
cmovae ecx, dword [ebp - 0x70]
add eax, ecx
mov dword [ebp - 0x3c], 0xf
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x70]
push eax
cmovae ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
call fcn.0043d480
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 3
call fcn.0043c2f0
test al, al
sete bl
mov byte [ebp - 4], 4
or edi, 0xffffffff
mov esi, dword [ebp - 0xd0]
test esi, esi
je 0x46245c
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x46245c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x46245c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 2
test bl, bl
jne 0x462a21
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0x60]
cmovae ecx, dword [ebp - 0x70]
add eax, ecx
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x70]
cmovae ecx, dword [ebp - 0x70]
push eax
push ecx
lea ecx, [ebp - 0xfc]
call fcn.0043d480
sub esp, 0x28
mov byte [ebp - 4], 5
mov eax, esp
lea edx, [ebp - 0xfc]
lea ecx, [ebp - 0xe4]
push 1
mov dword [eax + 0x24], 0
call fcn.0043c3e0
add esp, 0x2c
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0xf8]
test esi, esi
je 0x4624e2
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4624e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4624e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 7
movzx eax, byte [ebp - 0xe4]
sub eax, 0
je 0x462a2d
sub eax, 1
je 0x46250d
sub eax, 1
jne 0x462522
mov ecx, dword [ebp - 0xdc]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jmp 0x462517
mov eax, dword [ebp - 0xdc]
cmp dword [eax + 4], 0
sete al
test al, al
jne 0x462a2d
movaps xmm0, xmmword [0x50c710]
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 4], 9
xor ecx, ecx
mov al, byte [ebp + ecx - 0x33]
xor al, byte [ebp - 0x34]
mov byte [ebp + ecx - 0x24], al
mov al, byte [ebp + ecx - 0x32]
xor al, byte [ebp - 0x34]
mov byte [ebp + ecx - 0x23], al
add ecx, 2
cmp ecx, 0xe
jb 0x462533
lea eax, [ebp - 0x24]
mov byte [ebp - 0x16], 0
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0x84]
lea eax, [ebp - 0xe4]
push eax
call fcn.00446de0
mov ecx, dword [ebp - 0x84]
movzx eax, byte [ecx]
sub eax, 1
je 0x462597
sub eax, 1
je 0x46258c
mov dword [ebp - 0x74], 1
jmp 0x46259f
mov eax, dword [ecx + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x7c], eax
jmp 0x46259f
mov eax, dword [ecx + 8]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0045e430
mov ecx, eax
call fcn.00447000
mov byte [ebp - 4], 7
test al, al
jne 0x462a16
movaps xmm0, xmmword [0x50c6a0]
movups xmmword [ebp - 0x58], xmm0
mov byte [ebp - 4], 0xa
xor ecx, ecx
mov al, byte [ebp + ecx - 0x57]
xor al, byte [ebp - 0x58]
mov byte [ebp + ecx - 0x48], al
mov al, byte [ebp + ecx - 0x56]
xor al, byte [ebp - 0x58]
mov byte [ebp + ecx - 0x47], al
add ecx, 2
cmp ecx, 0xe
jb 0x4625e0
cmp byte [ebp - 0x48], 0
mov byte [ebp - 0x3a], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jne 0x46261e
xor ecx, ecx
jmp 0x46262d
lea ecx, [ebp - 0x48]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462624
sub ecx, edx
push ecx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00409aa0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0xe4]
call fcn.0043c550
push eax
lea ecx, [ebp - 0xf4]
call fcn.00447860
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x46266e
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00409950
mov bh, 0x16
mov dword [ebp - 0x2c], 0x302d2f5f
mov bl, 0x3b
mov byte [ebp - 0xc5], bh
mov bh, bl
mov dword [ebp - 0x28], 0x2b3c2a3b
mov al, 0x2f
mov word [ebp - 0x24], 0x3b16
mov cl, 0x2d
mov byte [ebp - 0xc6], bh
mov dl, 0x30
mov byte [ebp - 0x22], 0
mov ah, 0x2a
mov ch, 0x3c
mov dh, 0x2b
mov byte [ebp - 4], 0xf
xor al, byte [ebp - 0x2c]
mov bh, byte [ebp - 0xc5]
mov byte [ebp - 0x21], al
mov al, byte [ebp - 0x2c]
xor cl, al
mov byte [ebp - 0x18], 0
xor ch, al
mov byte [ebp - 0x20], cl
xor dl, al
mov byte [ebp - 0x1c], ch
xor bl, al
mov byte [ebp - 0x1f], dl
xor ah, al
mov byte [ebp - 0x1e], bl
xor dh, al
mov byte [ebp - 0x1d], ah
xor bh, al
mov byte [ebp - 0x1b], dh
mov al, byte [ebp - 0xc6]
lea ecx, [ebp - 0x84]
xor al, byte [ebp - 0x2c]
mov byte [ebp - 0x19], al
lea eax, [ebp - 0x21]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xf4]
push eax
mov byte [ebp - 0x1a], bh
call fcn.00446de0
mov ecx, dword [ebp - 0x84]
movzx eax, byte [ecx]
sub eax, 1
je 0x46272c
sub eax, 1
je 0x462721
mov dword [ebp - 0x74], 1
jmp 0x462734
mov eax, dword [ecx + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x7c], eax
jmp 0x462734
mov eax, dword [ecx + 8]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xf4]
call fcn.0045e430
mov ecx, eax
call fcn.00447000
mov byte [ebp - 4], 0xe
test al, al
jne 0x462a0b
mov al, 0x63
mov dword [ebp - 0x50], 0x7c616313
mov dl, 0x77
mov byte [ebp - 0xc5], al
mov bh, dl
mov dword [ebp - 0x4c], 0x67706677
mov al, 0x61
mov word [ebp - 0x48], 0x775a
mov cl, 0x7c
mov byte [ebp - 0xc6], bh
mov bl, 0x66
mov byte [ebp - 0x46], 0
mov ah, 0x70
mov ch, 0x67
mov dh, 0x5a
mov byte [ebp - 4], 0x10
mov bh, byte [ebp - 0xc5]
xor bh, byte [ebp - 0x50]
xor al, byte [ebp - 0x50]
mov byte [ebp - 0xc5], bh
mov byte [ebp - 0x45], bh
mov bh, byte [ebp - 0xc6]
mov byte [ebp - 0x44], al
mov al, byte [ebp - 0x50]
xor cl, al
mov byte [ebp - 0x3c], 0
xor dl, al
mov byte [ebp - 0x43], cl
xor bl, al
mov byte [ebp - 0x42], dl
xor ah, al
mov byte [ebp - 0x41], bl
xor ch, al
mov byte [ebp - 0x40], ah
xor dh, al
mov byte [ebp - 0x3f], ch
xor bh, al
mov byte [ebp - 0x3e], dh
cmp byte [ebp - 0xc5], 0
mov byte [ebp - 0x3d], bh
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jne 0x462805
xor ecx, ecx
jmp 0x462819
lea ecx, [ebp - 0x45]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462810
sub ecx, edx
push ecx
lea eax, [ebp - 0x45]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00409aa0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0xf4]
call fcn.0043c550
mov edx, eax
lea ecx, [ebp - 0xc4]
call fcn.0044b1c0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x46285b
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00409950
movaps xmm0, xmmword [0x50c860]
movups xmmword [ebp - 0x94], xmm0
mov byte [ebp - 0x84], 0
mov byte [ebp - 4], 0x15
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x93]
xor al, byte [ebp - 0x94]
mov byte [ebp + ecx - 0x83], al
mov al, byte [ebp + ecx - 0x92]
xor al, byte [ebp - 0x94]
mov byte [ebp + ecx - 0x82], al
mov al, byte [ebp + ecx - 0x91]
xor al, byte [ebp - 0x94]
mov byte [ebp + ecx - 0x81], al
mov al, byte [ebp + ecx - 0x90]
xor al, byte [ebp - 0x94]
mov byte [ebp + ecx - 0x80], al
mov al, byte [ebp + ecx - 0x8f]
xor al, byte [ebp - 0x94]
mov byte [ebp + ecx - 0x7f], al
add ecx, 5
cmp ecx, 0xf
jb 0x462880
cmp byte [ebp - 0x83], 0
mov byte [ebp - 0x74], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jne 0x462909
xor ecx, ecx
jmp 0x46291b
lea ecx, [ebp - 0x83]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462912
sub ecx, edx
push ecx
lea eax, [ebp - 0x83]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00409aa0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0xf4]
call fcn.0043c550
mov edx, eax
lea ecx, [ebp - 0xac]
call fcn.0044b1c0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x462960
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00409950
cmp dword [ebp - 0x98], 0x10
lea eax, [ebp - 0xac]
push 0
cmovae eax, dword [ebp - 0xac]
push eax
call fcn.004c2ac4
mov ecx, dword [ebp - 0xcc]
add esp, 8
cmp eax, 0xffffffff
movzx ecx, cl
mov eax, dword [ebp - 0x98]
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0xcc], ecx
cmp eax, 0x10
jb 0x4629b7
inc eax
lea ecx, [ebp - 0xac]
push eax
push dword [ebp - 0xac]
call fcn.00409950
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
cmp eax, 0x10
jb 0x4629f0
inc eax
lea ecx, [ebp - 0xc4]
push eax
push dword [ebp - 0xc4]
call fcn.00409950
mov dword [ebp - 0xb0], 0xf
mov dword [ebp - 0xb4], 0
mov byte [ebp - 0xc4], 0
lea ecx, [ebp - 0xf4]
call fcn.0044a3c0
lea ecx, [ebp - 0xe4]
call fcn.0044a3c0
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x462a4d
inc eax
push eax
jmp 0x462a42
lea ecx, [ebp - 0xe4]
call fcn.0044a3c0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x462a4d
inc ecx
push ecx
push dword [ebp - 0x70]
lea ecx, [ebp - 0x70]
call fcn.00409950
mov al, byte [ebp - 0xcc]
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.0049fc55
mov esp, ebp
pop ebp
ret 4