Function at 0x40fa40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov dword [ebp - 0x78], 0x19b
mov dword [ebp - 0x9c], 0x3dd
mov dword [ebp - 0xc4], 0x33f
mov dword [ebp - 0x38], 0x52
mov dword [ebp - 0xc], 0x22b
mov dword [ebp - 0x10], 0x10f
mov dword [ebp - 0x1c], 0xe4
mov dword [ebp - 0x34], 0x23d
mov dword [ebp - 0xc8], 0x3dc
mov dword [ebp - 4], 0x2c
mov dword [ebp - 0xc0], 0x335
mov dword [ebp - 0xac], 0x1e3
mov dword [ebp - 0x94], 0x368
mov dword [ebp - 0x28], 0x131
mov dword [ebp - 0x40], 0x22e
mov dword [ebp - 0x98], 0xe
mov dword [ebp - 0xbc], 0x1b7
mov dword [ebp - 8], 0x265
mov dword [ebp - 0x8c], 0x5d
mov dword [ebp - 0x2c], 0x2ac
mov dword [ebp - 0xb8], 0xd5
mov dword [ebp - 0xcc], 0x135
mov dword [ebp - 0x20], 0x171
mov dword [ebp - 0x18], 0x1d0
mov dword [ebp - 0x14], 0x3a3
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 0x38]
jge 0x40fb33
mov dword [ebp - 0x44], 1
jmp 0x40fb3a
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x94]
cmp edx, dword [ebp + 0x14]
jge 0x40fb4e
mov dword [ebp - 0x48], 1
jmp 0x40fb55
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp + 0x1c]
jge 0x40fb66
mov dword [ebp - 0x4c], 1
jmp 0x40fb6d
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x44]
and ecx, dword [ebp - 0x48]
and ecx, dword [ebp - 0x4c]
je 0x40fc46
mov edx, dword [ebp - 0x98]
cmp edx, dword [ebp + 0xc]
jge 0x40fb90
mov dword [ebp - 0x50], 1
jmp 0x40fb97
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x9c]
jge 0x40fbab
mov dword [ebp - 0x54], 1
jmp 0x40fbb2
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x20]
jge 0x40fbc3
mov dword [ebp - 0x58], 1
jmp 0x40fbca
mov dword [ebp - 0x58], 0
mov edx, dword [ebp - 0x2c]
and edx, dword [ebp - 0x50]
and edx, dword [ebp - 0x54]
or edx, dword [ebp - 0x58]
je 0x40fc46
mov eax, dword [ebp - 0xc]
sub eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jge 0x40fbf5
mov dword [ebp - 0x5c], 1
jmp 0x40fbfc
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 4]
jge 0x40fc0d
mov dword [ebp - 0x60], 1
jmp 0x40fc14
mov dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x5c]
or eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x60]
or eax, ecx
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xa0], 0
je 0x40fc46
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0
jmp 0x40fc58
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x1c]
sub edx, 0xe3
cmp dword [ebp - 0x24], edx
jge 0x40fd01
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x78]
jge 0x40fcfc
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0x28]
sub eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [ebp - 0xa8]
jge 0x40fca8
mov dword [ebp - 0x64], 1
jmp 0x40fcaf
mov dword [ebp - 0x64], 0
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 8]
jge 0x40fcc3
mov dword [ebp - 0x68], 1
jmp 0x40fcca
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jge 0x40fcdb
mov dword [ebp - 0x6c], 1
jmp 0x40fce2
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp - 0x8c]
and ecx, dword [ebp - 0x64]
and ecx, dword [ebp - 0x68]
and ecx, dword [ebp - 0x6c]
je 0x40fcfc
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
jmp 0x40fc4f
mov eax, dword [ebp - 8]
add eax, 0x8f
push eax
mov ecx, dword [ebp - 0x40]
sub ecx, 0xfd
push ecx
mov edx, dword [ebp - 0xc]
add edx, 0x14a
push edx
call fcn.00423ee0
add esp, 0xc
mov dword [ebp - 0x30], 0
jmp 0x40fd38
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0x18]
sub ecx, 0x189ba
cmp dword [ebp - 0x30], ecx
jge 0x40fd9a
mov edx, dword [ebp + 8]
cmp edx, dword [ebp + 0xc]
jge 0x40fd57
mov dword [ebp - 0x70], 1
jmp 0x40fd5e
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0xc]
jge 0x40fd6f
mov dword [ebp - 0x74], 1
jmp 0x40fd76
mov dword [ebp - 0x74], 0
mov ecx, dword [ebp - 0x70]
or ecx, dword [ebp - 0x18]
or ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x1c]
or ecx, edx
je 0x40fd92
mov eax, dword [ebp - 0x38]
sub eax, 1
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x40fd2f
mov dword [ebp - 0x3c], 0
jmp 0x40fdac
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp + 0x18]
sub edx, 0x319
cmp dword [ebp - 0x3c], edx
jge 0x40fed2
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xac]
jge 0x40fecd
mov edx, dword [ebp - 4]
or edx, dword [ebp - 0x40]
je 0x40fecd
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x78]
jge 0x40fdf6
mov dword [ebp - 0x7c], 1
jmp 0x40fdfd
mov dword [ebp - 0x7c], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [ebp - 0xb4]
jge 0x40fe2f
mov dword [ebp - 0x80], 1
jmp 0x40fe36
mov dword [ebp - 0x80], 0
mov edx, dword [ebp - 0x7c]
and edx, dword [ebp - 0x80]
je 0x40fecd
mov eax, dword [ebp + 0x14]
xor eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0xbc]
jge 0x40fe5f
mov dword [ebp - 0x84], 1
jmp 0x40fe69
mov dword [ebp - 0x84], 0
mov ecx, dword [ebp + 0x1c]
cmp ecx, dword [ebp - 0xc]
jge 0x40fe7d
mov dword [ebp - 0x88], 1
jmp 0x40fe87
mov dword [ebp - 0x88], 0
mov edx, dword [ebp - 0x84]
and edx, dword [ebp - 0x88]
je 0x40fecd
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0x40]
jge 0x40feac
mov dword [ebp - 0x90], 1
jmp 0x40feb6
mov dword [ebp - 0x90], 0
mov ecx, dword [ebp - 0x8c]
xor ecx, dword [ebp - 0x90]
je 0x40fecd
mov edx, dword [ebp - 0x20]
sub edx, 1
mov dword [ebp - 0x20], edx
jmp 0x40fda3
mov esp, ebp
pop ebp
ret