Function at 0x404f80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
push 1
push 1
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x404fb6
mov eax, dword [ebp - 4]
jmp 0x40582b
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
sub ecx, 0x62
mov dword [ebp - 0xbc], ecx
cmp dword [ebp - 0xbc], 0x10
ja case.0x404feb.5
mov edx, dword [ebp - 0xbc]
movzx eax, byte [edx + 0x405858]
jmp dword [eax*4 + 0x405830]
mov ecx, dword [ebp + 8]
push ecx
push 1
push 8
push 0x493920
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [0x49392c], 1
jne 0x4050c4
mov dword [ebp - 0x10], 0x493920
mov edx, dword [ebp - 0x10]
add edx, 3
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 9], cl
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp - 9]
mov byte [eax], cl
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 9], cl
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x10]
mov al, byte [ebp - 9]
mov byte [edx], al
mov dword [ebp - 0x1c], 0x493924
mov ecx, dword [ebp - 0x1c]
add ecx, 3
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov al, byte [edx]
mov byte [ebp - 0x15], al
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x1c]
mov al, byte [ebp - 0x15]
mov byte [edx], al
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x14]
mov al, byte [edx]
mov byte [ebp - 0x15], al
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ebp - 0x15]
mov byte [ecx], dl
mov eax, dword [ebp + 0x10]
fld dword [0x493920]
fstp dword [eax]
fild dword [0x493924]
mov ecx, dword [ebp + 0x14]
fstp dword [ecx]
jmp 0x405828
mov edx, dword [ebp + 8]
push edx
push 1
push 8
push 0x49390c
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [0x49392c], 1
jne 0x4051b1
mov dword [ebp - 0x28], 0x49390c
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 dword [ebp - 0x34], 0x493910
mov edx, dword [ebp - 0x34]
add edx, 3
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax]
mov byte [ebp - 0x2d], cl
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x2c]
sub edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x34]
mov cl, byte [ebp - 0x2d]
mov byte [eax], cl
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax]
mov byte [ebp - 0x2d], cl
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x34]
mov al, byte [ebp - 0x2d]
mov byte [edx], al
mov ecx, dword [ebp + 0x10]
fld dword [0x49390c]
fstp dword [ecx]
mov edx, dword [ebp + 0x14]
fld dword [0x493910]
fstp dword [edx]
jmp 0x405828
mov eax, dword [ebp + 8]
push eax
push 1
push 8
push 0x493918
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [0x49392c], 1
jne 0x40529e
mov dword [ebp - 0x40], 0x493918
mov ecx, dword [ebp - 0x40]
add ecx, 3
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov al, byte [edx]
mov byte [ebp - 0x39], al
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x38]
sub ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x40]
mov al, byte [ebp - 0x39]
mov byte [edx], al
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x38]
mov al, byte [edx]
mov byte [ebp - 0x39], al
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x40]
mov dl, byte [ebp - 0x39]
mov byte [ecx], dl
mov dword [ebp - 0x4c], 0x49391c
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
fild dword [0x493918]
mov edx, dword [ebp + 0x10]
fstp dword [edx]
fild dword [0x49391c]
mov eax, dword [ebp + 0x14]
fstp dword [eax]
jmp 0x405828
mov ecx, dword [ebp + 8]
push ecx
push 1
push 8
push 0x493918
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [0x49392c], 1
jne 0x40538b
mov dword [ebp - 0x58], 0x493918
mov edx, dword [ebp - 0x58]
add edx, 3
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov cl, byte [eax]
mov byte [ebp - 0x51], cl
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x50]
sub edx, 1
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x58]
mov cl, byte [ebp - 0x51]
mov byte [eax], cl
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x50]
mov cl, byte [eax]
mov byte [ebp - 0x51], cl
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x58]
mov al, byte [ebp - 0x51]
mov byte [edx], al
mov dword [ebp - 0x64], 0x49391c
mov ecx, dword [ebp - 0x64]
add ecx, 3
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov al, byte [edx]
mov byte [ebp - 0x5d], al
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x64]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x5c]
sub ecx, 1
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x64]
mov al, byte [ebp - 0x5d]
mov byte [edx], al
mov ecx, dword [ebp - 0x64]
add ecx, 1
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x5c]
mov al, byte [edx]
mov byte [ebp - 0x5d], al
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x64]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x64]
mov dl, byte [ebp - 0x5d]
mov byte [ecx], dl
fild dword [0x493918]
mov eax, dword [ebp + 0x10]
fstp dword [eax]
fild dword [0x49391c]
mov ecx, dword [ebp + 0x14]
fstp dword [ecx]
jmp 0x405828
mov edx, dword [ebp + 8]
push edx
push 1
push 4
push 0x493928
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [0x49392c], 1
jne 0x40541e
mov dword [ebp - 0x70], 0x493928
mov eax, dword [ebp - 0x70]
add eax, 3
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dl, byte [ecx]
mov byte [ebp - 0x69], dl
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x70]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x68]
sub eax, 1
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x70]
mov dl, byte [ebp - 0x69]
mov byte [ecx], dl
mov eax, dword [ebp - 0x70]
add eax, 1
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x68]
mov dl, byte [ecx]
mov byte [ebp - 0x69], dl
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x70]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x70]
mov cl, byte [ebp - 0x69]
mov byte [eax], cl
fild dword [0x493928]
mov edx, dword [ebp + 0x10]
fstp dword [edx]
jmp 0x405828
mov eax, dword [ebp + 8]
push eax
push 1
push 4
push 0x493928
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [0x49392c], 1
jne 0x4054a6
mov dword [ebp - 0x7c], 0x493928
mov ecx, dword [ebp - 0x7c]
add ecx, 3
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
mov al, byte [edx]
mov byte [ebp - 0x75], al
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x7c]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x74]
sub ecx, 1
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x7c]
mov al, byte [ebp - 0x75]
mov byte [edx], al
mov ecx, dword [ebp - 0x7c]
add ecx, 1
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x74]
mov al, byte [edx]
mov byte [ebp - 0x75], al
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x7c]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x7c]
mov dl, byte [ebp - 0x75]
mov byte [ecx], dl
fild dword [0x493928]
mov eax, dword [ebp + 0x10]
fstp dword [eax]
jmp 0x405828
mov ecx, dword [ebp + 8]
push ecx
push 1
push 8
push 0x49390c
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [0x49392c], 1
jne 0x4055e5
mov dword [ebp - 0x88], 0x49390c
mov edx, dword [ebp - 0x88]
add edx, 3
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov cl, byte [eax]
mov byte [ebp - 0x81], cl
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x88]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x80]
sub edx, 1
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x88]
mov cl, byte [ebp - 0x81]
mov byte [eax], cl
mov edx, dword [ebp - 0x88]
add edx, 1
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x80]
mov cl, byte [eax]
mov byte [ebp - 0x81], cl
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x88]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x88]
mov al, byte [ebp - 0x81]
mov byte [edx], al
mov dword [ebp - 0x94], 0x493910
mov ecx, dword [ebp - 0x94]
add ecx, 3
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
mov al, byte [edx]
mov byte [ebp - 0x8d], al
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x94]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x8c]
sub ecx, 1
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x94]
mov al, byte [ebp - 0x8d]
mov byte [edx], al
mov ecx, dword [ebp - 0x94]
add ecx, 1
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x8c]
mov al, byte [edx]
mov byte [ebp - 0x8d], al
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x94]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x94]
mov dl, byte [ebp - 0x8d]
mov byte [ecx], dl
mov eax, dword [ebp + 0x10]
fld dword [0x49390c]
fstp dword [eax]
mov ecx, dword [ebp + 0x14]
fld dword [0x493910]
fstp dword [ecx]
jmp 0x405828
mov edx, dword [ebp + 8]
push edx
push 1
push 4
push 0x493914
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [0x49392c], 1
jne 0x4056b5
mov dword [ebp - 0xa0], 0x493914
mov eax, dword [ebp - 0xa0]
add eax, 3
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dl, byte [ecx]
mov byte [ebp - 0x99], dl
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xa0]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x98]
sub eax, 1
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0xa0]
mov dl, byte [ebp - 0x99]
mov byte [ecx], dl
mov eax, dword [ebp - 0xa0]
add eax, 1
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0x98]
mov dl, byte [ecx]
mov byte [ebp - 0x99], dl
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xa0]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0xa0]
mov cl, byte [ebp - 0x99]
mov byte [eax], cl
mov edx, dword [ebp + 0x10]
fld dword [0x493914]
fstp dword [edx]
jmp 0x405828
mov eax, dword [ebp + 8]
push eax
push 1
push 8
push 0x493920
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [0x49392c], 1
jne 0x405809
mov dword [ebp - 0xac], 0x493920
mov ecx, dword [ebp - 0xac]
add ecx, 3
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
mov al, byte [edx]
mov byte [ebp - 0xa5], al
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xac]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0xa4]
sub ecx, 1
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xac]
mov al, byte [ebp - 0xa5]
mov byte [edx], al
mov ecx, dword [ebp - 0xac]
add ecx, 1
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xa4]
mov al, byte [edx]
mov byte [ebp - 0xa5], al
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xac]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0xac]
mov dl, byte [ebp - 0xa5]
mov byte [ecx], dl
mov dword [ebp - 0xb8], 0x493924
mov eax, dword [ebp - 0xb8]
add eax, 3
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
mov dl, byte [ecx]
mov byte [ebp - 0xb1], dl
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xb8]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0xb0]
sub eax, 1
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb8]
mov dl, byte [ebp - 0xb1]
mov byte [ecx], dl
mov eax, dword [ebp - 0xb8]
add eax, 1
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb0]
mov dl, byte [ecx]
mov byte [ebp - 0xb1], dl
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xb8]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0xb8]
mov cl, byte [ebp - 0xb1]
mov byte [eax], cl
mov edx, dword [ebp + 0x10]
fld dword [0x493920]
fstp dword [edx]
fild dword [0x493924]
mov eax, dword [ebp + 0x14]
fstp dword [eax]
jmp 0x405828
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret