Function at 0x428ff0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534f60
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5bc684]
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 dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x38], edi
call fcn.004284a0
mov dword [ebp - 4], edi
cmp dword [esi + 0x14], edi
jne 0x42920e
cmp dword [esi + 0x364], edi
je 0x42920e
lea ecx, [esi + 0x368]
call fcn.00498870
test eax, eax
je 0x429103
lea ecx, [esi + 0x368]
call fcn.00498870
mov esi, eax
add esi, dword [ebx + 8]
imul esi, esi, 0x54
push esi
call fcn.004fc6be
mov edi, eax
push esi
push 0
push edi
call fcn.004ff6f0
mov eax, dword [ebx + 8]
imul eax, eax, 0x54
push eax
mov ecx, dword [ebx]
push ecx
push edi
call fcn.004fe210
mov eax, dword [ebx + 4]
push eax
call fcn.004808a0
add esp, 0x20
mov dword [ebx + 4], edi
mov dword [ebx], edi
mov ecx, dword [ebp - 0x3c]
add ecx, 0x368
call fcn.00498900
mov edi, eax
mov dword [ebp - 0x34], edi
test edi, edi
je 0x4290ef
mov ecx, edi
call fcn.00497c50
test eax, eax
je 0x4290d9
mov edi, dword [ebx + 8]
imul edi, edi, 0x54
add edi, dword [ebx]
mov ecx, 0x15
mov esi, eax
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x34]
push edi
mov ecx, dword [ebp - 0x3c]
add ecx, 0x368
call fcn.00498910
mov dword [ebp - 0x34], eax
mov edi, eax
jmp 0x4290b3
mov eax, dword [ebp - 0x3c]
add eax, 0x368
push eax
call fcn.00428360
add esp, 4
mov esi, dword [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
imul eax, eax, 0x54
mov dword [ebp - 0x48], eax
push eax
lea edx, [ebp - 0x44]
push edx
push ecx
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.00427ed0
mov edi, eax
mov dword [ebp - 0x38], edi
xor eax, eax
cmp edi, eax
je 0x4291ff
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], 0xff23ff24
mov dword [ebp - 0x28], 0x30000
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], 0x1c
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x1c], ebx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x18], edx
push 0x18
lea eax, [ebp - 0x2c]
push eax
push 0xffffffffffffffff
call fcn.0048a5a0
add esp, 0xc
mov dword [ebp - 0x30], eax
push 0
push 0
push 0
mov ecx, dword [esi + 0x364]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [ebp - 0x34]
push edx
push 0x1c
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [esi + 0x364]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
mov dword [ebp - 0x38], edi
test edi, edi
je 0x4291f3
cmp dword [ebp - 0x34], 0x1c
jne 0x4291f3
push 0
lea edx, [ebp - 0x34]
push edx
push ebx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [esi + 0x364]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x4291ee
cmp ebx, dword [ebp - 0x34]
jne 0x4291ee
mov edi, 1
jmp 0x4291f0
xor edi, edi
mov dword [ebp - 0x38], edi
mov edx, dword [ebp - 0x40]
push edx
call fcn.004808a0
add esp, 4
mov eax, dword [esi + 0x364]
push eax
call fcn.004287c0
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x42923b
mov ecx, esi
call fcn.00428520
mov eax, edi
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.004fe1f5
mov esp, ebp
pop ebp
ret 4