Function at 0x1057cf0
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 0x100ca54
lea edx, [ebp - 0x50]
push 0x3f
push edx
call fcn.0102c510
mov edi, dword [ebp + 0x14]
add esp, 0x1c
xor ecx, ecx
mov al, byte [ebp + ecx - 0x4e]
test al, al
je 0x1057d3a
test edi, edi
je 0x1057d39
cmp al, 0x5e
jne 0x1057d36
mov al, 0x78
mov byte [esi + edi], al
inc esi
inc ecx
cmp ecx, 6
jb 0x1057d24
test edi, edi
je 0x1057d48
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 0x1057d69
test edi, edi
je 0x1057d68
cmp al, 0x5e
jne 0x1057d65
mov al, 0x78
mov byte [esi + edi], al
inc esi
inc ecx
sub edx, 1
jne 0x1057d55
test edi, edi
je 0x1057d77
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.0102cf90
lea eax, [ebp - 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1057dc3
sub eax, edx
mov edx, 0
je 0x1057def
mov cl, byte [ebp + edx - 0xc]
test cl, cl
je 0x1057dea
test edi, edi
je 0x1057de9
cmp cl, 0x5e
jne 0x1057de6
mov cl, 0x78
mov byte [esi + edi], cl
inc esi
inc edx
cmp edx, eax
jb 0x1057dd3
test edi, edi
je 0x1057df7
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x1057e01
lea edx, [esi + edi]
jmp 0x1057e03
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0xc]
mov ecx, dword [eax]
test ecx, ecx
jne 0x1057e13
xor eax, eax
jmp 0x1057e2d
cmp word [ecx], 0
mov eax, ecx
je 0x1057e29
jmp 0x1057e20
add eax, 2
cmp word [eax], 0
jne 0x1057e20
sub eax, ecx
sar eax, 1
push 1
push eax
push ecx
push edx
call fcn.010401f0
add esi, eax
test edi, edi
je 0x1057e41
mov byte [esi + edi], 0x5e
inc esi
cmp dword [ebx + 0x10], 0
mov ebx, 0x100cc38
jne 0x1057e52
mov ebx, 0x100f65c
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1057e57
sub eax, edx
mov edx, 0
je 0x1057e82
mov cl, byte [edx + ebx]
test cl, cl
je 0x1057e7d
test edi, edi
je 0x1057e7c
cmp cl, 0x5e
jne 0x1057e79
mov cl, 0x78
mov byte [esi + edi], cl
inc esi
inc edx
cmp edx, eax
jb 0x1057e67
test edi, edi
je 0x1057e8a
mov byte [esi + edi], 0x5e
mov ebx, dword [ebp + 0x10]
mov al, byte [ebx + 0x78]
inc esi
xor ecx, ecx
test al, al
je 0x1057e9c
movzx ecx, al
jmp 0x1057ea7
cmp dword [ebx + 8], 0x10
jne 0x1057ea7
mov ecx, 0x1a
cmp dword [ebx + 8], 4
jne 0x1057eb4
mov ecx, 0x22
jmp 0x1057ec2
cmp ecx, 0xa
jge 0x1057ec2
test edi, edi
je 0x1057ec1
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]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1057ee0
sub eax, edx
mov edx, 0
je 0x1057f0c
mov cl, byte [ebp + edx - 8]
test cl, cl
je 0x1057f07
test edi, edi
je 0x1057f06
cmp cl, 0x5e
jne 0x1057f03
mov cl, 0x78
mov byte [esi + edi], cl
inc esi
inc edx
cmp edx, eax
jb 0x1057ef0
test edi, edi
je 0x1057f14
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x1057f1e
lea edx, [esi + edi]
jmp 0x1057f20
xor edx, edx
mov ecx, dword [ebx + 0x168]
test ecx, ecx
jne 0x1057f2e
xor eax, eax
jmp 0x1057f43
cmp word [ecx], 0
mov eax, ecx
je 0x1057f3f
add eax, 2
cmp word [eax], 0
jne 0x1057f36
sub eax, ecx
sar eax, 1
push 1
push eax
push ecx
push edx
call fcn.010401f0
add esi, eax
test edi, edi
je 0x1057f57
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x1057f61
lea edx, [esi + edi]
jmp 0x1057f63
xor edx, edx
mov ecx, dword [ebx + 0x164]
test ecx, ecx
jne 0x1057f71
xor eax, eax
jmp 0x1057f8d
cmp word [ecx], 0
mov eax, ecx
je 0x1057f89
lea esp, [esp]
add eax, 2
cmp word [eax], 0
jne 0x1057f80
sub eax, ecx
sar eax, 1
push 1
push eax
push ecx
push edx
call fcn.010401f0
add esi, eax
test edi, edi
je 0x1057fa1
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x1057fab
lea edx, [esi + edi]
jmp 0x1057fad
xor edx, edx
mov ecx, dword [ebx + 0x16c]
test ecx, ecx
jne 0x1057fbb
xor eax, eax
jmp 0x1057fd0
cmp word [ecx], 0
mov eax, ecx
je 0x1057fcc
add eax, 2
cmp word [eax], 0
jne 0x1057fc3
sub eax, ecx
sar eax, 1
push 1
push eax
push ecx
push edx
call fcn.010401f0
add esi, eax
test edi, edi
je 0x1057fe4
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x1057fee
lea edx, [esi + edi]
jmp 0x1057ff0
xor edx, edx
mov ecx, dword [ebx + 0x170]
test ecx, ecx
jne 0x1057ffe
xor eax, eax
jmp 0x1058013
cmp word [ecx], 0
mov eax, ecx
je 0x105800f
add eax, 2
cmp word [eax], 0
jne 0x1058006
sub eax, ecx
sar eax, 1
push 1
push eax
push ecx
push edx
call fcn.010401f0
add esi, eax
test edi, edi
je 0x1058027
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x1058031
lea edx, [esi + edi]
jmp 0x1058033
xor edx, edx
mov ecx, dword [ebx + 0x174]
test ecx, ecx
jne 0x1058041
xor eax, eax
jmp 0x105805d
cmp word [ecx], 0
mov eax, ecx
je 0x1058059
lea esp, [esp]
add eax, 2
cmp word [eax], 0
jne 0x1058050
sub eax, ecx
sar eax, 1
push 1
push eax
push ecx
push edx
call fcn.010401f0
add esi, eax
test edi, edi
je 0x1058071
mov byte [esi + edi], 0x5e
inc esi
cmp dword [ebx + 0x7c], 0
je 0x105809e
xor ecx, ecx
lea ebx, [ebx]
mov al, byte [ecx + 0x100f3e8]
test al, al
je 0x1058098
test edi, edi
je 0x1058097
cmp al, 0x5e
jne 0x1058094
mov al, 0x78
mov byte [esi + edi], al
inc esi
inc ecx
cmp ecx, 0xb
jb 0x1058080
test edi, edi
je 0x10580a6
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 + 0x184]
and eax, 0x1bf7f9e4
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.0102cf90
lea eax, [ebp - 0xc]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1058100
sub eax, edx
mov edx, 0
je 0x105812c
mov cl, byte [ebp + edx - 0xc]
test cl, cl
je 0x1058127
test edi, edi
je 0x1058126
cmp cl, 0x5e
jne 0x1058123
mov cl, 0x78
mov byte [esi + edi], cl
inc esi
inc edx
cmp edx, eax
jb 0x1058110
test edi, edi
je 0x1058134
mov byte [esi + edi], 0x5e
mov ecx, dword [ebx + 0x180]
push ecx
inc esi
call fcn.01041930
pop ebx
test al, al
je 0x1058154
test edi, edi
je 0x1058153
cmp al, 0x5e
jne 0x1058150
mov al, 0x78
mov byte [esi + edi], al
inc esi
test edi, edi
je 0x105815c
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x1058165
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x105816e
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x1058177
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x1058180
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x1058189
mov byte [esi + edi], 0xa
inc esi
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x14