Function at 0x4205c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x3c], 6
mov dword [ebp - 0x4c], 0x27
mov dword [ebp - 0x48], 0x61
mov dword [ebp - 0x24], 0x41
mov dword [ebp - 0x40], 0x3e
mov dword [ebp - 0x44], 0x4b
mov dword [ebp - 0x50], 0x4b
mov dword [ebp - 0x54], 3
mov dword [ebp - 0xc], 0x32
mov dword [ebp - 0x20], 0x4d
mov dword [ebp - 0x58], 8
mov dword [ebp - 0x5c], 0x23
mov dword [ebp - 0x18], 0x63
mov dword [ebp - 0x10], 0x4c
mov dword [ebp - 0x60], 0x3f
mov dword [ebp - 0x64], 0x2a
mov dword [ebp - 0x14], 8
mov dword [ebp - 0x2c], 0x64
mov dword [ebp - 4], 0x43
mov dword [ebp - 0x30], 0x51
mov dword [ebp - 8], 0x48
mov dword [ebp - 0x34], 0x2f
mov dword [ebp - 0x28], 0x2d
mov dword [ebp - 0x1c], 0x54
mov dword [ebp - 0x38], 0x3a
cmp dword [ebp - 0xc], 0x25
jne 0x42068a
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov eax, dword [ebp - 0x14]
xor eax, 0x4c
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x30], 0x64
jle 0x4206ba
cmp dword [ebp - 0x28], 0x3c
je 0x4206b4
cmp dword [ebp - 0x38], 0x30
jne 0x4206b4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [ebp - 0x24]
add edx, 0x62
mov dword [ebp - 0x24], edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 0x10], 0x4d
jl 0x420675
cmp dword [ebp - 0x18], 0x4c
jge 0x420741
cmp dword [ebp - 4], 0x64
je 0x420741
cmp dword [ebp - 0x1c], 0x2f
jne 0x420741
cmp dword [ebp - 8], 0x55
je 0x42073b
cmp dword [ebp - 0x1c], 0xf
jge 0x42073b
cmp dword [ebp - 0x3c], 0x58
jne 0x420735
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [ebp - 0xc], 0x4b
jne 0x420735
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
cmp dword [ebp - 4], 0x33
jne 0x420735
cmp dword [ebp - 0x20], 0x33
jne 0x42072f
cmp dword [ebp - 0x28], 0x64
jge 0x42072f
call dword [sym.imp.USER32.dll_LoadCursorA]
cmp dword [ebp - 0x40], 0x60
jge 0x42072f
cmp dword [ebp - 0x14], 0x60
jge 0x42072f
cmp dword [ebp - 0x34], 6
jge 0x42072f
mov eax, dword [ebp - 0xc]
xor eax, 0x18
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xa
push ecx
mov edx, dword [ebp - 0x2c]
sub edx, 6
push edx
mov eax, dword [ebp - 0x2c]
sub eax, 0x31
push eax
mov ecx, dword [ebp - 8]
add ecx, 6
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0xb
push edx
call fcn.00425c50
add esp, 0x14
cmp dword [ebp - 8], 0x49
jge 0x4207aa
cmp dword [ebp - 0x30], 0x5c
jle 0x42078a
call dword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x34], 0x2e
jne 0x4207a8
mov edx, dword [ebp - 4]
and edx, 0x50
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x42076c
cmp dword [ebp - 0x44], 0x3d
jge 0x4207c5
cmp dword [ebp - 0x14], 0x28
je 0x4207c5
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov eax, dword [ebp - 4]
sub eax, 0x41
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x48], 0x23
jne 0x4207e3
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [ebp - 0x18], 0x64
jl 0x4207aa
mov esp, ebp
pop ebp
ret