Function at 0x40d1f0
Capabilities:
Encode data using base64
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and dword [0x44450c], 0x1c240410
fld1
and dword [0x440214], 0x3246e0fe
mov eax, dword [0x444f90]
mov ecx, dword [0x44983c]
not eax
imul eax, eax, 0x3d5c20b2
sar ecx, 2
and ecx, eax
sub esp, 0x18
cmp ecx, 0xc26dd7e3
jge 0x40d290
fld dword [0x4762b4]
fmul qword [0x44f738]
fld dword [0x47e004]
fmul dword [0x4797d8]
fld dword [0x47e004]
fsub st(3)
fstp dword [0x47e004]
fld dword [0x4762b4]
fadd st(3)
fstp dword [0x4762b4]
fxch st(1)
fcompi st(1)
fstp st(0)
jb 0x40d290
fld dword [0x47a1c0]
fld dword [0x47d0d0]
fadd qword [0x459cd8]
fsubp st(1)
fstp dword [0x47a1c0]
fsubr qword [0x459cd8]
fstp qword [0x459cd8]
jmp 0x40d292
fstp st(0)
movzx edx, word [0x46e7fc]
push ebx
push esi
push edi
or edx, 0x326b0ded
mov word [0x46e7fc], dx
push 0x41
mov dword [0x449960], 0xb9707f5c
add dword [0x447e3c], 0xb38baa33
push 0x27a8
xor ebx, ebx
call fcn.004331e0
push 4
fld qword [0x44d6d0]
push 0x1f5d
fmul qword [0x44fa50]
mov dword [ebp - 0xc], eax
fstp qword [0x44d6d0]
call fcn.004331e0
mov esi, eax
mov eax, dword [0x4464e4]
imul eax, eax, 0x1c05d1f3
lea ecx, [ebp - 0x10]
push esi
mov dword [0x4464e4], eax
push ecx
call fcn.004301f0
mov edx, dword [0x43e084]
not edx
push 4
mov dword [0x4481fc], edx
push 0xb5
call fcn.004331e0
mov edi, eax
movzx eax, word [0x46b3c8]
or eax, 0x3f4a4fdc
push esi
mov word [0x46b3c8], ax
push 4
call fcn.0040a430
add dword [0x43cacc], 0xbbc96004
lea ecx, [ebp - 0x14]
push edi
push ecx
call fcn.004301f0
movzx edx, word [0x46b4d4]
xor edx, 0x4a58c9cf
push 4
mov word [0x46b4d4], dx
push 0x1197
call fcn.004331e0
mov esi, eax
mov eax, dword [0x440e88]
add esp, 0x38
cmp eax, 0xffc7ced0
jl 0x40d38d
add dword [0x447c9c], 0xb93feff7
push edi
push 4
call fcn.0040a430
lea ecx, [ebp - 0x18]
push esi
mov dword [0x43c4b0], 0x24196fa0
push ecx
call fcn.004301f0
fld dword [0x475b0c]
fsub qword [0x4596a8]
add esp, 0x10
fld qword [0x461120]
fld dword [0x47b6e4]
faddp st(2)
fld qword [0x4596a8]
fld1
fsub st(1), st(0)
fxch st(1)
fstp qword [0x4596a8]
fsubr qword [0x461120]
fstp qword [0x461120]
fxch st(1)
fcompi st(1)
fstp st(0)
jb 0x40d3fe
fld dword [0x477368]
fmul dword [0x476c18]
fstp dword [0x477368]
push esi
push 4
call fcn.0040a430
inc word [0x46f4a0]
mov dx, word [0x46f4a0]
movsx eax, dx
add esp, 8
cmp eax, 0xbc57efc
jle 0x40d433
mov ecx, dword [0x449948]
imul ecx, ecx, 0xa518a283
mov dword [0x449948], ecx
mov edi, dword [ebp + 0x14]
cmp dword [ebp + 0xc], ebx
je 0x40d87c
mov ecx, 1
jmp 0x40d450
mov edx, dword [0x43f64c]
mov eax, dword [0x43fb34]
and edx, eax
mov dword [0x43f64c], edx
fld dword [0x475f0c]
fadd dword [0x472ee0]
mov edx, dword [ebp + 8]
sub dword [ebp + 0xc], ecx
fstp dword [0x475f0c]
mov al, byte [edx]
mov byte [ebp + ebx - 4], al
add dword [0x445468], 0x3002889
fld dword [0x47ff04]
fmul qword [0x461de0]
add ebx, ecx
fsub dword [0x477970]
fld dword [0x47ea30]
fld dword [0x47ff04]
fadd qword [0x43b0b0]
fstp dword [0x47ff04]
fxch st(1)
fucompi st(1)
fstp st(0)
lahf
test ah, 0x44
jp 0x40d4d7
fld dword [0x472130]
fadd dword [0x47b528]
fstp dword [0x472130]
jmp 0x40d4f9
add word [0x46f228], cx
mov dx, word [0x46f228]
movsx eax, dx
cmp eax, 0x79a235d9
jge 0x40d4f9
add dword [0x43e3a0], 0xee9c19cf
mov edx, dword [0x448060]
add dword [ebp + 8], ecx
add dword [0x448060], ecx
sub edx, 0x6f5406
or edx, 0xc39980b5
cmp edx, 0xa88ce353
jle 0x40d52e
movzx eax, word [0x46ac50]
xor eax, 0xa46f59fb
mov word [0x46ac50], ax
cmp ebx, 3
jne 0x40d862
mov ecx, dword [0x43f6bc]
mov eax, 0xa613acaf
sub eax, ecx
add dword [0x43dd7c], eax
mov ax, word [0x46d574]
movzx edx, byte [ebp - 4]
cwde
xor eax, 0xf810b9ea
shr dl, 2
mov byte [ebp - 8], dl
and dword [0x43e240], eax
mov cl, byte [ebp - 4]
fld dword [0x4795ec]
and cl, bl
fadd dword [0x477078]
shl cl, 4
mov byte [ebp - 7], cl
fmul dword [0x4795f0]
movzx edx, byte [ebp - 3]
shr dl, 4
add byte [ebp - 7], dl
fstp dword [0x4795f0]
fld dword [0x47e438]
fadd qword [0x4644b0]
mov al, byte [ebp - 3]
and al, 0xf
add al, al
fstp dword [0x47dc68]
mov ecx, dword [0x43fc50]
add al, al
add ecx, 0x413efaeb
cmp ecx, 0xfcfffe3f
mov byte [ebp - 6], al
jl 0x40d5d7
fld dword [0x479da8]
fsub dword [0x47fc74]
fstp dword [0x479da8]
mov dl, byte [ebp - 2]
shr dl, 6
add byte [ebp - 6], dl
add dword [0x446a88], 0x8be698b1
mov al, byte [ebp - 2]
mov cx, word [0x46a034]
mov edx, dword [0x43c088]
and al, 0x3f
mov byte [ebp - 5], al
movsx eax, cx
add eax, 0x6fed800f
and eax, 0xdc89ffd9
or edx, 0xffd69232
cmp edx, eax
jl 0x40d647
dec dword [0x444810]
mov ax, word [0x46b97e]
mov ecx, dword [0x444810]
cwde
shl eax, 8
and ecx, 0x85e88594
xor ecx, eax
cmp ecx, 0xef3ffc04
jge 0x40d647
mov edx, dword [0x44892c]
mov eax, dword [0x43c8b8]
movzx ecx, word [0x46ffd0]
xor esi, esi
xor ecx, 0xb32dd7a9
mov word [0x46ffd0], cx
lea ecx, [ecx]
add dword [0x4491fc], 0x5808403
cmp byte [ebp + 0x10], 0
je 0x40d7d0
mov al, byte [ebp + esi - 8]
cmp al, 0x3d
jbe 0x40d7d0
mov edx, dword [0x449044]
imul edx, edx, 0x16b23080
mov dword [0x449044], edx
cmp al, 0x3e
jne 0x40d6ec
fld dword [0x475348]
lea eax, [ebp - 0x10]
fsub qword [0x466448]
push eax
mov ecx, edi
fstp qword [0x460798]
call fcn.0040c2d0
mov cx, word [0x46bf7a]
mov edx, dword [0x442f3c]
movsx eax, cx
imul eax, eax, 0x494ce2c6
add edx, 0x513f6661
cmp edx, eax
jle 0x40d75a
mov eax, dword [0x448bf8]
mov ecx, dword [0x43d1ac]
imul eax, ecx
mov dword [0x448bf8], eax
jmp 0x40d75a
mov dx, word [0x46f8ac]
movsx eax, dx
lea ecx, [ebp - 0x14]
push ecx
mov dword [0x449670], eax
mov ecx, edi
call fcn.0040c2d0
mov eax, dword [0x448840]
mov edx, dword [0x43d450]
imul eax, eax, 0xb3fa0de
dec dword [0x448840]
add eax, 0x8de2d561
sub edx, 0x515e7583
cmp eax, edx
je 0x40d75a
mov ax, word [0x46f07c]
inc word [0x46f07c]
movsx ecx, ax
sub ecx, 0xa3f4df3
xor ecx, 0x3e10a36a
cmp ecx, 0xaaf0c93c
jne 0x40d75a
add dword [0x43edf8], 0x42c9fb77
mov edx, dword [0x44ad84]
dec dword [0x44ad84]
cmp edx, 0x2e187712
jg 0x40d823
fld dword [0x479990]
fadd dword [0x47b1cc]
fadd dword [0x47204c]
fld qword [0x4532b0]
fld qword [0x4532b0]
fld1
fadd st(1), st(0)
fxch st(1)
fstp qword [0x4532b0]
fsubr dword [0x47204c]
fstp dword [0x47204c]
fxch st(1)
fcompi st(1)
fstp st(0)
jb 0x40d7bc
add dword [0x44a7e0], 0xbf2a31f8
jmp 0x40d823
fld qword [0x463798]
fsub qword [0x44e5d8]
fstp qword [0x463798]
jmp 0x40d823
fld dword [0x474af0]
mov ecx, dword [ebp - 0xc]
fsub dword [0x47f250]
movzx eax, byte [ebp + esi - 8]
fstp dword [0x474af0]
movzx edx, byte [eax + ecx]
push edx
mov ecx, edi
call fcn.00421a50
dec dword [0x442150]
mov eax, dword [0x441a78]
mov ecx, dword [0x442150]
sar eax, 3
add eax, 0x80133121
sub ecx, 0x6efbf59e
cmp ecx, eax
jne 0x40d823
add dword [0x443e78], 0x3ea43790
or dword [0x440418], 0xda859af5
inc esi
mov dword [0x448068], 0xea5bd77e
cmp esi, 4
jne 0x40d660
mov edx, dword [0x447288]
imul edx, edx, 0xbeffe7ef
mov dword [0x447288], edx
xor ebx, ebx
add dword [0x44ab78], 0x5ffdf760
lea ecx, [esi - 3]
mov eax, dword [0x4427e8]
imul eax, eax, 0x13402921
cmp dword [ebp + 0xc], 0
mov dword [0x4427e8], eax
jne 0x40d450
mov ecx, dword [0x449ea4]
imul ecx, ecx, 0xb6445706
mov dword [0x449ea4], ecx
test ebx, ebx
je 0x40dda4
mov edx, dword [0x43dcd8]
imul edx, edx, 0xb459bedb
mov dword [0x43dcd8], edx
mov eax, dword [0x442654]
not eax
add eax, 0x1d53f579
cmp eax, 0x2914551
jg 0x40d8c7
xor dword [0x43f078], 0x68b7ddaf
jmp 0x40d8d1
or dword [0x44087c], 0x529dc99d
cmp ebx, 3
jge 0x40d92b
mov esi, 3
sub esi, ebx
push esi
lea eax, [ebp + ebx - 4]
push 0
push eax
call fcn.004096f0
add esp, 0xc
or ecx, 0xffffffff
movzx edx, word [0x46afca]
xor edx, 0x9a4d12fe
mov word [0x46afca], dx
mov eax, dword [0x43ece8]
imul eax, eax, 0x3ef16630
xor dword [0x446fac], eax
add dword [0x43ece8], ecx
sub esi, 1
mov eax, 0x672d
mov word [0x4713ce], ax
jne 0x40d8f0
mov ecx, dword [0x4476f0]
mov dl, byte [ebp - 4]
imul ecx, ecx, 0xc8310085
mov dword [0x4476f0], ecx
mov eax, dword [0x446de4]
shr dl, 2
cmp eax, 0xd40bafc0
mov byte [ebp - 8], dl
jg 0x40d95c
or dword [0x4407bc], 0x75f84a02
mov edx, dword [0x445b84]
mov cl, byte [ebp - 4]
and cl, 3
not edx
shl cl, 4
xor edx, 0x9381252
cmp edx, 0x16d783bd
mov byte [ebp - 7], cl
jg 0x40d9b0
fld dword [0x47975c]
fmul qword [0x451bc8]
fmul dword [0x47ef74]
fmul qword [0x45de20]
fstp qword [0x45de20]
fld qword [0x451bc8]
fld1
fadd st(1), st(0)
fxch st(1)
fstp qword [0x451bc8]
jmp 0x40d9b2
fld1
mov cx, word [0x46bbe6]
mov al, byte [ebp - 3]
mov edx, dword [0x442730]
shr al, 4
add byte [ebp - 7], al
movsx eax, cx
mov cl, byte [ebp - 3]
not eax
lea eax, [edx + eax + 0x53ba3477]
mov dword [0x442730], eax
and cl, 0xf
fld qword [0x460e88]
add cl, cl
fsub qword [0x44b840]
add cl, cl
fld dword [0x47917c]
mov byte [ebp - 6], cl
fmul qword [0x44ba88]
fmul dword [0x4799b4]
fld dword [0x47917c]
fadd st(3)
fstp dword [0x47917c]
fld qword [0x44b840]
fsub st(3)
fstp qword [0x44b840]
fxch st(1)
fcompi st(1)
fstp st(0)
jb 0x40da40
mov edx, dword [0x43fea4]
fstp st(0)
not edx
sub edx, 0x160a504d
mov dword [0x4490ac], edx
jmp 0x40da6a
fld qword [0x4534b0]
fmul qword [0x456aa0]
fmul dword [0x47d1b0]
fmul dword [0x47d288]
fstp dword [0x47d288]
fsubr qword [0x456aa0]
fstp qword [0x456aa0]
movzx ecx, word [0x4709e2]
mov al, byte [ebp - 2]
imul ecx, ecx, 0xaa10f12f
mov dl, byte [ebp - 2]
shr al, 6
add byte [ebp - 6], al
mov word [0x4709e2], cx
mov eax, dword [0x4421f0]
and dl, 0x3f
shl eax, 6
cmp eax, 0x70180810
mov byte [ebp - 5], dl
jl 0x40dad7
fld qword [0x45aa28]
fld dword [0x47c63c]
fmul dword [0x477cb8]
fsubp st(1)
fld dword [0x47cc30]
fxch st(1)
fucompi st(1)
fstp st(0)
lahf
test ah, 0x44
jp 0x40dacd
mov ecx, dword [0x44aee8]
jmp 0x40dad7
add dword [0x442188], 0xee468a32
fld dword [0x476548]
xor esi, esi
fadd dword [0x4780f0]
fadd dword [0x47a574]
fadd dword [0x471a50]
fstp dword [0x471a50]
fld dword [0x479b8c]
fmul qword [0x45c378]
fstp dword [0x479b8c]
test ebx, ebx
jl 0x40dc6c
mov edi, 0x46ebad64
jmp 0x40db20
movzx edx, word [0x46aa7a]
imul edx, edx, 0xcaab82fa
cmp byte [ebp + 0x10], 0
mov word [0x46aa7a], dx
je 0x40dbb7
mov al, byte [ebp + esi - 8]
cmp al, 0x3d
jbe 0x40dbb7
movzx ecx, word [0x46ad06]
sub ecx, 0x535eee8
mov word [0x46ad06], cx
cmp al, 0x3e
jne 0x40db85
add dword [0x443b5c], 0xf7ffedf7
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x10]
push edx
call fcn.0040c2d0
mov dword [0x4464d0], edi
or dword [0x441d70], 0xe492d260
jmp 0x40dc05
mov eax, dword [0x44a410]
imul eax, eax, 0xe7ed9fff
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 0x14]
mov dword [0x44a410], eax
call fcn.0040c2d0
mov dword [0x447754], 0x7dbc7fb7
or dword [0x441d70], 0xe492d260
jmp 0x40dc05
inc dword [0x44a64c]
mov eax, dword [0x44a64c]
mov edx, dword [0x4442e8]
mov ecx, dword [ebp - 0xc]
xor eax, edx
or dword [0x447e74], eax
movzx eax, byte [ebp + esi - 8]
movzx edx, byte [eax + ecx]
mov ecx, dword [ebp + 0x14]
push edx
call fcn.00421a50
fld qword [0x4617c0]
fld dword [0x47773c]
fucompi st(1)
fstp st(0)
lahf
test ah, 0x44
jp 0x40dc05
add dword [0x440af8], 0x20202004
mov eax, dword [0x443380]
sar eax, 3
xor eax, 0xdab42d27
cmp eax, 0x43d3e0e2
jg 0x40dc3d
fld dword [0x47ee20]
fmul dword [0x47e838]
fstp dword [0x4746c0]
fld dword [0x47ee20]
fadd qword [0x43b0b0]
fstp dword [0x47ee20]
movzx ecx, word [0x46b5de]
sub ecx, 0x76f3d9aa
mov word [0x46b5de], cx
inc esi
cmp esi, ebx
fld dword [0x479b8c]
fmul qword [0x45c378]
fstp dword [0x479b8c]
jle 0x40db20
cmp ebx, 3
fld qword [0x4644c0]
fmul qword [0x45ee50]
fstp dword [0x4724a4]
jge 0x40dd9a
mov esi, 3
sub esi, ebx
mov edi, 0x20000008
mov ebx, 0x54d73880
jmp 0x40dca0
mov dx, word [0x4709ac]
movsx eax, dx
imul eax, eax, 0xde76d810
cmp eax, 0x5b5f3468
jne 0x40dcc1
xor dword [0x443c6c], 0x7518aa0
cmp byte [ebp + 0x10], 0
fld dword [0x476cc8]
fstp dword [0x473f30]
je 0x40dd2b
mov ecx, dword [0x448ff0]
imul ecx, ecx, 0x77d04014
cmp ecx, 0xea12403a
jge 0x40dcef
add dword [0x43d5b0], edi
jmp 0x40dcf5
or dword [0x446430], ebx
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x18]
push edx
call fcn.0040c2d0
mov eax, dword [0x4437c0]
sub eax, 0x4934f1d1
xor eax, 0xf2739d78
cmp eax, 0x2f9a427c
jl 0x40dd69
mov ecx, dword [0x441ecc]
add ecx, dword [0x43d550]
mov dword [0x441ecc], ecx
jmp 0x40dd69
movzx edx, word [0x46a7b8]
mov ecx, dword [ebp + 0x14]
or edx, 0x55bcf746
mov word [0x46a7b8], dx
push 0x3d
call fcn.00421a50
fld dword [0x4732c8]
fld dword [0x479b94]
fadd dword [0x479074]
fadd qword [0x44fae0]
fsubp st(1)
fstp dword [0x4732c8]
mov ax, word [0x46a212]
movzx ecx, word [0x470c3e]
cwde
add eax, 0x39350287
or eax, 0x8290d09d
add ecx, eax
mov word [0x470c3e], cx
dec word [0x46a212]
sub esi, 1
jne 0x40dca0
xor dword [0x44a830], 0xe2fc93e1
mov esi, 1
add dword [0x43c2ec], esi
mov dx, word [0x46ce20]
mov ecx, dword [0x43c2ec]
movsx eax, dx
mov edx, dword [ebp - 0xc]
shl eax, 6
add eax, 0xc3193084
push edx
xor ecx, eax
mov dword [0x448bf0], ecx
push 0x41
call fcn.0040a430
add word [0x46bfee], si
mov ax, word [0x46bfee]
movsx ecx, ax
add esp, 8
cmp ecx, 0xc752a427
jl 0x40de01
or dword [0x445c48], 0x87ef25e8
jmp 0x40de1e
mov dx, word [0x46b8de]
movsx eax, dx
imul eax, eax, 0x13c0153
add dword [0x449824], eax
add word [0x46b8de], si
push 4
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.004096f0
mov ecx, dword [0x443908]
add esp, 0xc
pop edi
pop esi
pop ebx
cmp ecx, 0xa233f53d
jne 0x40de73
dec dword [0x43d1ac]
mov edx, dword [0x43d1ac]
imul edx, edx, 0x603cba37
sub edx, 0x13384bfc
cmp edx, 0xc2bbdd53
jne 0x40ded5
movzx eax, word [0x46a8c0]
and eax, 0x8f1d6d29
mov word [0x46a8c0], ax
jmp 0x40ded5
fld dword [0x47df10]
fld dword [0x473ad0]
fld qword [0x44e190]
fld dword [0x47f84c]
fmulp st(2)
fxch st(2)
fsubrp st(1)
fld dword [0x473ad0]
fsub qword [0x43b0b0]
fstp dword [0x473ad0]
fxch st(1)
fcompi st(1)
fstp st(0)
jb 0x40dec3
mov ecx, dword [0x43e35c]
shl ecx, 9
mov edx, 0x7e20e702
sub edx, ecx
mov dword [0x4433e8], edx
jmp 0x40ded5
movzx eax, word [0x46a670]
or eax, 0x356defdc
mov word [0x46a670], ax
push 4
lea ecx, [ebp - 0x14]
push 0
push ecx
call fcn.004096f0
fld dword [0x4763d8]
fmul qword [0x457308]
push 4
lea edx, [ebp - 0x18]
push 0
fstp dword [0x47e938]
push edx
call fcn.004096f0
add esp, 0x18
or dword [0x43dd90], 0x4826c96b
mov esp, ebp
pop ebp
ret