Function at 0x486996
Capabilities:
Encode data using xor

Disassembly:
push 0x130
mov eax, 0x4dad54
call fcn.004ae989
mov esi, ecx
mov dword [ebp - 0x80], esi
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402582
lea ebx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0040c520
mov ebx, eax
call fcn.0040c56d
lea edi, [ebp - 0x3c]
call fcn.004077fb
add esi, 8
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x486a1d
push dword [ebp - 0x3c]
xor ecx, ecx
call fcn.004077ca
cmp eax, 0xffffffff
je 0x486a1d
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402883
xor al, al
call fcn.004aea0c
ret 4
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00402883
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402582
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00402582
mov byte [ebp - 4], 3
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebx - 0xc]
cmp eax, 0x17
je 0x486a5f
lea ecx, [ebx - 0x10]
jmp 0x4871be
call fcn.0048b151
push eax
lea ecx, [ebp - 0x48]
call fcn.00402821
mov byte [ebp - 4], 4
call fcn.0048b151
push eax
lea ecx, [ebp - 0x64]
call fcn.00402821
mov byte [ebp - 4], 5
call fcn.0048b151
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402821
mov byte [ebp - 4], 6
call fcn.0048b151
push eax
lea ecx, [ebp - 0x58]
call fcn.00402821
mov edi, 0x533020
push edi
xor ecx, ecx
lea esi, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.004077ca
mov esi, eax
cmp esi, 0xffffffff
je 0x48705f
push esi
push 0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
call fcn.00407844
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 8
call fcn.0040260d
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00402883
push dword [ebx - 0xc]
inc esi
push esi
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
call fcn.00407844
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
call fcn.0040260d
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00402883
push edi
xor ecx, ecx
lea esi, [ebp - 0x40]
call fcn.004077ca
mov esi, eax
cmp esi, 0xffffffff
je 0x486da0
push esi
push 0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
call fcn.00407844
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xa
call fcn.0040260d
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00402883
mov eax, dword [ebp - 0x40]
push dword [eax - 0xc]
inc esi
push esi
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
call fcn.00407844
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xb
call fcn.0040260d
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00402883
push edi
xor ecx, ecx
lea esi, [ebp - 0x40]
call fcn.004077ca
mov esi, eax
cmp esi, 0xffffffff
je 0x486da0
push esi
push 0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
call fcn.00407844
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
call fcn.0040260d
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00402883
mov eax, dword [ebp - 0x40]
push dword [eax - 0xc]
inc esi
push esi
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
call fcn.00407844
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xd
call fcn.0040260d
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00402883
push 6
pop edi
push 2
xor ecx, ecx
pop esi
mov eax, edi
mov edx, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00489d74
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x70], ecx
sub ecx, eax
movzx edx, word [eax]
mov word [eax + ecx], dx
add eax, esi
test dx, dx
jne 0x486c22
xor ecx, ecx
mov eax, edi
mov edx, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00489d74
mov edx, eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x78], edx
pop ecx
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, esi
test cx, cx
jne 0x486c50
xor ecx, ecx
mov eax, edi
mov edx, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00489d74
mov ebx, eax
mov eax, dword [ebp - 0x5c]
mov edx, ebx
pop ecx
mov dword [ebp - 0xac], ebx
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, esi
test cx, cx
jne 0x486c83
xor ecx, ecx
mov eax, edi
mov edx, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00489d74
mov edx, eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x74], edx
pop ecx
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, esi
test cx, cx
jne 0x486cb1
xor ecx, ecx
mov eax, edi
mov edx, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00489d74
mov edx, dword [ebp - 0x70]
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x78]
sub eax, edx
mov dword [ebp - 0x4c], edx
sub dword [ebp - 0x4c], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x50], 5
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x44]
or dword [ebp - 0x6c], 0xffffffff
or dword [ebp - 0x68], 0xffffffff
add eax, ecx
mov dl, byte [eax + edx]
mov al, byte [eax]
mov byte [ebp - 0x51], al
xor edi, edi
cmp byte [edi + str.9PHVYB7EM6TW5SFZ8KUA3CNX4G2DRJ], dl
jne 0x486d17
mov dword [ebp - 0x6c], edi
mov al, byte [ebp - 0x51]
cmp byte [edi + str.23456789ABCDEFGHJKMNPRSTUVWXYZ], al
jne 0x486d25
mov dword [ebp - 0x68], edi
inc edi
cmp edi, 0x1e
jl 0x486d0c
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x68]
jns 0x486d36
add eax, 0x1e
movsx ax, byte [eax + str.23456789ABCDEFGHJKMNPRSTUVWXYZ]
mov word [ecx], ax
add ecx, esi
dec dword [ebp - 0x50]
jne 0x486cf2
mov edi, dword [ebp - 0x7c]
xor eax, eax
push edi
mov ecx, 0x569d90
mov word [edi + 0xa], ax
call fcn.004118e6
test eax, eax
je 0x486dd7
mov eax, 0x53d518
mov edx, edi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, esi
test cx, cx
jne 0x486d69
push dword [ebp - 0x70]
call fcn.00489d7f
pop ecx
push dword [ebp - 0x78]
call fcn.00489d7f
pop ecx
push edi
call fcn.00489d7f
pop ecx
push ebx
call fcn.00489d7f
pop ecx
push dword [ebp - 0x74]
call fcn.00489d7f
pop ecx
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x5c]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x64]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
jmp 0x4871be
mov al, byte [ebx]
xor esi, esi
mov dword [ebp - 0x60], esi
xor ecx, ecx
cmp byte [ecx + str.VE9WMBCX8SP3DJT7A5GZUNHF2R6KY4], al
je 0x486df0
inc ecx
cmp ecx, 0xb
jl 0x486de0
jmp 0x486df3
mov dword [ebp - 0x60], ecx
mov al, byte [ebx + 2]
push 0xb
pop edx
mov ecx, edx
cmp byte [edx + str.VE9WMBCX8SP3DJT7A5GZUNHF2R6KY4], al
je 0x486e0b
inc edx
cmp edx, 0x17
jl 0x486dfb
jmp 0x486e0d
mov ecx, edx
add ecx, 0xfffffff5
or edi, 0xffffffff
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edi
mov al, byte [esi + str.VE9WMBCX8SP3DJT7A5GZUNHF2R6KY4]
cmp al, byte [ebx + 4]
jne 0x486e27
mov dword [ebp - 0x4c], esi
cmp al, byte [ebx + 6]
jne 0x486e2e
mov edi, esi
cmp al, byte [ebx + 8]
jne 0x486e36
mov dword [ebp - 0x50], esi
cmp dword [ebp - 0x4c], 0
jl 0x486e46
test edi, edi
jl 0x486e46
cmp dword [ebp - 0x50], 0
jge 0x486e4c
inc esi
cmp esi, 0x1e
jl 0x486e19
mov eax, dword [ebp - 0x4c]
cdq
sub eax, edx
mov esi, eax
mov eax, edi
cdq
sar esi, 1
add esi, 0xe
sub eax, edx
sar eax, 1
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], eax
jne 0x486e6f
mov dword [ebp - 0x68], 0xc
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], 0x1e
test eax, eax
je 0x486e80
mov dword [ebp - 0x4c], eax
cmp esi, 0x64
jae 0x486e8e
add esi, 0x7d0
mov dword [ebp - 0x6c], esi
mov eax, dword [ebp - 0x60]
imul ecx, ecx, 0x1e
imul eax, eax, 0x16d
lea eax, [eax + ecx + 4]
mov dword [ebp - 0x44], eax
call fcn.0048b151
push eax
lea ecx, [ebp - 0x84]
call fcn.00402821
mov byte [ebp - 4], 0xe
xor edi, edi
mov eax, dword [ebp - 0x74]
mov al, byte [eax + edi*2]
xor esi, esi
cmp byte [esi + str.9PHVYB7EM6TW5SFZ8KUA3CNX4G2DRJ], al
je 0x486ece
inc esi
cmp esi, 0xa
jl 0x486ec0
call fcn.0048b151
push eax
lea ecx, [ebp - 0x60]
call fcn.00402821
push esi
lea eax, [ebp - 0x60]
push 0x52513c
push eax
mov byte [ebp - 4], 0xf
call fcn.00402a45
mov esi, dword [ebp - 0x60]
add esp, 0xc
push dword [esi - 0xc]
lea ecx, [ebp - 0x84]
push esi
call fcn.00411e73
add esi, 0xfffffff0
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.00402883
inc edi
cmp edi, 5
jl 0x486eb8
mov esi, dword [ebp - 0x84]
push esi
call fcn.004ab93f
pop ecx
push 8
mov dword [ebp - 0x60], eax
pop ecx
xor eax, eax
mov word [ebp - 0x38], ax
push ebx
push dword [ebp - 0x7c]
lea edi, [ebp - 0x36]
push dword [ebp - 0x70]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x38]
push str._s__s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push 0x12
call fcn.00489d74
mov ebx, eax
pop ecx
lea eax, [ebp - 0x138]
mov dword [ebp - 0x13c], eax
push 3
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00407294
mov edx, dword [ebp - 0x13c]
mov edi, ebx
mov eax, edx
sub edi, edx
mov cl, byte [eax]
mov byte [eax + edi], cl
inc eax
test cl, cl
jne 0x486f85
lea eax, [ebp - 0x138]
cmp edx, eax
je 0x486fa0
push edx
call fcn.004aaee4
pop ecx
mov dword [ebp - 0x50], 0x11
mov eax, ebx
xor edi, edi
movzx edx, byte [eax]
mov ecx, edi
shr ecx, 8
shl edi, 8
xor ecx, edx
xor edi, dword [ecx*4 + 0x5618a0]
and edi, 0xffff
inc eax
dec dword [ebp - 0x50]
cmp dword [ebp - 0x50], 0
jg 0x486fab
push ebx
call fcn.00489d7f
movzx eax, di
cmp dword [ebp - 0x60], eax
pop ecx
push dword [ebp - 0x70]
sete bl
call fcn.00489d7f
pop ecx
push dword [ebp - 0x78]
call fcn.00489d7f
pop ecx
push dword [ebp - 0x7c]
call fcn.00489d7f
pop ecx
push dword [ebp - 0xac]
call fcn.00489d7f
pop ecx
push dword [ebp - 0x74]
call fcn.00489d7f
pop ecx
lea ecx, [esi - 0x10]
call fcn.00402883
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x5c]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x64]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.00402883
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00402883
jmp 0x4870a4
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x5c]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x64]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.00402883
lea ecx, [ebx - 0x10]
call fcn.00402883
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00402883
xor bl, bl
test bl, bl
je 0x4871ce
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x80]
call fcn.004868fa
mov byte [ebp - 4], 0x10
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
call fcn.004118e6
test eax, eax
jne 0x4871fe
push 2
lea eax, [ebp - 0x48]
push eax
call fcn.00485da0
fldz
push 0x400
fstp qword [ebp - 0x90]
xor esi, esi
push esi
push dword [ebp - 0x48]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x88], esi
call fcn.0044278b
test al, al
je 0x4871f6
cmp dword [ebp - 0x88], esi
jne 0x4871f6
lea eax, [ebp - 0xa8]
call fcn.004424d8
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x90]
call fcn.0044fccb
test al, al
je 0x487173
lea eax, [ebp - 0xa8]
push eax
lea esi, [ebp - 0x9c]
lea eax, [ebp - 0x90]
call fcn.0044fc71
mov ecx, esi
call fcn.0044fc41
fcomp qword [0x53ddb0]
fnstsw ax
test ah, 5
jp 0x4871f6
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.00402883
jmp 0x4869fd
lea esi, [ebp - 0x90]
lea edi, [ebp - 0xa8]
call fcn.0044fd15
test al, al
je 0x4871f6
mov eax, esi
push eax
lea esi, [ebp - 0x9c]
mov eax, edi
call fcn.0044fc71
mov ecx, esi
call fcn.0044fc41
fild dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
test eax, eax
jge 0x4871af
fadd qword [0x53ddb8]
mov ecx, dword [ebp - 0x48]
fcompp
add ecx, 0xfffffff0
fnstsw ax
test ah, 5
jp 0x4871e2
call fcn.00402883
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00402883
xor bl, bl
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402883
mov al, bl
jmp 0x486a15
call fcn.00402883
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00402883
mov bl, 1
jmp 0x4871d0
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
jmp 0x4871e2
lea eax, [ebp - 0xb8]
call fcn.004424d8
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x9c]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
call fcn.004425fd
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x9c]
call fcn.0044fccb
test al, al
je 0x4871e7
lea eax, [ebp - 0xb8]
push eax
lea esi, [ebp - 0xa8]
lea eax, [ebp - 0x9c]
call fcn.0044fc71
mov ecx, esi
call fcn.0044fc41
fcomp qword [0x53ddb0]
fnstsw ax
test ah, 0x41
jne 0x4871e7
jmp 0x4871c3