Function at 0x103ed90
Capabilities:
Encode data using base64

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push esi
push edi
push 0x41
xor esi, esi
lea eax, [ebp - 0x50]
push esi
push eax
call sub.msvcrt.dll_memset
mov ecx, dword [ebp + 0x18]
push ecx
push 0x1009e04
lea edx, [ebp - 0x50]
push 0x3f
push edx
call fcn.0101d440
mov edi, dword [ebp + 0x14]
add esp, 0x1c
xor ecx, ecx
mov al, byte [ebp + ecx - 0x4e]
test al, al
je 0x103edda
test edi, edi
je 0x103edd9
cmp al, 0x5e
jne 0x103edd6
mov al, 0x78
mov byte [esi + edi], al
inc esi
inc ecx
cmp ecx, 6
jb 0x103edc4
test edi, edi
je 0x103ede8
mov byte [esi + edi], 0x5e
push ebx
mov ebx, dword [ebp + 0x10]
inc esi
lea ecx, [ebx + 0x3d]
mov edx, 0x20
mov al, byte [ecx]
test al, al
je 0x103ee09
test edi, edi
je 0x103ee08
cmp al, 0x5e
jne 0x103ee05
mov al, 0x78
mov byte [esi + edi], al
inc esi
inc ecx
sub edx, 1
jne 0x103edf5
test edi, edi
je 0x103ee17
mov byte [esi + edi], 0x5e
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov byte [ebp - 4], al
mov eax, dword [ebx + 4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
shl ecx, 8
add edx, ecx
mov ecx, eax
shr ecx, 0x10
shl edx, 8
movzx ecx, cl
add edx, ecx
shl edx, 8
shr eax, 0x18
add edx, eax
mov dword [ebp + 0x18], edx
lea edx, [ebp - 0xc]
push edx
push 4
lea eax, [ebp + 0x18]
push eax
inc esi
call fcn.0101ddb0
lea eax, [ebp - 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x103ee63
sub eax, edx
mov edx, 0
je 0x103ee8f
mov cl, byte [ebp + edx - 0xc]
test cl, cl
je 0x103ee8a
test edi, edi
je 0x103ee89
cmp cl, 0x5e
jne 0x103ee86
mov cl, 0x78
mov byte [esi + edi], cl
inc esi
inc edx
cmp edx, eax
jb 0x103ee73
test edi, edi
je 0x103ee97
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x103eea1
lea edx, [esi + edi]
jmp 0x103eea3
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0xc]
mov ecx, dword [eax]
test ecx, ecx
jne 0x103eeb3
xor eax, eax
jmp 0x103eecd
cmp word [ecx], 0
mov eax, ecx
je 0x103eec9
jmp 0x103eec0
add eax, 2
cmp word [eax], 0
jne 0x103eec0
sub eax, ecx
sar eax, 1
push 1
push eax
push ecx
push edx
call fcn.0102c470
add esi, eax
test edi, edi
je 0x103eee1
mov byte [esi + edi], 0x5e
inc esi
cmp dword [ebx + 0x10], 0
mov ebx, 0x100bf14
jne 0x103eef2
mov ebx, 0x100bf10
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x103eef7
sub eax, edx
mov edx, 0
je 0x103ef22
mov cl, byte [edx + ebx]
test cl, cl
je 0x103ef1d
test edi, edi
je 0x103ef1c
cmp cl, 0x5e
jne 0x103ef19
mov cl, 0x78
mov byte [esi + edi], cl
inc esi
inc edx
cmp edx, eax
jb 0x103ef07
test edi, edi
je 0x103ef2a
mov byte [esi + edi], 0x5e
mov ebx, dword [ebp + 0x10]
mov al, byte [ebx + 0x78]
inc esi
xor ecx, ecx
test al, al
je 0x103efa0
movzx ecx, al
cmp ecx, 0xa
jge 0x103ef48
test edi, edi
je 0x103ef47
mov byte [esi + edi], 0x30
inc esi
push 0xa
lea edx, [ebp - 8]
push edx
push ecx
mov byte [ebp - 8], 0
call dword [sym.imp.msvcrt.dll__itoa]
lea eax, [ebp - 8]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x103ef62
sub eax, edx
mov edx, 0
je 0x103ef8e
mov cl, byte [ebp + edx - 8]
test cl, cl
je 0x103ef89
test edi, edi
je 0x103ef88
cmp cl, 0x5e
jne 0x103ef85
mov cl, 0x78
mov byte [esi + edi], cl
inc esi
inc edx
cmp edx, eax
jb 0x103ef72
test edi, edi
je 0x103ef96
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x103efad
lea edx, [esi + edi]
jmp 0x103efaf
cmp dword [ebx + 8], 0x10
jne 0x103ef3f
mov ecx, 0x1a
jmp 0x103ef48
xor edx, edx
mov ecx, dword [ebx + 0x168]
test ecx, ecx
jne 0x103efbd
xor eax, eax
jmp 0x103efd2
cmp word [ecx], 0
mov eax, ecx
je 0x103efce
add eax, 2
cmp word [eax], 0
jne 0x103efc5
sub eax, ecx
sar eax, 1
push 1
push eax
push ecx
push edx
call fcn.0102c470
add esi, eax
test edi, edi
je 0x103efe6
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x103eff0
lea edx, [esi + edi]
jmp 0x103eff2
xor edx, edx
mov ecx, dword [ebx + 0x164]
test ecx, ecx
jne 0x103f000
xor eax, eax
jmp 0x103f01d
cmp word [ecx], 0
mov eax, ecx
je 0x103f019
jmp 0x103f010
add eax, 2
cmp word [eax], 0
jne 0x103f010
sub eax, ecx
sar eax, 1
push 1
push eax
push ecx
push edx
call fcn.0102c470
add esi, eax
test edi, edi
je 0x103f031
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x103f03b
lea edx, [esi + edi]
jmp 0x103f03d
xor edx, edx
mov ecx, dword [ebx + 0x16c]
test ecx, ecx
jne 0x103f04b
xor eax, eax
jmp 0x103f060
cmp word [ecx], 0
mov eax, ecx
je 0x103f05c
add eax, 2
cmp word [eax], 0
jne 0x103f053
sub eax, ecx
sar eax, 1
push 1
push eax
push ecx
push edx
call fcn.0102c470
add esi, eax
test edi, edi
je 0x103f074
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x103f07e
lea edx, [esi + edi]
jmp 0x103f080
xor edx, edx
mov ecx, dword [ebx + 0x170]
test ecx, ecx
jne 0x103f08e
xor eax, eax
jmp 0x103f0a3
cmp word [ecx], 0
mov eax, ecx
je 0x103f09f
add eax, 2
cmp word [eax], 0
jne 0x103f096
sub eax, ecx
sar eax, 1
push 1
push eax
push ecx
push edx
call fcn.0102c470
add esi, eax
test edi, edi
je 0x103f0b7
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x103f0c1
lea edx, [esi + edi]
jmp 0x103f0c3
xor edx, edx
mov ecx, dword [ebx + 0x174]
test ecx, ecx
jne 0x103f0d1
xor eax, eax
jmp 0x103f0ed
cmp word [ecx], 0
mov eax, ecx
je 0x103f0e9
lea esp, [esp]
add eax, 2
cmp word [eax], 0
jne 0x103f0e0
sub eax, ecx
sar eax, 1
push 1
push eax
push ecx
push edx
call fcn.0102c470
add esi, eax
test edi, edi
je 0x103f101
mov byte [esi + edi], 0x5e
inc esi
cmp dword [ebx + 0x7c], 0
je 0x103f12e
xor ecx, ecx
lea ebx, [ebx]
mov al, byte [ecx + 0x100bd20]
test al, al
je 0x103f128
test edi, edi
je 0x103f127
cmp al, 0x5e
jne 0x103f124
mov al, 0x78
mov byte [esi + edi], al
inc esi
inc ecx
cmp ecx, 0xb
jb 0x103f110
test edi, edi
je 0x103f136
mov byte [esi + edi], 0x5e
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov byte [ebp - 4], al
mov eax, dword [ebx + 0x188]
and eax, 0x1bf7f9e0
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
shl ecx, 8
add edx, ecx
mov ecx, eax
shr ecx, 0x10
shl edx, 8
movzx ecx, cl
add edx, ecx
shl edx, 8
shr eax, 0x18
add edx, eax
mov dword [ebp + 0x10], edx
lea edx, [ebp - 0xc]
push edx
push 4
lea eax, [ebp + 0x10]
push eax
inc esi
call fcn.0101ddb0
lea eax, [ebp - 0xc]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x103f190
sub eax, edx
mov edx, 0
je 0x103f1bc
mov cl, byte [ebp + edx - 0xc]
test cl, cl
je 0x103f1b7
test edi, edi
je 0x103f1b6
cmp cl, 0x5e
jne 0x103f1b3
mov cl, 0x78
mov byte [esi + edi], cl
inc esi
inc edx
cmp edx, eax
jb 0x103f1a0
test edi, edi
je 0x103f1c4
mov byte [esi + edi], 0x5e
mov ecx, dword [ebx + 0x184]
push ecx
inc esi
call fcn.0102d7d0
pop ebx
test al, al
je 0x103f1e4
test edi, edi
je 0x103f1e3
cmp al, 0x5e
jne 0x103f1e0
mov al, 0x78
mov byte [esi + edi], al
inc esi
test edi, edi
je 0x103f1ec
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x103f1f5
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x103f1fe
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x103f207
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x103f210
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x103f219
mov byte [esi + edi], 0xa
inc esi
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x14