Function at 0x4395f0
Capabilities:
Decode data using base64 via dword translation table
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0
cmp dword [ebp + 8], 0
je 0x439639
cmp dword [ebp + 0x10], 0
je 0x439639
cmp dword [ebp + 0x18], 0
jne 0x439641
or eax, 0xffffffff
jmp 0x439ade
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x14]
add edx, 3
shr edx, 2
imul edx, edx, 3
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x2c]
jae 0x43966c
or eax, 0xffffffff
jmp 0x439ade
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
jae 0x439acf
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x14]
jae 0x4396fa
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
movsx ecx, byte [eax]
and ecx, 0xff
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
push eax
call fcn.00439d90
add esp, 4
test eax, eax
je 0x4396c8
jmp 0x4396fa
cmp dword [ebp - 4], 0x3d
jne 0x4396d9
mov dword [ebp - 8], 1
jmp 0x4396fa
cmp dword [ebp - 4], 0xd
je 0x4396f8
cmp dword [ebp - 4], 0xa
je 0x4396f8
cmp dword [ebp - 4], 0x20
je 0x4396f8
cmp dword [ebp - 4], 9
je 0x4396f8
mov dword [ebp - 0x18], 1
jmp 0x439691
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
jae 0x439762
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
movsx eax, byte [edx]
and eax, 0xff
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.00439d90
add esp, 4
test eax, eax
je 0x439730
jmp 0x439762
cmp dword [ebp - 0x30], 0x3d
jne 0x439741
mov dword [ebp - 8], 1
jmp 0x439762
cmp dword [ebp - 0x30], 0xd
je 0x439760
cmp dword [ebp - 0x30], 0xa
je 0x439760
cmp dword [ebp - 0x30], 0x20
je 0x439760
cmp dword [ebp - 0x30], 9
je 0x439760
mov dword [ebp - 0x18], 1
jmp 0x4396fa
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jae 0x4397cb
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
movsx edx, byte [ecx]
and edx, 0xff
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00439d90
add esp, 4
test eax, eax
je 0x439799
jmp 0x4397cb
cmp dword [ebp - 0x28], 0x3d
jne 0x4397aa
mov dword [ebp - 8], 1
jmp 0x4397cb
cmp dword [ebp - 0x28], 0xd
je 0x4397c9
cmp dword [ebp - 0x28], 0xa
je 0x4397c9
cmp dword [ebp - 0x28], 0x20
je 0x4397c9
cmp dword [ebp - 0x28], 9
je 0x4397c9
mov dword [ebp - 0x18], 1
jmp 0x439762
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x14]
jae 0x439834
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
movsx ecx, byte [eax]
and ecx, 0xff
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.00439d90
add esp, 4
test eax, eax
je 0x439802
jmp 0x439834
cmp dword [ebp - 0x24], 0x3d
jne 0x439813
mov dword [ebp - 8], 1
jmp 0x439834
cmp dword [ebp - 0x24], 0xd
je 0x439832
cmp dword [ebp - 0x24], 0xa
je 0x439832
cmp dword [ebp - 0x24], 0x20
je 0x439832
cmp dword [ebp - 0x24], 9
je 0x439832
mov dword [ebp - 0x18], 1
jmp 0x4397cb
mov ecx, dword [ebp - 4]
push ecx
call fcn.00439d90
add esp, 4
test eax, eax
je 0x439959
mov edx, dword [ebp - 0x30]
push edx
call fcn.00439d90
add esp, 4
test eax, eax
je 0x439959
mov eax, dword [ebp - 0x28]
push eax
call fcn.00439d90
add esp, 4
test eax, eax
je 0x439959
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00439d90
add esp, 4
test eax, eax
je 0x439959
mov edx, dword [ebp - 4]
movsx eax, byte [edx + 0x4cf2d8]
and eax, 0xff
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x30]
movsx edx, byte [ecx + 0x4cf2d8]
and edx, 0xff
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x28]
movsx ecx, byte [eax + 0x4cf2d8]
and ecx, 0xff
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x24]
movsx eax, byte [edx + 0x4cf2d8]
and eax, 0xff
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 4]
shl ecx, 2
and ecx, 0xfc
mov edx, dword [ebp - 0x30]
sar edx, 4
and edx, 3
or ecx, edx
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x30]
shl eax, 4
and eax, 0xf0
mov ecx, dword [ebp - 0x28]
sar ecx, 2
and ecx, 0xf
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x28]
shl edx, 6
and edx, 0xc0
mov eax, dword [ebp - 0x24]
and eax, 0x3f
or edx, eax
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x20]
mov dl, byte [ebp - 0x38]
mov byte [ecx], dl
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x20]
mov dl, byte [ebp - 0xc]
mov byte [ecx], dl
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x20]
mov dl, byte [ebp - 0x1c]
mov byte [ecx], dl
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
jmp 0x439ac2
mov ecx, dword [ebp - 4]
push ecx
call fcn.00439d90
add esp, 4
test eax, eax
je 0x439a3c
mov edx, dword [ebp - 0x30]
push edx
call fcn.00439d90
add esp, 4
test eax, eax
je 0x439a3c
mov eax, dword [ebp - 0x28]
push eax
call fcn.00439d90
add esp, 4
test eax, eax
je 0x439a3c
cmp dword [ebp - 0x24], 0x3d
jne 0x439a3c
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x4cf2d8]
and edx, 0xff
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x30]
movsx ecx, byte [eax + 0x4cf2d8]
and ecx, 0xff
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x28]
movsx eax, byte [edx + 0x4cf2d8]
and eax, 0xff
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 4]
shl ecx, 2
and ecx, 0xfc
mov edx, dword [ebp - 0x30]
sar edx, 4
and edx, 3
or ecx, edx
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x30]
shl eax, 4
and eax, 0xf0
mov ecx, dword [ebp - 0x28]
sar ecx, 2
and ecx, 0xf
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x34]
add edx, dword [ebp - 0x20]
mov al, byte [ebp - 0x38]
mov byte [edx], al
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x34]
add edx, dword [ebp - 0x20]
mov al, byte [ebp - 0xc]
mov byte [edx], al
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
jmp 0x439acf
mov edx, dword [ebp - 4]
push edx
call fcn.00439d90
add esp, 4
test eax, eax
je 0x439ac0
mov eax, dword [ebp - 0x30]
push eax
call fcn.00439d90
add esp, 4
test eax, eax
je 0x439ac0
cmp dword [ebp - 0x28], 0x3d
jne 0x439ac0
cmp dword [ebp - 0x24], 0x3d
jne 0x439ac0
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x4cf2d8]
and edx, 0xff
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x30]
movsx ecx, byte [eax + 0x4cf2d8]
and ecx, 0xff
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 4]
shl edx, 2
and edx, 0xfc
mov eax, dword [ebp - 0x30]
sar eax, 4
and eax, 3
or edx, eax
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x20]
mov dl, byte [ebp - 0x38]
mov byte [ecx], dl
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
jmp 0x439acf
jmp 0x439acf
cmp dword [ebp - 8], 0
je 0x439aca
jmp 0x439acf
jmp 0x43966c
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [ebp - 0x18]
neg eax
sbb eax, eax
mov esp, ebp
pop ebp
ret