Function at 0x408df0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x44847b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov ebp, ecx
push 0x4000
mov dword [esp + 0x14], ebp
call sub.MFC71U.DLL_SerializeElements
mov ebx, eax
push 0x14
mov dword [esp + 0x20], ebx
call sub.MFC71U.DLL_SerializeElements
mov esi, dword [esp + 0x40]
add esp, 8
push 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
push 0
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push esi
mov ecx, ebp
call fcn.004087b0
test eax, eax
jne 0x408e62
mov esi, 1
jmp 0x409065
push edi
lea eax, [ebx + 0x2000]
mov edi, eax
mov ecx, 0x800
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
push ecx
push eax
push esi
lea edx, [esp + 0x44]
push edx
mov ecx, ebp
call fcn.00408820
mov eax, dword [eax]
cmp eax, dword [esi + 4]
jne 0x408e9c
mov esi, 0xfffffffd
jmp 0x409064
push 0xc
call sub.MFC71U.DLL_CWordArray::CWordArray
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0x30], ebp
je 0x408ec5
mov ecx, esi
call fcn.00408b90
mov dword [esi + 8], ebp
mov dword [esi + 4], eax
mov ebp, esi
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 4]
mov ebx, dword [eax]
cmp ebx, eax
mov dword [esp + 0x30], 0xffffffff
je 0x408f44
lea ebx, [ebx]
push 0x28
lea esi, [ebx + 8]
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
test eax, eax
je 0x408f03
mov byte [eax + 0x24], 0x11
mov byte [eax + 0x25], 0xff
mov byte [eax + 0x26], 0
mov byte [eax + 0x27], 0xd0
jmp 0x408f05
xor eax, eax
mov edi, eax
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x38]
push ecx
push edx
push esi
mov ecx, ebp
mov dword [esp + 0x44], eax
call fcn.00406ce0
push 1
mov ecx, ebp
mov edi, eax
call fcn.00408bb0
mov ecx, dword [esp + 0x40]
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov ebx, dword [ebx]
cmp ebx, dword [ecx + 4]
jne 0x408ee0
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
push 1
push edx
push ebp
mov ecx, esi
call fcn.00408c50
mov ebx, dword [esp + 0x1c]
push ebp
push ebx
mov ecx, esi
call fcn.00408a30
mov ecx, 0x800
mov esi, ebx
lea edi, [ebx + 0x2000]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x408f95
lea esp, [esp]
mov eax, dword [esi + 8]
push eax
call sub.MFC71U.DLL_CNoTrackObject::operator_new
mov esi, dword [esi]
mov eax, dword [ebp + 4]
add esp, 4
cmp esi, eax
jne 0x408f80
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [ebp + 4]
mov dword [ecx + 4], ecx
mov ecx, dword [ebp + 4]
xor edi, edi
cmp eax, ecx
mov dword [ebp + 8], edi
je 0x408fc4
mov edi, edi
mov esi, dword [eax]
push eax
call sub.MFC71U.DLL_CNoTrackObject::operator_new
mov ecx, dword [ebp + 4]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x408fb0
mov ecx, dword [esp + 0x10]
push ecx
call sub.MFC71U.DLL_operator_new
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [ebp + 4]
mov dword [ecx + 4], ecx
mov ecx, dword [ebp + 4]
add esp, 4
cmp eax, ecx
mov dword [ebp + 8], edi
je 0x408ffc
mov esi, dword [eax]
push eax
call sub.MFC71U.DLL_CNoTrackObject::operator_new
mov ecx, dword [ebp + 4]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x408fe8
mov edx, dword [ebp + 4]
push edx
call sub.MFC71U.DLL_CNoTrackObject::operator_new
push ebp
mov dword [ebp + 4], edi
call sub.MFC71U.DLL_CNoTrackObject::operator_new
mov ecx, dword [esp + 0x1c]
lea eax, [ebx + 0x24]
push 0x14
mov edx, ebx
add ecx, 0x28
sub edx, eax
push ecx
add edx, 0x2000
push edx
push eax
call fcn.0040a4e0
mov esi, dword [esp + 0x54]
add esp, 0x18
push edi
lea eax, [esp + 0x1c]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea ecx, [esp + 0x24]
push ecx
push 0x4000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [esp + 0x1c]
mov esi, eax
neg esi
sbb esi, esi
and esi, 2
add esi, 0xfffffffe
pop edi
push ebx
call sub.MFC71U.DLL_operator_new
mov ecx, dword [esp + 0x28]
add esp, 4
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x24