Function at 0x1001a6a0
Capabilities:
Encode data using xor
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c9686
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x100fd230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
cmp dword [ebp + 0x18], 0
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x68], 0
je 0x1001a8cc
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x74]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0x64], eax
test eax, eax
je 0x1001a8cc
push 0x100d971e
push eax
call fcn.1008f7eb
mov edi, eax
add esp, 8
test edi, edi
je 0x1001a8cc
push dword [ebp - 0x64]
push 0
push edi
call fcn.10091da0
add esp, 0xc
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae eax, dword [ebp + 8]
push edi
push dword [ebp - 0x64]
push dword [ebp - 0x74]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x1001a8b3
movaps xmm0, xmmword [0x100e8bb0]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0xf100d02
mov dword [ebp - 0x30], 0xc0a1702
mov word [ebp - 0x2c], 0xd
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x43]
xor al, byte [ebp - 0x44]
mov byte [ebp + ecx - 0x2a], al
inc ecx
cmp ecx, 0x18
jb 0x1001a7b0
lea eax, [ebp - 0x7c]
mov byte [ebp - 0x12], 0
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x2a]
push eax
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x1001a8b3
mov eax, dword [ebp - 0x78]
push 0x100d971e
push 0x80
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 0x64], ecx
call fcn.1008f7eb
add esp, 8
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1001a8b3
push 0x80
push 0
push eax
call fcn.10091da0
movaps xmm0, xmmword [0x100e8e50]
add esp, 0xc
movups xmmword [ebp - 0x60], xmm0
xor ecx, ecx
mov dword [ebp - 0x40], 0x3b30393c
movaps xmm0, xmmword [str._tpem9__t]
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0x303834
mov al, byte [ebp + ecx - 0x5f]
xor al, byte [ebp - 0x60]
mov byte [ebp + ecx - 0x38], al
inc ecx
cmp ecx, 0x26
jb 0x1001a845
push dword [ebp - 0x64]
lea eax, [ebp - 0x38]
mov byte [ebp - 0x12], 0
push eax
push 0x80
push dword [ebp - 0x68]
call fcn.10007b40
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x68]
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x1001a8a5
mov edx, dword [ebp - 0x6c]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x64], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a892
sub ecx, dword [ebp - 0x64]
push ecx
push edx
mov ecx, esi
call fcn.10008d80
push edi
call fcn.1008f7ce
mov eax, dword [ebp - 0x68]
add esp, 4
jmp 0x1001a8c3
push edi
call fcn.1008f7ce
mov eax, dword [ebp - 0x68]
add esp, 4
test eax, eax
je 0x1001a8cc
push eax
call fcn.1008f7ce
add esp, 4
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x1001a8fc
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a8f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a919
push ecx
push edx
call fcn.1008f79d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008f445
mov esp, ebp
pop ebp
ret
call fcn.1009b8bf
int3