Function at 0x406a50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [ebp - 0x24], 0xeedf1192
jmp 0x406a90
mov dword [ebp - 0x24], 0x177374ad
mov eax, dword [ebp - 0x24]
cmp eax, 0x78ab1a43
jg 0x406ac0
cmp eax, 0x6457707e
jg 0x406ad0
cmp eax, 0x620362c0
jg 0x406ae0
cmp eax, 0x873088a9
jg 0x406b1e
cmp eax, 0x8559b731
jne 0x406a90
mov dword [ebp - 0x24], 0xc0c47e29
jmp 0x406a90
cmp eax, 0x78ab1a44
jne 0x406a90
jmp 0x406a89
cmp eax, 0x6457707f
jne 0x406a90
mov dword [ebp - 0x24], 0xe5e628b3
jmp 0x406a90
cmp eax, 0x620362c1
jne 0x406a90
mov eax, dword [ebp - 0x10]
mov ecx, 0xfffffffc
sub ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 8], 1
call fcn.00416dc7
test eax, eax
mov eax, 0x96ec788d
jne 0x406b16
mov eax, 0xe6769aaf
mov dword [ebp - 0x24], eax
jmp 0x406a90
cmp eax, 0x96ec788c
jg 0x406b5d
cmp eax, 0x873088aa
jne 0x406a90
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0xfffffffe
call fcn.00416dc7
test eax, eax
setne byte [ebp - 7]
mov dword [ebp - 0x24], 0xf8285117
jmp 0x406a90
cmp eax, 0x5bf92458
jg 0x406c24
cmp eax, 0x5b138a88
jg 0x406c3b
cmp eax, 0x5266bf16
jg 0x406c5a
cmp eax, 0x51560001
jg 0x406c78
cmp eax, 0x4f32ef26
jg 0x406c9c
cmp eax, 0x4df00d46
jg 0x406cd4
cmp eax, 0x3def5823
jg 0x406ceb
cmp eax, 0x392cab3a
jg 0x406d02
cmp eax, 0x2f98ac4c
jg 0x406d19
cmp eax, 0x2ce00895
jg 0x406d30
cmp eax, 0x2b8fb5d3
jg 0x406d47
cmp eax, 0x29542a39
jg 0x406d89
cmp eax, 0x27cb44ac
jg 0x406dc2
cmp eax, 0x26e44c7c
jg 0x406dd9
cmp eax, 0x2510c0f8
jg 0x406df0
cmp eax, 0x976e122b
jg 0x406e07
cmp eax, 0x96ec788d
jne 0x406a90
mov dword [ebp - 0x24], 0xe5e628b3
jmp 0x406a90
cmp eax, 0x5bf92459
jne 0x406a90
mov dword [ebp - 0x24], 0xf8328fd6
jmp 0x406a90
cmp eax, 0x5b138a89
jne 0x406a90
cmp dword [ebp - 0x20], 0
setne byte [ebp - 5]
mov dword [ebp - 0x24], 0x733786d
jmp 0x406a90
cmp eax, 0x5266bf17
jne 0x406a90
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x24], 0xa667739
jmp 0x406a90
cmp eax, 0x51560002
jne 0x406a90
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00416c3b
mov dword [ebp - 0x24], 0xba4d4db7
jmp 0x406a90
cmp eax, 0x4f32ef27
jne 0x406a90
mov eax, dword [ebp - 0x10]
mov ecx, 1
sub ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 8], 1
call fcn.00416dc7
mov dword [ebp - 0x24], 0x987210b7
jmp 0x406a90
cmp eax, 0x4df00d47
jne 0x406a90
mov dword [ebp - 0x24], 0xe5e628b3
jmp 0x406a90
cmp eax, 0x3def5824
jne 0x406a90
mov dword [ebp - 0x24], 0x2f98ac4d
jmp 0x406a90
cmp eax, 0x392cab3b
jne 0x406a90
mov dword [ebp - 0x24], 0xe5e628b3
jmp 0x406a90
cmp eax, 0x2f98ac4d
jne 0x406a90
mov dword [ebp - 0x24], 0xe5e628b3
jmp 0x406a90
cmp eax, 0x2ce00896
jne 0x406a90
mov dword [ebp - 0x24], 0xba4d4db7
jmp 0x406a90
cmp eax, 0x2b8fb5d4
jne 0x406a90
mov eax, dword [ebp - 0x18]
mov ecx, 0xfffffffc
sub ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 8], 1
call fcn.00416dc7
test eax, eax
mov eax, 0xd7a9c20c
jne 0x406d81
mov eax, 0xae531785
mov dword [ebp - 0x24], eax
jmp 0x406a90
cmp eax, 0x29542a3a
jne 0x406a90
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00416c73
mov dword [ebp - 0x20], eax
mov ecx, 0x2b8fb5d4
test eax, eax
jne 0x406dba
mov ecx, 0xb44b27d7
mov dword [ebp - 0x24], ecx
jmp 0x406a90
cmp eax, 0x27cb44ad
jne 0x406a90
mov dword [ebp - 0x24], 0x5b138a89
jmp 0x406a90
cmp eax, 0x26e44c7d
jne 0x406a90
mov dword [ebp - 0x24], 0xe5e628b3
jmp 0x406a90
cmp eax, 0x2510c0f9
jne 0x406a90
mov dword [ebp - 0x24], 0xe5e628b3
jmp 0x406a90
cmp eax, 0x987210b6
jg 0x406e4d
cmp eax, 0x976e122c
jne 0x406a90
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
not eax
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 1
call fcn.00416dc7
test eax, eax
mov eax, 0xf9fcb92a
jne 0x406e45
mov eax, 0xb0424148
mov dword [ebp - 0x24], eax
jmp 0x406a90
cmp eax, 0x9ad5f267
jg 0x406e92
cmp eax, 0x987210b7
jne 0x406a90
mov eax, dword [ebp - 0x10]
mov ecx, 1
sub ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 8], 1
call fcn.00416dc7
test eax, eax
setne byte [ebp - 6]
mov dword [ebp - 0x24], 0xf3bc855f
jmp 0x406a90
cmp eax, 0x9d408a25
jg 0x406eb0
cmp eax, 0x9ad5f268
jne 0x406a90
mov dword [ebp - 0x24], 0xe5e628b3
jmp 0x406a90
cmp eax, 0xa4cb27b9
jg 0x406ece
cmp eax, 0x9d408a26
jne 0x406a90
mov dword [ebp - 0x24], 0x873088aa
jmp 0x406a90
cmp eax, 0x177374ac
jg 0x406f4f
cmp eax, 0x1708a14a
jg 0x406f66
cmp eax, 0x12b272cf
jg 0x406fa5
cmp eax, 0x10b620f2
jg 0x406fe9
cmp eax, 0xddc8ddf
jg 0x407000
cmp eax, 0xa667738
jg 0x407010
cmp eax, 0x733786c
jg 0x407020
cmp eax, 0xfaa0fccb
jg 0x407044
cmp eax, 0xf9fcb929
jg 0x40708d
cmp eax, 0xa4efbae9
jg 0x4070a4
cmp eax, 0xa4cb27ba
jne 0x406a90
mov dword [ebp - 0x24], 0x3def5824
jmp 0x406a90
cmp eax, 0x177374ad
jne 0x406a90
mov dword [ebp - 0x24], 0x4df00d47
jmp 0x406a90
cmp eax, 0x1708a14b
jne 0x406a90
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00416c73
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x14]
mov eax, 0xfaa0fccc
cmp dword [ecx], 0
jne 0x406f9d
mov eax, 0xed9a3774
mov dword [ebp - 0x24], eax
jmp 0x406a90
cmp eax, 0x12b272d0
jne 0x406a90
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov dword [esp], ecx
mov dword [esp + 8], 1
mov dword [esp + 4], 1
call fcn.00417009
cmp eax, 1
mov eax, 0x392cab3b
jne 0x406fe1
mov eax, 0x9d408a26
mov dword [ebp - 0x24], eax
jmp 0x406a90
cmp eax, 0x10b620f3
jne 0x406a90
mov dword [ebp - 0x24], 0x987210b7
jmp 0x406a90
cmp eax, 0xddc8de0
jne 0x406a90
jmp 0x406a80
cmp eax, 0xa667739
jne 0x406a90
jmp 0x4073ab
cmp eax, 0x733786d
jne 0x406a90
mov al, byte [ebp - 5]
test al, al
mov eax, 0xce402ba2
jne 0x40703c
mov eax, 0x5266bf17
mov dword [ebp - 0x24], eax
jmp 0x406a90
cmp eax, 0xfaa0fccc
jne 0x406a90
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x14]
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.00417009
mov edx, dword [ebp - 0x10]
mov ecx, 0x6457707f
cmp eax, dword [edx]
jne 0x407085
mov ecx, 0x620362c1
mov dword [ebp - 0x24], ecx
jmp 0x406a90
cmp eax, 0xf9fcb92a
jne 0x406a90
mov dword [ebp - 0x24], 0xc0c47e29
jmp 0x406a90
cmp eax, 0xae531784
jg 0x4070dd
cmp eax, 0xa4efbaea
jne 0x406a90
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0xfffffffe
call fcn.00416dc7
mov dword [ebp - 0x24], 0x873088aa
jmp 0x406a90
cmp eax, 0xb0424147
jg 0x40712b
cmp eax, 0xae531785
jne 0x406a90
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00417009
mov edx, dword [ebp - 0x18]
mov ecx, 0x2510c0f9
cmp eax, dword [edx]
jne 0x407123
mov ecx, 0x976e122c
mov dword [ebp - 0x24], ecx
jmp 0x406a90
cmp eax, 0xb44b27d6
jg 0x40714f
cmp eax, 0xb0424148
jne 0x406a90
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 0xa667739
jmp 0x406a90
cmp eax, 0xb5b5d491
jg 0x40716d
cmp eax, 0xb44b27d7
jne 0x406a90
mov dword [ebp - 0x24], 0xe5e628b3
jmp 0x406a90
cmp eax, 0xba4d4db6
jg 0x40718b
cmp eax, 0xb5b5d492
jne 0x406a90
mov dword [ebp - 0x24], 0x26e44c7d
jmp 0x406a90
cmp eax, 0xbd22ca22
jg 0x4071b6
cmp eax, 0xba4d4db7
jne 0x406a90
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00416c3b
mov dword [ebp - 0x24], 0x5bf92459
jmp 0x406a90
cmp eax, 0xc0c47e28
jg 0x4071d4
cmp eax, 0xbd22ca23
jne 0x406a90
mov dword [ebp - 0x24], 0x3def5824
jmp 0x406a90
cmp eax, 0xc10d1529
jg 0x4071f2
cmp eax, 0xc0c47e29
jne 0x406a90
mov dword [ebp - 0x24], 0x9ad5f268
jmp 0x406a90
cmp eax, 0xce402ba1
jg 0x407210
cmp eax, 0xc10d152a
jne 0x406a90
mov dword [ebp - 0x24], 0xe5e628b3
jmp 0x406a90
cmp eax, 0xd481f785
jg 0x407239
cmp eax, 0xce402ba2
jne 0x406a90
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.00416c3b
mov dword [ebp - 0x24], 0x5266bf17
jmp 0x406a90
cmp eax, 0xd7a9c20b
jg 0x407257
cmp eax, 0xd481f786
jne 0x406a90
mov dword [ebp - 0x24], 0xb5b5d492
jmp 0x406a90
cmp eax, 0xe500442f
jg 0x407275
cmp eax, 0xd7a9c20c
jne 0x406a90
mov dword [ebp - 0x24], 0xe5e628b3
jmp 0x406a90
cmp eax, 0xe5e628b2
jg 0x407293
cmp eax, 0xe5004430
jne 0x406a90
mov dword [ebp - 0x24], 0x177374ad
jmp 0x406a90
cmp eax, 0xe6769aae
jg 0x4072bf
cmp eax, 0xe5e628b3
jne 0x406a90
mov ecx, dword [ebp - 0x14]
mov eax, 0x2ce00896
cmp dword [ecx], 0
jne 0x4072b7
mov eax, 0xf8328fd6
mov dword [ebp - 0x24], eax
jmp 0x406a90
cmp eax, 0xed9a3773
jg 0x40730a
cmp eax, 0xe6769aaf
jne 0x406a90
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [esp + 0xc], eax
mov dword [esp], ecx
mov dword [esp + 8], 4
mov dword [esp + 4], 1
call fcn.00417009
cmp eax, 4
mov eax, 0xa4cb27ba
jne 0x407302
mov eax, 0x29542a3a
mov dword [ebp - 0x24], eax
jmp 0x406a90
cmp eax, 0xeedf1191
jg 0x407328
cmp eax, 0xed9a3774
jne 0x406a90
mov dword [ebp - 0x24], 0xb5b5d492
jmp 0x406a90
cmp eax, 0xf3bc855e
jg 0x407354
cmp eax, 0xeedf1192
jne 0x406a90
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
mov eax, 0x12b272d0
je 0x40734c
mov eax, 0x10b620f3
mov dword [ebp - 0x24], eax
jmp 0x406a90
cmp eax, 0xf3bc855f
je 0x40737b
cmp eax, 0xf8285117
jne 0x407394
mov al, byte [ebp - 7]
test al, al
mov eax, 0x78ab1a44
jne 0x407373
mov eax, 0xddc8de0
mov dword [ebp - 0x24], eax
jmp 0x406a90
mov al, byte [ebp - 6]
test al, al
mov eax, 0xc10d152a
jne 0x40738c
mov eax, 0x1708a14b
mov dword [ebp - 0x24], eax
jmp 0x406a90
cmp eax, 0xf8328fd6
jne 0x406a90
mov dword [ebp - 0x24], 0x5b138a89
jmp 0x406a90
mov eax, dword [ebp - 0xc]
add esp, 0x30
pop esi
pop ebp
ret