Function at 0x60d1d3
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
pushfd
jmp 0x6428ed
lea ecx, [ecx*4]
call fcn.0060d152
jle 0x60d1b9
invalid
mov cx, word [esp + 2]
mov ecx, dword [esp + 2]
jmp 0x642897
jmp 0x642bec
push ecx
rol byte [edi - 0x7899ab26], 1
adc al, 0x24
push word [esp + 1]
jg 0x60d1a5
jle 0x642b88
fisubr word [ecx]
dec eax
jmp 0x60d229
push ebp
div dword [ebx]
jno 0x60d231
movzx edi, byte [eax + 8]
movzx ebx, byte [eax + 0xd]
mov dword [ebp - 0x14], esi
movzx esi, byte [eax + 9]
shl edi, 8
xor edi, esi
movzx esi, byte [eax + 0xa]
shl edi, 8
xor edi, esi
movzx esi, byte [eax + 0xb]
shl edi, 8
xor edi, esi
movzx esi, byte [eax + 0xc]
xor edi, dword [ecx + 8]
xor edx, dword [ecx]
shl esi, 8
xor esi, ebx
movzx ebx, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl esi, 8
xor esi, ebx
shl esi, 8
xor esi, eax
xor esi, dword [ecx + 0xc]
mov dword [ebp - 0xc], edi
shr edi, 8
mov ebx, esi
shr ebx, 0x10
mov eax, 0xff
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
xor ebx, dword [edi*4 + reloc.MSVCRT.dll_strncpy]
mov edi, edx
shr edi, 0x18
xor ebx, dword [edi*4 + reloc.MSVCRT.dll_strncpy]
mov edi, dword [ebp - 0x14]
and edi, eax
xor ebx, dword [edi*4 + reloc.MSVCRT.dll_strncpy]
mov dword [ebp - 8], esi
xor ebx, dword [ecx + 0x10]
shr esi, 8
mov edi, edx
shr edi, 0x10
and edi, eax
and esi, eax
mov dword [ebp - 4], edi
mov edi, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
mov esi, dword [ebp - 4]
xor edi, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
mov esi, dword [ebp - 0x14]
mov dword [ebp + 8], edx
mov dword [ebp - 0x10], ebx
shr esi, 0x18
xor edi, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
mov esi, dword [ebp - 0xc]
and esi, eax
xor edi, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
mov esi, dword [ebp - 0x14]
shr esi, 0x10
shr edx, 8
and esi, eax
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
mov esi, dword [ebp - 4]
xor edx, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
mov esi, dword [ebp - 0xc]
shr esi, 0x18
xor edx, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
mov esi, dword [ebp - 8]
and esi, eax
xor edx, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
mov esi, dword [ebp - 0x14]
xor edx, dword [ecx + 0x18]
xor edi, dword [ecx + 0x14]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0xc]
shr edx, 0x10
shr esi, 8
and edx, eax
mov edx, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
and esi, eax
xor edx, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
mov esi, dword [ebp - 8]
shr esi, 0x18
xor edx, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
mov esi, dword [ebp + 8]
and esi, eax
xor edx, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
mov esi, dword [ebp - 0x18]
xor edx, dword [ecx + 0x1c]
sar esi, 1
add ecx, 0x20
dec esi
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], esi
je 0x60d564
mov esi, dword [ebp - 4]
shr esi, 8
and esi, eax
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
xor edx, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
mov esi, ebx
shr esi, 0x18
xor edx, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
mov esi, edi
and esi, eax
xor edx, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
mov esi, ebx
xor edx, dword [ecx]
shr esi, 0x10
mov dword [ebp + 8], edx
mov edx, dword [ebp - 8]
and esi, eax
shr edx, 8
and edx, eax
mov edx, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
xor edx, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
mov esi, edi
shr esi, 0x18
xor edx, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
mov esi, dword [ebp - 4]
shr ebx, 8
and ebx, eax
and esi, eax
xor edx, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
mov esi, edi
shr esi, 0x10
and esi, eax
mov esi, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
xor esi, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
mov ebx, dword [ebp - 4]
shr ebx, 0x18
xor esi, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
mov ebx, dword [ebp - 8]
and ebx, eax
xor esi, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
mov ebx, dword [ebp - 4]
shr edi, 8
shr ebx, 0x10
and edi, eax
xor esi, dword [ecx + 8]
and ebx, eax
mov dword [ebp - 0x18], edi
mov edi, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
mov ebx, dword [ebp - 0x18]
xor edi, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
mov ebx, dword [ebp - 8]
shr ebx, 0x18
xor edi, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
mov ebx, dword [ebp - 0x10]
xor edx, dword [ecx + 4]
and ebx, eax
xor edi, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
mov ebx, esi
xor edi, dword [ecx + 0xc]
shr ebx, 8
mov dword [ebp - 8], edi
shr edi, 0x10
and edi, eax
mov edi, dword [edi*4 + reloc.MSVCRT.dll_strncpy]
and ebx, eax
xor edi, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
mov ebx, dword [ebp + 8]
shr ebx, 0x18
xor edi, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
mov ebx, edx
and ebx, eax
xor edi, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
mov ebx, dword [ebp + 8]
xor edi, dword [ecx + 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 8]
shr edi, 8
and edi, eax
mov edi, dword [edi*4 + reloc.MSVCRT.dll_strncpy]
shr ebx, 0x10
and ebx, eax
xor edi, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
and esi, eax
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
mov ebx, dword [ebp + 8]
xor edi, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
mov esi, edx
shr esi, 0x10
and esi, eax
mov esi, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
shr ebx, 8
and ebx, eax
xor esi, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
mov ebx, dword [ebp - 0xc]
shr ebx, 0x18
xor esi, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
mov ebx, dword [ebp - 8]
xor edi, dword [ecx + 0x14]
and ebx, eax
xor esi, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
mov ebx, dword [ebp - 0x10]
xor esi, dword [ecx + 0x18]
shr edx, 8
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0xc]
shr esi, 0x10
and esi, eax
mov esi, dword [esi*4 + reloc.MSVCRT.dll_strncpy]
and edx, eax
xor esi, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
mov edx, dword [ebp - 8]
shr edx, 0x18
xor esi, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
mov edx, dword [ebp + 8]
and edx, eax
xor esi, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
add ecx, 0x20
xor esi, dword [ecx - 4]
dec dword [ebp - 0x14]
mov dword [ebp - 8], esi
mov edx, esi
jne 0x60d387
shr edx, 0x10
and edx, eax
mov esi, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
mov edx, dword [ebp - 4]
shr edx, 8
and edx, eax
mov edx, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
and edx, 0xff00
and esi, 0xff0000
xor esi, edx
mov edx, ebx
shr edx, 0x18
mov edx, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
and edx, 0xff000000
xor esi, edx
shr ebx, 0x10
mov edx, edi
and edx, eax
movzx edx, byte [edx*4 + 0x61955c]
xor esi, edx
xor esi, dword [ecx]
and ebx, eax
mov dword [ebp + 8], esi
mov edx, esi
mov esi, dword [ebp + 0xc]
shr edx, 0x18
mov byte [esi], dl
mov edx, dword [ebp + 8]
shr edx, 0x10
mov byte [esi + 1], dl
mov edx, dword [ebp + 8]
shr edx, 8
mov byte [esi + 2], dl
mov dl, byte [ebp + 8]
mov byte [esi + 3], dl
mov edx, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
mov ebx, dword [ebp - 8]
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
and ebx, 0xff00
and edx, 0xff0000
xor edx, ebx
mov ebx, edi
shr ebx, 0x18
mov ebx, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
and ebx, 0xff000000
xor edx, ebx
mov ebx, dword [ebp - 4]
and ebx, eax
movzx ebx, byte [ebx*4 + 0x61955c]
xor edx, ebx
xor edx, dword [ecx + 4]
mov ebx, edx
shr ebx, 0x18
mov byte [esi + 4], bl
mov ebx, edx
shr ebx, 0x10
mov byte [esi + 5], bl
mov ebx, edx
shr ebx, 8
mov byte [esi + 6], bl
mov ebx, dword [ebp - 0x10]
mov byte [esi + 7], dl
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
mov edx, edi
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
and ebx, 0xff00
and edx, 0xff0000
xor edx, ebx
mov ebx, dword [ebp - 4]
shr ebx, 0x18
mov ebx, dword [ebx*4 + reloc.MSVCRT.dll_strncpy]
and ebx, 0xff000000
xor edx, ebx
mov ebx, dword [ebp - 8]
and ebx, eax
movzx ebx, byte [ebx*4 + 0x61955c]
xor edx, ebx
xor edx, dword [ecx + 8]
shr edi, 8
mov ebx, edx
shr ebx, 0x18
mov byte [esi + 8], bl
mov ebx, edx
mov byte [esi + 0xb], dl
and edi, eax
shr ebx, 0x10
mov byte [esi + 9], bl
mov ebx, edx
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, eax
shr ebx, 8
mov byte [esi + 0xa], bl
mov edi, dword [edi*4 + reloc.MSVCRT.dll_strncpy]
mov edx, dword [edx*4 + reloc.MSVCRT.dll_strncpy]
and edi, 0xff00
and edx, 0xff0000
xor edx, edi
mov edi, dword [ebp - 8]
shr edi, 0x18
mov edi, dword [edi*4 + reloc.MSVCRT.dll_strncpy]
and edi, 0xff000000
xor edx, edi
mov edi, dword [ebp - 0x10]
and edi, eax
movzx eax, byte [edi*4 + 0x61955c]
xor edx, eax
xor edx, dword [ecx + 0xc]
mov eax, edx
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, edx
shr eax, 8
mov byte [esi + 0xe], al
mov byte [esi + 0xf], dl
jmp 0x60d723
pop edi
pop esi
pop ebx
leave
ret 8
mov ecx, dword [ebp - 4]
call 0x6428a0
cmp eax, 0x824648d
call fcn.00628a1d
jmp 0x642933
jne 0x60d145
push dx
lea esp, [esp + 2]
jmp 0x642903
pushal
mov word [esp + 0x12], bx
pushal
lea esp, [esp + 0x40]
dec dword [ebp - 8]
jmp 0x6428c7
mov ecx, dword [ebp + 0x10]
jmp 0x642909
pop edi
jmp 0x60d119
mov eax, esi
pushal
lea esp, [esp + 0x24]
imul eax, eax, 3
jmp 0x642919
sub esp, 8
lea esp, [esp + 1]
mov byte [esp + 4], al
sub esp, 0x16
lea esp, [esp + 1]
jmp 0x642957
add dword [ebp - 4], 3
pushal
lea esp, [esp + 0x20]
add edi, 4
jmp 0x6428dd
add ecx, eax
mov eax, ebp
not ax
jmp 0x6429ec
sub ebx, eax
cmc
jmp 0x642941
mov eax, dword [ebp + 8]
call fcn.006429bb
call fcn.00642a2a
inc edx
pop ebp
or al, 0xbc
and byte [eax - 0x727f9044], bh
cmp edi, esi
popfd
push ss
add dword [eax + 3], 0x824648d
push eax
call 0x6429f4
mov eax, dword [ebp + 0xc]
lea ebx, [esp - 1]
jmp 0x642a35
pop ecx
mov bl, byte [esp]
lea ecx, reloc.MSVCRT.dll_strncpy
call fcn.00642ae0
mov dword [reloc.MSVCRT.dll_strncpy], eax
cli
sahf
jmp 0x8c26d558
call 0x642b96
sub ebp, 8
sub esp, 0x19
je 0x642bc6
push word [esp + 8]
push word [esp + 0xc]
lea esp, [esp + 1]
call fcn.00642c13
ljmp 0x8b66
mov dx, word [esp + 2]
lea esp, [esp + 2]
call fcn.00642b32
mov dword [esp], ecx
jmp 0x642b68
jl 0x642b63
jge 0x642b63
push word [esp + 0xc]
lea esp, [esp + 1]
jmp 0x642bcd
push word [esp + 8]
jmp 0x642bb0
xchg edx, ebx
jmp 0x642bd5
push ecx
lea esp, [esp + 1]
push word [esp + 1]
jo 0x642c19
lea esp, [esp + 1]
jmp 0x642c82
mov dx, word [esp + 2]
lea esp, [esp + 2]
rdtsc
cmc
jmp 0x642bac
lea esp, [esp + 1]
jmp 0x642c82
not ebx
jmp 0x642c8e
not ebx
jmp 0x642c8e
mov dword [ebp], ebx
mov bh, byte [esp]
neg ebx
js 0x642c61
jns 0x642c69
pushal
clc
jmp 0x642ce5
bsf ax, cx
sub esp, 6
mov di, dx
lea esp, [esp + 2]
mov dword [esp + 0x14], ebp
push ax
call fcn.00642cb5
mov esp, dword [edx]
pop ebp
lodsb al, byte [esi]
leave
ret
mov di, dx
lea esp, [esp + 2]
mov dword [esp + 0x14], ebp
jmp 0x642ca8
jae 0x642c96
bsf ax, cx
sub esp, 6
jmp 0x642ccb