Function at 0x425c50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f2ed
mov eax, dword fs:[0]
push eax
mov eax, 0x2064
call fcn.00535d00
mov eax, dword [0x5bf500]
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 dword [ebp - 4], 1
xor ebx, ebx
mov dword [ebp - 0x2064], ebx
xor edi, edi
mov dword [ebp - 0x2060], edi
mov dword [ebp - 0x205c], ebx
mov byte [ebp - 4], 2
test cl, cl
je 0x425cef
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2068], esp
push 0x58d0e4
call fcn.00403ff0
mov byte [ebp - 4], 3
push ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x2010]
call fcn.00425870
add esp, 0x1c
test eax, eax
jle 0x425d55
lea eax, [ebp - 0x2010]
push eax
lea ecx, [ebp - 0x2028]
call fcn.00403ff0
mov byte [ebp - 4], 4
jmp 0x425d03
push 0x58d0e4
lea ecx, [ebp - 0x2028]
call fcn.00403ff0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2028]
push eax
lea ecx, [ebp - 0x2064]
call fcn.00429040
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2014], 8
jb 0x425d30
push dword [ebp - 0x2028]
call fcn.00443e80
add esp, 4
mov ebx, dword [ebp - 0x2064]
xor eax, eax
mov edi, dword [ebp - 0x2060]
mov word [ebp - 0x2028], ax
mov dword [ebp - 0x2018], eax
mov dword [ebp - 0x2014], 7
mov ecx, edi
mov eax, 0x2aaaaaab
sub ecx, ebx
xor esi, esi
imul ecx
mov dword [ebp - 0x206c], esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x425f05
push ecx
push esi
lea edx, [ebp - 0x2064]
lea ecx, [ebp - 0x2058]
call fcn.0042c080
mov byte [ebp - 4], 6
lea eax, [ebp + 8]
push eax
lea edx, [ebp - 0x2058]
lea ecx, [ebp - 0x2040]
call fcn.0042c1d0
add esp, 0xc
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2040]
cmp dword [ebp - 0x202c], 8
push 0
cmovae eax, dword [ebp - 0x2040]
push 0x80
push 2
push 0
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x425e67
lea edx, [ebp + 0x20]
mov dword [ebp - 0x2068], 0
lea ecx, [ebp - 0x2028]
call fcn.00403e90
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2068]
cmp dword [ebp - 0x2014], 0x10
lea eax, [ebp - 0x2028]
push 0
cmovae eax, dword [ebp - 0x2028]
push ecx
push dword [ebp - 0x2018]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x2014], 0x10
jb 0x425e4c
push dword [ebp - 0x2028]
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x2014], 0xf
mov dword [ebp - 0x2018], 0
mov byte [ebp - 0x2028], 0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x202c], 8
jb 0x425e82
push dword [ebp - 0x2040]
call fcn.00443e80
add esp, 4
xor eax, eax
mov dword [ebp - 0x202c], 7
mov dword [ebp - 0x2030], eax
mov word [ebp - 0x2040], ax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2044], 8
jb 0x425eb6
push dword [ebp - 0x2058]
call fcn.00443e80
add esp, 4
mov edi, dword [ebp - 0x2060]
xor eax, eax
mov ebx, dword [ebp - 0x2064]
mov ecx, edi
mov esi, dword [ebp - 0x206c]
sub ecx, ebx
mov word [ebp - 0x2058], ax
inc esi
mov dword [ebp - 0x2048], eax
mov eax, 0x2aaaaaab
imul ecx
mov dword [ebp - 0x2044], 7
sar edx, 2
mov eax, edx
mov dword [ebp - 0x206c], esi
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x425d78
mov byte [ebp - 4], 1
test ebx, ebx
je 0x425f64
mov esi, ebx
cmp ebx, edi
je 0x425f3d
cmp dword [esi + 0x14], 8
jb 0x425f23
push dword [esi]
call fcn.00443e80
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x425f13
push ebx
call fcn.00443e80
add esp, 4
mov dword [ebp - 0x2064], 0
mov dword [ebp - 0x2060], 0
mov dword [ebp - 0x205c], 0
mov byte [ebp - 4], 0
cmp dword [ebp + 0x1c], 8
jb 0x425f79
push dword [ebp + 8]
call fcn.00443e80
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x34], 8
jb 0x425fa5
push dword [ebp + 0x20]
call fcn.00443e80
add esp, 4
xor eax, eax
mov dword [ebp + 0x34], 7
mov dword [ebp + 0x30], 0
mov word [ebp + 0x20], ax
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.0051ece9
mov esp, ebp
pop ebp
ret