Function at 0x4065d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x34
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0x57d9f450
jmp 0x406610
mov dword [ebp - 0x28], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x28]
cmp eax, 0x7c5dd2aa
jg 0x406650
cmp eax, 0x79840716
jg 0x406690
cmp eax, 0x86281a96
jg 0x4066a7
cmp eax, 0x84ff25b4
jne 0x406610
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
sete byte [ebp - 9]
mov dword [ebp - 0x28], 0xf857ed1
jmp 0x406610
cmp eax, 0x7c5dd2ab
jne 0x406610
mov eax, dword [ebp - 0x14]
mov ecx, 0xfffffffc
sub ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 8], 1
call fcn.00416bf7
test eax, eax
mov eax, 0x1f215b34
jne 0x4065ff
mov eax, 0xd5f4f4c2
jmp 0x4065ff
cmp eax, 0x79840717
jne 0x406610
mov dword [ebp - 0x28], 0x3930e5c7
jmp 0x406610
cmp eax, 0x88877833
jg 0x4066c5
cmp eax, 0x86281a97
jne 0x406610
mov dword [ebp - 0x28], 0x8e04e525
jmp 0x406610
cmp eax, 0x8e04e524
jg 0x4066f0
cmp eax, 0x88877834
jne 0x406610
mov al, byte [ebp - 6]
test al, al
mov eax, 0xe932b006
jne 0x4066e8
mov eax, 0xdce10de5
mov dword [ebp - 0x28], eax
jmp 0x406610
cmp eax, 0x94165fc3
jg 0x40670e
cmp eax, 0x8e04e525
jne 0x406610
mov dword [ebp - 0x28], 0x37c5497b
jmp 0x406610
cmp eax, 0x782ddfe6
jg 0x406733
cmp eax, 0x94b1147a
jg 0x40677a
cmp eax, 0x94165fc4
jne 0x406610
mov dword [ebp - 0x28], 0xc5778ab6
jmp 0x406610
cmp eax, 0x782ddfe7
jne 0x406610
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x24]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00416e39
mov edx, dword [ebp - 0x1c]
mov ecx, 0x630ee76d
cmp eax, dword [edx]
jne 0x406772
mov ecx, 0xe6e0623c
mov dword [ebp - 0x28], ecx
jmp 0x406610
cmp eax, 0x98c4a224
jg 0x406798
cmp eax, 0x94b1147b
jne 0x406610
mov dword [ebp - 0x28], 0xd6489389
jmp 0x406610
cmp eax, 0x9f5c79a3
jg 0x4067b6
cmp eax, 0x98c4a225
jne 0x406610
mov dword [ebp - 0x28], 0x33bfdf10
jmp 0x406610
cmp eax, 0xa109813a
jg 0x4067f6
cmp eax, 0x9f5c79a4
jne 0x406610
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00416aa3
mov dword [ebp - 0x24], eax
mov ecx, 0x2b82508e
test eax, eax
jne 0x4067ee
mov ecx, 0x94b1147b
mov dword [ebp - 0x28], ecx
jmp 0x406610
cmp eax, 0xa1dc5171
jg 0x406838
cmp eax, 0xa109813b
jne 0x406610
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00416aa3
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
setne byte [ebp - 7]
mov dword [ebp - 0x28], 0x434df4b1
jmp 0x406610
cmp eax, 0xa2c71d8b
jg 0x406856
cmp eax, 0xa1dc5172
jne 0x406610
mov dword [ebp - 0x28], 0x1c9c0f20
jmp 0x406610
cmp eax, 0x7748708b
jg 0x406aa9
cmp eax, 0x76f865db
jg 0x406ac0
cmp eax, 0x7595edbd
jg 0x406ad7
cmp eax, 0x741b0974
jg 0x406afb
cmp eax, 0x69478b1c
jg 0x406b0b
cmp eax, 0x688635b6
jg 0x406b22
cmp eax, 0x630ee76c
jg 0x406b39
cmp eax, 0x61258091
jg 0x406b50
cmp eax, 0x57d9f44f
jg 0x406b67
cmp eax, 0x51a984f3
jg 0x406b7e
cmp eax, 0x4b969c96
jg 0x406b95
cmp eax, 0x4b2dc720
jg 0x406bac
cmp eax, 0x434df4b0
jg 0x406bc3
cmp eax, 0x424c77b1
jg 0x406be7
cmp eax, 0x3930e5c6
jg 0x406bfe
cmp eax, 0x37c5497a
jg 0x406c15
cmp eax, 0x370a7981
jg 0x406c2c
cmp eax, 0x3450487d
jg 0x406c43
cmp eax, 0x33bfdf0f
jg 0x406c87
cmp eax, 0x33432b78
jg 0x406c9e
cmp eax, 0x2b82508d
jg 0x406cdc
cmp eax, 0x2444fd80
jg 0x406d1e
cmp eax, 0x20fdabb4
jg 0x406d35
cmp eax, 0x209c9534
jg 0x406d4c
cmp eax, 0x1f215b33
jg 0x406d88
cmp eax, 0x1c9c0f1f
jg 0x406d9f
cmp eax, 0x1a8e4e01
jg 0x406dc0
cmp eax, 0x15e01f1b
jg 0x406de4
cmp eax, 0x14ea67e7
jg 0x406dfb
cmp eax, 0x1219fff2
jg 0x406e1a
cmp eax, 0x11bcf167
jg 0x406e4b
cmp eax, 0xf857ed0
jg 0x406e62
cmp eax, 0xc5af452
jg 0x406e86
cmp eax, 0x351bc8b
jg 0x406e9d
cmp eax, 0xf99ab515
jg 0x406ebb
cmp eax, 0xf8ac5323
jg 0x406ed2
cmp eax, 0xe932b005
jg 0x406ef4
cmp eax, 0xe6e0623b
jg 0x406f18
cmp eax, 0xe3ea257c
jg 0x406f57
cmp eax, 0xdce10de4
jg 0x406f79
cmp eax, 0xdb9cce92
jg 0x406f90
cmp eax, 0xd825ee05
jg 0x406fa7
cmp eax, 0xd6489388
jg 0x406fdf
cmp eax, 0xd5f4f4c1
jg 0x406ff6
cmp eax, 0xd1d6f129
jg 0x40703a
cmp eax, 0xc98ce202
jg 0x407083
cmp eax, 0xc5778ab5
jg 0x407093
cmp eax, 0xc08af310
jg 0x4070aa
cmp eax, 0xba86301d
jg 0x4070c1
cmp eax, 0xb57aa7c0
jg 0x4070de
cmp eax, 0xaefb415c
jg 0x4070f5
cmp eax, 0xa2c71d8c
je 0x40710c
cmp eax, 0xa2fd1078
jne 0x407118
mov dword [ebp - 0x28], 0xc5778ab6
jmp 0x406610
cmp eax, 0x7748708c
jne 0x406610
mov dword [ebp - 0x28], 0x84ff25b4
jmp 0x406610
cmp eax, 0x76f865dc
jne 0x406610
mov dword [ebp - 0x28], 0xc5778ab6
jmp 0x406610
cmp eax, 0x7595edbe
jne 0x406610
mov al, byte [ebp - 5]
test al, al
mov eax, 0x4b969c97
jne 0x406af3
mov eax, 0x351bc8c
mov dword [ebp - 0x28], eax
jmp 0x406610
cmp eax, 0x741b0975
jne 0x406610
jmp 0x40712f
cmp eax, 0x69478b1d
jne 0x406610
mov dword [ebp - 0x28], 0xc5778ab6
jmp 0x406610
cmp eax, 0x688635b7
jne 0x406610
mov dword [ebp - 0x28], 0xaefb415d
jmp 0x406610
cmp eax, 0x630ee76d
jne 0x406610
mov dword [ebp - 0x28], 0x98c4a225
jmp 0x406610
cmp eax, 0x61258092
jne 0x406610
mov dword [ebp - 0x28], 0xa109813b
jmp 0x406610
cmp eax, 0x57d9f450
jne 0x406610
mov dword [ebp - 0x28], 0x84ff25b4
jmp 0x406610
cmp eax, 0x51a984f4
jne 0x406610
mov dword [ebp - 0x28], 0x98c4a225
jmp 0x406610
cmp eax, 0x4b969c97
jne 0x406610
mov dword [ebp - 0x28], 0xe3ea257d
jmp 0x406610
cmp eax, 0x4b2dc721
jne 0x406610
mov dword [ebp - 0x28], 0xc5778ab6
jmp 0x406610
cmp eax, 0x434df4b1
jne 0x406610
mov al, byte [ebp - 7]
test al, al
mov eax, 0xd1d6f12a
jne 0x406bdf
mov eax, 0x370a7982
mov dword [ebp - 0x28], eax
jmp 0x406610
cmp eax, 0x424c77b2
jne 0x406610
mov dword [ebp - 0x28], 0x2444fd81
jmp 0x406610
cmp eax, 0x3930e5c7
jne 0x406610
mov dword [ebp - 0x28], 0x69478b1d
jmp 0x406610
cmp eax, 0x37c5497b
jne 0x406610
mov dword [ebp - 0x28], 0xc5778ab6
jmp 0x406610
cmp eax, 0x370a7982
jne 0x406610
mov dword [ebp - 0x28], 0x8e04e525
jmp 0x406610
cmp eax, 0x3450487e
jne 0x406610
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov dword [esp + 0xc], eax
mov dword [esp], ecx
mov dword [esp + 8], 1
mov dword [esp + 4], 1
call fcn.00416e39
cmp eax, 1
mov eax, 0xab19c552
jne 0x406c7f
mov eax, 0x209c9535
mov dword [ebp - 0x28], eax
jmp 0x406610
cmp eax, 0x33bfdf10
jne 0x406610
mov dword [ebp - 0x28], 0xc5778ab6
jmp 0x406610
cmp eax, 0x33432b79
jne 0x406610
mov eax, dword [ebp - 0x14]
mov ecx, 1
sub ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 8], 1
call fcn.00416bf7
test eax, eax
setne byte [ebp - 8]
mov dword [ebp - 0x28], 0x1a8e4e02
jmp 0x406610
cmp eax, 0x2b82508e
jne 0x406610
mov eax, dword [ebp - 0x1c]
mov ecx, 0xfffffffc
sub ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 8], 1
call fcn.00416bf7
test eax, eax
mov eax, 0xc08af311
jne 0x406d16
mov eax, 0x782ddfe7
mov dword [ebp - 0x28], eax
jmp 0x406610
cmp eax, 0x2444fd81
jne 0x406610
mov dword [ebp - 0x28], 0xa2fd1078
jmp 0x406610
cmp eax, 0x20fdabb5
jne 0x406610
mov dword [ebp - 0x28], 0x351bc8c
jmp 0x406610
cmp eax, 0x209c9535
jne 0x406610
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0xfffffffe
call fcn.00416bf7
test eax, eax
mov eax, 0x94165fc4
jne 0x406d80
mov eax, 0xc98ce203
mov dword [ebp - 0x28], eax
jmp 0x406610
cmp eax, 0x1f215b34
jne 0x406610
mov dword [ebp - 0x28], 0xc5778ab6
jmp 0x406610
cmp eax, 0x1c9c0f20
jne 0x406610
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
setne byte [ebp - 6]
mov dword [ebp - 0x28], 0x88877834
jmp 0x406610
cmp eax, 0x1a8e4e02
jne 0x406610
mov al, byte [ebp - 8]
test al, al
mov eax, 0x15e01f1c
jne 0x406ddc
mov eax, 0x61258092
mov dword [ebp - 0x28], eax
jmp 0x406610
cmp eax, 0x15e01f1c
jne 0x406610
mov dword [ebp - 0x28], 0xc5778ab6
jmp 0x406610
cmp eax, 0x14ea67e8
jne 0x406610
cmp dword [ebp - 0x24], 0
setne byte [ebp - 5]
mov dword [ebp - 0x28], 0x7595edbe
jmp 0x406610
cmp eax, 0x1219fff3
jne 0x406610
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00416aa3
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov dword [ebp - 0x28], 0xa109813b
jmp 0x406610
cmp eax, 0x11bcf168
jne 0x406610
mov dword [ebp - 0x28], 0xc5778ab6
jmp 0x406610
cmp eax, 0xf857ed1
jne 0x406610
mov al, byte [ebp - 9]
test al, al
mov eax, 0x3450487e
jne 0x406e7e
mov eax, 0xc5af453
mov dword [ebp - 0x28], eax
jmp 0x406610
cmp eax, 0xc5af453
jne 0x406610
mov dword [ebp - 0x28], 0x33432b79
jmp 0x406610
cmp eax, 0x351bc8c
jne 0x406610
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], 0x741b0975
jmp 0x406610
cmp eax, 0xf99ab516
jne 0x406610
mov dword [ebp - 0x28], 0xc5778ab6
jmp 0x406610
cmp eax, 0xf8ac5324
jne 0x406610
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00416a6b
mov dword [ebp - 0x28], 0xe3ea257d
jmp 0x406610
cmp eax, 0xe932b006
jne 0x406610
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00416a6b
mov dword [ebp - 0x28], 0xdce10de5
jmp 0x406610
cmp eax, 0xe6e0623c
jne 0x406610
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
not eax
mov ecx, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 1
call fcn.00416bf7
test eax, eax
mov eax, 0xf99ab516
jne 0x406f4f
mov eax, 0xba86301e
mov dword [ebp - 0x28], eax
jmp 0x406610
cmp eax, 0xe3ea257d
jne 0x406610
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00416a6b
mov dword [ebp - 0x28], 0x20fdabb5
jmp 0x406610
cmp eax, 0xdce10de5
jne 0x406610
mov dword [ebp - 0x28], 0x14ea67e8
jmp 0x406610
cmp eax, 0xdb9cce93
jne 0x406610
mov dword [ebp - 0x28], 0xaefb415d
jmp 0x406610
cmp eax, 0xd825ee06
jne 0x406610
mov eax, dword [ebp - 0x14]
mov ecx, 1
sub ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 8], 1
call fcn.00416bf7
mov dword [ebp - 0x28], 0x33432b79
jmp 0x406610
cmp eax, 0xd6489389
jne 0x406610
mov dword [ebp - 0x28], 0x4b2dc721
jmp 0x406610
cmp eax, 0xd5f4f4c2
jne 0x406610
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp], ecx
mov dword [esp + 8], 4
mov dword [esp + 4], 1
call fcn.00416e39
cmp eax, 4
mov eax, 0x76f865dc
jne 0x407032
mov eax, 0x9f5c79a4
mov dword [ebp - 0x28], eax
jmp 0x406610
cmp eax, 0xd1d6f12a
jne 0x406610
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00416e39
mov edx, dword [ebp - 0x14]
mov ecx, 0xdb9cce93
cmp eax, dword [edx]
jne 0x40707b
mov ecx, 0x7c5dd2ab
mov dword [ebp - 0x28], ecx
jmp 0x406610
cmp eax, 0xc98ce203
jne 0x406610
jmp 0x4065f6
cmp eax, 0xc5778ab6
jne 0x406610
mov dword [ebp - 0x28], 0x1c9c0f20
jmp 0x406610
cmp eax, 0xc08af311
jne 0x406610
mov dword [ebp - 0x28], 0x2444fd81
jmp 0x406610
cmp eax, 0xba86301e
jne 0x406610
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 0x741b0975
jmp 0x406610
cmp eax, 0xb57aa7c1
jne 0x406610
mov dword [ebp - 0x28], 0xd6489389
jmp 0x406610
cmp eax, 0xaefb415d
jne 0x406610
mov dword [ebp - 0x28], 0x11bcf168
jmp 0x406610
mov dword [ebp - 0x28], 0x14ea67e8
jmp 0x406610
cmp eax, 0xab19c552
jne 0x406610
mov dword [ebp - 0x28], 0x3930e5c7
jmp 0x406610
mov eax, dword [ebp - 0x10]
add esp, 0x34
pop esi
pop ebp
ret