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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
push ebx
mov ebx, ecx
mov dword [esp + 0xc], edx
mov edx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
cmp edx, eax
jb 0x49fa7a
cmp edx, ecx
jb 0x49fa7a
push 4
xor edi, edi
lea esi, [esp + 0x24]
test ecx, ecx
lea edx, [ebx + 0x14]
push esi
cmovne eax, ecx
mov dword [esp + 0x18], edx
push eax
push edx
call dword [sym.imp.SHLWAPI.dll_HashData]
cmp dword [ebx], 0x4034b50
mov esi, dword [esp + 0x14]
jne 0x49fa7a
mov eax, dword [esp + 0x20]
cmp eax, dword [ebx + 4]
jne 0x49fa7a
mov ebx, dword [ebx + 0xc]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
add esp, 4
mov dword [esi], ecx
test ecx, ecx
je 0x49fa7a
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x24], eax
test eax, eax
je 0x49fa83
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push eax
call edi
add esp, 4
mov esi, eax
push dword [esp + 0x18]
push dword [esp + 0x14]
push esi
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [esp + 0x24]
add esp, 0xc
mov ecx, esi
push pe_nt_image_headers32
push 0
push dword [ebp + 0xc]
call fcn.0049f540
add esp, 0xc
push dword [esp + 0x24]
call edi
add esp, 4
mov edi, eax
lea eax, [esp + 0x18]
push 0
push 0
push eax
push edi
push 1
push 0
push esi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
push esi
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call esi
mov eax, dword [esp + 0x20]
add esp, 4
cmp ebx, eax
jne 0x49fa49
mov edx, dword [esp + 0x14]
push ebx
push edi
push dword [edx]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push edi
call esi
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 9
push eax
mov edx, edi
lea ecx, [esp + 0x1c]
call fcn.00420050
add esp, 0xc
test eax, eax
je 0x49fadc
mov ecx, dword [esp + 0x10]
call fcn.0041fff0
mov edx, dword [esp + 0x14]
push dword [edx]
call esi
add esp, 4
push edi
call esi
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
cmp ebx, eax
jne 0x49faa2
push ebx
push dword [esp + 0x14]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push 0
push 9
push eax
call fcn.00420050
add esp, 0xc
test eax, eax
je 0x49fadc
mov ecx, dword [esp + 0x10]
call fcn.0041fff0
mov edx, dword [esp + 0x14]
push dword [edx]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x14]
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x28]
mov edx, dword [edx]
push 1
push eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x58], ebx
call fcn.0041fd30
add esp, 8
test eax, eax
je 0x49fb36
mov eax, dword [esp + 0x14]
push dword [eax]
call esi
mov ecx, dword [esp + 0x14]
add esp, 4
call fcn.0041fff0
test edi, edi
je 0x49fa7a
push edi
call esi
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
call fcn.0041fff0
test edi, edi
je 0x49fb49
push edi
call esi
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret