Function at 0x406008
Capabilities:
Get file attributes

Disassembly:
cmp eax, 0x72
jne 0x406027
sub eax, 0x2923
cmp eax, 0x1f7
je 0x406027
xor edx, 0x173c
cmp eax, dword [ebp - 0x204]
jne 0x406050
sub eax, 0x23e7
cmp ecx, 0x270
jne 0x40604a
sub ecx, 0x2d49
and ecx, 0x319f
xor edx, 0x39ad
cmp eax, ecx
je 0x40605a
cmp edx, dword [ebp - 0x1b0]
jne 0x40609e
cmp edx, 0x1cf
jne 0x40609e
test ecx, ecx
je 0x406093
sub eax, 0x17ec
or edx, 0x233b
cmp edx, ecx
je 0x40608d
xor edx, 0x3f1
sub edx, 0x1d24
add eax, 0x17a6
and edx, 0x3884
xor ecx, 0x3c3a
cmp eax, dword [ebp - 0x14]
jne 0x4060c0
sub edx, 0x949
xor ecx, 0xc1
or eax, 0x1385
add ecx, 0x7e3
or eax, 0xf13
add edx, 0x628
test edx, edx
jne 0x4060da
or eax, 0x342
cmp ecx, eax
jne 0x4060e9
sub eax, 0x145a
or ecx, 0x362c
and eax, 0x25e4
or edx, 0x1332
cmp dword [ebp - 0x1c0], ecx
je 0x40611d
cmp eax, dword [ebp - 0x74]
jne 0x40611d
and edx, 0x2e0f
cmp ecx, edx
je 0x40611d
add ecx, 0x3bb5
and edx, 0x34e6
sub eax, 0x3cd8
add edx, 0x3839
and ecx, 0x3a7e
sub edx, edx
push edx
push edx
call dword [sym.imp.ole32.dll_CoGetApartmentID]
push eax
call dword [sym.imp.MSVCRT.dll_rand]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
push 0x229064c1
call dword [sym.imp.MSVCRT.dll__finite]
pop eax
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.MSVCRT.dll_ctime]
pop eax
push 0
call dword [sym.imp.USER32.dll_IsIconic]
and eax, 0x2322
cmp ecx, 0x1e5
je 0x40619c
xor ecx, 0x3f51
cmp eax, ecx
jne 0x4061a8
or eax, 0x514
and edx, 0x26cf
and ecx, 0x2d4c
and edx, 0x955
push ecx
call dword [sym.imp.MSVCRT.dll__ftol]
pop edx
add eax, 0x18f
test eax, eax
je 0x4061fb
sub eax, 0x3ddd
xor edx, 0x6c8
cmp eax, dword [ebp - 4]
je 0x4061fb
cmp eax, edx
jne 0x4061f5
or ecx, 0xe15
cmp dword [ebp - 0x228], edx
jne 0x4061eb
sub eax, 0x10d9
add eax, 0x27dd
or ecx, 0x2c86
push 0x1f
call dword [sym.imp.USER32.dll_IsIconic]
or edx, 0x13d
xor ecx, 0x2403
cmp dword [ebp - 0x24], eax
jne 0x40628e
and edx, 0x23ed
cmp edx, eax
je 0x406276
or eax, 0xf50
cmp eax, ecx
jne 0x40627c
sub eax, 0x1b0f
and ecx, 0x220c
or eax, 0x32a9
or edx, 0x3b9d
xor eax, 0x3376
cmp edx, ecx
jne 0x406288
sub ecx, 0x1f0b
cmp edx, eax
je 0x406293
cmp edx, dword [ebp - 0x130]
je 0x40628e
add edx, 0x3f0d
add ecx, 0x3ac0
sub edx, 0x1a91
and edx, 0x3d3e
or ecx, 0x3157
xor eax, 0x28b6
cmp ecx, 0x385
jne 0x4062d9
add edx, 0x1d01
sub edx, 0x1d01
cmp ecx, eax
je 0x4062d9
and ecx, 0x3cc9
and eax, 0x3a25
cmp edx, dword [ebp - 0x3c]
jne 0x4062cd
sub ecx, 0xf7
add ecx, 0x3566
or edx, 0x27d5
and ecx, 0x2483
sub ecx, 0x14d2
and eax, 0x3f1a
test eax, eax
je 0x406340
test edx, edx
jne 0x40633a
cmp edx, 0x29
jne 0x40632e
cmp eax, 0xc2
je 0x406346
xor eax, 0x2e1e
or eax, 0xf83
and eax, 0x7b9
cmp eax, 0x7c
je 0x406340
test eax, eax
jne 0x406346
or edx, 0x10cc
or edx, 0x15be
sub edx, 0xba6
xor edx, 0x32ac
xor eax, 0x314e
xor eax, 0x10f4
push 0
call dword [sym.imp.MSVCRT.dll__ftol]
pop eax
test edx, edx
je 0x406360
or ecx, 0x74
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
add ecx, 0x3d7f
cmp ecx, 0x5d
jne 0x4063b1
or ecx, 0xa27
test ecx, ecx
jne 0x4063ab
cmp dword [ebp - 0x1ec], ecx
jne 0x4063bd
and edx, 0x840
xor ecx, 0x1d06
cmp edx, dword [ebp - 0x19c]
je 0x4063bd
add edx, 0x20b
or ecx, 0x159
and ecx, 0x2f30
and edx, 0x12b9
push 0x408b4ef8
call dword [sym.imp.MSVCRT.dll_srand]
pop ecx
sub ecx, 0x9cb
cmp edx, 0x1d6
je 0x4063dd
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp ecx, dword [ebp - 0x1cc]
je 0x40643e
sub ecx, 0x391c
cmp dword [ebp - 0x23c], edx
jne 0x40643e
test ecx, ecx
je 0x40643e
or eax, 0x751
sub eax, 0x308f
test eax, eax
je 0x406449
cmp ecx, edx
jne 0x40643e
and ecx, 0x88a
cmp edx, dword [ebp - 0x6c]
je 0x40644f
xor eax, 0x1227
xor ecx, 0x1f7f
or eax, 0xa0e
and edx, 0xcbd
cmp eax, 0x16c
je 0x4064cf
xor edx, 0x1aa
cmp eax, 0x115
jne 0x4064e6
and eax, 0x115d
and ecx, 0x1a41
cmp dword [ebp - 0x20c], eax
je 0x4064d5
xor eax, 0xc62
and ecx, 0x2c63
cmp edx, 0xbd
je 0x4064b3
cmp edx, 0x1d6
je 0x4064ad
test ecx, ecx
je 0x4064be
and ecx, 0x3af4
xor eax, 0x1bfc
or edx, 0x13dc
sub edx, 0x1fa5
xor eax, 0x2c10
sub ecx, 0x3e49
add ecx, 0x86b
xor eax, 0xbb8
and ecx, 0x31f0
and ecx, 0x339a
cmp edx, dword [ebp - 0x140]
je 0x406512
and edx, 0x205d
and edx, 0x5fc
cmp ecx, edx
je 0x406512
add ecx, 0xada
xor ecx, 0x21ad
sub edx, 0xf2a
cmp ecx, 0x2e2
je 0x406520
call dword [sym.imp.MSVCRT.dll_rand]
add eax, 0x2a4d
test edx, edx
je 0x40654a
add edx, 0x3597
cmp eax, 0x31c
jne 0x40654a
and ecx, 0x993
push 0x8f87d663
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x406559
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.MSVCRT.dll_ctime]
pop eax
cmp edx, 0x29f
je 0x406575
add edx, 0x1ac8
and eax, 0x1a
push eax
call dword [sym.imp.USER32.dll_IsIconic]
and eax, 0x1596
cmp eax, 0x25e
jne 0x4065e1
and ecx, 0x3d7d
cmp dword [ebp - 0x94], eax
je 0x4065e1
xor ecx, 0x1253
cmp edx, dword [ebp - 0x1e8]
jne 0x4065e7
add edx, 0x1cd1
cmp dword [ebp - 0x108], ecx
jne 0x4065ed
cmp ecx, eax
je 0x4065db
sub edx, 0x176f
test edx, edx
jne 0x4065e1
xor ecx, 0x13c4
or ecx, 0x1c91
add edx, 0x1f76
sub ecx, 0x3e75
call dword [sym.imp.MSVCRT.dll_rand]
call dword [sym.imp.USER32.dll_GetMessagePos]
call dword [sym.imp.MSVCRT.dll___p__osver]
lea edx, [ebp - 0xdc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp edx, 0x1eb
jne 0x40669c
or ecx, 0x3e5
and ecx, 0xcc8
xor ecx, 0xcc8
cmp edx, 0xa
jne 0x406690
or edx, 0x1e18
cmp dword [ebp - 0xcc], edx
je 0x4066a2
or eax, 0x1579
or eax, 0x1918
cmp edx, eax
jne 0x40669c
xor eax, 0x1165
and edx, 0x3303
and edx, 0x374a
sub ecx, 0xb43
cmp ecx, edx
je 0x40669c
and ecx, 0x1675
xor ecx, 0x267f
test edx, edx
jne 0x406696
and ecx, 0x13e5
or ecx, 0x2651
and edx, 0x3727
push 0xa3321e0b
call dword [sym.imp.MSVCRT.dll_srand]
pop ecx
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and ecx, 0x6bb
cmp edx, eax
je 0x406716
cmp dword [ebp - 0x240], eax
jne 0x40671c
add eax, 0x28ff
cmp ecx, dword [ebp - 0x138]
je 0x40671c
cmp dword [ebp - 0x11c], ecx
je 0x406716
and eax, 0x20aa
or eax, 0x185c
test edx, edx
jne 0x406716
cmp edx, 0x1a9
je 0x406716
sub edx, 0x1fa3
and ecx, 0x1424
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
push eax
call dword [sym.imp.MSVCRT.dll__finite]
pop edx
cmp dword [ebp - 0x18], edx
je 0x40674b
cmp edx, dword [ebp - 0x26c]
je 0x406751
sub ecx, 0x36b4
and eax, 0x1d1b
or ecx, 0x2319
or eax, 0x3833
call dword [sym.imp.USER32.dll_GetMessagePos]
cmp eax, 0x30d
jne 0x406792
cmp ecx, 0xae
je 0x40679e
xor ecx, 0x3bfa
or edx, 0x25c9
cmp ecx, edx
je 0x406792
or eax, 0x2976
or edx, 0x2b30
and ecx, 0x2148
and ecx, 0x1b5c
add ecx, 0x306c
xor edx, 0x3075
cmp ecx, edx
jne 0x406800
cmp dword [ebp - 0x180], eax
jne 0x406800
xor ecx, 0xe1c
xor eax, 0x31b9
cmp dword [ebp - 0x25c], ecx
je 0x406806
or eax, 0x214f
cmp edx, ecx
jne 0x406800
and ecx, 0x1779
or edx, 0x311f
or ecx, 0x1fb6
cmp dword [ebp - 0x17c], eax
je 0x406800
or ecx, 0x138f
add ecx, 0x87
or edx, 0x36cb
call dword [sym.imp.MSVCRT.dll___p__osver]
and edx, 0x118d
cmp edx, ecx
jne 0x40682d
or edx, 0x1f6c
xor eax, 0x8a1
call dword [sym.imp.USER32.dll_GetMessagePos]
and edx, 0x3884
and edx, 0x3ee6
test edx, edx
jne 0x406894
and ecx, 0x136a
test edx, edx
jne 0x40689a
cmp edx, 0x74
jne 0x406894
test ecx, ecx
je 0x40689a
add ecx, 0x13f4
cmp edx, 0x3e8
jne 0x406894
and eax, 0x1853
xor eax, 0x3845
cmp dword [ebp - 0x1bc], edx
je 0x40689a
or ecx, 0x2e27
add ecx, 0x2619
and edx, 0x2ceb
push 0
call dword [sym.imp.MSVCRT.dll_srand]
pop edx
pop eax
add eax, 0x80392085
test ecx, ecx
jne 0x4068b9
xor edx, 0x14c6
or ecx, 0x14c6
cmp ecx, 0x4b
jne 0x406912
test edx, edx
jne 0x406900
test ecx, ecx
jne 0x40690c
or ecx, 0x1f4e
or ecx, 0x268c
test ecx, ecx
jne 0x406900
sub ecx, 0x1ab5
cmp edx, ecx
je 0x40690c
sub edx, 0x199c
sub edx, 0x3a2d
or edx, 0x397
and edx, 0x241d
sub ecx, 0x305c
add edx, 0x738
cmp ecx, dword [ebp - 0x27c]
je 0x406926
cmp ecx, dword [ebp - 0x1c4]
jne 0x406994
cmp edx, ecx
je 0x406988
and ecx, 0x133d
cmp ecx, edx
je 0x406982
cmp ecx, dword [ebp - 0x17c]
jne 0x40698e
and ecx, 0x3d7a
test ecx, ecx
jne 0x4069a0
add edx, 0x1091
or ecx, 0xe1b
test ecx, ecx
je 0x406982
xor edx, 0xe4a
add ecx, 0x2d2a
or ecx, 0xc85
or ecx, 0x35a1
xor ecx, 0x907
xor ecx, 0xeea
or ecx, 0xeea
or edx, 0x1f26
add ecx, 0x2065
cmp ecx, edx
je 0x4069ea
or ecx, 0x2f15
cmp ecx, 0xbf
je 0x4069de
add edx, 0x286b
xor edx, 0x311b
cmp ecx, dword [ebp - 0x140]
jne 0x4069ea
xor ecx, 0x3285
xor ecx, 0x1583
and ecx, 0x1f9f
cmp ecx, dword [ebp - 0xec]
je 0x4069fe
sub edx, 0x16e6
sub ecx, 0x25f5
cmp edx, 0x65
jne 0x406a15
xor edx, 0x12f0
and ecx, 0x9d4
or ecx, 0x9d4
cmp ecx, edx
je 0x406a72
sub edx, 0x39cd
and ecx, 0x1a8a
cmp ecx, 0xd1
jne 0x406a8a
sub edx, 0x13f9
add edx, 0x383a
test ecx, ecx
jne 0x406a78
add ecx, 0x2580
cmp edx, ecx
je 0x406a90
sub edx, 0x21f5
cmp edx, dword [ebp - 0xc]
jne 0x406a84
and edx, 0x19e9
sub edx, 0x2492
and ecx, 0x968
add ecx, 0x26a8
sub edx, 0x3e9e
and edx, 0x1dc7
add edx, 0x1848
cmp ecx, 0xcf
je 0x406afc
cmp dword [ebp - 0x270], ecx
jne 0x406b02
and edx, 0x284
cmp ecx, edx
jne 0x406afc
and edx, 0x34f
cmp ecx, 0x85
je 0x406b08
test ecx, ecx
je 0x406b0e
or ecx, 0x35c7
test ecx, ecx
jne 0x406aea
or edx, 0x1ba5
sub ecx, 0x1ba5
or ecx, 0x2af1
sub ecx, 0xd91
add ecx, 0x149c
sub ecx, 0x3eae
sub edx, 0x1817
and ecx, 0x6ba
cmp dword [ebp - 0x1a4], edx
jne 0x406b28
cmp ecx, edx
je 0x406b28
xor edx, 0x16a5
and edx, 0x18e6
test ecx, ecx
jne 0x406b9a
or ecx, 0x3b8b
cmp edx, 0xc8
je 0x406ba0
cmp edx, ecx
je 0x406b9a
or edx, 0x3bf5
xor edx, 0x2c6c
or ecx, 0x20e6
cmp edx, ecx
je 0x406ba6
or edx, 0x323b
cmp dword [ebp - 0x138], ecx
jne 0x406b9a
sub ecx, 0x12f4
cmp dword [ebp - 0x150], ecx
jne 0x406ba6
add ecx, 0x1b5a
xor edx, 0xd85
or ecx, 0x147
or ecx, 0x32c3
or ecx, 0x1798
or edx, 0x411
or ecx, 0x2b61
or ecx, 0x2b61
cmp edx, dword [ebp - 0x1ac]
je 0x406bd2
xor edx, 0x1f78
add edx, 0x1502
cmp ecx, edx
je 0x406bfa
cmp ecx, edx
je 0x406be8
or ecx, 0x3b5d
and ecx, 0x3d73
or ecx, 0x13dc
add edx, 0x3315
add edx, 0x222f
add edx, 0x3624
jmp eax