Function at 0x481025
Capabilities:
Encode data using base64

Disassembly:
lea esi, [ebp + 0x1a8d6]
mov edi, 0x497082
cmpsw word [esi], word es:[edi]
jne 0x480df6
mov ecx, 3
repe cmpsd dword [esi], dword es:[edi]
jne 0x480df6
mov eax, 0x20202020
xchg esi, edi
mov cl, 4
repe scasd eax, dword es:[edi]
xchg esi, edi
jne 0x480df6
push 0xffffffffffffff9e
call 0x480e48
jmp 0x480e3e
lea esi, [ebp + 0x1a8d6]
cmp word [esi], 0x4645
lea esi, [esi + 2]
jne 0x480e37
cmp dword [esi], 0x4152542d
lea esi, [esi + 4]
jne 0x480e37
cmp dword [esi], 0x2050534e
lea esi, [esi + 4]
jne 0x480e37
mov eax, 0x20202020
xchg esi, edi
mov ecx, 5
repe scasd eax, dword es:[edi]
xchg esi, edi
jne 0x480e37
push 0xffffffffffffff9f
call 0x481025
jmp 0x480e3e
push 0xffffffffffffffa0
call 0x481202
cmp dword [esp + 4], 0xffffff9d
jne 0x480e48
ret 4
mov eax, 0x4d444143
mov dword [ebp + 0x1d9d8], eax
mov eax, 0x524f544f
mov dword [ebp + 0x1d9dc], eax
mov esi, 0x492248
mov dword [ebp - 0x14], esi
lea eax, [ebp + 0x1d9d8]
push eax
add eax, 0xffffd7e8
push eax
mov edx, dword [0x4df644]
mov ebx, dword [edx + 0x12a]
or ebx, ebx
je 0x480e8e
test byte [ebx + 0x17], 0x80
jne 0x480e8e
mov ebx, dword [ebx + 0xc]
jmp 0x480ea8
sub ebx, ebx
push ebx
add edx, 0x12a
push edx
push 7
add edx, 6
push edx
call sub.cblrtss.dll__mFfindp
add esp, 0x10
mov ebx, eax
mov al, 2
call ebx
test edx, 0x884a
add esp, 8
bswap eax
mov dword [ebp + 0x1b3a4], eax
push 7
push 0x492260
call sub.cblrtss.dll__mFgCE
add esp, 8
mov esi, 0x493868
mov dword [ebp - 0x14], esi
lea eax, [ebp + 0x1ab2f]
push eax
add eax, 0x691
push eax
mov edx, dword [0x4df644]
mov ebx, dword [edx + 0x531]
or ebx, ebx
je 0x480efc
test byte [ebx + 0x17], 0x80
jne 0x480efc
mov ebx, dword [ebx + 0xc]
jmp 0x480f16
sub ebx, ebx
push ebx
add edx, 0x531
push edx
push 8
add edx, 6
push edx
call sub.cblrtss.dll__mFfindp
add esp, 0x10
mov ebx, eax
mov al, 2
call ebx
test edx, 0x87dc
add esp, 8
bswap eax
mov dword [ebp + 0x1b3a4], eax
push 8
push 0x497090
call sub.cblrtss.dll__mFgCE
add esp, 8
mov eax, dword [ebp + 0x1ab2f]
mov dword [ebp + 0x14078], eax
mov ax, word [ebp + 0x1ab33]
mov word [ebp + 0x1407c], ax
sub eax, eax
mov word [ebp + 0xa86c], ax
mov ax, 0xf6fa
mov word [ebp + 0xa], ax
lea eax, [ebp + 0xa838]
push eax
mov eax, 0x491242
push eax
lea esi, [eax - 0x6da]
mov dword [ebp - 0x14], esi
mov al, 2
call sub.cblrtss.dll_EXTFH
test edx, 0x8774
add esp, 8
mov ax, word [ebp + 0xa838]
mov word [ebp + 0x15608], ax
cmp byte [ebp + 0xa838], 0x32
ja 0x48101b
cmp byte [ebp + 0xa838], 0x32
je 0x48101b
lea esi, [ebp + 0x1407e]
lea edi, [ebp + 0x1ab35]
movsw word es:[edi], word [esi]
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x491b60
mov dword [ebp - 0x14], esi
lea eax, [ebp + 0x1a594]
push eax
mov edx, dword [0x4df644]
mov ebx, dword [edx + 0xa5]
or ebx, ebx
je 0x480fec
test byte [ebx + 0x17], 0x80
jne 0x480fec
mov ebx, dword [ebx + 0xc]
jmp 0x481006
mov ebx, ecx
push ebx
add edx, 0xa5
push edx
push 0xc
add edx, 6
push edx
call sub.cblrtss.dll__mFfindp
add esp, 0x10
mov ebx, eax
mov al, 1
call ebx
test edx, 0x86ec
add esp, 4
bswap eax
mov dword [ebp + 0x1b3a4], eax
cmp dword [esp + 4], 0xffffff9e
jne 0x481025
ret 4
mov eax, 0x54444143
mov dword [ebp + 0x1d9d8], eax
mov eax, 0x534e4152
mov dword [ebp + 0x1d9dc], eax
mov esi, 0x492248
mov dword [ebp - 0x14], esi
lea eax, [ebp + 0x1d9d8]
push eax
add eax, 0xffffd7e8
push eax
mov edx, dword [0x4df644]
mov ebx, dword [edx + 0x12a]
or ebx, ebx
je 0x48106b
test byte [ebx + 0x17], 0x80
jne 0x48106b
mov ebx, dword [ebx + 0xc]
jmp 0x481085
sub ebx, ebx
push ebx
add edx, 0x12a
push edx
push 7
add edx, 6
push edx
call sub.cblrtss.dll__mFfindp
add esp, 0x10
mov ebx, eax
mov al, 2
call ebx
test edx, 0x866d
add esp, 8
bswap eax
mov dword [ebp + 0x1b3a4], eax
push 7
push 0x492260
call sub.cblrtss.dll__mFgCE
add esp, 8
mov esi, 0x493868
mov dword [ebp - 0x14], esi
lea eax, [ebp + 0x1ab71]
push eax
add eax, 0x64f
push eax
mov edx, dword [0x4df644]
mov ebx, dword [edx + 0x540]
or ebx, ebx
je 0x4810d9
test byte [ebx + 0x17], 0x80
jne 0x4810d9
mov ebx, dword [ebx + 0xc]
jmp 0x4810f3
sub ebx, ebx
push ebx
add edx, 0x540
push edx
push 8
add edx, 6
push edx
call sub.cblrtss.dll__mFfindp
add esp, 0x10
mov ebx, eax
mov al, 2
call ebx
test edx, 0x85ff
add esp, 8
bswap eax
mov dword [ebp + 0x1b3a4], eax
push 8
push 0x497098
call sub.cblrtss.dll__mFgCE
add esp, 8
mov eax, dword [ebp + 0x1ab71]
mov dword [ebp + 0x141f0], eax
mov ax, word [ebp + 0x1ab75]
mov word [ebp + 0x141f4], ax
sub eax, eax
mov word [ebp + 0xaa84], ax
mov ax, 0xf6fa
mov word [ebp + 0xa], ax
lea eax, [ebp + 0xaa50]
push eax
mov eax, 0x491242
push eax
lea esi, [eax - 0x6da]
mov dword [ebp - 0x14], esi
mov al, 2
call sub.cblrtss.dll_EXTFH
test edx, 0x8597
add esp, 8
mov ax, word [ebp + 0xaa50]
mov word [ebp + 0x15610], ax
cmp byte [ebp + 0xaa50], 0x32
ja 0x4811f8
cmp byte [ebp + 0xaa50], 0x32
je 0x4811f8
lea esi, [ebp + 0x141f6]
lea edi, [ebp + 0x1ab77]
movsb byte es:[edi], byte [esi]
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x491b60
mov dword [ebp - 0x14], esi
lea eax, [ebp + 0x1a594]
push eax
mov edx, dword [0x4df644]
mov ebx, dword [edx + 0xa5]
or ebx, ebx
je 0x4811c9
test byte [ebx + 0x17], 0x80
jne 0x4811c9
mov ebx, dword [ebx + 0xc]
jmp 0x4811e3
mov ebx, ecx
push ebx
add edx, 0xa5
push edx
push 0xc
add edx, 6
push edx
call sub.cblrtss.dll__mFfindp
add esp, 0x10
mov ebx, eax
mov al, 1
call ebx
test edx, 0x850f
add esp, 4
bswap eax
mov dword [ebp + 0x1b3a4], eax
cmp dword [esp + 4], 0xffffff9f
jne 0x481202
ret 4
mov esi, 0x4970a0
lea edi, [ebp + 0x151b8]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
mov eax, 0x20202020
mov cl, 0x2c
rep stosd dword es:[edi], eax
mov al, 0x43
mov byte [ebp + 0x151a8], al
call fcn.00452d80
cmp dword [esp + 4], 0xffffffa0
jne fcn.00481234
ret 4