Function at 0x1055840
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 0x100bf5c
lea edx, [ebp - 0x50]
push 0x3f
push edx
call fcn.0102ac00
mov edi, dword [ebp + 0x14]
add esp, 0x1c
xor ecx, ecx
mov al, byte [ebp + ecx - 0x4e]
test al, al
je 0x105588a
test edi, edi
je 0x1055889
cmp al, 0x5e
jne 0x1055886
mov al, 0x78
mov byte [esi + edi], al
inc esi
inc ecx
cmp ecx, 6
jb 0x1055874
test edi, edi
je 0x1055898
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 0x10558b9
test edi, edi
je 0x10558b8
cmp al, 0x5e
jne 0x10558b5
mov al, 0x78
mov byte [esi + edi], al
inc esi
inc ecx
sub edx, 1
jne 0x10558a5
test edi, edi
je 0x10558c7
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.0102b680
lea eax, [ebp - 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1055913
sub eax, edx
mov edx, 0
je 0x105593f
mov cl, byte [ebp + edx - 0xc]
test cl, cl
je 0x105593a
test edi, edi
je 0x1055939
cmp cl, 0x5e
jne 0x1055936
mov cl, 0x78
mov byte [esi + edi], cl
inc esi
inc edx
cmp edx, eax
jb 0x1055923
test edi, edi
je 0x1055947
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x1055951
lea edx, [esi + edi]
jmp 0x1055953
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0xc]
mov ecx, dword [eax]
test ecx, ecx
jne 0x1055963
xor eax, eax
jmp 0x105597d
cmp word [ecx], 0
mov eax, ecx
je 0x1055979
jmp 0x1055970
add eax, 2
cmp word [eax], 0
jne 0x1055970
sub eax, ecx
sar eax, 1
push 1
push eax
push ecx
push edx
call fcn.0103e730
add esi, eax
test edi, edi
je 0x1055991
mov byte [esi + edi], 0x5e
inc esi
cmp dword [ebx + 0x10], 0
mov ebx, 0x100c140
jne 0x10559a2
mov ebx, 0x100eb0c
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10559a7
sub eax, edx
mov edx, 0
je 0x10559d2
mov cl, byte [edx + ebx]
test cl, cl
je 0x10559cd
test edi, edi
je 0x10559cc
cmp cl, 0x5e
jne 0x10559c9
mov cl, 0x78
mov byte [esi + edi], cl
inc esi
inc edx
cmp edx, eax
jb 0x10559b7
test edi, edi
je 0x10559da
mov byte [esi + edi], 0x5e
mov ebx, dword [ebp + 0x10]
mov al, byte [ebx + 0x78]
inc esi
xor ecx, ecx
test al, al
je 0x10559ec
movzx ecx, al
jmp 0x10559f7
cmp dword [ebx + 8], 0x10
jne 0x10559f7
mov ecx, 0x1a
cmp dword [ebx + 8], 4
jne 0x1055a04
mov ecx, 0x22
jmp 0x1055a12
cmp ecx, 0xa
jge 0x1055a12
test edi, edi
je 0x1055a11
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 0x1055a30
sub eax, edx
mov edx, 0
je 0x1055a5c
mov cl, byte [ebp + edx - 8]
test cl, cl
je 0x1055a57
test edi, edi
je 0x1055a56
cmp cl, 0x5e
jne 0x1055a53
mov cl, 0x78
mov byte [esi + edi], cl
inc esi
inc edx
cmp edx, eax
jb 0x1055a40
test edi, edi
je 0x1055a64
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x1055a6e
lea edx, [esi + edi]
jmp 0x1055a70
xor edx, edx
mov ecx, dword [ebx + 0x168]
test ecx, ecx
jne 0x1055a7e
xor eax, eax
jmp 0x1055a93
cmp word [ecx], 0
mov eax, ecx
je 0x1055a8f
add eax, 2
cmp word [eax], 0
jne 0x1055a86
sub eax, ecx
sar eax, 1
push 1
push eax
push ecx
push edx
call fcn.0103e730
add esi, eax
test edi, edi
je 0x1055aa7
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x1055ab1
lea edx, [esi + edi]
jmp 0x1055ab3
xor edx, edx
mov ecx, dword [ebx + 0x164]
test ecx, ecx
jne 0x1055ac1
xor eax, eax
jmp 0x1055add
cmp word [ecx], 0
mov eax, ecx
je 0x1055ad9
lea esp, [esp]
add eax, 2
cmp word [eax], 0
jne 0x1055ad0
sub eax, ecx
sar eax, 1
push 1
push eax
push ecx
push edx
call fcn.0103e730
add esi, eax
test edi, edi
je 0x1055af1
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x1055afb
lea edx, [esi + edi]
jmp 0x1055afd
xor edx, edx
mov ecx, dword [ebx + 0x16c]
test ecx, ecx
jne 0x1055b0b
xor eax, eax
jmp 0x1055b20
cmp word [ecx], 0
mov eax, ecx
je 0x1055b1c
add eax, 2
cmp word [eax], 0
jne 0x1055b13
sub eax, ecx
sar eax, 1
push 1
push eax
push ecx
push edx
call fcn.0103e730
add esi, eax
test edi, edi
je 0x1055b34
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x1055b3e
lea edx, [esi + edi]
jmp 0x1055b40
xor edx, edx
mov ecx, dword [ebx + 0x170]
test ecx, ecx
jne 0x1055b4e
xor eax, eax
jmp 0x1055b63
cmp word [ecx], 0
mov eax, ecx
je 0x1055b5f
add eax, 2
cmp word [eax], 0
jne 0x1055b56
sub eax, ecx
sar eax, 1
push 1
push eax
push ecx
push edx
call fcn.0103e730
add esi, eax
test edi, edi
je 0x1055b77
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x1055b81
lea edx, [esi + edi]
jmp 0x1055b83
xor edx, edx
mov ecx, dword [ebx + 0x174]
test ecx, ecx
jne 0x1055b91
xor eax, eax
jmp 0x1055bad
cmp word [ecx], 0
mov eax, ecx
je 0x1055ba9
lea esp, [esp]
add eax, 2
cmp word [eax], 0
jne 0x1055ba0
sub eax, ecx
sar eax, 1
push 1
push eax
push ecx
push edx
call fcn.0103e730
add esi, eax
test edi, edi
je 0x1055bc1
mov byte [esi + edi], 0x5e
inc esi
cmp dword [ebx + 0x7c], 0
je 0x1055bee
xor ecx, ecx
lea ebx, [ebx]
mov al, byte [ecx + 0x100e8cc]
test al, al
je 0x1055be8
test edi, edi
je 0x1055be7
cmp al, 0x5e
jne 0x1055be4
mov al, 0x78
mov byte [esi + edi], al
inc esi
inc ecx
cmp ecx, 0xb
jb 0x1055bd0
test edi, edi
je 0x1055bf6
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.0102b680
lea eax, [ebp - 0xc]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1055c50
sub eax, edx
mov edx, 0
je 0x1055c7c
mov cl, byte [ebp + edx - 0xc]
test cl, cl
je 0x1055c77
test edi, edi
je 0x1055c76
cmp cl, 0x5e
jne 0x1055c73
mov cl, 0x78
mov byte [esi + edi], cl
inc esi
inc edx
cmp edx, eax
jb 0x1055c60
test edi, edi
je 0x1055c84
mov byte [esi + edi], 0x5e
mov ecx, dword [ebx + 0x180]
push ecx
inc esi
call fcn.0103fc10
pop ebx
test al, al
je 0x1055ca4
test edi, edi
je 0x1055ca3
cmp al, 0x5e
jne 0x1055ca0
mov al, 0x78
mov byte [esi + edi], al
inc esi
test edi, edi
je 0x1055cac
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x1055cb5
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x1055cbe
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x1055cc7
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x1055cd0
mov byte [esi + edi], 0x5e
inc esi
test edi, edi
je 0x1055cd9
mov byte [esi + edi], 0xa
inc esi
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x14