Function at 0x4f67e0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588a28
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x608514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9c], ecx
mov edi, dword [ebp + 0x10]
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.004193c0
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 2
mov esi, dword [ebp + 8]
mov eax, esi
and eax, 1
or eax, 0
je 0x4f68fe
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004f91b0
mov al, byte [ebp - 0x20]
test al, al
je 0x4f68a1
cmp al, 6
je 0x4f68a1
cmp al, 7
jne 0x4f68ad
lea ecx, [ebp - 0x28]
call fcn.004bd780
test eax, eax
je 0x4f68f2
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd0]
call fcn.004bc2e0
mov byte [ebp - 4], 7
mov ecx, edi
push 0x5c32a5
push str.A0301
call fcn.004bdde0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd0]
call fcn.004bc4e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004bc4e0
mov eax, esi
and eax, 8
or eax, 0
je 0x4f69b4
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x28]
push eax
call fcn.004f9440
mov al, byte [ebp - 0x20]
test al, al
je 0x4f6957
cmp al, 6
je 0x4f6957
cmp al, 7
jne 0x4f6963
lea ecx, [ebp - 0x28]
call fcn.004bd780
test eax, eax
je 0x4f69a8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd0]
call fcn.004bc2e0
mov byte [ebp - 4], 0xd
mov ecx, edi
push 0x5c32ad
push str.A0303
call fcn.004bdde0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xd0]
call fcn.004bc4e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004bc4e0
mov eax, esi
and eax, 0x10
or eax, 0
je 0x4f6e2a
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0x12
xor eax, eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
call fcn.0050ff40
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00510190
test al, al
je 0x4f6b2e
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x68], 8
lea ecx, [ebp - 0x7c]
mov edx, dword [ebp - 0x6c]
cmovae ecx, dword [ebp - 0x7c]
push eax
call fcn.0043da50
add esp, 4
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0xd0]
push eax
call fcn.004bc260
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x28]
push 0x5c32b7
push str.default
call fcn.004bdde0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xd0]
call fcn.004bc4e0
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x4f6b1c
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f6b12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4f6b12
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0054bf14
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x58]
push eax
call fcn.0050ae90
xorps xmm0, xmm0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x44], 0
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0x1d
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x54]
sub ecx, dword [ebp - 0x58]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4f6cbc
mov esi, dword [ebp - 0x58]
xor edi, edi
mov dword [ebp - 0xb8], edi
nop
mov ecx, dword [ebp - 0xc8]
lea edx, [edi + esi]
and ecx, 0xffffff04
mov dword [ebp - 0xc4], 0
mov eax, ecx
mov dword [ebp - 0xc0], 0
or eax, 4
mov dword [ebp - 0xbc], 0
or ecx, 0x104
mov dword [ebp - 0xc8], eax
cmp dword [edx + 0x14], 0x10
mov edi, edx
mov dword [ebp - 0xc8], ecx
jb 0x4f6c0e
mov edi, dword [edx]
mov ecx, edx
call fcn.004a2d70
mov edx, eax
mov ecx, edi
call fcn.004bb390
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xb4]
call fcn.004bc2e0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x4c]
call fcn.004bd780
push eax
lea ecx, [ebp - 0x4c]
call fcn.004bd940
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xb4]
call fcn.004bc4e0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xd0]
call fcn.004bc4e0
mov ecx, dword [ebp - 0x54]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x58]
sub ecx, esi
mov edi, dword [ebp - 0xb8]
inc dword [ebp - 0x2c]
add edi, 0x18
imul ecx
mov dword [ebp - 0xb8], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x2c], eax
jb 0x4f6bc0
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0xd4]
mov al, byte [ebp - 0x44]
test al, al
je 0x4f6ccb
cmp al, 6
je 0x4f6ccb
cmp al, 7
jne 0x4f6cd7
lea ecx, [ebp - 0x4c]
call fcn.004bd780
test eax, eax
je 0x4f6d1d
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xb4]
call fcn.004bc2e0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x28]
push 0x5c32bc
push str.imes
call fcn.004bdde0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xb4]
call fcn.004bc4e0
mov al, byte [ebp - 0x20]
test al, al
je 0x4f6d2c
cmp al, 6
je 0x4f6d2c
cmp al, 7
jne 0x4f6d38
lea ecx, [ebp - 0x28]
call fcn.004bd780
test eax, eax
je 0x4f6d7d
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xb4]
call fcn.004bc2e0
mov byte [ebp - 4], 0x23
mov ecx, edi
push 0x5c3285
push str.A0304
call fcn.004bdde0
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xb4]
call fcn.004bc4e0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x4c]
call fcn.004bc4e0
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x4f6e03
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x54]
push ecx
call fcn.0041b510
mov ecx, dword [ebp - 0x50]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x58]
add esp, 0xc
imul ecx
mov ecx, dword [ebp - 0x58]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, ecx
shl edx, 3
cmp edx, 0x1000
jb 0x4f6de4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4f6de4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0054bf14
add esp, 8
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x7c]
call fcn.004046e0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x94]
call fcn.004046e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004bc4e0
mov eax, esi
and eax, 0x20
or eax, 0
je 0x4f6ee4
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0x2a
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004f9770
mov al, byte [ebp - 0x20]
test al, al
je 0x4f6e87
cmp al, 6
je 0x4f6e87
cmp al, 7
jne 0x4f6e93
lea ecx, [ebp - 0x28]
call fcn.004bd780
test eax, eax
je 0x4f6ed8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xb4]
call fcn.004bc2e0
mov byte [ebp - 4], 0x2b
mov ecx, edi
push 0x5c328d
push str.A0305
call fcn.004bdde0
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0xb4]
call fcn.004bc4e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004bc4e0
mov eax, esi
and eax, 4
or eax, 0
je 0x4f6efa
mov ecx, dword [ebp - 0x9c]
push edi
call fcn.004f9bb0
mov eax, esi
and eax, 0x40
or eax, 0
je 0x4f6fb6
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0x30
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x9c]
push eax
call fcn.004fae70
mov al, byte [ebp - 0x20]
test al, al
je 0x4f6f59
cmp al, 6
je 0x4f6f59
cmp al, 7
jne 0x4f6f65
lea ecx, [ebp - 0x28]
call fcn.004bd780
test eax, eax
je 0x4f6faa
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xb4]
call fcn.004bc2e0
mov byte [ebp - 4], 0x31
mov ecx, edi
push 0x5c3295
push str.A0306
call fcn.004bdde0
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0xb4]
call fcn.004bc4e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004bc4e0
and esi, 0x800
or esi, 0
je 0x4f706d
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0x36
lea eax, [ebp - 0x28]
push eax
call fcn.00509020
mov al, byte [ebp - 0x20]
test al, al
je 0x4f7010
cmp al, 6
je 0x4f7010
cmp al, 7
jne 0x4f701c
lea ecx, [ebp - 0x28]
call fcn.004bd780
test eax, eax
je 0x4f7061
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xb4]
call fcn.004bc2e0
mov byte [ebp - 4], 0x37
mov ecx, edi
push 0x5c329d
push str.A0307
call fcn.004bdde0
mov byte [ebp - 4], 0x38
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0xb4]
call fcn.004bc4e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004bc4e0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0x3c
lea eax, [ebp - 0x28]
push eax
call fcn.005097e0
mov al, byte [ebp - 0x20]
test al, al
je 0x4f70b8
cmp al, 6
je 0x4f70b8
cmp al, 7
jne 0x4f70c4
lea ecx, [ebp - 0x28]
call fcn.004bd780
test eax, eax
je 0x4f7109
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xb4]
call fcn.004bc2e0
mov byte [ebp - 4], 0x3d
mov ecx, edi
push 0x5c32e5
push str.A0309
call fcn.004bdde0
mov byte [ebp - 4], 0x3e
lea ecx, [ebp - 0xb4]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0xb4]
call fcn.004bc4e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004bc4e0
call fcn.0051a000
xor ecx, ecx
mov byte [ebp - 0x44], 1
and dword [ebp - 0x44], 0xfffffeff
test al, al
mov dword [ebp - 0x40], 0
setne cl
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0x3f
mov ecx, edi
push 0x5c32ed
push str.A0310
call fcn.004bdde0
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.004bc4e0
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 0x42
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 0x9c]
cmp ecx, eax
je 0x4f71c4
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4f71b8
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x64]
call fcn.004047a0
lea ecx, [ebp - 0x64]
call fcn.00444a90
lea ecx, [ebp - 0x64]
call fcn.00444160
mov byte [ebp - 0x20], 2
and dword [ebp - 0x20], 0xfffffeff
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0x43
mov ecx, edi
push 0x5c32f5
push str.A0311
call fcn.004bdde0
mov byte [ebp - 4], 0x44
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.004bc750
mov byte [ebp - 4], 0x42
lea ecx, [ebp - 0x28]
call fcn.004bc4e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.004046e0
mov dword [ebp - 4], 0x47
lea ecx, [ebp - 0x34]
mov esi, dword [ebp - 0x34]
push dword [esi + 4]
call fcn.00419440
mov eax, dword [ebp - 0x34]
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x34]
mov dword [eax], esi
mov eax, dword [ebp - 0x34]
mov dword [eax + 8], esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
push 0x28
push dword [ebp - 0x34]
call fcn.0054bf14
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054bed3
mov esp, ebp
pop ebp
ret 0xc