Function at 0x4b3ac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a939
mov eax, dword fs:[0]
push eax
mov eax, 0x124a8
call fcn.0050c350
mov eax, dword [0x5ac020]
xor eax, ebp
mov dword [ebp - 0x14], 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
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x124ac], eax
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x6c], vtable.cafx::tstring_ex_char__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [ebp - 4], 1
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], 2
mov dword [ebp - 0x50], vtable.cafx::tstring_ex_char__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x12468]
mov dword [ebp - 0x12474], eax
lea ecx, [ebp - 0x12468]
neg eax
mov dword [ebp - 0x124a4], ebx
and eax, 3
mov dword [ebp - 0x124a0], ebx
add eax, ecx
mov dword [ebp - 0x12494], ebx
mov dword [ebp - 0x12470], eax
lea eax, [ebp - 0x2468]
mov dword [ebp - 0x12490], ebx
mov dword [ebp - 0x1248c], ebx
mov dword [ebp - 0x12484], ebx
mov dword [ebp - 0x2468], ebx
mov dword [ebp - 0x2464], ebx
mov dword [ebp - 0x1246c], eax
mov byte [ebp - 4], 5
mov dword [ebp - method.HashAlgorithm.virtual_0], vtable.HashAlgorithm.0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2f4]
mov esi, dword [esi]
lea edi, [ebp - 0x2f4]
push eax
push 0x268
lea eax, [ebp - 0x2d4]
mov ecx, 0xa2
push eax
rep movsd dword es:[edi], dword [esi]
push 2
call fcn.004c3aa0
test eax, eax
je 0x4b40f0
xorps xmm0, xmm0
mov dword [ebp - method.XTSCipher.virtual_0], vtable.XTSCipher.0
lea eax, [ebp - 0x243c]
mov dword [ebp - 0x2444], ebx
push 0x2148
push eax
movlpd qword [ebp - 0x2454], xmm0
movlpd qword [ebp - 0x244c], xmm0
call fcn.0051b090
add esp, 8
mov byte [ebp - 4], 7
xor edi, edi
mov dword [ebp - 0x34], 0xded9262
mov dword [ebp - 0x30], 0x9a5591
mov dword [ebp - 0x2c], 0x88e06302
mov dword [ebp - 0x28], 0xeea10000
mov dword [ebp - 0x24], 0xcaeb00ff
mov dword [ebp - 0x20], 0x11a01202
mov dword [ebp - 0x1c], 0x9f917743
mov dword [ebp - 0x18], 0x18aa9119
mov dword [ebp - method.HashAlgorithm.virtual_0], vtable.HashAlgorithm.0
mov byte [ebp - 4], 8
cmp dword [0x5bda54], edi
je 0x4b3d1e
lea ecx, [ebp - 0x245c]
call fcn.004c5830
push 2
call fcn.004c35d0
test eax, eax
je 0x4b3d1e
push 0x583d50
call fcn.0052b620
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x4b3d1c
push 0x40
call fcn.004ffbb1
mov esi, eax
add esp, 4
test esi, esi
je 0x4b3d1c
push esi
push 0x20
lea eax, [ebp - 0x34]
push eax
push 2
call fcn.004c3be0
lea eax, [ebp - 0x2454]
push eax
push 0x20
lea eax, [ebp - 0x34]
push eax
push 2
call fcn.004c3850
lea eax, [ebp - 0x243c]
push eax
push edi
push 0x20
lea eax, [esi + 0x20]
push eax
push esi
push ebx
call fcn.0052b8f0
add esp, 0x18
test eax, eax
jne 0x4b3cfb
mov dword [ebp - 0x2444], 3
lea edi, [eax + 1]
push 0x20
push esi
call fcn.0051b090
push 0x20
push esi
call fcn.0051b090
push 0x20
push esi
call fcn.0051b090
push esi
call fcn.0051d3d0
add esp, 0x1c
xor ebx, ebx
mov byte [ebp - 4], 7
mov dword [ebp - method.HashAlgorithm.virtual_0], vtable.HashAlgorithm.0
test edi, edi
je 0x4b4081
push 0
push 0
lea eax, [ebp - 0x2f4]
push eax
push 0x288
push eax
lea ecx, [ebp - 0x245c]
call fcn.004c5880
test eax, eax
je 0x4b4081
xor esi, esi
lea ebx, [ebx]
movzx eax, byte [ebp + esi - 0x2f4]
push eax
lea eax, [ebp - 0x50]
push str._02X
push eax
call fcn.0045dd80
add esp, 0xc
cmp dword [ebp - 0x38], 0x10
jb 0x4b3d89
mov edx, dword [ebp - 0x4c]
test edx, edx
je 0x4b3db3
jmp 0x4b3d8c
lea edx, [ebp - 0x4c]
cmp byte [edx], 0
jne 0x4b3d95
xor eax, eax
jmp 0x4b3da9
mov eax, edx
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b3da0
sub eax, edi
push eax
push edx
lea ecx, [ebp - 0x68]
call fcn.0045e710
inc esi
cmp esi, 0x288
jb 0x4b3d60
mov byte [ebp - 4], 6
cmp dword [0x5bda54], 0
mov dword [ebp - method.XTSCipher.virtual_0], vtable.XTSCipher.0
je 0x4b3e2b
cmp dword [ebp - 0x2444], 0
je 0x4b3e2b
lea eax, [ebp - 0x243c]
push eax
call fcn.00529290
add esp, 4
mov dword [ebp - 0x2444], 0
lea eax, [ebp - 0x243c]
push 0x2148
push eax
call fcn.0051b090
lea eax, [ebp - 0x243c]
push 0x2148
push eax
call fcn.0051b090
lea eax, [ebp - 0x243c]
push 0x2148
push eax
call fcn.0051b090
add esp, 0x18
mov esi, str.PrivacyDrive
inc esi
cmp byte [esi], 0
jne 0x4b3e30
sub esi, str.PrivacyDrive
lea ecx, [ebp - 0x12474]
inc esi
push esi
call fcn.0040b510
mov edi, eax
test esi, esi
je 0x4b3e6c
mov edx, str.PrivacyDrive
mov ecx, edi
sub edx, edi
jmp 0x4b3e60
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
dec esi
jne 0x4b3e60
push 0x30
lea ecx, [ebp - 0x12474]
call fcn.0040b510
mov esi, eax
mov dword [ebp - 0x124a8], esi
mov dword [ebp - 0x124b4], esi
mov byte [ebp - 4], 9
test esi, esi
je 0x4b3eba
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 0
jmp 0x4b3ebc
xor esi, esi
mov byte [ebp - 4], 6
test edi, edi
je 0x4b3edd
cmp byte [edi], 0
mov eax, edi
je 0x4b3ed6
jmp 0x4b3ed0
inc eax
cmp byte [eax], 0
jne 0x4b3ed0
sub eax, edi
mov dword [esi], edi
mov dword [esi + 8], eax
test esi, esi
je 0x4b40f0
cmp dword [ebp - 0x1248c], 0
je 0x4b3f02
mov eax, dword [ebp - 0x12488]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x12488]
mov dword [eax + 0x2c], esi
jmp 0x4b3f0f
mov dword [esi + 0x28], 0
mov dword [ebp - 0x1248c], esi
sub esp, 8
mov dword [ebp - 0x12488], esi
lea eax, [ebp - 0x124a4]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x10], eax
push 0
push ecx
push str.LicenseInfo
lea ecx, [ebp - 0x12474]
call fcn.004b56b0
push eax
push 1
lea ecx, [ebp - 0x12474]
call fcn.004b55e0
mov edi, eax
test edi, edi
je 0x4b40f0
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x12474]
cmovae eax, dword [ebp - 0x68]
sub esp, 0xc
push eax
call fcn.004b56b0
push eax
push 0x56db20
push 2
lea ecx, [ebp - 0x12474]
call fcn.004b55e0
push eax
mov ecx, edi
call fcn.004b5510
push edi
mov ecx, esi
call fcn.004b5510
mov esi, dword [ebp - 0x1248c]
sub esp, 8
push 0
push ecx
push str.xml_version_1.0__encoding_utf_8__standalone_yes_
lea ecx, [ebp - 0x12474]
call fcn.004b56b0
push eax
push 7
lea ecx, [ebp - 0x12474]
call fcn.004b55e0
push eax
push esi
lea ecx, [ebp - 0x124a4]
call fcn.004b5560
push 0
push 0x56db20
lea ecx, [ebp - 0x4c]
call fcn.0040ca90
push 0
lea eax, [ebp - 0x50]
push 0
push eax
lea edx, [ebp - 0x124a4]
lea ecx, [ebp - 0x124b4]
call fcn.004b5bc0
mov ecx, dword [ebp - 0x124ac]
add esp, 8
mov edx, 0xc0000000
push 0x80000080
push 2
sub esp, 8
call fcn.00477a80
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x4b40f0
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x124a8]
push 0
push eax
push 3
lea eax, [ebp - 0x124ac]
mov dword [ebp - 0x124a8], 0
push eax
push esi
mov word [ebp - 0x124ac], 0xbbef
mov byte [ebp - 0x124aa], 0xbf
call edi
test eax, eax
je 0x4b4078
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x124a8]
push 0
push ecx
push dword [ebp - 0x3c]
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
push esi
call edi
test eax, eax
mov ecx, 1
cmovne ebx, ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4b40f0
mov byte [ebp - 4], 6
cmp dword [0x5bda54], 0
mov dword [ebp - method.XTSCipher.virtual_0], vtable.XTSCipher.0
je 0x4b40f0
cmp dword [ebp - 0x2444], 0
je 0x4b40f0
lea eax, [ebp - 0x243c]
push eax
call fcn.00529290
add esp, 4
mov dword [ebp - 0x2444], 0
lea eax, [ebp - 0x243c]
push 0x2148
push eax
call fcn.0051b090
lea eax, [ebp - 0x243c]
push 0x2148
push eax
call fcn.0051b090
lea eax, [ebp - 0x243c]
push 0x2148
push eax
call fcn.0051b090
add esp, 0x18
mov byte [ebp - 4], 5
mov dword [ebp - method.HashAlgorithm.virtual_0], vtable.HashAlgorithm.0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x12474]
call fcn.0040a7b0
mov byte [ebp - 4], 1
mov dword [ebp - 0x50], vtable.cafx::tstring_ex_char__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], 0x10
jb 0x4b412d
push dword [ebp - 0x4c]
call fcn.0051d3d0
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x6c], vtable.cafx::tstring_ex_char__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x54], 0x10
jb 0x4b4165
push dword [ebp - 0x68]
call fcn.0051d3d0
add esp, 4
mov dword [ebp - 0x54], 0xf
mov eax, ebx
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret 4