Function at 0x561be9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a5cef
mov eax, dword fs:[0]
push eax
mov eax, 0x1249c
call fcn.0056e5a0
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0xf
mov dword [ebp - 0x124a4], eax
pop eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
mov dword [ebp - 4], ebx
mov ecx, vtable.tstring_ex_char__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [ebp - 0x68], ecx
xor edx, edx
inc edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 2
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1249c]
call fcn.00419778
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x124a8]
call fcn.00569c02
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2f0]
call fcn.005608e1
mov edi, 0x288
lea eax, [ebp - 0x2f0]
push edi
push dword [esi + 0x24]
push eax
call fcn.00643300
add esp, 0xc
lea eax, [ebp - 0x2f0]
lea ecx, [ebp - 0x124a8]
push eax
push 0x268
lea eax, [ebp - 0x2d0]
push eax
push 2
call fcn.00569ec1
test eax, eax
je 0x561f24
lea ecx, [ebp - 0x2458]
call fcn.0056a29c
mov byte [ebp - 4], 6
lea eax, [ebp - 0x30]
push 0x20
push eax
push 2
push 3
lea ecx, [ebp - 0x2458]
mov dword [ebp - 0x30], 0xcaeb00ff
mov dword [ebp - 0x2c], 0x11a01202
mov dword [ebp - 0x28], 0x9f917743
mov dword [ebp - 0x24], 0x18aa9119
mov dword [ebp - 0x20], 0xded9262
mov dword [ebp - 0x1c], 0x9a5591
mov dword [ebp - 0x18], 0x88e06302
mov dword [ebp - 0x14], 0xeea10000
call fcn.0056a480
test eax, eax
je 0x561f15
push ebx
push ebx
lea eax, [ebp - 0x2f0]
push eax
push edi
push eax
lea ecx, [ebp - 0x2458]
call fcn.0056a708
test eax, eax
je 0x561f15
mov esi, ebx
movzx eax, byte [ebp + esi - 0x2f0]
push eax
lea eax, [ebp - 0x4c]
push str._02X
push eax
call fcn.0053e654
add esp, 0xc
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x68]
cmovae eax, dword [ebp - 0x48]
push eax
call fcn.005609bc
inc esi
cmp esi, edi
jb 0x561d52
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2458]
call fcn.0056a2ca
push ebx
push ebx
push ebx
push ebx
push 0x70099c
lea ecx, [ebp - 0x1246c]
call fcn.0041ca69
xor edi, edi
lea ecx, [ebp - 0x1246c]
push eax
inc edi
push edi
call fcn.0041c9c6
mov esi, eax
test esi, esi
je 0x561f24
push esi
lea ecx, [ebp - 0x1249c]
call fcn.0041cba9
push ebx
push ebx
push ebx
push ebx
push str.LicenseInfo
lea ecx, [ebp - 0x1246c]
call fcn.0041ca69
push eax
push edi
lea ecx, [ebp - 0x1246c]
call fcn.0041c9c6
mov edi, eax
test edi, edi
je 0x561f24
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
push ebx
cmovae eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x1246c]
push ebx
push ebx
push eax
call fcn.0041ca69
push eax
push 0x700966
push 2
lea ecx, [ebp - 0x1246c]
call fcn.0041c9c6
push eax
mov ecx, edi
call fcn.0041cba9
push edi
mov ecx, esi
call fcn.0041cba9
mov esi, dword [ebp - 0x12484]
lea ecx, [ebp - 0x1246c]
push ebx
push ebx
push ebx
push ebx
push 0x7009b8
call fcn.0041ca69
push eax
push 7
lea ecx, [ebp - 0x1246c]
call fcn.0041c9c6
push eax
push esi
lea ecx, [ebp - 0x1249c]
call fcn.0050595c
push 0x700967
lea ecx, [ebp - 0x4c]
call fcn.004248bc
push ebx
push ebx
lea eax, [ebp - 0x1249c]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x124a0]
push eax
call fcn.0042a8c1
push ebx
push 0x80000080
push 2
push ebx
push 1
push 0xc0000000
push dword [ebp - 0x124a4]
call fcn.005654e9
mov esi, eax
add esp, 0x30
cmp esi, 0xffffffff
je 0x561f24
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x124a4]
push ebx
push eax
push 3
lea eax, [ebp - 0x124a0]
mov dword [ebp - 0x124a4], ebx
push eax
push esi
mov word [ebp - 0x124a0], 0xbbef
mov byte [ebp - 0x1249e], 0xbf
call edi
test eax, eax
je 0x561f0c
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x124a4]
push ebx
push ecx
push dword [ebp - 0x38]
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
push esi
call edi
test eax, eax
push 1
pop eax
cmovne ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x561f24
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2458]
call fcn.0056a2ca
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x124a8]
call fcn.00569c0b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1246c]
call fcn.0041cc8c
xor eax, eax
inc eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x4c]
call fcn.00419a6d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00419a6d
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret 4