Function at 0x54305a
Capabilities:
Write file on windows

Disassembly:
push 0xb8
mov eax, 0x5fe508
call fcn.005cb937
mov edi, ecx
lea eax, [ebp - 0x9c]
push eax
xor ebx, ebx
mov eax, edi
mov dword [ebp - 4], ebx
call fcn.004a13f2
lea eax, [ebp + 8]
push eax
lea esi, [ebp - 0xb8]
mov byte [ebp - 4], 1
call fcn.0054ae6f
pop ecx
mov eax, esi
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.00548f1f
pop ecx
pop ecx
xor esi, esi
inc esi
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc0], esp
push str.Content_Transfer_Encoding:
call fcn.0040518c
lea edx, [ebp - 0x9c]
lea ecx, [ebp - 0x80]
call fcn.00549a00
add esp, 4
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0xc0], esp
push str.base64
call fcn.0040518c
sub esp, 0x1c
mov byte [ebp - 4], 4
lea eax, [ebp - 0x80]
mov ecx, esp
mov dword [ebp - 0xc4], esp
push eax
call fcn.004051ae
mov byte [ebp - 4], 3
call fcn.0054aa4a
add esp, 0x38
cmp eax, ebx
jne 0x54321b
lea eax, [ebp - 0x64]
push eax
mov eax, edi
call fcn.004a140f
push 0xd
lea edi, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.0054a917
pop ecx
push 0xa
call fcn.0054a917
pop ecx
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
call fcn.004055a6
mov byte [ebp - 4], 6
cmp dword [ebp - 0x4c], 0x10
mov eax, dword [ebp - 0x60]
jae 0x54314f
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x50]
push eax
call fcn.0053a29a
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
mov dword [ebp - 0xc4], ebx
jae 0x543170
lea eax, [ebp + 0xc]
push 0x666000
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.005c8fa1
add esp, 0xc
cmp dword [ebp - 0xc4], ebx
je 0x54320c
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x543199
lea eax, [ebp - 0x44]
push dword [ebp - 0xc4]
push dword [ebp - 0x34]
push esi
push eax
call fcn.005c9156
push dword [ebp - 0xc4]
call fcn.005c924f
add esp, 0x14
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.004055c2
lea ecx, [ebp - 0x64]
push ebx
push esi
call fcn.004055c2
mov byte [ebp - 0xb9], 1
push ebx
push esi
lea ecx, [ebp - 0x80]
call fcn.004055c2
push ebx
push esi
lea ecx, [ebp - 0xb8]
call fcn.004055c2
push ebx
push esi
lea ecx, [ebp - 0x9c]
call fcn.004055c2
push ebx
push esi
lea ecx, [ebp + 8]
call fcn.004055c2
mov al, byte [ebp - 0xb9]
call fcn.005cb9ba
ret
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.004055c2
lea ecx, [ebp - 0x64]
jmp 0x543232
lea eax, [ebp - 0x2c]
push eax
mov eax, edi
call fcn.004a140f
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], ebx
jne 0x543241
lea ecx, [ebp - 0x2c]
push ebx
push esi
call fcn.004055c2
mov byte [ebp - 0xb9], bl
jmp 0x5431d2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc0], esp
push str.quoted_printable
call fcn.0040518c
sub esp, 0x1c
mov byte [ebp - 4], 8
lea eax, [ebp - 0x80]
mov ecx, esp
mov dword [ebp - 0xc4], esp
push eax
call fcn.004051ae
mov byte [ebp - 4], 7
call fcn.0054aa4a
add esp, 0x38
cmp eax, ebx
jne 0x54328f
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00545c67
movzx eax, al
pop ecx
cmp eax, ebx
je 0x54322f
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc0], ebx
jae 0x5432a1
lea eax, [ebp + 0xc]
push 0x666000
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.005c8fa1
add esp, 0xc
cmp dword [ebp - 0xc0], ebx
je 0x54322f
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x5432ce
lea eax, [ebp - 0x28]
push dword [ebp - 0xc0]
push dword [ebp - 0x18]
push esi
push eax
call fcn.005c9156
push dword [ebp - 0xc0]
call fcn.005c924f
add esp, 0x14
lea ecx, [ebp - 0x2c]
jmp 0x5431c4