Function at 0x406ef0
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
mov dword [ebp - 0x24], 0xa6d483f
jmp 0x406f30
mov dword [ebp - 0x24], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x24]
cmp eax, 0x862b90c0
jg 0x406f60
cmp eax, 0x814473be
jne 0x406f30
mov ecx, dword [ebp - 0x14]
mov eax, 0x94f1f6d2
cmp dword [ecx], 0
jne 0x406f1f
mov eax, 0xcf8427d4
jmp 0x406f1f
cmp eax, 0x87a128c3
jg 0x406fb0
cmp eax, 0x862b90c1
jne 0x406f30
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.00418b09
mov edx, dword [ebp - 0x18]
mov ecx, 0xe1969225
cmp eax, dword [edx]
jne 0x406fa2
mov ecx, 0x54e25913
mov dword [ebp - 0x24], ecx
jmp 0x406f30
cmp eax, 0x8d89320e
jg 0x406fce
cmp eax, 0x87a128c4
jne 0x406f30
mov dword [ebp - 0x24], 0x814473be
jmp 0x406f30
cmp eax, 0x8e13e009
jg 0x406fec
cmp eax, 0x8d89320f
jne 0x406f30
mov dword [ebp - 0x24], 0x2ef7d2e5
jmp 0x406f30
cmp eax, 0x94f1f6d1
jg 0x40700a
cmp eax, 0x8e13e00a
jne 0x406f30
mov dword [ebp - 0x24], 0x2f2af4cc
jmp 0x406f30
cmp eax, 0x972a512d
jg 0x407035
cmp eax, 0x94f1f6d2
jne 0x406f30
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0041873b
mov dword [ebp - 0x24], 0xcf8427d4
jmp 0x406f30
cmp eax, 0x97f47abe
jg 0x407053
cmp eax, 0x972a512e
jne 0x406f30
mov dword [ebp - 0x24], 0x7f7f3953
jmp 0x406f30
cmp eax, 0x7f7f3952
jg 0x40710f
cmp eax, 0x7f02880b
jg 0x40712d
cmp eax, 0x769fec02
jg 0x407144
cmp eax, 0x7434e3a2
jg 0x407161
cmp eax, 0x71365a4a
jg 0x407178
cmp eax, 0x6f58c607
jg 0x407188
cmp eax, 0x6a528f18
jg 0x4071cc
cmp eax, 0x665cc115
jg 0x4071e3
cmp eax, 0x6219a4c4
jg 0x40721c
cmp eax, 0x5a66b1a4
jg 0x407233
cmp eax, 0x54e25912
jg 0x40724a
cmp eax, 0x4668f549
jg 0x407261
cmp eax, 0x33b590f8
jg 0x4072a3
cmp eax, 0x30a9ea10
jg 0x4072ba
cmp eax, 0x98450e34
jg 0x4072d1
cmp eax, 0x97f47abf
jne 0x406f30
mov dword [ebp - 0x24], 0x814473be
jmp 0x406f30
cmp eax, 0x7f7f3953
jne 0x406f30
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x24], 0x71365a4b
jmp 0x406f30
cmp eax, 0x7f02880c
jne 0x406f30
mov dword [ebp - 0x24], 0x28d45c8f
jmp 0x406f30
cmp eax, 0x769fec03
jne 0x406f30
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 0x71365a4b
jmp 0x406f30
cmp eax, 0x7434e3a3
jne 0x406f30
mov dword [ebp - 0x24], 0x6219a4c5
jmp 0x406f30
cmp eax, 0x71365a4b
jne 0x406f30
jmp 0x4077b2
cmp eax, 0x6f58c608
jne 0x406f30
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.00418b09
cmp eax, 4
mov eax, 0x97f47abf
jne 0x4071c4
mov eax, 0x665cc116
mov dword [ebp - 0x24], eax
jmp 0x406f30
cmp eax, 0x6a528f19
jne 0x406f30
mov dword [ebp - 0x24], 0x2c2e525
jmp 0x406f30
cmp eax, 0x665cc116
jne 0x406f30
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00418773
mov dword [ebp - 0x20], eax
mov ecx, 0x4668f54a
test eax, eax
jne 0x407214
mov ecx, 0x87a128c4
mov dword [ebp - 0x24], ecx
jmp 0x406f30
cmp eax, 0x6219a4c5
jne 0x406f30
mov dword [ebp - 0x24], 0x814473be
jmp 0x406f30
cmp eax, 0x5a66b1a5
jne 0x406f30
mov dword [ebp - 0x24], 0x7f02880c
jmp 0x406f30
cmp eax, 0x54e25913
jne 0x406f30
mov dword [ebp - 0x24], 0x1d310581
jmp 0x406f30
cmp eax, 0x4668f54a
jne 0x406f30
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.004188c7
test eax, eax
mov eax, 0xdfe96ac9
jne 0x40729b
mov eax, 0x862b90c1
mov dword [ebp - 0x24], eax
jmp 0x406f30
cmp eax, 0x33b590f9
jne 0x406f30
mov dword [ebp - 0x24], 0x814473be
jmp 0x406f30
cmp eax, 0x30a9ea11
jne 0x406f30
mov dword [ebp - 0x24], 0x7f02880c
jmp 0x406f30
cmp eax, 0xa2426e8a
jg 0x4072ef
cmp eax, 0x98450e35
jne 0x406f30
mov dword [ebp - 0x24], 0x814473be
jmp 0x406f30
cmp eax, 0xaf537143
jg 0x40730d
cmp eax, 0xa2426e8b
jne 0x406f30
mov dword [ebp - 0x24], 0x7434e3a3
jmp 0x406f30
cmp eax, 0xb7527c20
jg 0x40732b
cmp eax, 0xaf537144
jne 0x406f30
mov dword [ebp - 0x24], 0x2ef7d2e5
jmp 0x406f30
cmp eax, 0xbbe4413b
jg 0x407374
cmp eax, 0xb7527c21
jne 0x406f30
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.004188c7
test eax, eax
mov eax, 0x33b590f9
jne 0x40736c
mov eax, 0xe06f8d
mov dword [ebp - 0x24], eax
jmp 0x406f30
cmp eax, 0xbf6dea9c
jg 0x4073c4
cmp eax, 0xbbe4413c
jne 0x406f30
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.00418b09
mov edx, dword [ebp - 0x10]
mov ecx, 0xaf537144
cmp eax, dword [edx]
jne 0x4073bc
mov ecx, 0xece46b88
mov dword [ebp - 0x24], ecx
jmp 0x406f30
cmp eax, 0xc7287b69
jg 0x4073ed
cmp eax, 0xbf6dea9d
jne 0x406f30
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.0041873b
mov dword [ebp - 0x24], 0x2c2e525
jmp 0x406f30
cmp eax, 0xcdfd67f0
jg 0x407430
cmp eax, 0xc7287b6a
jne 0x406f30
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0xfffffffe
call fcn.004188c7
test eax, eax
mov eax, 0xa2426e8b
jne 0x407428
mov eax, 0xe85e892b
mov dword [ebp - 0x24], eax
jmp 0x406f30
cmp eax, 0xcf8427d3
jg 0x40745b
cmp eax, 0xcdfd67f1
jne 0x406f30
mov al, byte [ebp - 5]
test al, al
mov eax, 0xed2e8164
jne 0x407453
mov eax, 0x769fec03
mov dword [ebp - 0x24], eax
jmp 0x406f30
cmp eax, 0xd25b6236
jg 0x407485
cmp eax, 0xcf8427d4
jne 0x406f30
mov eax, 0x6a528f19
cmp dword [ebp - 0x20], 0
jne 0x40747d
mov eax, 0x7f7f3953
mov dword [ebp - 0x24], eax
jmp 0x406f30
cmp eax, 0xdfab468f
jg 0x4074a3
cmp eax, 0xd25b6237
jne 0x406f30
mov dword [ebp - 0x24], 0x8e13e00a
jmp 0x406f30
cmp eax, 0xdfe96ac8
jg 0x4074c1
cmp eax, 0xdfab4690
jne 0x406f30
mov dword [ebp - 0x24], 0x814473be
jmp 0x406f30
cmp eax, 0xe0afc9ac
jg 0x4074df
cmp eax, 0xdfe96ac9
jne 0x406f30
mov dword [ebp - 0x24], 0xf1eff4d6
jmp 0x406f30
cmp eax, 0xe1969224
jg 0x4074fd
cmp eax, 0xe0afc9ad
jne 0x406f30
mov dword [ebp - 0x24], 0x8e13e00a
jmp 0x406f30
cmp eax, 0xe6f54c04
jg 0x40751b
cmp eax, 0xe1969225
jne 0x406f30
mov dword [ebp - 0x24], 0x814473be
jmp 0x406f30
cmp eax, 0xe85e892a
jg 0x407566
cmp eax, 0xe6f54c05
jne 0x406f30
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.00418b09
cmp eax, 1
mov eax, 0xe0afc9ad
jne 0x40755e
mov eax, 0xc7287b6a
mov dword [ebp - 0x24], eax
jmp 0x406f30
cmp eax, 0xece46b87
jg 0x40757d
cmp eax, 0xe85e892b
jne 0x406f30
jmp 0x406f16
cmp eax, 0xed2e8163
jg 0x4075c6
cmp eax, 0xece46b88
jne 0x406f30
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.004188c7
test eax, eax
mov eax, 0xdb8b929
jne 0x4075be
mov eax, 0x6f58c608
mov dword [ebp - 0x24], eax
jmp 0x406f30
cmp eax, 0xf1eff4d5
jg 0x4075e4
cmp eax, 0xed2e8164
jne 0x406f30
mov dword [ebp - 0x24], 0x814473be
jmp 0x406f30
cmp eax, 0xe06f8c
jg 0x407602
cmp eax, 0xf1eff4d6
jne 0x406f30
mov dword [ebp - 0x24], 0x98450e35
jmp 0x406f30
cmp eax, 0x2c2e524
jg 0x407648
cmp eax, 0xe06f8d
jne 0x406f30
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00418773
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x14]
mov eax, 0xbbe4413c
cmp dword [ecx], 0
jne 0x407640
mov eax, 0x5a66b1a5
mov dword [ebp - 0x24], eax
jmp 0x406f30
cmp eax, 0xa6d483e
jg 0x407671
cmp eax, 0x2c2e525
jne 0x406f30
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.0041873b
mov dword [ebp - 0x24], 0x972a512e
jmp 0x406f30
cmp eax, 0xc647df7
jg 0x40769d
cmp eax, 0xa6d483f
jne 0x406f30
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
mov eax, 0xe6f54c05
je 0x407695
mov eax, 0xb7527c21
mov dword [ebp - 0x24], eax
jmp 0x406f30
cmp eax, 0xdb8b928
jg 0x4076bb
cmp eax, 0xc647df8
jne 0x406f30
mov dword [ebp - 0x24], 0x7434e3a3
jmp 0x406f30
cmp eax, 0xedd7210
jg 0x4076d9
cmp eax, 0xdb8b929
jne 0x406f30
mov dword [ebp - 0x24], 0x814473be
jmp 0x406f30
cmp eax, 0x1d310580
jg 0x4076f7
cmp eax, 0xedd7211
jne 0x406f30
mov dword [ebp - 0x24], 0xf1eff4d6
jmp 0x406f30
cmp eax, 0x24789b0b
jg 0x407739
cmp eax, 0x1d310581
jne 0x406f30
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.004188c7
test eax, eax
setne byte [ebp - 5]
mov dword [ebp - 0x24], 0xcdfd67f1
jmp 0x406f30
cmp eax, 0x28d45c8e
jg 0x407775
cmp eax, 0x24789b0c
jne 0x406f30
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.004188c7
mov dword [ebp - 0x24], 0x1d310581
jmp 0x406f30
cmp eax, 0x28d45c8f
je 0x40778f
cmp eax, 0x2ef7d2e5
jne 0x40779b
mov dword [ebp - 0x24], 0xdfab4690
jmp 0x406f30
mov dword [ebp - 0x24], 0x814473be
jmp 0x406f30
cmp eax, 0x2f2af4cc
jne 0x406f30
mov dword [ebp - 0x24], 0x814473be
jmp 0x406f30
mov eax, dword [ebp - 0xc]
add esp, 0x30
pop esi
pop ebp
ret