Function at 0x429947
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push esi
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x4299cf
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x4299c2
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x4299a3
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], 2
jge 0x4299c0
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x68]
call fcn.0041261e
mov dword [eax], 0xfffffffe
jmp 0x429998
jmp 0x4299ca
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x429bd2
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x429a43
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 2
jmp 0x429a25
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jl 0x429a3e
mov dword [ebp - 0x44], 0xd1d84757
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
jmp 0x429a1a
jmp 0x429bd2
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [eax], 1
jmp 0x429a71
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jl 0x429bd2
mov dword [ebp - 0x18], 0x8e2294bb
mov dword [ebp - 0x7c], 0x89063530
mov dword [ebp - 0x14], 0
jmp 0x429a9b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x429ab1
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x90], 0x9d2e819d
jmp 0x429a94
mov eax, dword [ebp - 4]
cmp dword [eax], 0xffffffff
jl 0x429ac2
mov dword [ebp - 0x2c], 1
jmp 0x429ac6
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.0041261e
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax]
jg 0x429ae3
mov dword [ebp - 0x6c], 1
jmp 0x429ae7
and dword [ebp - 0x6c], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.0041261e
mov esi, eax
push 1
mov ecx, dword [ebp - 8]
call fcn.0041261e
imul eax, dword [eax], 0xfbf6
cmp dword [esi], eax
jl 0x429b10
mov dword [ebp - 0x24], 1
jmp 0x429b14
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.0041261e
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax]
jge 0x429b31
mov dword [ebp - 0x74], 1
jmp 0x429b35
and dword [ebp - 0x74], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.0041261e
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.0041261e
mov eax, dword [ebp - 4]
cmp dword [eax], 9
jbe 0x429b5d
mov dword [ebp - 0x1c], 1
jmp 0x429b61
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x20]
mov dword [ebp + eax - 0x90], ecx
push 0
mov ecx, dword [ebp - 8]
call fcn.0041261e
mov ecx, dword [ebp - 0x20]
imul ecx, dword [eax]
mov eax, dword [ebp - 4]
sub ecx, dword [eax]
je 0x429ba2
cmp dword [ebp - 0x18], 0
je 0x429ba2
mov dword [ebp - 0x28], 1
jmp 0x429ba6
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.0041261e
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jle 0x429bc3
mov dword [ebp - 0x30], 1
jmp 0x429bc7
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x7c], eax
jmp 0x429a66
pop esi
mov esp, ebp
pop ebp
ret