Function at 0x100baa40
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x114
mov eax, dword [0x10423820]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], edi
mov al, byte [edi + 0x210]
mov bl, byte [edi + 0x20e]
mov byte [esp + 0x1f], al
xor eax, eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x17], bl
lea ecx, [eax + 4]
lea eax, [esp + 0x84]
mov dword [eax - 4], 0
lea eax, [eax + 0x28]
mov dword [eax - 0x28], 0
mov dword [eax - 0x24], 0
mov dword [eax - 0x20], 0
sub ecx, 1
jne 0x100baa82
push 0xa0
push ecx
lea eax, [esp + 0x88]
push eax
call fcn.101618e0
xor eax, eax
add esp, 0xc
mov dword [esp + 0x18], eax
cmp dword [edi + 0x54], eax
jle 0x100bb06a
xor esi, esi
mov dword [esp + 0x30], esi
xor edx, edx
xor ecx, ecx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [edi + 0x38]
and ecx, dword [edi + 0x3c]
or edx, ecx
je 0x100baca2
mov esi, dword [edi + 0xc]
xor eax, eax
add esi, dword [esp + 0x30]
test bl, bl
mov dword [esp + 0x78], esi
setg al
inc eax
xor ebx, ebx
mov dword [esp + 0x3c], eax
nop dword [eax]
test ebx, ebx
jne 0x100bab19
mov al, byte [esi + 0x58]
jmp 0x100bab1c
mov al, byte [esi + 0x59]
mov ecx, dword [edi + 0x1d4]
movzx eax, al
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*8]
mov edi, edx
mov dword [esp + 0x34], eax
test edx, edx
jle 0x100bab59
mov eax, dword [ecx + eax*8 + 8]
lea ecx, [edx + edx*4]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x100bab59
mov eax, dword [esp + 0x34]
lea edi, [edx - 1]
mov ecx, dword [esp + 0x24]
mov dword [ecx + eax*8], edi
cmp edi, 1
jne 0x100bac87
test byte [esi], 0x80
mov dl, byte [esp + 0x17]
jne 0x100bab9a
test dl, dl
jg 0x100bab7b
movss xmm0, dword [esi + 0x44]
maxss xmm0, dword [esi + 0x48]
jmp 0x100bab90
test ebx, ebx
jne 0x100bab8b
movss xmm0, dword [esi + 0x40]
maxss xmm0, dword [esi + 0x48]
jmp 0x100bab90
movss xmm0, dword [esi + 0x44]
comiss xmm0, dword [esi + 0x28]
ja 0x100bac87
cmp byte [esp + 0x1f], 0
jle 0x100babb6
mov eax, dword [esp + 0x28]
movsx eax, byte [eax + 0x210]
cmp dword [esp + 0x18], eax
jge 0x100babb6
xor ecx, ecx
jmp 0x100babbb
mov ecx, 1
test dl, dl
jle 0x100babc7
test ebx, ebx
jne 0x100babc7
xor eax, eax
jmp 0x100babcc
mov eax, 2
add eax, ecx
lea edx, [esp + 0x80]
mov dword [esp + 0x7c], eax
lea eax, [eax + eax*4]
cmp dword [edx + eax*8 + 0x10], 0
lea edx, [edx + eax*8]
jne 0x100bac01
mov dword [edx], 0x7f7fffff
mov dword [edx + 4], 0x7f7fffff
mov dword [edx + 8], 0xff7fffff
mov dword [edx + 0xc], 0xff7fffff
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr ecx, 5
and eax, 0x1f
mov dword [esp + 0x2c], eax
mov esi, dword [esp + 0x2c]
mov eax, dword [edx + ecx*4 + 0x14]
bts eax, esi
mov esi, dword [esp + 0x78]
mov dword [edx + ecx*4 + 0x14], eax
inc dword [edx + 0x10]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
movss xmm0, dword [edx]
mov eax, dword [ecx + eax*8 + 8]
movss xmm4, dword [eax]
comiss xmm0, xmm4
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
movss xmm3, dword [eax + 0xc]
jbe 0x100bac53
movss dword [edx], xmm4
movss xmm0, dword [edx + 4]
comiss xmm0, xmm1
jbe 0x100bac62
movss dword [edx + 4], xmm1
comiss xmm2, dword [edx + 8]
jbe 0x100bac6d
movss dword [edx + 8], xmm2
comiss xmm3, dword [edx + 0xc]
jbe 0x100bac78
movss dword [edx + 0xc], xmm3
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x7c]
bts ecx, eax
mov dword [esp + 0x20], ecx
mov edi, dword [esp + 0x28]
inc ebx
cmp ebx, dword [esp + 0x3c]
jl 0x100bab10
mov bl, byte [esp + 0x17]
mov byte [esi + 0x57], 0xff
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
add esi, 0x68
inc eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], eax
cmp eax, dword [edi + 0x54]
jl 0x100baad1
cmp dword [esp + 0x20], 0
je 0x100bb06a
mov ecx, dword [esp + 0x38]
lea eax, [edi + 0x1c8]
mov esi, dword [eax]
add ecx, 0x1f54
sub esi, 2
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], eax
mov ebx, dword [ecx + 4]
cmp esi, ebx
jle 0x100bad25
test ebx, ebx
je 0x100bacfb
mov eax, ebx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, ebx
jmp 0x100bad00
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, dword [esp + 0x34]
push eax
call fcn.100bdfe0
mov ecx, dword [esp + 0x34]
lea eax, [edi + 0x1c8]
mov dword [esp + 0x2c], eax
lea eax, [edi + 0x1c8]
mov dword [ecx], esi
mov ebx, 2
mov eax, dword [eax]
xorps xmm0, xmm0
mov esi, dword [esp + 0x38]
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], 0
lea edx, [eax - 1]
mov dword [esp + 0x18], eax
mov esi, dword [esi + 0x1f5c]
mov dword [esp + 0x24], esi
cmp edx, ebx
jl 0x100badc6
mov esi, edx
and esi, 0x1f
mov dword [esp + 0x3c], esi
mov eax, ebx
mov edi, ebx
or eax, 0x1f
sar edi, 5
cmp edx, eax
mov ecx, 0x1f
cmovle ecx, esi
xor esi, esi
inc ecx
xor eax, eax
bts esi, ecx
cmp ecx, 0x20
mov ecx, ebx
cmovae eax, esi
xor edx, edx
xor esi, eax
and ecx, 0x1f
bts edx, ecx
dec esi
xor eax, eax
cmp ecx, 0x20
cmovae eax, edx
add ebx, 0x20
xor edx, eax
and ebx, 0xffffffe0
neg edx
and esi, edx
mov edx, dword [esp + 0x18]
or dword [esp + edi*4 + 0x50], esi
dec edx
mov esi, dword [esp + 0x3c]
cmp ebx, edx
jle 0x100bad60
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
lea eax, [edi + 0x1c8]
mov dword [esp + 0x2c], eax
movzx edx, byte [edi + 0x214]
movups xmm0, xmmword [edi + 0x144]
mov ecx, edx
and edx, 0x1f
shr ecx, 5
movups xmmword [esp + 0x40], xmm0
movss xmm2, dword [esp + 0x4c]
mov eax, dword [esp + ecx*4 + 0x50]
movss xmm3, dword [esp + 0x48]
btr eax, edx
mov dl, byte [esp + 0x17]
movss xmm5, dword [esp + 0x44]
movss xmm4, dword [esp + 0x40]
mov dword [esp + ecx*4 + 0x50], eax
xor eax, eax
test dl, dl
setg al
add eax, 2
sub dword [esp + 0x18], eax
xor ebx, ebx
mov dword [esp + 0x30], ebx
nop dword [eax]
lea eax, [ebx + ebx*4]
shl eax, 3
mov ecx, dword [esp + eax + 0x90]
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x100baf90
lea edi, [esp + 0x80]
mov edx, ebx
add edi, eax
movups xmm1, xmmword [edi]
movaps xmmword [esp + 0x40], xmm1
and edx, 1
je 0x100bae58
cmp byte [esp + 0x1f], 0
jg 0x100bae68
comiss xmm4, xmm1
ja 0x100bae68
movss dword [esp + 0x40], xmm4
movaps xmm1, xmmword [esp + 0x40]
mov eax, ebx
and eax, 2
je 0x100bae76
cmp byte [esp + 0x17], 0
jg 0x100bae8d
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
comiss xmm5, xmm0
ja 0x100bae8d
movss dword [esp + 0x44], xmm5
movaps xmm1, xmmword [esp + 0x40]
test edx, edx
je 0x100baea8
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
comiss xmm0, xmm3
jae 0x100baea8
movss dword [esp + 0x48], xmm3
movaps xmm1, xmmword [esp + 0x40]
test eax, eax
je 0x100baed0
mov eax, dword [esp + 0x28]
test dword [eax + 4], 0x20000
jne 0x100baed0
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xff
comiss xmm0, xmm2
jae 0x100baed0
movss dword [esp + 0x4c], xmm2
movaps xmm1, xmmword [esp + 0x40]
mov eax, dword [esp + 0x18]
xor edx, edx
sub eax, dword [edi + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x14]
not eax
and dword [esp + 0x50], eax
mov eax, dword [edi + 0x18]
not eax
and dword [esp + 0x54], eax
mov eax, dword [edi + 0x1c]
not eax
and dword [esp + 0x58], eax
mov eax, dword [edi + 0x20]
not eax
and dword [esp + 0x5c], eax
mov eax, dword [edi + 0x24]
not eax
and dword [esp + 0x60], eax
mov eax, dword [esp + 0x2c]
cmp dword [eax], edx
jle 0x100baf88
xor ebx, ebx
test ecx, ecx
je 0x100baf84
mov esi, edx
mov ecx, edx
and ecx, 0x1f
sar esi, 5
mov eax, 1
shl eax, cl
test dword [edi + esi*4 + 0x14], eax
je 0x100baf70
mov eax, dword [edi + esi*4 + 0x14]
dec dword [esp + 0x20]
btr eax, ecx
mov dword [edi + esi*4 + 0x14], eax
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov ecx, dword [eax + 0x1d4]
mov eax, dword [ecx + ebx + 8]
movups xmmword [eax], xmm1
mov eax, esi
add esi, 0x18
movups xmm0, xmmword [ecx + ebx]
mov dword [esp + 0x24], esi
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + ebx + 0x10]
movq qword [eax + 0x10], xmm0
jmp 0x100baf74
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
inc edx
mov ecx, dword [esp + 0x20]
add ebx, 0x18
cmp edx, dword [eax]
jl 0x100baf14
mov ebx, dword [esp + 0x30]
mov dl, byte [esp + 0x17]
mov edi, dword [esp + 0x28]
cmp ebx, 1
jne 0x100bafce
test dl, dl
jle 0x100bafce
movzx eax, byte [edi + 0x214]
mov edx, esi
add esi, 0x18
inc ebx
mov dword [esp + 0x24], esi
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x1d4]
movups xmm0, xmmword [eax + ecx*8]
movups xmmword [edx], xmm0
movq xmm0, qword [eax + ecx*8 + 0x10]
movq qword [edx + 0x10], xmm0
mov dl, byte [esp + 0x17]
jmp 0x100bae18
inc ebx
mov dword [esp + 0x30], ebx
cmp ebx, 4
jl 0x100bae20
mov eax, dword [edi + 0x1c8]
xor ebx, ebx
test eax, eax
jle 0x100bb043
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
test edx, edx
je 0x100bb043
mov eax, ebx
mov ecx, ebx
and ecx, 0x1f
sar eax, 5
mov edx, 1
shl edx, cl
test dword [esp + eax*4 + 0x50], edx
mov edx, dword [esp + 0x18]
je 0x100bb033
mov eax, dword [edi + 0x1d4]
mov ecx, esi
add eax, dword [esp + 0x20]
add esi, 0x18
dec edx
mov dword [esp + 0x18], edx
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
add dword [esp + 0x20], 0x18
inc ebx
mov eax, dword [edi + 0x1c8]
cmp ebx, eax
jl 0x100baff0
lea eax, [eax + eax*2]
lea eax, [eax*8 - 0x30]
push eax
mov eax, dword [esp + 0x3c]
push dword [eax + 0x1f5c]
mov eax, dword [edi + 0x1d4]
add eax, 0x30
push eax
call fcn.10161360
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret