Function at 0x42eaa0
Capabilities:
Write file on windows

Disassembly:
push ebp
xor edx, edx
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x29c
mov eax, dword [ebp + 8]
mov dword [esp + 4], edx
mov ebx, eax
add ebx, 6
mov dword [ebp - 0x27c], eax
mov dword [esp], ebx
call sym.os_access_char_const__int_
test eax, eax
js 0x42ebd0
mov edx, dword [ebp - 0x27c]
mov ebx, dword [edx + 0x118]
mov dword [esp], ebx
call method.c_FileManager.MulMapOpen_DC_FILEMULMAP_
xor edx, edx
inc eax
je 0x42ebc3
mov edi, dword [ebp - 0x27c]
mov eax, dword [edi + 0x118]
mov eax, dword [eax + 0x88]
mov dword [edi + 0x108], eax
mov esi, dword [eax + 0xc]
lea edx, [eax + 0x20]
mov dword [edi + 0x10c], edx
lea ebx, [eax + 0x188]
add eax, 0x250
mov dword [edi + 0x110], ebx
lea ecx, [esi*8]
sub ecx, esi
mov dword [edi + 0x114], eax
lea esi, [ecx*4 + 0xcb20]
mov dword [edi + 0x120], esi
mov dword [esp], esi
call sym.operator_new___unsigned_int_
mov dword [edi + 0x124], eax
mov ecx, dword [edi + 0x120]
xor edx, edx
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 8], ecx
call sym._memset
mov ebx, dword [edi + 0x124]
mov esi, dword [edi + 0x120]
mov dword [edi + 0x128], ebx
mov dword [esp + 8], esi
movzx eax, word [edi + 4]
mov dword [esp + 4], eax
mov ecx, dword [edi + 0x128]
mov dword [esp], ecx
call method.L2_STAT_TODAY.Init_unsigned_short__int_
mov edx, 0xcc6d
mov dword [esp + 0xc], edx
mov ebx, dword [edi + 0x108]
mov esi, dword [ebx + 0xc]
mov dword [esp + 8], esi
mov eax, dword [edi + 0x118]
mov dword [esp + 4], eax
mov ecx, dword [edi + 0x128]
mov dword [esp], ecx
call method.L2_STAT_TODAY_DOS.CalcData_DOS_DC_FILEMULMAP__int__int_
mov edx, 1
add esp, 0x29c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
mov ecx, 0x532d47
mov dword [esp + 4], ecx
call sym.os_fopen_char_const__char_const_
mov dword [ebp - 0x28c], eax
xor edx, edx
test eax, eax
je 0x42ebc3
cld
xor eax, eax
lea esi, [ebp - 0x38]
mov edi, esi
mov ecx, 8
lea ebx, [ebp - 0x1a8]
rep stosd dword es:[edi], eax
mov dword [esp], ebx
xor ecx, ecx
mov edi, 0x168
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
lea edi, [ebp - 0x278]
mov dword [ebp - 0x38], 0x13045981
mov dword [ebp - 0x28], 0x3e8
call sym._memset
mov dword [esp], edi
mov edx, 0xc8
xor eax, eax
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sym._memset
mov dword [esp], esi
mov ecx, dword [ebp - 0x28c]
mov edx, 1
mov dword [esp + 8], edx
mov eax, 0x20
mov esi, 1
mov dword [esp + 4], eax
mov dword [esp + 0xc], ecx
call sym._fwrite
mov dword [esp], ebx
mov edi, dword [ebp - 0x28c]
mov ecx, 1
mov dword [esp + 8], ecx
mov edx, 0x168
mov ebx, 0xc8
mov dword [esp + 4], edx
mov dword [esp + 0xc], edi
lea edi, [ebp - 0x278]
call sym._fwrite
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x28c]
mov dword [esp + 8], esi
mov dword [esp], edi
mov dword [esp + 0xc], eax
call sym._fwrite
mov dword [esp], 0x31e89c8
call sym.operator_new___unsigned_int_
mov ebx, eax
mov edx, 0x3e7
cmp edx, 0xffffffff
je 0x42ecfc
mov esi, esi
mov eax, 3
lea esi, [esi]
lea edi, [edi]
dec eax
cmp eax, 0xffffffff
jne 0x42ece0
mov eax, 3
nop
lea esi, [esi]
dec eax
cmp eax, 0xffffffff
jne 0x42ecf0
dec edx
cmp edx, 0xffffffff
jne 0x42ecd0
xor edx, edx
test ebx, ebx
je 0x42ebc3
mov dword [esp], ebx
xor eax, eax
mov esi, 0x31e89c8
mov dword [esp + 8], esi
mov dword [esp + 4], eax
call sym._memset
mov dword [esp], ebx
mov edi, dword [ebp - 0x28c]
mov ecx, 1
mov dword [esp + 8], ecx
mov edx, 0x31e89c8
mov dword [esp + 4], edx
mov dword [esp + 0xc], edi
call sym._fwrite
mov esi, dword [ebp - 0x28c]
mov dword [esp], esi
call sym._fclose
mov dword [esp], ebx
call sym.operator_delete___void_
jmp 0x42ead0