Function at 0x40b016
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x40b426
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xe8], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xf4]
movzx eax, byte [eax]
test eax, eax
je 0x40b410
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x40b131
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x40b40e
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x108], eax
push 6
pop eax
test eax, eax
je 0x40b28a
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0xcc]
je 0x40b25b
mov dword [ebp - 0xd4], 1
jmp 0x40b262
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xffffffff
jl 0x40b28a
mov dword [ebp - 0xdc], 1
jmp 0x40b291
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jle 0x40b2ab
mov dword [ebp - 0x30], 1
jmp 0x40b2af
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0xcf41
jge 0x40b2c1
mov dword [ebp - 0x20], 1
jmp 0x40b2c5
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
cmp dword [ebp - 0x20], 0
je 0x40b2e4
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x40b2e4
mov dword [ebp - 0x28], 1
jmp 0x40b2e8
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jle 0x40b300
mov dword [ebp - 0x50], 1
jmp 0x40b304
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
dec eax
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0xd9ab8a87
jb 0x40b321
mov dword [ebp - 0x48], 1
jmp 0x40b325
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x48], eax
jge 0x40b338
mov dword [ebp - 0x40], 1
jmp 0x40b33c
and dword [ebp - 0x40], 0
imul eax, dword [ebp - 0x40], 5
cmp eax, 8
jb 0x40b34e
mov dword [ebp - 0x2c], 1
jmp 0x40b352
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jle 0x40b368
mov dword [ebp - 0xe4], 1
jmp 0x40b36f
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
inc ecx
sub ecx, dword [eax]
mov eax, dword [ebp - 0x4c]
cmp ecx, dword [eax]
jge 0x40b38f
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x40b3a9
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x40b3a9
and dword [ebp - 0x3c], 0
jmp 0x40b3b0
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x3c]
neg eax
je 0x40b3c8
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
je 0x40b3c8
mov dword [ebp - 0x44], 1
jmp 0x40b3cc
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x44]
cmp eax, 0x5c1f
jge 0x40b3e4
mov dword [ebp - 0x24], 1
jmp 0x40b3e8
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
cmp dword [ebp - 0x24], 1
jne 0x40b3ff
mov dword [ebp - 0x54], 1
jmp 0x40b403
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
jmp 0x40b424
push 0
push 0x64b2
push 0x445
call fcn.0040c154
add esp, 0xc
jmp 0x40b42e
push 0
call fcn.0040803e
pop ecx
mov esp, ebp
pop ebp
ret