Function at 0x457cb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9440
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4fad60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
push edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
call fcn.00492c3f
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x2c], edx
call fcn.00492ae7
fldz
add esp, 8
fst qword [ebp - 0x28]
cmp eax, edi
je 0x457d27
add dword [eax + 0x14], 0x76c
fstp st(0)
inc dword [eax + 0x10]
lea ecx, [ebp - 0x28]
push ecx
call fcn.004537d0
add esp, 4
test al, al
je 0x457d25
fld qword [ebp - 0x28]
jmp 0x457d27
fldz
mov ecx, dword [ebp + 8]
fstp qword [ebp - 0x28]
add ecx, 0x38
mov dword [ebp - 0x20], ecx
call fcn.00454a00
mov ebx, eax
mov dword [ebp - 0x14], ebx
cmp ebx, edi
jle 0x457db9
mov edx, ebx
and edx, 0x80000007
jns 0x457d50
dec edx
or edx, 0xfffffff8
inc edx
mov esi, 8
sub esi, edx
cmp esi, 8
jne 0x457d5e
xor esi, esi
add ebx, esi
push ebx
mov dword [ebp - 0x14], ebx
call fcn.0048d7af
mov ecx, dword [ebp - 0x20]
mov edi, eax
add esp, 4
push edi
mov dword [ebp - 0x1c], edi
call fcn.00454c00
test esi, esi
jle 0x457d90
mov eax, ebx
push esi
sub eax, esi
add eax, edi
push 0x20
push eax
call fcn.00497ad0
add esp, 0xc
mov eax, ebx
shr eax, 3
add eax, eax
add eax, eax
add eax, eax
je 0x457db9
push 0
push 8
push eax
lea eax, [ebp - 0x28]
mov ecx, edi
mov edx, edi
call fcn.0045b870
add esp, 0xc
test al, al
je 0x457edb
push 0x1e
call fcn.0048d7af
mov ecx, dword [ebp - 0x24]
mov esi, eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov edx, 8
mov dword [esi + 0xe], eax
mov eax, dword [ebp + 0xc]
add esp, 4
mov dword [esi], 0x23535023
mov dword [esi + 8], ecx
mov word [esi + 0xc], dx
mov dword [esi + 0x12], ecx
mov dword [esi + 0x16], 1
mov dword [esi + 0x1a], ebx
cmp dword [eax + 0x14], edx
jb 0x457dfa
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x457e46
test edi, edi
je 0x457e27
push edi
call fcn.00491285
add esp, 4
push esi
call fcn.00491285
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
lea eax, [ebp - 0x18]
push eax
push 0x1e
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x457ec3
cmp dword [ebp - 0x18], 0x1e
jne 0x457ec3
mov edx, dword [ebp - 0x14]
push 0
lea ecx, [ebp - 0x18]
push ecx
push edx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x457ec3
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jne 0x457ec3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00491285
add esp, 4
test edi, edi
je 0x457e9b
push edi
call fcn.00491285
add esp, 4
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.00456d80
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00491285
add esp, 4
test edi, edi
je 0x457e30
push edi
jmp 0x457e28