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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [0x1f97b00c]
cmp eax, 0x1f97b00c
je 0x1f913aa0
test dword [eax + 0x1c], 0x400
je 0x1f913aa0
push esi
push 0x1f886928
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f895d0a
mov ebx, dword [esi + 0x65c]
lea edi, [esi + 0x658]
push dword [edi]
call sym.WsmSvc.DLL_FwXmlNumChildren
cmp ebx, eax
je 0x1f913e15
push ebx
push dword [edi]
call sym.WsmSvc.DLL_FwXmlGetChild
xor ebx, ebx
push ebx
push 0x37
mov edi, 0x1f872ca8
push edi
push 6
push 0x1f87eca4
push eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], ebx
call sym.WsmSvc.DLL_FwXmlCompareElementNameEx
test eax, eax
jne 0x1f913b0e
mov eax, dword [0x1f97b00c]
cmp eax, 0x1f97b00c
je 0x1f913dee
test dword [eax + 0x1c], 0x200
je 0x1f913dee
push 0x1f886928
push 0xf
jmp 0x1f913de3
mov eax, dword [ebp - 8]
push ebx
lea ecx, [ebp - 0x14]
push ecx
push 0x1f87e940
push 3
push edi
add eax, 0x2c
push 0x37
push eax
mov dword [ebp - 0x14], ebx
call sym.WsmSvc.DLL_FwXmlFindAttribute
test eax, eax
je 0x1f913b7b
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
add eax, 0x18
push eax
mov dword [ebp - 0x18], ebx
call sym.WsmSvc.DLL_FwXmlGetBooleanValue
test eax, eax
jne 0x1f913b70
mov eax, dword [0x1f97b00c]
cmp eax, 0x1f97b00c
je 0x1f913dee
test dword [eax + 0x1c], 0x200
je 0x1f913dee
push 0x1f886928
push 0x10
jmp 0x1f913de3
xor eax, eax
inc eax
cmp dword [ebp - 0x18], eax
jne 0x1f913b7b
mov dword [ebp - 0x24], eax
push ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
push 0x1f872c24
push 4
push edi
push 0x37
add eax, 0x2c
push eax
mov dword [ebp - 0x1c], ebx
call sym.WsmSvc.DLL_FwXmlFindAttribute
test eax, eax
je 0x1f913dc7
push dword [ebp - 0x1c]
call sym.WsmSvc.DLL_FwXmlGetAttributeValue
mov dword [ebp - 0x28], eax
cmp eax, ebx
jne 0x1f913bd9
mov eax, dword [0x1f97b00c]
cmp eax, 0x1f97b00c
je 0x1f913dee
test dword [eax + 0x1c], 0x200
je 0x1f913dee
push 0x1f886928
push 0x11
jmp 0x1f913de3
push ebx
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push 0x1f87ea68
push 9
push edi
push 0x37
add eax, 0x2c
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
call sym.WsmSvc.DLL_FwXmlFindAttribute
test eax, eax
je 0x1f913c8a
push dword [ebp - 0x20]
call sym.WsmSvc.DLL_FwXmlGetAttributeValue
mov ecx, dword [esi + 0x650]
push eax
call fcn.1f91a26f
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x1f913c46
mov eax, dword [0x1f97b00c]
cmp eax, 0x1f97b00c
je 0x1f913dee
test dword [eax + 0x1c], 0x200
je 0x1f913dee
push 0x1f886928
push 0x13
jmp 0x1f913de3
lea edi, [esi + 0x654]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1f913c73
cmp ecx, ebx
je 0x1f913c5c
push esi
call fcn.1f915690
push dword [esi + 0x5fc]
mov ecx, dword [ebp - 0x18]
push esi
call fcn.1f915880
test eax, eax
je 0x1f913e15
push dword [ebp - 0x18]
mov ecx, edi
call fcn.1f912365
mov eax, dword [edi]
mov eax, dword [eax + 0x734]
mov dword [ebp - 0x18], eax
jmp 0x1f913cb3
cmp byte [esi + 0x674], bl
jne 0x1f913cb3
push dword [esi + 0x5fc]
mov ecx, dword [esi + 0x650]
push esi
call fcn.1f91b032
test eax, eax
je 0x1f913e15
mov byte [esi + 0x674], 1
push 1
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], ebx
call sym.WsmSvc.DLL_FwXmlGetSimpleContentEx2
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0xc], ebx
je 0x1f913ce2
push ebx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push 1
push dword [ebp - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
push ebx
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x10]
call sym.WsmSvc.DLL_public:_static_void____stdcall_WSManMemory::Alloc_unsigned_int__class_TestSystem::CallSite_const___enum_TestSystem::Mode_
lea edi, [esi + 0x670]
push eax
mov ecx, edi
call fcn.1f95c8ef
mov eax, dword [edi]
cmp eax, ebx
jne 0x1f913d13
mov ecx, dword [esi + 0x5fc]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x1f913e15
cmp dword [ebp - 0xc], ebx
je 0x1f913d4e
push ebx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
push 1
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
jne 0x1f913d4e
lea edi, [esi + 0x5fc]
mov eax, dword [edi]
mov esi, dword [eax]
add esi, 0x20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi]
push eax
call dword [esi]
jmp 0x1f913e15
mov eax, dword [edi]
mov ecx, dword [esi + 0x650]
mov dword [esi + 0x66c], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x664], 2
mov dword [esi + 0x668], eax
cmp dword [ecx + 0x7b8], ebx
je 0x1f913d8a
cmp eax, ebx
je 0x1f913d8a
mov ecx, esi
call fcn.1f91383e
test eax, eax
je 0x1f913e15
inc dword [esi + 0x65c]
mov ecx, esi
call fcn.1f94dfce
mov eax, dword [esi + 0x268]
mov ecx, dword [eax + 8]
lea eax, [esi + 0x664]
push eax
push dword [ebp - 0x28]
mov eax, dword [0x1f97b700]
push dword [ebp - 0x18]
add esi, 0x50
push dword [esi + 0x610]
push dword [ebp - 0x24]
push esi
call dword [ecx + eax]
xor eax, eax
inc eax
jmp 0x1f913e17
mov eax, dword [0x1f97b00c]
cmp eax, 0x1f97b00c
je 0x1f913dee
test dword [eax + 0x1c], 0x200
je 0x1f913dee
push 0x1f886928
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1f895ce3
push dword [ebp - 8]
lea edi, [esi + 0x5fc]
mov eax, dword [edi]
mov esi, dword [eax]
add esi, 0x1c
call sym.WsmSvc.DLL_FwXmlGetElementNameEx
push eax
push 0x4033c493
push 0x80338041
push dword [edi]
call dword [esi]
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret