Function at 0x42f8f0
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
test ebx, ebx
je 0x42f91a
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x42f91a
push 1
push 0x4000
push ebx
call fcn.00499f10
mov esi, eax
test esi, esi
jne 0x42f924
mov word [ebx], ax
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
cmp word [ebx + esi*2 - 2], 0xa
jne 0x42f92d
dec esi
xor eax, eax
mov word [ebx + esi*2], ax
cmp dword [0x4e4c00], eax
je 0x42f9c5
push 0x8002
mov dword [esp + 0x18], 0x8002
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov ebp, eax
lea eax, [esp + 0x14]
push 0
push 0
push eax
push ebp
push 1
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
cmp dword [ebp], 0x4034b50
jne 0x42f9bb
push 0x4e3238
push dword [esp + 0x18]
lea edx, [esp + 0x28]
mov ecx, ebp
call fcn.0049f530
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x42f91a
mov edi, dword [esp + 0x20]
mov ecx, ebx
push eax
push edi
call fcn.0042f7b0
push dword [esp + 0x1c]
xor edx, edx
mov ecx, edi
lea esi, [eax - 1]
call fcn.00405b80
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0x10
push ebp
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x42fa41
mov edi, ebx
nop
movzx eax, word [edi]
cmp eax, 0x20
je 0x42f9dd
cmp eax, 9
jne 0x42f9e2
add edi, 2
jmp 0x42f9d0
cmp ebp, 1
jne 0x42f9f5
cmp eax, 0x29
je 0x42fa46
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
push dword [0x4e3b70]
push 0x4e3b50
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x42fa1d
mov word [ebx], ax
mov eax, 0xfffffffe
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
cmp word [edi], 0x29
jne 0x42fa41
or edx, 0xffffffff
mov ecx, ebx
call fcn.00426230
mov esi, ebx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42fa32
sub esi, ecx
sar esi, 1
cmp ebp, 2
je 0x42fa78
or edx, 0xffffffff
mov ecx, ebx
call fcn.00426230
mov edx, eax
mov ecx, ebx
call fcn.004262a0
push dword [0x4e3b70]
mov esi, eax
push 0x4e3b50
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x42fb79
push 0x4e3b50
push ebx
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov edi, eax
add esp, 8
test edi, edi
je 0x42f9ec
lea edx, [edi - 2]
cmp edx, ebx
jb 0x42fb79
movzx eax, word [edx]
cmp eax, 0x20
je 0x42faff
cmp eax, 9
je 0x42faff
cmp ax, word [0x4e3348]
jne 0x42fad9
mov ecx, edi
lea ebp, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42fab7
sub ecx, ebp
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push edx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
dec esi
mov eax, dword [0x4e3b70]
push 0x4e3b50
lea eax, [edi + eax*2]
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov edi, eax
add esp, 8
test edi, edi
jne 0x42fa91
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
mov esi, edx
xor eax, eax
sub esi, ebx
mov word [edx], ax
sar esi, 1
cmp word [ebx], ax
je 0x42fb6e
cmp esi, 0xffffffff
jne 0x42fb2f
mov esi, ebx
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42fb20
sub esi, ecx
sar esi, 1
lea eax, [ebx - 2]
lea eax, [eax + esi*2]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x42fb42
cmp ecx, 9
jne 0x42fb4c
cmp eax, ebx
je 0x42fb5b
sub eax, 2
dec esi
jmp 0x42fb35
xor ecx, ecx
mov word [eax + 2], cx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
cmp ecx, 0x20
je 0x42fb69
cmp ecx, 9
jne 0x42f9ec
xor ecx, ecx
mov word [eax], cx
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
pop edi
pop esi
xor eax, eax
pop ebp
mov word [ebx], ax
pop ebx
ret 0x10