Function at 0x10029dc0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d9f3d
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x64], ebx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xc]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x70], ecx
movss dword [ebp - 0x68], xmm0
movss dword [ebp - 0x7c], xmm0
movss dword [ebp - 0x74], xmm0
movss dword [ebp - 0x78], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov esi, 0x64
mov ecx, dword [0x101331d8]
mov eax, dword [ebx]
add ecx, 0xffffffc9
xor ecx, 0xe282ef65
cmp dword [ecx + eax], esi
cmovl esi, dword [ecx + eax]
mov ecx, dword [0x100f3f48]
mov eax, esi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
cmp ecx, 0x1f
jne 0x10029e8f
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov byte [ebp - 0x5d], 1
movss dword [ebp - 0x58], xmm0
movss dword [ebp - 0x5c], xmm0
jmp 0x1002a1d8
cmp ecx, 4
je 0x1002a14e
cmp ecx, 0x20
je 0x1002a14e
cmp ecx, 0x3d
je 0x1002a14e
cmp ecx, 2
je 0x1002a14e
cmp ecx, 0x24
je 0x1002a14e
cmp ecx, 0x1e
je 0x1002a14e
cmp ecx, 0x3f
je 0x1002a14e
cmp ecx, 0x28
jne 0x10029f63
movss xmm1, dword [0x100f627c]
movss xmm2, dword [0x100e66c8]
comiss xmm1, xmm2
movss dword [ebp - 0x5c], xmm1
movss dword [ebp - 0x58], xmm1
jbe 0x10029f59
xorps xmm0, xmm0
sub esp, 8
cvtsi2ss xmm0, esi
addss xmm0, xmm1
subss xmm0, xmm2
movss dword [ebp - 0x5c], xmm0
fld dword [ebp - 0x5c]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
xorps xmm0, xmm0
cvtsi2ss xmm0, esi
fstp dword [ebp - 0x5c]
addss xmm0, dword [ebp - 0x58]
subss xmm0, dword [0x100e66c8]
movss dword [ebp - 0x58], xmm0
fld dword [ebp - 0x58]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
movss xmm0, dword [ebp - 0x5c]
add esp, 8
fstp dword [ebp - 0x58]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [ebp - 0x58]
movss dword [ebp - 0x58], xmm0
mov al, byte [0x100f63bc]
jmp 0x1002a1d5
cmp ecx, 0xb
je 0x1002a0c2
cmp ecx, 0x26
je 0x1002a0c2
cmp ecx, 9
jne 0x1002a00a
movss xmm1, dword [0x100f557c]
movss xmm2, dword [0x100e66c8]
comiss xmm1, xmm2
movss dword [ebp - 0x5c], xmm1
movss dword [ebp - 0x58], xmm1
jbe 0x1002a000
xorps xmm0, xmm0
sub esp, 8
cvtsi2ss xmm0, esi
addss xmm0, xmm1
subss xmm0, xmm2
movss dword [ebp - 0x5c], xmm0
fld dword [ebp - 0x5c]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
xorps xmm0, xmm0
cvtsi2ss xmm0, esi
fstp dword [ebp - 0x5c]
addss xmm0, dword [ebp - 0x58]
subss xmm0, dword [0x100e66c8]
movss dword [ebp - 0x58], xmm0
fld dword [ebp - 0x58]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
movss xmm0, dword [ebp - 0x5c]
add esp, 8
fstp dword [ebp - 0x58]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [ebp - 0x58]
movss dword [ebp - 0x58], xmm0
mov al, byte [0x100f56bc]
jmp 0x1002a1d5
movss xmm1, dword [0x100f5bfc]
movss xmm3, dword [0x100e66c8]
movaps xmm2, xmm1
comiss xmm1, xmm3
movss dword [ebp - 0x5c], xmm1
movss dword [ebp - 0x58], xmm2
jbe 0x1002a06b
movd xmm0, esi
sub esp, 8
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
subss xmm0, xmm3
movss dword [ebp - 0x5c], xmm0
fld dword [ebp - 0x5c]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
movss xmm2, dword [ebp - 0x58]
add esp, 8
movss xmm3, dword [0x100e66c8]
fstp dword [ebp - 0x5c]
movss xmm0, dword [ebp - 0x5c]
movss dword [ebp - 0x5c], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x58], xmm2
comiss xmm2, xmm0
jbe 0x1002a0b8
comiss xmm2, xmm3
movss dword [ebp - 0x58], xmm2
jbe 0x1002a0b8
movd xmm0, esi
sub esp, 8
cvtdq2ps xmm0, xmm0
addss xmm0, xmm2
subss xmm0, xmm3
movss dword [ebp - 0x58], xmm0
fld dword [ebp - 0x58]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp dword [ebp - 0x58]
movss xmm0, dword [ebp - 0x58]
add esp, 8
movss dword [ebp - 0x58], xmm0
mov al, byte [0x100f5d3c]
jmp 0x1002a1d5
movss xmm1, dword [0x100f4efc]
movss xmm2, dword [0x100e66c8]
comiss xmm1, xmm2
movss dword [ebp - 0x5c], xmm1
movss dword [ebp - 0x58], xmm1
jbe 0x1002a144
xorps xmm0, xmm0
sub esp, 8
cvtsi2ss xmm0, esi
addss xmm0, xmm1
subss xmm0, xmm2
movss dword [ebp - 0x5c], xmm0
fld dword [ebp - 0x5c]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
xorps xmm0, xmm0
cvtsi2ss xmm0, esi
fstp dword [ebp - 0x5c]
addss xmm0, dword [ebp - 0x58]
subss xmm0, dword [0x100e66c8]
movss dword [ebp - 0x58], xmm0
fld dword [ebp - 0x58]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
movss xmm0, dword [ebp - 0x5c]
add esp, 8
fstp dword [ebp - 0x58]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [ebp - 0x58]
movss dword [ebp - 0x58], xmm0
mov al, byte [0x100f503c]
jmp 0x1002a1d5
movss xmm1, dword [0x100f68fc]
movss xmm2, dword [0x100e66c8]
comiss xmm1, xmm2
movss dword [ebp - 0x5c], xmm1
movss dword [ebp - 0x58], xmm1
jbe 0x1002a1d0
xorps xmm0, xmm0
sub esp, 8
cvtsi2ss xmm0, esi
addss xmm0, xmm1
subss xmm0, xmm2
movss dword [ebp - 0x5c], xmm0
fld dword [ebp - 0x5c]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
xorps xmm0, xmm0
cvtsi2ss xmm0, esi
fstp dword [ebp - 0x5c]
addss xmm0, dword [ebp - 0x58]
subss xmm0, dword [0x100e66c8]
movss dword [ebp - 0x58], xmm0
fld dword [ebp - 0x58]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
movss xmm0, dword [ebp - 0x5c]
add esp, 8
fstp dword [ebp - 0x58]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [ebp - 0x58]
movss dword [ebp - 0x58], xmm0
mov al, byte [0x100f6a3c]
mov byte [ebp - 0x5d], al
mov ecx, dword [0x1013326c]
mov edx, dword [ebp - 0x70]
add ecx, 0xffffffa4
xor ecx, 0xe282ef8a
lea edi, [edx + 0x400]
add ecx, dword [edx]
mov eax, dword [edx + 0x3f8]
mov dword [ecx], eax
mov dword [ecx + 0xc], 0x80
mov esi, dword [edx]
mov ecx, dword [0x10133190]
mov eax, dword [edi]
add ecx, 0xffffffdb
xor ecx, 0xe282ef53
mov dword [ecx + esi], eax
mov eax, dword [edi + 4]
mov dword [ecx + esi + 4], eax
mov eax, dword [edi + 8]
mov dword [ecx + esi + 8], eax
mov ecx, dword [0x1013319c]
mov eax, dword [edx + 0x44]
add ecx, 0xffffffd8
xor ecx, 0xe282ef56
mov dword [ecx + esi], eax
mov eax, dword [edx + 0x48]
mov dword [ecx + esi + 4], eax
mov eax, dword [edx + 0x4c]
mov dword [ecx + esi + 8], eax
mov edx, dword [0x101331a0]
mov ecx, dword [ebp - 0x70]
add edx, 0xffffffd7
xor edx, 0xe282ef57
mov eax, dword [ecx + 0x50]
mov dword [edx + esi], eax
mov eax, dword [ecx + 0x54]
mov dword [edx + esi + 4], eax
mov eax, dword [ecx + 0x58]
mov dword [edx + esi + 8], eax
lea eax, [ecx + 0x68]
mov edx, dword [0x101330c8]
mov ecx, esi
push eax
call edx
mov ecx, dword [ebp - 0x70]
mov eax, dword [0x101330cc]
push edi
mov ecx, dword [ecx]
call eax
mov esi, dword [ebx + 0x1c]
mov edi, dword [ebx + 0x20]
cmp esi, edi
je 0x1002a505
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
mov eax, dword [ebp - 0x70]
push dword [esi]
push dword [eax + 0x3f8]
push eax
call fcn.10028e40
test al, al
je 0x1002a4b2
mov eax, dword [ebp - 0x20]
mov ebx, eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x6c], ecx
cmp ebx, ecx
je 0x1002a4b5
nop dword [eax]
movss xmm0, dword [ebp - 0x5c]
lea edx, [ebp - 0x30]
mov al, byte [ebp - 0x5d]
lea ecx, [ebp - 0x54]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x58]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebx]
mov byte [ebp - 0x38], al
mov eax, dword [ebp - 0x64]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [ebx + 4]
movss dword [ebp - 0x48], xmm0
mov eax, dword [eax]
movss xmm0, dword [ebx + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [0x100f20ac]
mov dword [ebp - 0x54], eax
movss dword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xffffffff
mov byte [ebp - 0x24], 0
call fcn.100c91f0
mov ecx, dword [ebp - 0x20]
test al, al
je 0x1002a430
cmp dword [esi], 0
jne 0x1002a355
cmp dword [ebp - 0x28], 1
jne 0x1002a430
mov edx, dword [esi + 4]
movss xmm2, dword [ebp - 0x2c]
cmp edx, 4
je 0x1002a473
cmp edx, 1
jne 0x1002a43e
mov eax, dword [ebp - 0x64]
mov ecx, dword [0x101331d8]
add ecx, 0xffffffc9
xor ecx, 0xe282ef65
mov eax, dword [eax]
movd xmm0, dword [ecx + eax]
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
jae 0x1002a473
mov ecx, dword [ebp - 0x20]
test edx, edx
jne 0x1002a430
comiss xmm2, dword [ebp - 0x68]
jbe 0x1002a430
movss xmm4, dword [ebx]
movaps xmm1, xmm2
movss xmm0, dword [ecx]
movss xmm2, dword [ebx + 4]
movss xmm3, dword [ebx + 8]
ucomiss xmm0, xmm4
movss dword [ebp - 0x68], xmm1
movss dword [ebp - 0x7c], xmm4
lahf
movss dword [ebp - 0x74], xmm2
movss dword [ebp - 0x78], xmm3
test ah, 0x44
jp 0x1002a430
movss xmm0, dword [ecx + 4]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1002a430
movss xmm0, dword [ecx + 8]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1002a430
mov eax, dword [ebp - 0x64]
mov ecx, dword [0x101331d8]
add ecx, 0xffffffc9
xor ecx, 0xe282ef65
mov eax, dword [eax]
movd xmm0, dword [ecx + eax]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jae 0x1002a4b2
movss dword [ebp - 0x78], xmm3
movss dword [ebp - 0x74], xmm2
movss dword [ebp - 0x7c], xmm4
movss dword [ebp - 0x68], xmm1
add ebx, 0xc
cmp ebx, dword [ebp - 0x6c]
jne 0x1002a2d0
jmp 0x1002a4b2
cmp edx, 3
jne 0x1002a397
mov eax, dword [ebp - 0x64]
movaps xmm1, xmm2
mov ecx, dword [0x101331d8]
mulss xmm1, dword [0x100e6624]
add ecx, 0xffffffc9
xor ecx, 0xe282ef65
mov eax, dword [eax]
movd xmm0, dword [ecx + eax]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jb 0x1002a430
movss xmm1, dword [ebx + 4]
movaps xmm0, xmm2
movss xmm2, dword [ebx + 8]
mov al, 1
movss xmm3, dword [ebx]
movss dword [ebp - 0x6c], xmm2
movss dword [ebp - 0x6c], xmm1
movss dword [ebp - 0x6c], xmm3
movss dword [ebp - 0x68], xmm0
movss dword [ebp - 0x7c], xmm3
movss dword [ebp - 0x74], xmm1
movss dword [ebp - 0x78], xmm2
movss dword [ebp - 0x6c], xmm0
test al, al
jne 0x1002a4c4
mov eax, dword [ebp - 0x20]
add esi, 8
cmp esi, edi
je 0x1002a4c9
mov ebx, dword [ebp - 0x64]
jmp 0x1002a297
mov eax, dword [ebp - 0x20]
jmp 0x1002a4dd
movss xmm0, dword [ebp - 0x68]
movss xmm1, dword [ebp - 0x74]
movss xmm2, dword [ebp - 0x78]
movss xmm3, dword [ebp - 0x7c]
comiss xmm0, dword [0x100e64f4]
jbe 0x1002a508
mov ecx, dword [ebp - 0x80]
mov bl, 1
movss dword [ecx], xmm3
movss dword [ecx + 4], xmm1
movss dword [ecx + 8], xmm2
mov ecx, dword [ebp - 0x84]
movss dword [ecx], xmm0
jmp 0x1002a50a
mov eax, dword [ebp - 0x20]
xor bl, bl
test eax, eax
je 0x1002a556
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [ebp - 0x20]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, ecx
shl edx, 2
cmp edx, 0x1000
jb 0x1002a54c
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002a54c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100d7f21
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100d7aa6
mov esp, ebp
pop ebp
ret 0xc