Function at 0x140235138
Capabilities:
Encode data using base64
Parse pe header

Disassembly:
push rax
pushf
mov eax, 0x61249080
pushf
not eax
add eax, 0x8213f086
xor eax, 0xb0c51a8a
rol eax, 0x56
popf
pushf
not eax
add eax, 0xfb2a1c67
xor eax, 0xdebe2480
rol eax, 0x6d
popf
pushf
not eax
add eax, 0xd20b8baf
xor eax, 0xcb627a6f
rol eax, 0xce
popf
cmp eax, 4
jne 0x140235188
popf
pop rax
jmp 0x1402354d3
cmp eax, 0
jne 0x140235197
popf
pop rax
jmp 0x140235200
cmp eax, 3
jne 0x1402351a6
popf
pop rax
jmp 0x140235415
cmp eax, 1
jne 0x1402351b5
popf
pop rax
jmp 0x140235341
cmp eax, 5
jne 0x1402351c4
popf
pop rax
jmp 0x140235544
cmp eax, 7
jne 0x1402351d3
popf
pop rax
jmp 0x14023563b
cmp eax, 6
jne 0x1402351e2
popf
pop rax
jmp 0x140235597
cmp eax, 2
jne 0x1402351f1
popf
pop rax
jmp 0x1402353bf
cmp eax, 8
jne 0x140235200
popf
pop rax
jmp 0x140235694
push rbx
sub rsp, 0x20
test r8, r8
movzx r10d, dx
lea rbx, [0x1817024c6]
pushf
sub rbx, 0x415f7e3e
popf
mov edx, 0x770ff021
pushf
not edx
add edx, 0x97b8543a
xor edx, 0xf2960400
rol edx, 0x7e
popf
pushf
not edx
add edx, 0xdc698f7e
xor edx, 0xb5d9f777
rol edx, 0x11
popf
cmovne rbx, r8
mov eax, 0xb93b628a
pushf
not eax
add eax, 0x999cad18
xor eax, 0x9b073ec8
rol eax, 0xb6
popf
pushf
not eax
add eax, 0x8136ca4f
xor eax, 0xbea0a865
rol eax, 0x77
popf
pushf
not eax
add eax, 0xeb9eff51
xor eax, 0xb2445241
rol eax, 0x81
popf
pushf
not eax
add eax, 0x864d14a4
xor eax, 0xe168f0de
rol eax, 0xe7
popf
push r10
not r10d
sub edx, r10d
pop r10
sub edx, 1
cmp dword [rbx], 0
jne 0x1402352fb
push rax
pushf
mov eax, 0x8f6c5d7e
pushf
not eax
add eax, 0x8ab45f33
xor eax, 0x95fe9beb
rol eax, 0xf1
popf
pushf
not eax
add eax, 0xa4e53221
xor eax, 0x985e1b2e
rol eax, 0x45
popf
pushf
not eax
add eax, 0xea871b63
xor eax, 0xcb7d27a5
rol eax, 0x84
popf
jmp 0x140235179
push rax
pushf
mov eax, 0xbdebf6b8
pushf
not eax
add eax, 0x9715d5f2
xor eax, 0xf1f0868c
rol eax, 0x3e
popf
pushf
not eax
add eax, 0xce21cf74
xor eax, 0x990edea2
rol eax, 0x56
popf
pushf
not eax
add eax, 0x8e9bf1d9
xor eax, 0xa595586f
rol eax, 0x54
popf
jmp 0x140235179
cmp dx, ax
ja 0x14023538c
push rax
pushf
mov eax, 0x5ae799f9
pushf
not eax
add eax, 0xb596b673
xor eax, 0x97003181
rol eax, 0x9c
popf
pushf
not eax
add eax, 0x8b365617
xor eax, 0xd2a6a11c
rol eax, 9
popf
pushf
not eax
add eax, 0x874a25ff
xor eax, 0x8bcdcfa5
rol eax, 0xe
popf
jmp 0x140235179
push rax
pushf
mov eax, 0x3b327496
pushf
not eax
add eax, 0xb5183250
xor eax, 0xf4c8bc0f
rol eax, 0x7a
popf
pushf
not eax
add eax, 0xd37c8b79
xor eax, 0xf947d742
rol eax, 0x7c
popf
jmp 0x140235179
mov rdx, r9
mov rcx, rbx
call fcn.14011ae9e
jmp 0x140235694
mov r8d, 0x581245
pushf
not r8d
add r8d, 0xbb447141
xor r8d, 0x852ae385
rol r8d, 8
popf
pushf
not r8d
add r8d, 0x876581d7
xor r8d, 0xc0a82b97
rol r8d, 0xe0
popf
mov edx, r10d
add r10w, r8w
cmp r10w, ax
ja 0x14023548d
push rax
pushf
mov eax, 0x85b3b7a5
pushf
not eax
add eax, 0xf214d0ef
xor eax, 0xc1705977
rol eax, 0xd5
popf
pushf
not eax
add eax, 0xa61d6c40
xor eax, 0xbe47ca17
rol eax, 0xa5
popf
jmp 0x140235179
push rax
pushf
mov eax, 0xf11b23f4
pushf
not eax
add eax, 0xd9915d37
xor eax, 0xc865e96e
rol eax, 0xa5
popf
pushf
not eax
add eax, 0xf3d14d26
xor eax, 0xbf765951
rol eax, 0xa4
popf
pushf
not eax
add eax, 0xcf836a10
xor eax, 0xedd17b0b
rol eax, 0x2b
popf
jmp 0x140235179
shl edx, 0xa
and edx, 0xfc9ffc00
add edx, 0x10000
mov dword [rbx], edx
xor eax, eax
jmp 0x140235694
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.1401e7970
cmp dx, ax
ja 0x1402355e2
push rax
pushf
mov eax, 0x19cefdb
pushf
not eax
add eax, 0x9aab31f1
xor eax, 0xf4f4baa5
rol eax, 0xc6
popf
pushf
not eax
add eax, 0xd5427115
xor eax, 0xcb121d52
rol eax, 0x89
popf
pushf
not eax
add eax, 0xb06643e1
xor eax, 0x83b2ecd5
rol eax, 0x1c
popf
jmp 0x140235179
push rax
pushf
mov eax, 0x8fcd0db2
pushf
not eax
add eax, 0xc57d0313
xor eax, 0x9ade0baa
rol eax, 0x69
popf
pushf
not eax
add eax, 0xe6cdc869
xor eax, 0xd0e87053
rol eax, 0x7d
popf
pushf
not eax
add eax, 0x9f26fae8
xor eax, 0xabfb43bc
rol eax, 0x48
popf
pushf
not eax
add eax, 0xd77e9d78
xor eax, 0xb2c8dca8
rol eax, 0xcf
popf
jmp 0x140235179
and qword [rsp + 0x40], 0
lea r8, [rsp + 0x40]
mov edx, r10d
and edx, 0xffff23ff
add edx, dword [rbx]
call fcn.1401e7970
mov rdx, rbx
mov rcx, rax
call fcn.1403629e3
push rax
pushf
mov eax, 0xd3218d98
pushf
not eax
add eax, 0xc63636a9
xor eax, 0xb693e196
rol eax, 0xb7
popf
pushf
not eax
add eax, 0xdb1cfa0b
xor eax, 0x977a3666
rol eax, 0x4c
popf
jmp 0x140235179
add rsp, 0x20
pop rbx
ret