Function at 0x42fad0
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 0x42fafa
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x42fafa
push 1
push 0x4000
push ebx
call fcn.0049a340
mov edi, eax
test edi, edi
jne 0x42fb04
mov word [ebx], ax
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
cmp word [ebx + edi*2 - 2], 0xa
jne 0x42fb0d
dec edi
xor eax, eax
mov word [ebx + edi*2], ax
cmp dword [0x4e5c14], eax
je 0x42fba5
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 0x42fb9b
push 0x4e4218
push dword [esp + 0x18]
lea edx, [esp + 0x28]
mov ecx, ebp
call fcn.0049f920
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x42fafa
mov esi, dword [esp + 0x20]
mov ecx, ebx
push eax
push esi
call fcn.0042f990
push dword [esp + 0x1c]
xor edx, edx
mov ecx, esi
lea edi, [eax - 1]
call fcn.00405c10
push esi
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 0x42fc21
mov esi, ebx
nop
movzx eax, word [esi]
cmp eax, 0x20
je 0x42fbbd
cmp eax, 9
jne 0x42fbc2
add esi, 2
jmp 0x42fbb0
cmp ebp, 1
jne 0x42fbd5
cmp eax, 0x29
je 0x42fc26
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
push dword [0x4e4b50]
push 0x4e4b30
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x42fbfd
mov word [ebx], ax
mov eax, 0xfffffffe
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
cmp word [esi], 0x29
jne 0x42fc21
or edx, 0xffffffff
mov ecx, ebx
call fcn.00426400
mov edi, ebx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x42fc12
sub edi, ecx
sar edi, 1
cmp ebp, 2
je 0x42fc58
or edx, 0xffffffff
mov ecx, ebx
call fcn.00426400
mov edx, eax
mov ecx, ebx
call fcn.00426470
push dword [0x4e4b50]
mov edi, eax
push 0x4e4b30
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x42fd84
push 0x4e4b30
push ebx
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov esi, eax
add esp, 8
test esi, esi
je 0x42fbcc
lea edx, [esi - 2]
cmp edx, ebx
jb 0x42fd84
movzx eax, word [edx]
cmp eax, 0x20
je 0x42fd0c
cmp eax, 9
je 0x42fd0c
mov cx, word [0x4e4328]
mov eax, edx
cmp edx, ebx
jbe 0x42fcb2
nop
cmp word [eax], cx
jne 0x42fcb2
cmp word [eax - 2], cx
jne 0x42fcb2
sub eax, 4
cmp eax, ebx
ret
ja 0x42fca0
cmp eax, ebx
jb 0x42fce2
cmp word [eax], cx
jne 0x42fce2
mov ecx, esi
lea ebp, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42fcc0
sub ecx, ebp
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push edx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
dec edi
mov eax, dword [0x4e4b50]
push 0x4e4b30
lea eax, [esi + eax*2]
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x42fc71
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
mov edi, edx
xor eax, eax
sub edi, ebx
mov word [edx], ax
sar edi, 1
cmp word [ebx], ax
je 0x42fd79
cmp edi, 0xffffffff
jne 0x42fd35
mov edi, ebx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x42fd26
sub edi, ecx
sar edi, 1
lea eax, [ebx - 2]
lea eax, [eax + edi*2]
nop dword [eax + eax]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x42fd4d
cmp ecx, 9
jne 0x42fd57
cmp eax, ebx
je 0x42fd66
sub eax, 2
dec edi
jmp 0x42fd40
xor ecx, ecx
mov word [eax + 2], cx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
cmp ecx, 0x20
je 0x42fd74
cmp ecx, 9
jne 0x42fbcc
xor ecx, ecx
mov word [eax], cx
xor edi, edi
mov eax, edi
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