Function at 0x1003a8f0
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 0x10111bb5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x1013b080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x1014cf4c], 1
jne 0x1003b04e
cmp dword [0x10169370], 0
jne 0x1003aa4b
movaps xmm0, xmmword [0x10129700]
mov eax, 0x10
xorps xmm0, xmmword [0x10129550]
mov dword [ebp - 0x78], 0xdca3c5a7
mov dword [ebp - 0x74], 0xc5a3a3c5
mov word [ebp - 0x70], 0xd0d4
mov byte [ebp - 0x6e], 0xe5
movups xmmword [ebp - 0x88], xmm0
nop word [eax + eax]
xor byte [ebp + eax - 0x88], 0xe5
inc eax
cmp eax, 0x1b
jb 0x1003a980
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a9b0
sub ecx, edx
lea eax, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.1002afa0
mov dword [ebp - 4], 0
mov edx, dword [0x10163ff8]
test edx, edx
je 0x1003a9df
mov edx, dword [edx + 0x50]
jmp 0x1003a9e1
xor edx, edx
mov eax, dword [0x10163ff0]
test eax, eax
je 0x1003a9ef
mov eax, dword [eax + 0x18]
jmp 0x1003a9f1
xor eax, eax
lea ecx, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.10023e40
mov eax, dword [ebp - 0x6c]
xor ecx, ecx
add esp, 8
mov dword [ebp - 4], 0xffffffff
test eax, eax
cmove eax, ecx
mov ecx, dword [ebp - 0x30]
mov dword [0x10169370], eax
cmp ecx, 0xf
jbe 0x1003aa4b
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003aa41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b071
push ecx
push edx
call fcn.100e5a06
add esp, 8
mov eax, dword [0x10164084]
movss xmm0, dword [eax]
movss dword [ebp - 0x6c], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 1
cmp dword [0x1014d000], 0
jne 0x1003abda
push 8
push 0x10126b7c
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0
call fcn.1002afa0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x5c]
test eax, eax
je 0x1003aaff
cvttss2si edi, dword [ebp - 0x6c]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x48], 0xf
lea ecx, [ebp - 0x5c]
mov eax, edi
cmova ecx, esi
xor edx, edx
div dword [ebp - 0x4c]
mov al, byte [edx + ecx]
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x64], al
push dword [ebp - 0x64]
call fcn.1002a350
inc edi
sub dword [ebp - 0x68], 1
jne 0x1003aad6
lea eax, [ebp - 0x44]
mov edx, 0x10126b88
push eax
lea ecx, [ebp - 0x88]
call fcn.1003bb10
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
call fcn.1002f4b0
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x1003ab56
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003ab4c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b06c
push ecx
push edx
call fcn.100e5a06
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp ecx, 0xf
jbe 0x1003aba3
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003ab99
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b071
push ecx
push edx
call fcn.100e5a06
add esp, 8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x48]
cmp eax, 0xf
jbe 0x1003abda
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1003abd0
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b071
push ecx
push esi
call fcn.100e5a06
add esp, 8
cmp dword [0x1014d000], 1
jne 0x1003abf2
push 6
push 0x10126b68
lea ecx, [ebp - 0x2c]
call fcn.10030180
cmp dword [0x1014d000], 2
jne 0x1003ad04
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push str.Osmium
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
call fcn.1002afa0
xorps xmm0, xmm0
xor edx, edx
mov edi, 0xf
mov dword [ebp - 0x4c], edx
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], edi
mov byte [ebp - 0x5c], dl
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x44]
test ecx, ecx
je 0x1003ac81
cvttss2si edi, dword [ebp - 0x6c]
mov dword [ebp - 0x6c], ecx
xor edx, edx
mov eax, edi
div ecx
cmp dword [ebp - 0x30], 0xf
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x5c]
cmova eax, esi
mov al, byte [eax + edx]
mov byte [ebp - 0x64], al
push dword [ebp - 0x64]
call fcn.1002a350
mov ecx, dword [ebp - 0x34]
inc edi
sub dword [ebp - 0x6c], 1
jne 0x1003ac50
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
cmp edi, 0xf
lea eax, [ebp - 0x5c]
push edx
cmova eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
push eax
call fcn.10030180
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1003accd
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003acc3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b071
push ecx
push edx
call fcn.100e5a06
add esp, 8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
cmp eax, 0xf
jbe 0x1003ad04
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1003acfa
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b071
push ecx
push esi
call fcn.100e5a06
add esp, 8
cmp dword [0x1014d000], 3
jne case.default.0x1003ad33
mov eax, dword [0x10164084]
mov ecx, 0x14
movss xmm0, dword [eax + 0x10]
addss xmm0, xmm0
cvttss2si eax, xmm0
cdq
idiv ecx
cmp edx, ecx
ja case.default.0x1003ad33
jmp dword [edx*4 + 0x1003b078]
lea ecx, [ebp - 0x65]
mov byte [ebp - 0x65], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003ad50
jmp 0x1003aff7
lea ecx, [ebp - 0x68]
mov word [ebp - 0x68], 0x4f
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003ad68
lea eax, [ebp - 0x68]
jmp 0x1003affa
lea ecx, [ebp - 0x68]
mov word [ebp - 0x68], 0x734f
mov byte [ebp - 0x66], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003ad87
lea eax, [ebp - 0x68]
jmp 0x1003affa
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], 0x6d734f
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003ada3
lea eax, [ebp - 0x68]
jmp 0x1003affa
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0x696d734f
mov byte [ebp - 0x60], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003adc3
lea eax, [ebp - 0x64]
jmp 0x1003affa
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0x696d734f
mov word [ebp - 0x60], 0x75
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003ade5
lea eax, [ebp - 0x64]
jmp 0x1003affa
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0x696d734f
mov word [ebp - 0x60], 0x75
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003ae07
lea eax, [ebp - 0x64]
jmp 0x1003affa
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0x696d734f
mov word [ebp - 0x60], 0x6d75
lea edx, [ecx + 1]
mov byte [ebp - 0x5e], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003ae30
lea eax, [ebp - 0x64]
jmp 0x1003affa
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0x696d734f
mov word [ebp - 0x60], 0x6d75
lea edx, [ecx + 1]
mov byte [ebp - 0x5e], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003ae56
lea eax, [ebp - 0x64]
jmp 0x1003affa
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0x696d734f
mov word [ebp - 0x60], 0x6d75
lea edx, [ecx + 1]
mov byte [ebp - 0x5e], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003ae80
lea eax, [ebp - 0x64]
jmp 0x1003affa
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0x696d734f
mov word [ebp - 0x60], 0x6d75
lea edx, [ecx + 1]
mov byte [ebp - 0x5e], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003aea6
lea eax, [ebp - 0x64]
jmp 0x1003affa
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0x696d734f
mov word [ebp - 0x60], 0x6d75
lea edx, [ecx + 1]
mov byte [ebp - 0x5e], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003aed0
lea eax, [ebp - 0x64]
jmp 0x1003affa
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0x75696d73
mov word [ebp - 0x60], 0x6d
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003aef2
lea eax, [ebp - 0x64]
jmp 0x1003affa
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0x6d75696d
mov byte [ebp - 0x60], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003af12
lea eax, [ebp - 0x64]
jmp 0x1003affa
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], 0x6d7569
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003af30
lea eax, [ebp - 0x68]
jmp 0x1003affa
lea ecx, [ebp - 0x68]
mov word [ebp - 0x68], 0x6d75
mov byte [ebp - 0x66], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003af50
lea eax, [ebp - 0x68]
jmp 0x1003affa
lea ecx, [ebp - 0x68]
mov word [ebp - 0x68], 0x6d
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003af70
lea eax, [ebp - 0x68]
jmp 0x1003affa
lea ecx, [ebp - 0x65]
mov byte [ebp - 0x65], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003af90
jmp 0x1003aff7
lea ecx, [ebp - 0x65]
mov byte [ebp - 0x65], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003afb0
jmp 0x1003aff7
lea ecx, [ebp - 0x65]
mov byte [ebp - 0x65], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003afd0
jmp 0x1003aff7
lea ecx, [ebp - 0x65]
mov byte [ebp - 0x65], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003aff0
lea eax, [ebp - 0x65]
sub ecx, edx
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10030180
cmp dword [ebp - 0x18], 0xf
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
cmova edx, dword [ebp - 0x2c]
cmova ecx, dword [ebp - 0x2c]
call dword [0x10169370]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1003b04e
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b044
adc byte [eax], al
add byte [edx + 0x10], dh
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b071
push ecx
push edx
call fcn.100e5a06
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100e5586
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100eb92b
call fcn.100eb92b
nop
inc eax
lodsd eax, dword [esi]
add edx, dword [eax]
pop esp
lodsd eax, dword [esi]
add edx, dword [eax]
ja 0x1003b02f
add edx, dword [eax]
xchg esi, eax
lodsd eax, dword [esi]
add edx, dword [eax]
mov dl, 0xad
add edx, dword [eax]
shr byte [ebp - 0x520beffd], cl
add edx, dword [eax]
push ss
scasb al, byte es:[edi]
add edx, dword [eax]
aas
scasb al, byte es:[edi]
add edx, dword [eax]
scasb al, byte es:[edi]
add edx, dword [eax]
invalid