Function at 0x476d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x320]
shr ecx, 1
and ecx, 1
je 0x476f3c
mov edx, dword [ebp + 8]
add edx, 0x210
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, 3
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [ebp - 9], dl
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
mov dl, byte [ebp - 9]
mov byte [ecx], dl
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [ebp - 9], dl
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp - 9]
mov byte [eax], cl
mov edx, dword [ebp + 8]
add edx, 0x214
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
add eax, 3
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx]
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ebp - 0x15]
mov byte [ecx], dl
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx]
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x1c]
mov cl, byte [ebp - 0x15]
mov byte [eax], cl
mov edx, dword [ebp + 8]
add edx, 0x218
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
add eax, 3
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dl, byte [ecx]
mov byte [ebp - 0x21], dl
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x20]
sub eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x28]
mov dl, byte [ebp - 0x21]
mov byte [ecx], dl
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x20]
mov dl, byte [ecx]
mov byte [ebp - 0x21], dl
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x28]
mov cl, byte [ebp - 0x21]
mov byte [eax], cl
mov edx, dword [ebp + 8]
add edx, 0x220
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
add eax, 3
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dl, byte [ecx]
mov byte [ebp - 0x2d], dl
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x34]
mov dl, byte [ebp - 0x2d]
mov byte [ecx], dl
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x2c]
mov dl, byte [ecx]
mov byte [ebp - 0x2d], dl
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x34]
mov cl, byte [ebp - 0x2d]
mov byte [eax], cl
mov edx, dword [ebp + 8]
add edx, 0x21c
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
add eax, 3
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dl, byte [ecx]
mov byte [ebp - 0x39], dl
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x38]
sub eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x40]
mov dl, byte [ebp - 0x39]
mov byte [ecx], dl
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x38]
mov dl, byte [ecx]
mov byte [ebp - 0x39], dl
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x40]
mov cl, byte [ebp - 0x39]
mov byte [eax], cl
mov edx, dword [ebp + 8]
add edx, 0x224
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
add eax, 3
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dl, byte [ecx]
mov byte [ebp - 0x45], dl
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x4c]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x44]
sub eax, 1
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x4c]
mov dl, byte [ebp - 0x45]
mov byte [ecx], dl
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x44]
mov dl, byte [ecx]
mov byte [ebp - 0x45], dl
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x4c]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x4c]
mov cl, byte [ebp - 0x45]
mov byte [eax], cl
mov edx, dword [ebp + 8]
mov byte [edx + 0x2a8], 1
mov eax, dword [ebp + 8]
mov byte [eax + 0x2a9], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
push 1
push 0xa0
mov eax, dword [ebp + 8]
add eax, 0x210
push eax
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
mov dword [ebp - 4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret