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

Disassembly:
movzx eax, word [0x45eeee]
sub esp, 0x18
imul eax, eax, 0x3d8f55ca
mov word [0x45eeee], ax
movzx eax, word [0x45e7f2]
sub eax, 0x3137048c
mov word [0x45e7f2], ax
movsx eax, word [0x464c10]
dec word [0x464c10]
and eax, 0xb6331218
cmp eax, 0x4100982
jl 0x40b96b
mov eax, dword [0x46b8c0]
mov ecx, dword [0x472c10]
add eax, 0xe0442a36
imul ecx, eax
mov dword [0x472c10], ecx
inc dword [0x4769d0]
mov eax, dword [0x4769d0]
mov ecx, dword [0x4732f8]
xor ecx, eax
cmp ecx, 0x9c585e3a
jg 0x40b995
imul eax, dword [0x468b00], 0x26d7d492
mov dword [0x468b00], eax
push ebx
push ebp
push esi
mov dword [0x4720cc], 0x9161195
xor esi, esi
movsx eax, word [0x45a2cc]
push edi
and eax, 0x512100c
xor dword [0x46bd20], eax
dec word [0x45a2cc]
push 0x41
push 0x359a
call fcn.00422840
dec dword [0x46b1f0]
add esp, 8
mov ecx, dword [0x46b1f0]
imul ecx, ecx, 0xfe58d406
mov dword [esp + 0x18], eax
xor ecx, dword [0x47fb40]
cmp ecx, 0xf6fbfd4f
jge 0x40b9fb
add dword [0x476260], 0xa8489de3
push 4
push 0x28b3
call fcn.00422840
add esp, 8
mov edi, eax
cmp dword [0x47bb90], 0x3e7f9b1e
jle 0x40ba2c
movzx ecx, word [0x46081c]
sub ecx, 0x5721862e
mov word [0x46081c], cx
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.0042af30
mov eax, dword [0x4746ac]
add esp, 8
dec dword [0x4746ac]
cmp eax, 0x91659e87
jne 0x40ba64
mov eax, dword [0x470a34]
mov ecx, 0xcc7bec50
sub ecx, eax
or dword [0x47c708], ecx
dec dword [0x470a34]
push 4
push 0x15d1
call fcn.00422840
movzx ecx, word [0x45e232]
mov ebx, eax
xor ecx, 0x20221580
push edi
mov word [0x45e232], cx
push 4
call fcn.00429ff0
mov ecx, dword [0x47d61c]
mov eax, 0x82ce79d8
shl ecx, 3
sub eax, ecx
or dword [0x4770f8], eax
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.0042af30
movsx eax, word [0x4610d0]
add esp, 0x18
not eax
imul eax, eax, 0x1f5231e6
sub eax, 0x4faf7242
cmp eax, 0xab16a680
jge 0x40bad7
or dword [0x47d3a4], 0x125ef1cd
push 4
push 0x2399
call fcn.00422840
dec word [0x460eee]
mov edi, eax
mov cx, word [0x460eee]
movsx ecx, cx
or ecx, dword [0x47ab68]
push ebx
mov dword [0x47ab68], ecx
push 4
call fcn.00429ff0
add dword [0x4743c0], 0xdff7c123
lea eax, [esp + 0x34]
push edi
push eax
call fcn.0042af30
mov eax, dword [0x471f08]
add esp, 0x18
dec dword [0x471f08]
and eax, 0x2680a6a8
cmp eax, 0xd6344775
jl 0x40bb59
inc dword [0x465f1c]
mov eax, dword [0x465f1c]
and eax, 0x68cf244e
xor eax, dword [0x47dca0]
xor eax, 0x1c9d53f0
mov dword [0x47dca0], eax
push edi
push 4
call fcn.00429ff0
dec dword [0x479414]
add esp, 8
mov eax, dword [0x479414]
mov edi, dword [esp + 0x30]
or eax, 0x20583200
mov ebx, dword [esp + 0x38]
mov word [0x45ac4c], ax
test edi, edi
je 0x40bf17
mov ebp, dword [esp + 0x2c]
mov edi, edi
xor dword [0x47ed00], 0x5eeeab06
dec edi
xor dword [0x47c560], 0x9a8feebb
mov al, byte [ebp]
mov byte [esp + esi + 0x10], al
mov eax, dword [0x46b058]
not eax
mov dword [esp + 0x30], edi
cmp eax, 0x5d68462f
jg 0x40bbca
xor dword [0x472984], 0x84417734
jmp 0x40bbd4
or dword [0x4711b4], 0x2ae85531
dec dword [0x47ac94]
inc esi
mov eax, dword [0x47ac94]
cmp eax, 0x8eec7dc5
jl 0x40bbf4
mov eax, dword [0x46c98c]
not eax
and dword [0x4712ec], eax
add dword [0x4751e4], 0x6afe62c1
inc ebp
cmp esi, 3
jne 0x40bf00
and dword [0x479d54], 0xcc37edec
mov al, byte [esp + 0x10]
shr al, 2
mov byte [esp + 0x14], al
mov eax, dword [0x46caf8]
add eax, 0x36963f0c
or eax, 0x8a4656
cmp eax, 0x1202542
jne 0x40bc44
cmp dword [0x46f07c], 0x2927f8fe
je 0x40bc44
mov eax, dword [0x4722f0]
mov al, byte [esp + 0x10]
mov ecx, dword [0x46cb80]
and al, 3
shl al, 4
mov byte [esp + 0x15], al
imul eax, dword [0x4681e8], 0x79d3c16d
sar ecx, 3
or ecx, 0xc7dbffcf
cmp eax, ecx
jle 0x40bc83
mov eax, dword [0x478b80]
or eax, dword [0x46f634]
or eax, 0xc3d4d738
mov dword [0x46f634], eax
movzx eax, byte [esp + 0x11]
shr al, 4
add byte [esp + 0x15], al
or dword [0x475f54], 0x4ea0d42
movzx eax, byte [esp + 0x11]
and al, 0xf
shl al, 2
mov byte [esp + 0x16], al
mov eax, dword [0x46a068]
mov ecx, dword [0x46b214]
not eax
imul eax, eax, 0xe5b73d2a
and ecx, eax
movzx eax, byte [esp + 0x12]
and ecx, 0x2da05023
shr al, 6
add byte [esp + 0x16], al
mov dword [0x46b214], ecx
mov ecx, dword [0x46dbf8]
mov eax, dword [0x47c6e0]
xor ecx, 0x9cd11ed7
dec dword [0x46dbf8]
shl eax, 6
or eax, ecx
cmp eax, 0x391a56da
je 0x40bd05
mov eax, dword [0x466768]
shl eax, 8
mov word [0x46007a], ax
mov al, byte [esp + 0x12]
and al, 0x3f
mov byte [esp + 0x17], al
movsx eax, word [0x464e62]
cmp eax, 0x6f1af295
jg 0x40bd32
imul eax, dword [0x46e31c], 0x32ace30b
xor eax, 0x15046049
add dword [0x47cbe8], eax
dec dword [0x471310]
xor esi, esi
mov eax, dword [0x471310]
xor eax, 0xbb2508df
cmp eax, 0x80044c45
jne 0x40bd55
xor dword [0x466924], 0x34571004
mov edi, dword [esp + 0x18]
lea esp, [esp]
add dword [0x46a420], 0xcd8a6f7b
cmp byte [esp + 0x34], 0
je 0x40be6e
mov al, byte [esp + esi + 0x14]
cmp al, 0x3d
jbe 0x40be6e
add dword [0x46ebac], 0xac591c16
cmp al, 0x3e
jne 0x40bdfc
movsx eax, word [0x4604da]
not eax
imul eax, eax, 0x3bd90669
sub eax, 0x7245b8ad
cmp eax, 0xa9dde72
je 0x40bdd9
mov eax, dword [0x472f50]
dec dword [0x472f50]
xor eax, 0x4886e71b
cmp eax, 0xa428ec25
jne 0x40bdd9
mov eax, dword [0x47262c]
mov ecx, 0x174a22b9
sub ecx, eax
xor ecx, 0x7c6d1899
or dword [0x47a574], ecx
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.004114c0
imul eax, dword [0x479b08], 0x212847a4
add eax, 0x5a749879
and dword [0x479210], eax
jmp 0x40be28
mov eax, dword [0x47ced4]
mov ecx, ebx
and eax, dword [0x47996c]
mov dword [0x47996c], eax
lea eax, [esp + 0x20]
inc dword [0x47ced4]
push eax
call fcn.004114c0
add dword [0x466478], 0xf1eb7b35
inc dword [0x468204]
mov eax, dword [0x468204]
mov ecx, dword [0x46d124]
add eax, 0xf4a052ce
sar ecx, 1
and ecx, eax
mov eax, dword [0x47c7f0]
not eax
xor eax, 0xa24bf855
cmp eax, ecx
jg 0x40be9b
dec dword [0x4749a4]
mov eax, dword [0x4749a4]
movsx ecx, word [0x45af88]
sub ecx, eax
and dword [0x4797f4], ecx
jmp 0x40be9b
movzx eax, word [0x46165e]
mov ecx, ebx
xor eax, 0x1fffdfdf
mov word [0x46165e], ax
movzx eax, byte [esp + esi + 0x14]
movzx eax, byte [eax + edi]
push eax
call fcn.0040f570
xor dword [0x46e6e8], 0x5deba20b
or dword [0x47a300], 0xf5c29eaf
inc esi
imul eax, dword [0x46aeb0], 0xfbff1773
mov dword [0x46aeb0], eax
cmp esi, 4
jne 0x40bd60
inc word [0x45da94]
xor esi, esi
movzx ecx, word [0x45da94]
movzx eax, word [0x45aae6]
add ecx, 0x93989642
mov edi, dword [esp + 0x30]
or ecx, eax
mov word [0x45aae6], cx
mov ecx, 0xb5f4aed4
mov eax, dword [0x471420]
sub ecx, eax
add dword [0x46c0c0], ecx
inc dword [0x471420]
imul eax, dword [0x46c6b8], 0xbb3d3ef7
mov dword [0x46c6b8], eax
test edi, edi
jne 0x40bb90
and dword [0x4706e8], 0x340c2a
test esi, esi
je 0x40c42d
mov eax, dword [0x476a8c]
inc dword [0x476a8c]
cmp eax, 0x19554209
jge 0x40bf59
movzx eax, word [0x45ab34]
movsx ecx, ax
movzx eax, word [0x45b4b2]
add eax, 0x8dcd02ad
add eax, ecx
mov word [0x45b4b2], ax
mov eax, dword [0x4720f4]
mov ecx, 0x6def2f7a
sub ecx, eax
mov ebp, 3
mov eax, dword [0x470558]
and eax, ecx
and dword [0x47a7d4], eax
cmp esi, ebp
jge 0x40bfd8
sub ebp, esi
lea edi, [esp + 0x10]
mov ecx, ebp
add edi, esi
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x40bfa0
add dword [0x4715c4], 0x27522f11
mov ecx, dword [0x47bf38]
movzx eax, word [0x45f3fa]
xor ecx, 0x21050422
imul eax, ecx
mov word [0x45f3fa], ax
or dword [0x47b144], 0xfdf519b6
dec ebp
jne 0x40bfa0
mov ebp, 3
mov ecx, dword [0x470e90]
mov eax, dword [0x4748c4]
not ecx
and eax, ecx
sub dword [0x4722c8], eax
inc dword [0x4748c4]
mov al, byte [esp + 0x10]
shr al, 2
mov byte [esp + 0x14], al
imul eax, dword [0x46ccf8], 0xe651fe06
cmp eax, 0xfbaf1bad
je 0x40c019
and dword [0x46672c], 0x1fd0abb2
movzx eax, byte [esp + 0x10]
and al, 3
shl al, 4
mov byte [esp + 0x15], al
mov eax, dword [0x4773b8]
and eax, dword [0x46d980]
mov dword [0x4773b8], eax
movzx eax, byte [esp + 0x11]
shr al, 4
add byte [esp + 0x15], al
movzx eax, word [0x461956]
imul eax, eax, 0x8ccd23f3
mov word [0x461956], ax
movzx eax, byte [esp + 0x11]
and al, 0xf
shl al, 2
mov byte [esp + 0x16], al
imul eax, dword [0x47c53c], 0x3c94b7db
add eax, 0xac95a35e
add dword [0x47c71c], eax
movzx eax, byte [esp + 0x12]
shr al, 6
add byte [esp + 0x16], al
inc dword [0x47c004]
mov eax, dword [0x47c004]
xor eax, 0x477e8682
cmp eax, 0x6d3dcbcf
jge 0x40c0df
mov ax, word [0x45b448]
mov ecx, dword [0x46ecf8]
cwde
xor ecx, eax
mov eax, dword [0x47c064]
dec dword [0x47c064]
sub eax, 0x22b26002
cmp eax, ecx
jg 0x40c0f2
mov eax, dword [0x47c8f4]
imul ecx, eax, 0x2b38e3b9
mov eax, dword [0x468238]
add eax, ecx
add dword [0x469744], eax
dec dword [0x468238]
jmp 0x40c0f2
mov eax, dword [0x473a60]
shl eax, 4
or eax, 0xc3aa2ef8
xor dword [0x47c6cc], eax
mov al, byte [esp + 0x12]
xor edi, edi
and al, 0x3f
mov byte [esp + 0x17], al
or dword [0x47f400], 0x4408900
mov eax, dword [0x472d18]
mov ecx, dword [0x475e8c]
add eax, 0xcf54ba10
and ecx, eax
and ecx, 0x45bda6fc
mov dword [0x475e8c], ecx
mov eax, dword [0x473bf0]
xor eax, dword [0x470afc]
mov dword [0x473bf0], eax
test esi, esi
js 0x40c2b2
mov ebp, dword [esp + 0x18]
movzx eax, word [0x4608d0]
add eax, 0x608a0081
cmp byte [esp + 0x34], 0
mov word [0x4608d0], ax
je 0x40c200
mov al, byte [esp + edi + 0x14]
cmp al, 0x3d
jbe 0x40c200
add dword [0x47ef68], 0xd01c1049
mov ecx, ebx
cmp al, 0x3e
jne 0x40c1ad
mov eax, dword [0x46a4d0]
shl eax, 6
or eax, 0x1550d51
add dword [0x47a39c], eax
lea eax, [esp + 0x1c]
push eax
call fcn.004114c0
movzx eax, word [0x463b30]
imul eax, eax, 0x3cc029d5
mov word [0x463b30], ax
jmp 0x40c1e6
mov eax, dword [0x4741e0]
sar eax, 9
imul eax, eax, 0x7a8b075
and eax, 0x10c8a66f
sub dword [0x47d5cc], eax
lea eax, [esp + 0x20]
push eax
call fcn.004114c0
mov eax, dword [0x47d6a0]
or eax, dword [0x46de20]
mov dword [0x47d6a0], eax
dec dword [0x46de20]
mov eax, dword [0x47eb3c]
mov ecx, 0x60b24cb1
sub ecx, eax
and ecx, 0xdd507040
xor dword [0x4668f4], ecx
jmp 0x40c26b
mov ax, word [0x461656]
movsx ecx, ax
mov eax, dword [0x475c64]
sub ecx, eax
mov eax, dword [0x46ecc8]
inc word [0x461656]
add eax, ecx
cmp eax, 0x68795d2c
je 0x40c239
movzx eax, word [0x462986]
and eax, 0xe706c05f
mov word [0x462986], ax
jmp 0x40c250
mov ax, word [0x465a86]
mov ecx, dword [0x468a50]
cwde
imul ecx, eax
mov word [0x465a86], cx
movzx eax, byte [esp + edi + 0x14]
mov ecx, ebx
movzx eax, byte [eax + ebp]
push eax
call fcn.0040f570
and dword [0x4754f0], 0x127a28d
and dword [0x46f950], 0x228a2edd
inc edi
inc word [0x464b36]
mov ax, word [0x464b36]
cwde
cmp eax, 0x492253a7
je 0x40c295
or dword [0x470c74], 0xcd60271e
mov eax, dword [0x473bf0]
xor eax, dword [0x470afc]
mov dword [0x473bf0], eax
cmp edi, esi
jle 0x40c142
mov ebp, 3
add dword [0x473120], 0xa205ebd6
cmp esi, 3
jge 0x40c422
sub ebp, esi
mov esi, 0x4dc1
lea esp, [esp]
mov word [0x460b2e], si
dec dword [0x47c830]
mov eax, dword [0x47c830]
mov ecx, dword [0x47326c]
imul ecx, eax
cmp ecx, 0xb458f542
je 0x40c308
mov ecx, dword [0x47189c]
mov eax, 0x9a79a5c1
shl ecx, 7
sub eax, ecx
mov dword [0x46d7b0], eax
cmp byte [esp + 0x34], 0
mov ecx, ebx
je 0x40c34a
mov eax, dword [0x46d2d8]
xor eax, 0x102a82a0
or eax, 0xcc551d12
and dword [0x4662a0], eax
lea eax, [esp + 0x24]
push eax
call fcn.004114c0
mov eax, dword [0x47e748]
and eax, 0x8c5f225f
xor eax, 0x9b5c7985
sub dword [0x467bd4], eax
jmp 0x40c3bb
inc dword [0x477c84]
mov eax, dword [0x477c84]
and eax, 0x3fac39a4
xor eax, 0xa9bdc5d
and eax, dword [0x469b0c]
mov dword [0x469b0c], eax
push 0x3d
call fcn.0040f570
movsx ecx, word [0x4609e8]
mov eax, dword [0x478ebc]
add ecx, 0x3026c6d6
inc word [0x4609e8]
cmp eax, ecx
jle 0x40c3bb
mov ecx, dword [0x47db6c]
mov eax, dword [0x46c24c]
shl ecx, 2
add eax, ecx
cmp eax, 0xb6feb4e8
je 0x40c3bb
dec dword [0x4712a8]
mov eax, dword [0x467f7c]
mov eax, dword [0x479b48]
inc dword [0x467f7c]
mov ecx, dword [0x467ac8]
mov eax, dword [0x47e560]
xor ecx, 0xe63fec30
inc dword [0x47e560]
cmp ecx, eax
jl 0x40c3ea
movzx eax, word [0x4650d0]
sub eax, 0x64f4636d
mov word [0x4650d0], ax
jmp 0x40c41b
movsx eax, word [0x45ebb6]
dec word [0x45ebb6]
sub eax, 0x2153b019
or eax, 0xba20f81a
cmp eax, 0xc7effedb
jne 0x40c41b
movzx eax, word [0x45fc4c]
xor eax, 0xddd64459
mov word [0x45fc4c], ax
dec ebp
jne 0x40c2d0
mov eax, 0xfffff97d
mov word [0x461a28], ax
mov eax, dword [0x47314c]
push dword [esp + 0x18]
sar eax, 2
and eax, 0x2fc5df2e
mov dword [0x47fafc], eax
push 0x41
call fcn.00429ff0
imul eax, dword [0x473340], 0xb9efcfad
add esp, 8
mov dword [esp + 0x1c], 0
mov ecx, 0xf53a8139
pop edi
mov dword [0x473340], eax
mov eax, dword [0x471144]
sub ecx, eax
add dword [0x473554], ecx
inc dword [0x471144]
mov eax, dword [0x4720c4]
mov dword [esp + 0x1c], 0
mov dword [0x479cb0], eax
movzx eax, word [0x45a6d4]
pop esi
sub eax, 0x306b9082
mov dword [esp + 0x1c], 0
pop ebp
mov word [0x45a6d4], ax
pop ebx
add esp, 0x18
ret