Function at 0x1003fee9
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push esi
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100400cc
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x1003ff8f
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x1003ff6d
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 1
jge 0x1003ff8a
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x74]
call fcn.1001048b
mov dword [eax], 0xb7f37c04
jmp 0x1003ff62
jmp 0x100400c7
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 4]
call fcn.1001048b
cmp dword [eax], 0
jne 0x1004002f
push 0
mov ecx, dword [ebp - 4]
call fcn.1001048b
push 0
mov ecx, dword [ebp - 4]
call fcn.1001048b
push 0
mov ecx, dword [ebp - 4]
call fcn.1001048b
cmp dword [eax], 0xfffffff6
jge 0x10040006
mov dword [ebp - 0x44], 1
jmp 0x1004000a
and dword [ebp - 0x44], 0
push 1
mov ecx, dword [ebp - 4]
call fcn.1001048b
mov esi, eax
push 1
mov ecx, dword [ebp - 4]
call fcn.1001048b
mov ecx, dword [ebp - 0x44]
sub ecx, dword [eax]
cmp dword [esi], ecx
jle 0x1004002f
and dword [ebp - 0x4c], 0
jmp 0x10040036
mov dword [ebp - 0x4c], 1
push 1
mov ecx, dword [ebp - 4]
call fcn.1001048b
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [eax]
jg 0x10040050
mov dword [ebp - 0x60], 1
jmp 0x10040054
and dword [ebp - 0x60], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.1001048b
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xffff
jae 0x10040072
mov dword [ebp - 0x2c], 1
jmp 0x10040076
and dword [ebp - 0x2c], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.1001048b
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax]
jl 0x10040090
mov dword [ebp - 0x20], 1
jmp 0x10040094
and dword [ebp - 0x20], 0
push 1
mov ecx, dword [ebp - 4]
call fcn.1001048b
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
jge 0x100400ae
mov dword [ebp - 0x10], 1
jmp 0x100400b2
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x10040294
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x88], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x1004028c
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 3
jb 0x1004015d
mov dword [ebp - 0x34], 1
jmp 0x10040161
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0x3e19f23e
jne 0x10040173
mov dword [ebp - 0x54], 1
jmp 0x10040177
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 8]
add eax, dword [ecx]
jne 0x1004018c
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
mov eax, dword [ebp - 8]
cmp dword [eax], 9
ja 0x1004019d
mov dword [ebp - 0x3c], 1
jmp 0x100401a1
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [eax]
neg ecx
jne 0x100401be
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x100401be
mov dword [ebp - 0x24], 1
jmp 0x100401c2
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
sub eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
sub eax, dword [ecx]
cmp eax, 0x3e80
jl 0x100401df
mov dword [ebp - 0x28], 1
jmp 0x100401e3
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [eax]
je 0x100401fe
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x100401fe
mov dword [ebp - 0x1c], 1
jmp 0x10040202
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
cmp dword [ebp - 0x1c], 9
jne 0x10040219
mov dword [ebp - 0x30], 1
jmp 0x1004021d
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
sub eax, 0x5d73
cmp eax, 0x237f
jne 0x10040235
mov dword [ebp - 0x38], 1
jmp 0x10040239
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
je 0x1004024f
mov dword [ebp - 0xb8], 1
jmp 0x10040256
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0
je 0x10040267
mov dword [ebp - 0x48], 1
jmp 0x1004026b
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x48]
jl 0x1004027e
mov dword [ebp - 0x58], 1
jmp 0x10040282
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x58]
mov dword [eax], ecx
jmp 0x10040294
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop esi
mov esp, ebp
pop ebp
ret