Function at 0x424fe0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x55c
mov eax, dword [0x44d558]
mov dword [ebp - 8], eax
push esi
push edi
mov ecx, 0xe
mov esi, str.FlushMSXOperationCacheToDisk
lea edi, [ebp - 0x154]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ax, word [0x44ea44]
mov word [ebp - 0x558], ax
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x556]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44ea4c]
mov word [ebp - 0x108], cx
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x106]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x55c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
push str.FlushMSXOperationCacheToDisk___n
call fcn.004329b0
add esp, 4
push 0x450878
lea edx, [ebp - 0x558]
push edx
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
push 0x4463f8
lea eax, [ebp - 0x558]
push eax
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
cmp dword [0x44de90], 0
je 0x4250cc
push 0x44efc0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x42510d
push 0x44efc0
call dword [0x44e628]
test eax, eax
jne 0x42510d
cmp dword [0x44de94], 0
je 0x425102
cmp dword [0x450a88], 0
je 0x425102
lea ecx, [ebp - 0x154]
push ecx
push 0x446414
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
push 0x44efc0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x44de94], 0
je 0x425134
cmp dword [0x450a88], 0
je 0x425134
lea edx, [ebp - 0x154]
push edx
push 0x446450
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
mov eax, dword [0x44f148]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x425186
lea ecx, [ebp - 0x558]
push ecx
call dword [sym.imp.SQLUNIRL.dll__DeleteFile_4]
push 0x44efc0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x44de94], 0
je 0x425181
cmp dword [0x450a88], 0
je 0x425181
lea edx, [ebp - 0x154]
push edx
push 0x446484
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
jmp 0x42535b
push 0
push 0x100080
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x558]
push eax
call dword [sym.imp.SQLUNIRL.dll__CreateFile_28]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x425329
push pe_nt_image_headers32
lea ecx, [ebp - 0x108]
push ecx
push 0x44ea50
push 0x4464b8
push 0x4464bc
call fcn.004321e0
add esp, 0x14
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.MSVCR71.dll__wtol]
add esp, 4
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
cdq
mov ecx, 0x186a0
idiv ecx
mov ecx, eax
imul ecx, ecx, 0xf4240
mov eax, dword [ebp - 0x110]
cdq
mov esi, 0x186a0
idiv esi
mov eax, edx
cdq
mov esi, 0x3e8
idiv esi
imul eax, eax, 0x2710
add ecx, eax
mov eax, dword [ebp - 0x110]
cdq
mov esi, 0x3e8
idiv esi
add ecx, edx
mov dword [ebp - 0x110], ecx
push 0
lea edx, [ebp - 0x55c]
push edx
push 4
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 0x55c]
push edx
push 4
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x114], 0
jmp 0x425293
mov edx, dword [ebp - 0x114]
add edx, 1
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 0x114]
cmp eax, dword [ebp - 4]
jge 0x42531c
mov ecx, dword [ebp - 0x114]
push ecx
push 0x44f140
call dword [sym.imp.SQLSVC.dll_SHRecMemLock]
add esp, 8
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x425317
push 0
lea edx, [ebp - 0x55c]
push edx
push 0x28
mov eax, dword [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x10c]
cmp dword [edx + 0x24], 0
je 0x425317
push 0
lea eax, [ebp - 0x55c]
push eax
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x425284
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x44efc0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x44de94], 0
je 0x42535b
cmp dword [0x450a88], 0
je 0x42535b
lea ecx, [ebp - 0x154]
push ecx
push 0x4464d4
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
mov ecx, dword [ebp - 8]
call fcn.00434de1
pop edi
pop esi
mov esp, ebp
pop ebp
ret