Function at 0x53b970
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov dword [rbp + 0x80], ecx
mov qword [rbp + 0x88], rdx
mov dword [rbp + 0x90], r8d
mov dword [rbp + 0x58], 0
mov eax, dword [rbp + 0x5c]
mov dword [rbp + 0x64], eax
mov eax, 0x64
sub eax, dword [rbp + 0x54]
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x48]
add eax, dword [rbp + 0x40]
cmp dword [rbp + 0x54], eax
jne 0x53b9b9
mov eax, dword [rbp + 0x68]
add eax, dword [rbp + 0x64]
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x60]
add eax, 0x374
mov dword [rbp + 0x68], eax
add dword [rbp + 0x58], 1
cmp dword [rbp + 0x58], 3
jne 0x53b993
nop
mov eax, dword [rbp + 0x68]
add eax, dword [rbp + 0x64]
mov dword [rbp + 0x40], eax
mov dword [rbp + 0x5c], 0
cmp dword [rbp + 0x5c], 1
jge 0x53ba27
add dword [rbp + 0x5c], 1
mov eax, dword [rbp + 0x64]
mov dword [rbp + 0x68], eax
mov eax, dword [rbp + 0x60]
add eax, dword [rbp + 0x58]
mov ecx, dword [rbp + 0x50]
add ecx, dword [rbp + 0x48]
cmp eax, ecx
jge 0x53ba0c
mov eax, dword [rbp + 0x40]
sub eax, 0x1af
mov dword [rbp + 0x48], eax
mov eax, dword [rbp + 0x68]
sub eax, dword [rbp + 0x60]
mov dword [rbp + 0x3c], eax
mov eax, 0x37a
sub eax, dword [rbp + 0x54]
mov dword [rbp + 0x68], eax
cmp dword [rbp + 0x5c], 1
jl 0x53b9e6
nop
mov eax, dword [rbp + 0x68]
sub eax, dword [rbp + 0x60]
mov dword [rbp + 0x3c], eax
mov dword [rbp + 0x5c], 0
cmp dword [rbp + 0x5c], 1
jge 0x53ba75
add dword [rbp + 0x5c], 1
mov eax, dword [rbp + 0x64]
mov dword [rbp + 0x68], eax
mov eax, dword [rbp + 0x4c]
shl eax, 4
lea rax, [rax + rax*4]
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x40]
sub eax, dword [rbp + 0x68]
cmp dword [rbp + 0x4c], eax
jne 0x53ba66
mov eax, dword [rbp + 0x68]
mov dword [rbp + 0x3c], eax
mov eax, dword [rbp + 0x4c]
add eax, 0x61
mov dword [rbp + 0x54], eax
cmp dword [rbp + 0x5c], 1
jl 0x53ba3e
nop
mov eax, dword [rbp + 0x60]
mov dword [rbp + 0x68], eax
mov eax, dword [rbp + 0x58]
sub eax, dword [rbp + 0x50]
mov ecx, dword [rbp + 0x48]
sub ecx, dword [rbp + 0x40]
cmp eax, ecx
jle 0x53bab3
lea rcx, [rbp + 0x3c]
lea rdx, [rbp + 0x64]
lea r8, [rbp + 0x58]
lea r9, [rbp + 0x50]
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x3c]
mov qword [rsp + 0x28], rax
call fcn.0053acd0
mov eax, dword [rbp + 0x5c]
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x3c]
add eax, dword [rbp + 0x64]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x60]
cmp eax, dword [rbp + 0x5c]
jle 0x53baf1
lea rcx, [rbp + 0x54]
lea rdx, [rbp + 0x4c]
lea r8, [rbp + 0x40]
lea r9, [rbp + 0x68]
lea rax, [rbp + 0x64]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x5c]
mov qword [rsp + 0x28], rax
call fcn.005382d0
movsxd rcx, dword [rbp + 0x80]
mov rdx, qword [rbp + 0x88]
mov r8d, dword [rbp + 0x90]
lea r9, [rbp + 0x6c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x53bb4a
mov eax, dword [rbp + 0x64]
imul eax, dword [rbp + 0x5c]
mov dword [rbp + 0x68], eax
mov dword [rbp + 0x6c], 0
lea rcx, [rbp + 0x5c]
lea rdx, [rbp + 0x50]
lea r8, [rbp + 0x48]
call fcn.00536250
mov eax, dword [rbp + 0x3c]
imul eax, eax, 0x205
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x3c]
imul eax, eax, 0x211
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x64]
cmp eax, dword [rbp + 0x5c]
jle 0x53bb73
lea rcx, [rbp + 0x54]
lea rdx, [rbp + 0x4c]
lea r8, [rbp + 0x44]
lea r9, [rbp + 0x68]
call fcn.00536aa0
mov eax, dword [rbp + 0x60]
imul eax, dword [rbp + 0x58]
mov dword [rbp + 0x68], eax
mov eax, dword [rbp + 0x44]
sub eax, 0x16a
mov dword [rbp + 0x4c], eax
mov eax, dword [rbp + 0x60]
mov dword [rbp + 0x68], eax
mov eax, dword [rbp + 0x44]
sub eax, 0x197
mov dword [rbp + 0x4c], eax
mov eax, dword [rbp + 0x5c]
mov dword [rbp + 0x64], eax
mov dword [rbp + 0x54], 0
mov eax, 0x3a6
sub eax, dword [rbp + 0x5c]
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x58]
sub eax, dword [rbp + 0x50]
mov ecx, dword [rbp + 0x48]
sub ecx, dword [rbp + 0x40]
cmp eax, ecx
jle 0x53bbcd
mov eax, dword [rbp + 0x3c]
add eax, dword [rbp + 0x64]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x60]
imul eax, dword [rbp + 0x58]
mov dword [rbp + 0x68], eax
mov eax, dword [rbp + 0x58]
add eax, 0x3fb
mov dword [rbp + 0x60], eax
mov eax, dword [rbp + 0x5c]
add eax, dword [rbp + 0x58]
mov ecx, dword [rbp + 0x50]
add ecx, dword [rbp + 0x48]
cmp eax, ecx
jge 0x53bbff
mov eax, dword [rbp + 0x40]
sub eax, 0x1c6
mov dword [rbp + 0x48], eax
add dword [rbp + 0x54], 1
cmp dword [rbp + 0x54], 4
jne 0x53bba8
nop
mov eax, dword [rbp + 0x60]
add eax, dword [rbp + 0x58]
mov ecx, dword [rbp + 0x50]
add ecx, dword [rbp + 0x4c]
cmp eax, ecx
jge 0x53bc41
lea rcx, [rbp + 0x54]
lea rdx, [rbp + 0x48]
lea r8, [rbp + 0x40]
lea r9, [rbp + 0x68]
lea rax, [rbp + 0x64]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x28], rax
call fcn.005382d0
mov dword [rbp + 0x58], 0
mov eax, dword [rbp + 0x64]
imul eax, dword [rbp + 0x5c]
mov dword [rbp + 0x68], eax
mov eax, dword [rbp + 0x50]
add eax, eax
mov dword [rbp + 0x60], eax
mov eax, dword [rbp + 0x48]
add eax, dword [rbp + 0x40]
cmp dword [rbp + 0x58], eax
jne 0x53bc71
mov eax, dword [rbp + 0x3c]
imul eax, eax, 0x20c
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x68]
sub eax, dword [rbp + 0x60]
mov dword [rbp + 0x3c], eax
add dword [rbp + 0x58], 1
cmp dword [rbp + 0x58], 3
jne 0x53bc48
nop
mov eax, dword [rbp + 0x6c]
lea rsp, [rbp + 0x70]
pop rbp
ret