Function at 0x4fbeab
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
movzx eax, byte [ebx + 0x14]
mov edi, dword [ebx + 8]
xor esi, esi
mov dword [ebp - 8], eax
mov eax, dword [ebx + 4]
cmp edi, esi
mov dword [ebp - 0x14], 0x9170
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], eax
jne 0x4fbedf
mov edi, 0x50d112
mov ecx, dword [ebp + 8]
cmp ecx, esi
je 0x4fc490
cmp ebx, esi
je 0x4fc490
mov eax, dword [ebp + 0x10]
cmp eax, esi
jne 0x4fbf01
mov eax, dword [0x5b77b4]
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x14], esi
jne 0x4fbf09
mov dword [ebp + 0x14], eax
cmp word [ebx + 0x38], 0x63
jne 0x4fbf1e
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov dword [ebp + 8], eax
jmp 0x4fbf3a
mov ecx, dword [eax]
push 0x1778
push 1
push eax
call dword [ecx + 4]
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], esi
je 0x4fc47f
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x10], 0x5ab578
mov eax, dword [ebp + 8]
mov dword [esi + 0x29c], edx
mov dword [esi + 0x1c], eax
movzx eax, word [ebx]
mov dword [esi + 0x298], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x2a4], eax
mov dword [esi + 0x2a8], edi
mov dword [esi + 0x2b0], fcn.004fc4e0
mov dword [esi + 0x2ac], edx
cmp word [ebx + 0x38], 0x63
je 0x4fc083
movzx eax, word [ebx + 0x10]
mov edi, dword [ebp - 8]
mov dword [esi + 0x68], eax
movzx eax, word [ebx + 0x12]
mov dword [esi + 0x6c], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x78], edi
mov dword [esi + 0x28c], eax
mov eax, dword [ebp + 0x10]
cmp edi, edx
mov dword [esi + 0x290], eax
jle 0x4fbfe5
lea ecx, [esi + 0x118]
cmp byte [ebx + 0x18], 0
jne 0x4fbfc3
push 1
pop eax
jmp 0x4fbfc8
movzx eax, byte [edx + ebx + 0x18]
mov dword [ecx], eax
cmp byte [ebx + 0x18], 0
jne 0x4fbfd5
push 1
pop eax
jmp 0x4fbfda
movzx eax, byte [edx + ebx + 0x1c]
mov dword [ecx + 4], eax
inc edx
add ecx, 0x34
cmp edx, edi
jl 0x4fbfb8
mov dword [esi + 0x88], 1
movzx eax, byte [ebx + 0x15]
mov dword [esi + 0x84], eax
xor eax, eax
cmp byte [ebx + 0x17], al
setne al
mov dword [esi + 0x8c], eax
mov eax, 0x514
cmp dword [esi + 0x68], eax
jge 0x4fc024
cmp dword [esi + 0x6c], eax
jge 0x4fc024
fld dword [ebx + 0xc]
fcomp dword [0x57a3a8]
fnstsw ax
sahf
jbe 0x4fc02e
mov dword [esi + 0x250], 0x12
fld dword [ebx + 0xc]
fcomp dword [0x57a3ac]
fnstsw ax
sahf
ja 0x4fc041
push 0x55
pop eax
jmp 0x4fc05b
fld dword [ebx + 0xc]
fsub dword [0x57a3b0]
fmul dword [0x57a3b4]
fsub dword [0x57a3b8]
call fcn.0052bb30
lea ecx, [esi + 0x254]
mov edx, 0xff
cmp eax, edx
mov dword [ecx], eax
jle 0x4fc06e
mov dword [ecx], edx
fld dword [ebx + 0xc]
fstp dword [esi + 0x24c]
fld dword [0x57a3bc]
fstp dword [esi + 0x114]
mov eax, dword [0x5b7bf4]
and dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
mov dword [0x5b7bf4], eax
lea eax, [ebp - 0x60]
push 0
push eax
mov dword [ebp - 0x20], 0x5b7bf4
call fcn.0052a5c0
mov edi, dword [ebp + 0xc]
pop ecx
test eax, eax
pop ecx
jne 0x4fc416
cmp byte [edi + 0x16], 0
mov ebx, dword [ebp - 4]
push 1
pop esi
jne 0x4fc0df
cmp dword [ebp - 8], esi
je 0x4fc0d3
cmp dword [ebp - 8], 3
jne 0x4fc0df
cmp byte [edi + 0x15], 1
jne 0x4fc0df
movzx eax, word [edi + 0x3c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], eax
jmp 0x4fc0e7
and dword [ebp - 0x18], 0
and dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x4fc100
cmp word [edi + 0x3e], 2
jbe 0x4fc100
push 0x3c
push esi
push ebx
call fcn.0050d121
add esp, 0xc
cmp word [edi + 0x34], 0xfffd
jbe 0x4fc115
push 0x3d
push 2
push ebx
call fcn.0050d121
add esp, 0xc
cmp word [edi + 0x26], 0
jbe 0x4fc130
cmp word [edi + 0x24], 0
jne 0x4fc130
push 0x3e
push 3
push ebx
call fcn.0050d121
add esp, 0xc
cmp word [edi + 0x26], 0x8000
jb 0x4fc145
push 0x3f
push 2
push ebx
call fcn.0050d121
add esp, 0xc
fld dword [edi + 0xc]
fcomp dword [0x57a3c0]
fnstsw ax
sahf
jae 0x4fc15f
push 0x40
push esi
push ebx
call fcn.0050d121
add esp, 0xc
mov al, byte [edi + 0x16]
cmp al, 1
jbe 0x4fc18a
cmp al, 2
je 0x4fc176
push 0x41
push esi
push ebx
call fcn.0050d121
add esp, 0xc
mov ax, word [edi + 0x36]
cmp ax, si
jb 0x4fc185
cmp ax, 4
jbe 0x4fc18a
call fcn.004ce6e9
xor ecx, ecx
cmp word [edi + 0x38], cx
je 0x4fc198
mov dword [ebx + 0x90], esi
mov ax, word [edi + 0x24]
neg ax
sbb eax, eax
and eax, 0x64
mov word [ebx + 0x246], ax
movzx eax, byte [edi + 0x16]
sub eax, ecx
je 0x4fc1e7
dec eax
je 0x4fc1e1
dec eax
jne 0x4fc1ed
mov dword [ebx + 0x90], esi
mov dword [ebx + 0x80], 2
movzx eax, word [edi + 0x36]
mov dword [ebx + 0xa0], eax
cmp word [edi + 0x3a], cx
jne 0x4fc1ed
mov dword [ebx + 0x284], esi
jmp 0x4fc1ed
mov dword [ebx + 0x260], esi
mov dword [ebx + 0x80], ecx
mov ax, word [edi + 0x3a]
cmp ax, cx
jbe 0x4fc1ff
movzx eax, ax
mov dword [ebx + 0x284], eax
mov eax, dword [ebx + 0x284]
cmp eax, ecx
jle 0x4fc220
dec eax
mov dword [ebx + 0x280], esi
neg eax
sbb eax, eax
and eax, 4
add eax, 4
mov dword [ebx + 0x27c], eax
cmp dword [ebx + 0x80], 2
je 0x4fc26a
cmp dword [edi + 0x44], ecx
jne 0x4fc26a
cmp dword [ebp - 8], esi
mov edx, esi
jle 0x4fc24d
xor ecx, ecx
cmp dword [ebp - 8], ecx
jle 0x4fc24d
movzx eax, byte [ecx + edi + 0x18]
cmp eax, edx
jle 0x4fc247
mov edx, eax
inc ecx
cmp ecx, dword [ebp - 8]
jl 0x4fc23c
mov ebx, dword [ebp - 4]
mov ecx, edx
shl ecx, 3
cmp dword [ebp - 8], esi
mov eax, dword [ebx + 0x68]
jg 0x4fc260
imul eax, edx
lea eax, [eax + ecx - 1]
cdq
idiv ecx
mov dword [ebx + 0x60], eax
mov ecx, dword [edi + 0x20]
lea eax, [ebx + 0x23c]
mov dword [ebp - 0x10], eax
mov dword [eax], ecx
mov ecx, eax
mov eax, dword [ecx]
test eax, eax
je 0x4fc2d4
cmp byte [eax + 8], 0xff
jne 0x4fc2ca
cmp byte [eax + 9], 0xe0
jne 0x4fc2ca
movzx edx, byte [eax + 0xa]
movzx ebx, byte [eax + 0xb]
shl edx, 8
add edx, ebx
cmp edx, 0xa
jbe 0x4fc2ca
cmp byte [eax + 0xc], 0x4a
jne 0x4fc2ca
cmp byte [eax + 0xd], 0x46
jne 0x4fc2ca
cmp byte [eax + 0xe], 0x49
jne 0x4fc2ca
cmp byte [eax + 0xf], 0x46
jne 0x4fc2ca
cmp byte [eax + 0x10], 0
jne 0x4fc2ca
cmp dword [ebp - 0x18], 0
je 0x4fc2ce
test esi, esi
je 0x4fc2ce
and dword [ebp - 0xc], 0
xor esi, esi
jmp 0x4fc278
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x4fc27a
mov ax, word [edi + 0x34]
test ax, ax
jbe 0x4fc33e
movzx ebx, ax
mov eax, dword [ebp - 4]
add ebx, 4
mov eax, dword [eax + 0x290]
lea edx, [ebx + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x4fc362
and dword [esi], 0
lea eax, [ebx - 2]
mov ecx, eax
mov dword [esi + 4], ebx
or byte [esi + 8], 0xff
sub bl, 2
shr ecx, 8
push eax
mov byte [esi + 9], 0xfe
mov byte [esi + 0xa], cl
mov byte [esi + 0xb], bl
push dword [edi + 0x30]
lea eax, [esi + 0xc]
push eax
call fcn.0050b9c9
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [eax]
test eax, eax
jne 0x4fc497
mov eax, dword [ebp - 0x10]
mov dword [eax], esi
cmp dword [ebp - 0xc], 0
je 0x4fc3de
mov eax, dword [ebp - 4]
push 0x1a
push 1
mov eax, dword [eax + 0x290]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
add esp, 0xc
test eax, eax
jne 0x4fc373
push 0x42
push 7
push dword [ebp - 4]
call fcn.0050d121
add esp, 0xc
jmp 0x4fc3de
movzx ecx, word [edi + 0x40]
movzx ebx, word [edi + 0x3e]
movzx edx, word [edi + 0x42]
test ecx, ecx
je 0x4fc387
test edx, edx
jne 0x4fc391
movzx ecx, word [edi + 0x10]
movzx edx, word [edi + 0x12]
xor ebx, ebx
or byte [eax + 8], 0xff
mov byte [eax + 0x13], bl
mov ebx, ecx
mov byte [eax + 0x15], cl
mov ecx, edx
mov byte [eax + 9], 0xe0
shr ebx, 8
shr ecx, 8
mov byte [eax + 0x16], cl
mov ecx, dword [ebp - 0x10]
mov byte [eax + 0xb], 0x10
mov byte [eax + 0xc], 0x4a
mov byte [eax + 0xf], 0x46
mov byte [eax + 0xd], 0x46
mov byte [eax + 0xe], 0x49
mov byte [eax + 0x11], 1
mov byte [eax + 0x12], 2
mov byte [eax + 0x14], bl
mov byte [eax + 0x17], dl
mov dword [eax + 4], 0x12
mov edx, dword [ecx]
mov dword [eax], edx
mov dword [ecx], eax
cmp dword [edi + 0x28], 0
je 0x4fc3fa
movzx ecx, word [edi + 0x26]
mov eax, dword [ebp - 4]
mov dword [eax + 0x2b8], ecx
mov ecx, dword [edi + 0x28]
mov dword [eax + 0x2bc], ecx
push dword [ebp - 4]
call fcn.005126b2
pop ecx
push dword [ebp - 4]
call fcn.00511b8c
mov eax, dword [ebp - 0x20]
pop ecx
mov ecx, dword [ebp - 0x70]
mov dword [eax], ecx
jmp 0x4fc42b
push dword [ebp - 4]
call fcn.004e8ccf
mov eax, dword [ebp - 0x64]
pop ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 4]
push edi
push esi
call fcn.004fc4a5
mov eax, dword [ebp - 4]
pop ecx
pop ecx
test byte [eax + 0xc], 0x10
je 0x4fc470
push esi
call fcn.0050d029
mov esi, dword [esi + 0x290]
pop ecx
push dword [ebp - 4]
mov eax, dword [esi]
push esi
call dword [eax + 8]
cmp dword [ebp - 0x14], 0x9170
pop ecx
pop ecx
je 0x4fc490
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call fcn.00484017
pop ecx
pop ecx
jmp 0x4fc490
mov eax, dword [ebp - 4]
mov dword [esi + 0x2a0], 1
jmp 0x4fc492
push 0x1780
push dword [ebp - 0x18]
push edi
call fcn.004ef15b
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [eax]
test ecx, ecx
je 0x4fc33c
mov eax, ecx
jmp 0x4fc497